Files
FOSSBilling/src/library
af521f1794 Improved audit logs and removed the ability to delete them using the admin panel (#3026)
* Removed API routes that allowed activity logs to be deleted

* Dropped `updated_at` columns from activity tables

* Rename the label from "Event history" to "System activity"

* Rename the label from "Event history" to "System activity"

* Dropped `updated_at` columns from activity tables

* chore(deps): update dependency rector/rector to v2.2.8
chore(deps): update dependency pimple/pimple to v3.6.0 (#3025)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Removed API routes that allowed activity logs to be deleted

Dropped `updated_at` columns from activity tables

Rename the label from "Event history" to "System activity"

Rename the label from "Event history" to "System activity"

Merge branch 'security/activity-logs' of https://github.com/fossbilling/fossbilling into security/activity-logs

Dropped `updated_at` columns from activity tables

Merge branch 'security/activity-logs' of https://github.com/fossbilling/fossbilling into security/activity-logs

* Rename the label from "Event history" to "System activity"
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch security/activity-logs
# Your branch is behind 'origin/security/activity-logs' by 9 commits, and can be fast-forwarded.
#   (use "git pull" to update your local branch)
#
# Changes to be committed:
#	modified:   src/install/sql/content.sql
#	modified:   src/install/sql/structure.sql
#	modified:   src/library/FOSSBilling/UpdatePatcher.php
#	modified:   src/modules/Activity/Api/Admin.php
#	modified:   src/modules/Activity/Controller/Admin.php
#	modified:   src/modules/Activity/Service.php
#	modified:   src/modules/Activity/html_admin/mod_activity_index.html.twig
#	modified:   src/modules/Client/Api/Admin.php
#	modified:   src/modules/Client/html_admin/mod_client_login_history.html.twig
#	modified:   src/modules/Staff/Api/Admin.php
#	modified:   src/modules/Staff/Service.php
#	modified:   src/modules/Staff/html_admin/mod_staff_login_history.html.twig
#	modified:   tests-legacy/modules/Activity/Api/AdminTest.php
#	modified:   tests-legacy/modules/Client/Api/AdminTest.php
#	modified:   tests-legacy/modules/Staff/Api/AdminTest.php
#	modified:   tests-legacy/modules/Staff/ServiceTest.php
#

* Colspan

* Fixed TomSelect. It now works with more than one instance in a page.

* Added get_pairs endpoint to the Staff module to make TomSelect work

* Implemented filters for the system activity logs

* Added date range filter and "Show all activity from this admin"

* Added filtering by priority

* Separate filtering by IP address

* Filtering options for getPairs

* Fix priority filter conflict when both exact and minimum priority are specified (#3028)

* Initial plan

* Make priority filter take precedence over min_priority to avoid conflicts

Co-authored-by: yagiz-dev <35808275+yagiz-dev@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yagiz-dev <35808275+yagiz-dev@users.noreply.github.com>

* Make the "filter" button in searchbox preserve other request parameters

* Make the debug message for events more descriptive

* Show the time passed since event as a title for the element

* Fixed tests

* Disable min_priority select when exact priority is selected

* Display the client name correctly

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2025-11-19 01:07:06 +03:00
..