* Caught a typo
* New ExtensionDirectory class
* Tests
* Tests and error handling
* Stuff
* Literally the same outcome anyway. Will write this in the future.
* Removed tests for a function that does nothing
* "stable" -> "release"
* Fix misnamed exception errors
* Update class name to ExtensionManager
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Refactor Box/Tools to remove unnecessary functions
Refactor Box/Tools to remove functions which essentially duplicate PHP functionality, or provide a thin wrapper around such functions.
* Move config migrate/update to relevant class
Move config update functionality from Box/Tools to Box/Update.
* Move Gravatar function to class where used
Moved Gravatar function to Twig filter where it is used, rather than in a custom Box/Tool function.
* Move to using symfony/mailer for emails
* Is now working as intended
* Missed removals
* Fix front-end & allow usage of custom DSN
* Also remove the old package files
And fixed the fact that I put the admin_default cleanup under a patch that was for a previous release we made.
* Rename htaccess to be applied automatically
Rename the htaccess file, improve handling when .htaccess is missing, and remove from .gitignore so that rules are automatically applied on supported web servers.
* Clean up .gitignore file
* Update .htaccess to improve security
Update .htaccess file to improve general security, handle missing mod_rewrite, and to simplify the required rules.
* Improve HTTP and generic error handling
Improve handling of HTTP errors, and make the error handling code more generic to permit catching more errors.
* Remove outdated example web server config files
Remove the outdated and unmaintained example web server configuration files in favour of FOSSBilling/config-generator.
* Remove support for non-search engine friendly URLs
Remove support for non-search engine friendly URLs as these are depreciated.
* Revert "Remove support for non-search engine friendly URLs"
This reverts commit 724b1eb274.
* Update config migration backup handling
* Replace usage of array_get
* Fixes
* And a few more
* Remove remaining references
* Update Service.php
* Few more fixes
* Fix.. I think?
* Fix Client / Invoice updates
* Fix stats
* Fix issues noticed during code review
* More fixes
* And some more fixes :)
* Replace custom Twig bb_date/bb_datetime filters
Replace bb_date and bb_datetime Twig filters with format_date / format_datetime to better support i18n and customisability.
* Update templates to use format_date/format_datetime
Update all templates to use format_date/format_datetime (where appropriate and where not already used).
* Update locale configuration options
Update configuration options to include new locale settings, and ensure new options are used throughout.
* Add reset button to admin theme date picker
Add a reset button to the admin_default theme date picker to allow dates to be cleared, and fix an issue with Order module not allow blank dates. Resolves#938.
* Replace guzzlehttp/guzzle with symfony/http-client
Replace guzzlehttp/guzzle with symfony/http-client to standardise around one globally available HTTP client.
* Replace Box\Curl library and native cURL with symfony/http-client
Replace the Box\Curl library and native cURL with symfony/http-client to standardise around one well supported HTTP client, reduce unnecessary code, and improve compatibility.
* Remove obsolete functionality from Spamchecker module
Remove obsolete functions from Spamchecker module which depended upon cURL.
* Fix typo in Email module tests
Fix missing semicolon in tests for Email module causing PHPUnit to fail.
* Fix module test errors due to RedBean
Fix module tests causing error due to RedBean when being mocked in PHPUnit.
* Fix module test failures
Update module tests to fix failures, and remove obsoleted tests causing failure.
* Move RedBeanPHP to composer
* Remove missed references to rb.php
* This *should* fix the tests
* Update DummyBean.php
* Remove payment adapter tests
They.. honestly didn't test much and are proving to cause issues when moving rb.php to composer
* Add PHPStan extension for deprecation function usage
* Removed some deprecated functions
* And a few more
* Also remove the deprecated API calls
* Fix references to deprecated API calls
* Oh, and this too
* Move PHPStan to it's own action
* Bump PHPStan to level 1
* This fix it?
* Update Box_MailTest.php
* And fix a typo in the action
* Update phpstan.yml
* Update phpstan.yml
* Test
* Syncing extension store work
* these two can stay the same
* Updates
* Let the user activate it instead
* Doing my best at tests
* Extension site -> Extension store
* Extension site -> Extension store
* Update Service.php
* Update ServiceTest.php
* Missed semicolon
* I'm trying
* Updated tests
* Tests
* Working on tests
* Update ServiceTest.php
* Removed tests related to Ne-Lexa/php-zip
* Special check for tests
* Bring ZIP tests back, with a catch.
* Special test case
* Update ServiceTest.php
* We're close
* Update ServiceTest.php
* Fix validateAndSanitizeEmail for international
And write tests to prove it works as intended
* Update FOSS_Tools.php
* Update tests
* Update FOSS_ToolsTest.php
* This should fix it
* Disabled test
* Require intl polyfill