Commit Graph
31 Commits
Author SHA1 Message Date
Belle Aerni 5eb516d4eb Prevent exceptions from being interpreted as HTML (#1394) 2023-07-01 14:58:13 +02:00
Belle Aerni 25a0090c5d Bump AntLoader to v2.0.0 (#1280) 2023-05-30 12:26:24 +03: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
Belle Aerni dded03b41d Replace custom autoloader with AntLoader (#1215)
* Replace custom autoloader with AntLoader

* Update install.php

* Bump antcms/antloader to v1.0.1
2023-05-05 14:17:56 -07:00
Adam Daley e54569d2cd Introduce namespaces and strict typing for FOSSBilling library classes (#1206) 2023-05-04 01:02:06 +01:00
Belle Aerni d9e69d4146 Implement a custom autoloader (#1194)
* Implement a custom autoloader

* Remove unreachable line

* Spelling

* I missed that

* Just use the latest version of PHPStan

* Also setup the autoloader in the installer

* Implemented classmap capabilities

* Remove debug line, add PHPDocs

* Typo 7 removing dead code

* Fix the installer after the most recent commit

* Remove outdated installation steps

And link to the website instead

* Excuse me. Formatting please?
2023-05-01 13:19:55 -07:00
Belle AerniandAdam Daley e3d6bc9ad9 Introduce a cspell workflow (#1192)
* Introduce a cspell workflow

* Update cspell.yml

* Update cspell.yml

* Why is it seemingly ignoring the config?

* Waiit a min

* Fixed a bunch of spelling mistakes

* And set it back to incremental mode

* That is actually supposed to be spelled wrong..

Because BoxBilling :)

* Capitalization

* I swear I fixed this as well

* Update cspell.json

---------

Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-30 00:05:25 -07:00
Belle AerniandAdam Daley ed404202a6 Remove broken and poorly implemented feature (#1190)
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
2023-04-29 12:58:29 -07:00
Belle Aerni 273dc3bf65 Fix load.php and minor error handler issues (#1188)
* Fix load.php and minor error handler issues

* Re-enable the installer check

* Final few fixes
2023-04-29 20:56:14 +01:00
Belle Aerni 47dffabac2 Replace the error page and start work on #195 (#1006)
* Redesigned error page + specialized error messages

* Improvements / fixes to strings
2023-04-28 14:20:14 -07:00
Adam Daley 23858386e9 Clean up loader (#1177) 2023-04-28 07:29:30 +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
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 5eb9452dc6 Fix unknown encore_entry_link_tags function (#1048) 2023-04-04 01:18:19 -07:00
Belle Aerni 94ada496f3 Fix reference to old config key (#1004) 2023-03-28 08:31:54 +03:00
Belle Aerni 5bf8bcd877 Improve update script (#987)
* Improve update script

* Remove empty else statement
2023-03-24 00:13:05 -07:00
Adam 91a892c5be Remove remaining Google Fonts (#840)
* Remove remaining Google Fonts

Replaces remaining Google fonts with web safe fonts (resolves #249).

* Restore error page background image

Embed the background inline for the error page.
2023-02-18 15:52:34 -08:00
Anyx 0edee483a8 Update docs URL & enforce FOSSBilling naming
Update the documentation URL and replace instances of "fossbilling" with "FOSSBilling" where applicable.
2023-01-21 21:45:38 +02:00
Anyx 075f6179a9 🐛 Fix slashes mixup (#670) (#671)
Fix slashes mixup by replacing the hardcoded forward slash with the DIRECTORY_SEPARATOR PHP constant.
2023-01-07 18:03:47 +01:00
Belle Aerni 44c7f6f405 Create an alias for bb-ipn (#605)
* Create an alias for bb-ipn

* Slight tweak

* Updated docker config
2022-12-19 12:05:30 -08:00
Belle Aerni 70834be9e1 Created new security mode option (#565)
* Created new security mode option

* Add some more configurable options

* Cleanly handle security config not being defined

* Don't try to redirect to HTTPs for cli

* Update di.php
2022-12-11 02:54:37 -08:00
Belle Aerni 5519497df5 Clean up old references 2022-12-03 15:22:28 -08:00
Belle Aerni a13b49d0d5 Automatically rename the config from the old name 2022-11-28 16:20:21 -08:00
Belle Aerni 7991512aa7 Improve the message 2022-11-28 17:22:51 +03:00
Belle Aerni 417a048885 bb-config.php --> config.php 2022-11-28 17:22:51 +03:00
Belle Aerni debb3652d4 Display info if old file names are found 2022-11-28 17:22:51 +03:00
Belle Aerni 1fbb6d8ff1 Add alias for BB_PATH 2022-11-28 17:22:51 +03:00
Belle Aerni edb163f442 BB_PATH --> PATH 2022-11-28 17:22:51 +03:00
Belle Aerni ee676ca33a Update file references 2022-11-28 17:22:50 +03:00
Belle Aerni edd6f72634 Drop the "BB" prefix 2022-11-28 17:22:50 +03:00