22 Commits
Author SHA1 Message Date
Adam Daley 8708d9d895 Fix error with PHPUnit tests (#1217)
Fix error with PHPUnit tests introduced by changes to `FOSSBilling\Validate` class.
2023-05-08 14:06:09 -07:00
Yağızhan d909d77f7e -Unnecessary whitespace in the class headers (#1219) 2023-05-07 13:24:29 -07:00
Yağızhan 412e4a9fbd Standardized the class headers (#1212) 2023-05-06 13:06:17 +01:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
Yağızhan 950e4dccef Type hinting the DI methods and variables (#1201) 2023-05-01 21:01:35 +03:00
Adam Daley 053f22a8bb Remove Box DI class in favour of native dependencies (#1193) 2023-04-30 08:47:52 +01:00
Adam Daley e3967dfe96 Move composer files to project root (#1191) 2023-04-30 07:17:06 +01:00
Adam Daley 7b5d12be2b Remove Box\Config in favour of native functionality (#1150) 2023-04-24 10:31:47 +01:00
Adam Daley ca67aeb44f Refactor request handling to use native functionality (#1122)
Refactor request handling to remove custom library/Box/Request class where possible and instead use native PHP functionality.
2023-04-21 15:07:59 +02:00
Belle Aerni 3c0ef5b4da Remove a few more useless classes (#1129)
* Remove a few more useless classes

* Fix a small typo

* Fix that test

Unless I am missing something, this must have never worked correctly.
2023-04-21 02:35:21 -07:00
Belle Aerni a6e5ba88a0 Move to using symfony/mailer for emails (#1091)
* 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.
2023-04-09 02:11:08 -07:00
Adam Daley b08fc53d72 Update rewrite rules, improve error handling, and some related cleanup (#1075)
* 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
2023-04-06 21:59:25 +02:00
Belle Aerni e43a450934 Remove the example module (#909)
* Remove the example module

* Update Box_ModTest.php

* Update Box_TwigLoaderTest.php
2023-03-07 21:33:49 -08:00
Belle Aerni d8d04b24fa Revert "Improved period strings for non-plural periods"
This reverts commit df5610ea57.
2023-01-26 16:03:27 -08:00
Belle Aerni df5610ea57 Improved period strings for non-plural periods 2023-01-26 15:31:48 -08:00
Belle Aerni 226c4766d4 Fix that test, and add another one 2023-01-26 15:08:09 -08:00
Belle Aerni efa70f1019 Fix the period strings (#667)
* Fix the period strings

* Update Box_PeriodTest.php
2023-01-06 11:41:58 +01:00
Belle Aerni 3011c8a4b0 Move PHPStan to it's own action & bump the scanning level (#629)
* 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
2022-12-28 04:32:17 -08:00
Belle Aerni a68c1d7261 Fix checks 2022-12-08 17:06:32 -08:00
Belle Aerni c243f91b3d Create custom "__trans" function & use that 2022-12-08 12:18:22 -08:00
Belle Aerni edb163f442 BB_PATH --> PATH 2022-11-28 17:22:51 +03:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00