12 Commits
Author SHA1 Message Date
FOSSBilling BotandFOSSBilling Bot 5972700077 Apply PHP Code Styling & Quality Changes (#2777)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2025-06-05 20:45:20 +01:00
Yağızhan f2bb4179d2 Reworked the Pagination class (#2759)
* Introduce the new Paginator class

* Rename it back to Pagination

* Move #2756 here

* Use HttpFoundation\Request

* Restore Box_Paginator

* Tests

* Replace the deprecated methods wherever used

* No need

* Tests

* Tests again

* tests

* Tests hopefully for the last time

* Use a subquery instead

* Found a faulty query

`m.*` already includes `client_id`. was getting a duplicated column error.

* New pagination logic in Huraga & a couple of improvements

* Type safety

* Accessibility and other improvements

* Fixed tests

* Make aria tags translatable

* Update partial_pagination.html.twig

* Dot operator and little docblock improvement

---------
2025-06-04 15:21:09 +03:00
Adam Daley bc4dd1d459 Replace FOSSBilling\Request with Symfony\HttpFoundation (#2645)
Replace `FOSSBilling\Request` with `Symfony\HttpFoundation` functionality.
2025-04-17 07:43:38 +01:00
Belle AerniandJaap Marcus 7fcaaae8bb Add delays to prevent email enumeration (#2487)
* Add delays to prevent email enumeration

* Wording tweak

* This should fix the tests

Also ran PHP-CS-Fixer and Rector

* Update ServiceTest.php

---------

Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
2024-11-14 00:38:58 -08:00
Belle Aerni 7e202b6ae5 Disabled the test which randomly broke (#2412) 2024-08-21 23:33:41 -07:00
Belle Aerni 075c809881 Updated our rector configs (#2224)
* Some rector config work

* Increased type coverage, added dead code
2024-04-09 00:51:42 -07:00
Belle Aerni 628726e61a Bump the password hashing cost (#2193)
* Bump the password hash cost from 10 to 12

And a few minor changes to the password class + moving it under the FOSSBilling namespace

* Slight fixup, spelling fixed
2024-03-20 21:44:13 -07:00
FOSSBilling BotandFOSSBilling Bot bf79a2b204 Apply PHP Code Styling & Quality Changes (#2190)
Co-authored-by: FOSSBilling Bot <fossbilling-bot>
2024-03-19 05:54:06 -07:00
Belle Aerni 23dc46d3fe Fix a couple strings poedit had issues with (#2170)
* Fix a couple strings poedit had issues with

* Update ServiceTest.php
2024-02-27 03:13:22 -08:00
Belle AerniandJohn @ S4 037acce702 Bulk fix of many grammar / phraseology mistakes (#2166)
* Bulk fix of many grammar / phraseology mistakes

* Small fixes after self-review

* Corrections

* Update mod_currency_settings.html.twig

* Update mod_currency_settings.html.twig

* Update mod_formbuilder_field.html.twig

---------

Co-authored-by: John @ S4 <64874788+John-S4@users.noreply.github.com>
2024-02-27 03:01:07 -08:00
Belle Aerni cca0515491 Transfer carts when logging in (#2083)
* Transfer the cart when logging in

* Wrote a test for it

* This should at least fix one of the tests

* Oops

* Wrong spot...

* Ah-ha!
2024-01-21 16:00:41 +01:00
Belle Aerni ccc97a3ec9 Initial implementation of CI against a live FOSSBilling Install (#2067)
* Rename tests to tests-legacy

* Groundwork for live tests

* Somewhat working tests on a live instance

* Hmmmmmm

* Fix

* Fixed the other bug

* Added a handful of various tests

* Typos, all these are admin endpoints

* Bypass this check for testing envs

* Disable it for now

* Mini cleanup

* Cleanup from debugging, ran PHP-CS-Fixer
2024-01-14 22:51:32 -08:00