* Merge public ticket logic into regular client tickets
* Unified email templates
* Unified events and listeners
* Remove passthrough service methods
* Corrected phpDocs
* Create a combined `author` array to replace `client`, `client_id`, `author_name`, `author_email`
* Switch to using "Author" instead of "Requester"
* Switch to using a single endpoint and single template for client and guest tickets
Also left a redirect behind to make sure previously sent emails still have a working link
* Add author_role parameter to onBeforeClientOpenTicket
* Adjusted rate limit ordering
* Update Twig templates and the update patcher
* "Public ticket" -> "Guest ticket"
* Addressed code review comments
* Address code review comments
* Also purge old pticket email templates
* Fix email sending
* Support: enforce auth, fix guest email links
* Migrate mod_support config key name
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* 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`
* Merge Kb and Support modules
Merge the Kb and Support modules as they contain related functionality.
* General improvements to Support module UI
Update Support module copy and navigation to be more consistent, and other general improvements.
* This was missed.. and now it's not 😉
---------
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Apply PHP Code Styling & Quality Changes
* Delete these
* Update .gitignore
* Fixes for PHPStan
* Ignore spelling in the gitnore
* Allow null for that type
Honestly doing so makes ZERO sense, but it matches the current behavior.
---------
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>