* Update CI for PHP 8.4
* Update composer deps for PHP 8.4
* Updates
* This is the default mode and this constant causes test failutes
* Explicily install the PDO extensions
* Temporarily downgrade the live tests to PHP 8.3
It would seem that there is some kind of problem with PHP 8.4 in regards to these tests. I believe it is outside of our control however as it installs fine for me with PHP 8.4 under DirectAdmin
* Update to address deprecations
* Make that nullable
* Fixed my typo
* Bump PHPunit to v11
* Also take care of two minor things
* Formatting fix
* 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>
* Replaced Maxmind's IP database
* Began rebuilding GeoIP reader functionality
The GeoIP2 package does not worth with DB's that aren't built by maxmind themselves, making it rather unhelpful for us.
Since my long-term goal is for someone to be able to bring in their own DB, making a custom implementation seems like the reasonable choice.
(Plus my aim is already to replace the MaxMind DB due to it's licencing)
* Created an IP address lookup page
* + ASN info
* Bump last patch
* Make PHPStan happy
* Very minor refactor + PHPDocs
* Only enable the fallback cron behavior for testing / dev setups
* Clean up the cron error message
We don't need to worry about it clearing the message on prod environments going forward as the fallback will be disabled
* Fixed CS
* Remove additional hardcoded lists (countries & phone codes)
Also fixed a few UI oddities I noticed
* Bugfixes
* Removed the old reference to the polyfill
* Fixed a typo
* Removed the hardcoded currencies list
Also streamlined the process of adding new currencies by allowing the title & exchange rate to automatically be determined.
* Use an existing translatable string
* Update the test workflows
* Dropped the legacy test, wrote two new ones
* Fixed a typo in my assert
* Whooooops
* Fixed our Rector config. Closes#2272
* Much improved the product configuration page
Fixed a bug and significantly improved the visuals for that page
* Place the period text after the cost
Closes#2242
* Misc changes
* Slightly shrunk the addon buttons, updated cspell
* Resolves https://github.com/FOSSBilling/FOSSBilling/issues/2279
* Made "notes" singular
While technically the DB name is notes and it'll appear as notes under the invoice, the option where you set the default is only a single text input so "notes" seems a bit odd to use there
---------
Co-authored-by: Devadatta Sahoo <webmaster@nettantra.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* Bumped the Rector deadcode level
* Added the instanceof setlist
* Increasded type coverage and updated tests config too
* Bumped type coverage & ran PHP-cs-fixer
* Replace the GitHub release API with our own
* Updated the PHPDoc
* Also restrict the allowed download URLs
* Removed an accidentally added empty array key
* Fixed hardcoded theme colors. Huraga now works with dark mode
* (WIP) Turn the KB index into a category list
* Set a reasonable height for the KB categories
* Added a "theme" configuration option
* Fix a gramatical mistake I noticed
Just ensures it's correctly displayed when someone hasn't set anything (so defaulting to ExchangeRate-API) and also hides the attribution once the user specifies a key as it's then no longer needed