* Periodically update the IP address databases
* Ignore false positive PHPStan error in `Config.php`
Co-Authored-By: Adam Daley <admdly@users.noreply.github.com>
* Limit 1 DB update per execution
This way these are hogging less time from the cron job & it slightly spreads out the load on Github's release servers.
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
Deleting a product with a domain name from cart now only removes related addons for that domain name, rather than all addons of the same type from the cart.
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
Found via `codespell -q 3 -S "./tests-legacy,./package-lock.json,./cspell.json" -L filp,ridiculus,serie`
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Started implimenting a security dashboard and checks
* Wrote two functional checks
* Fix typos
* Update webserver.php
* + a new check
* Slight cleanup, made translatable
* Added some general checks
* Update cspell.json
* Typo
* Slight tweaks, add a permission to run checks
* Add space after language, before language code
* Add space in locale.title instead of editing layout
* Consistency & improvements regarding Knowledge Base
* Improve ticket dashboard (at least in my opinion)
* More consistency
* Improve footer copyright in admin panel
* Fix a little display issue - copyright notice should now look great.
* Save some bytes - because why not?
* GitHub is a brand name and does not have to be translated - even more space saved!
* Another improvement
* Sign up -> Register
* Remove hidden useless space after footer
* Improve wording
* Improve wording in ticket dashboard for clarity
* Fix little mistake in the copyright notice
---------
Co-authored-by: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com>
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* 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>