* chore(deps): update symfony packages to v7.4.0
* Use `addCommand` instead of `add` for console commands
Replaces the deprecated or incorrect use of $application->add() with $application->addCommand() when registering console commands.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
The Netim adapter creates a library/Registrar/Adapter/Netim sub‑folder. All files placed in that sub‑folder are also automatically detected, and these files/Classes then appear under the “New domain registrar” tab as "Registrars" also...
Co-authored-by: Yağızhan Burak Yakar <yagizhan49@protonmail.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"
* 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>
* chore(deps): update dependency league/csv to v9.27.0
* Fixed the tests, also ran the cs fix script
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* ddev enhancements
Introduced a new script that runs when the ddev container starts.
This script will automatically update the dependencies if they fall behind the lockfile and will rebuild NPM when needed too
* Fixes and improvements for DX
* Cleaner, better
* Changes based on copilot review
* Remove an old comment I somehow missed
* use npm ci instead
* Refactor tests to replace depreciated functions
* Update Rector config and dependencies
* Rector: Add explicit string casting for stricter type safety
* Rector: Add return type hints to methods across codebase
* Rector: Increase dead code level and refactor invoice item logic
* Remove unnecessary `willReturn` from test mocks
Eliminate redundant `willReturn(null)` and similar calls from PHPUnit mock setups in legacy module tests, leaving only method expectations. Also update some test values to use floats for consistency.
* Refactor API controller and email adapter return values
* Update formatting and guidelines in `AGENTS.md`
* +Initial Doctrine EntityManager setup
* Doctrine support for Pagination
* Removed doctrine/migrations. Won't be using that yet.
* Reworked the News module using Doctrine
* Strict types
* A couple of fixes
* Add 'ONLYDIR' to cspell.json dictionary
* Removed the old Post model
* Typing
* Dev mode support
* +TimestampableInterface
* +Proxy settings
* Add missing `datetime` fields to `Post` entity
* Update Guest.php
* Add `doctrine/orm` and related dependencies
* Add Symfony serializer, property-access, and property-info
* Update Service.php
* Update cspell.json
* Adam's suggestions
* Update AGENTS.md to include Doctrine directives
* Reuse the post content
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Add symlink for Copilot instructions
* Add duplicate IPN detection for transactions
* Update class header files for legacy and current versions
* Remove BoxBilling copyright and fix SPDX headers
Removed legacy BoxBilling copyright lines and standardised SPDX-License-Identifier headers to 'Apache-2.0' across FOSSBilling library files for consistency and clarity.
* Remove legacy broken integration tests
* Remove deprecated `Box_Exception` and related code
Deleted `Box_Exception` class and its deprecated usage. Update tests to use `FOSSBilling\Exception` directly. Also removed deprecated methods from `FOSSBilling\Pagination`.
* Stop fetching interface information at render time
* Update src/modules/System/html_admin/mod_system_settings.html.twig
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Keep bindTo in a variable
* Loading state
* Also show a loading state for the interfaces
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>