* Created a new API key product type
* Make the CI happy + a few minor fixes
* Improvements to the generation options
Plus generalized improvements to the config pages
* Fix my typo
* Final touches
At least, I hope they are the final touches. We will see after reviews :P
* Cleanup and minor improvements
* Minor fix
* Move to HTML email templates + add logo
* This doesn't / shouldn't return the ID anymore
It's no longer used as things were switched to the order ID
* Update the model to reflect DB changes
* Misc. cleanup + added some missing types
* Replace Box_Session and improve session handling
* Improve weights, capitalize class name correctly
* Make the tests pass, update the SQL structure
* Tweak to the fingerprint class, fix more tests
* Regenerate session IDs when logging in
* Improve readability
* Update ServiceTest.php
* Tweak weights and added Huntr badge to the readme
* Improve readability, add PHPDocs, and updated weight
* Update SECURITY.md
* Start replacing email templates with HTML ones
* Updated some more
* Spelling
* Completed some more email templates
* Completed the rest of them
* Fix spelling
* Some minor fixes + improvements
return __trans(':product_title', [':product_title' => $product->title]);
is the same as
return $product->title);
And prevent users from making mistakes
* Refactor System Updater
Refactor Box/Update to clean things up, merge related functionality, improve error checking, and move to FOSSBilling namespace.
Also refactor foss-update.php into core class, `UpdatePatcher`.
* Refactor file system actions to use Symfony Filesystem
Refactor file system actions to use Symfony Filesystem component, and declare all used resources at start of files rather than duplicating throughout.
* Implemented Monolog
* Doesn't need to look for BB_DEBUG. It won't be logged on prod anyway.
* Doesn't need to be an array
* -Box_LogStream
* Reverted squash
* Fixed a duplicate
* Type hinting
* This got lost in a merge commit
* Kind of distracted today. Good thing squash and merge exists.
* Cleaning
* Rebased composer.json & lockfile
* Enabled the check again
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
In recent versions of PHP, converting from a float to an int causes deprecation warnings. This PR cleans up a situation I came across where that was happing.
* 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>
* +Central Alerts System
* Added a link to the pull request
* Bugfix
* Refactored to use symfony/cache
* Reverted the database patch
* Update foss-update.php
* Reverted the table structure
* Restore src/install/sql/structure.sql
* Fixed the HTTP client
* Restore src/foss-update.php
---------
Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
* Update System update message to link to updater
Update the System module to provide a link to the updater in the update available message. Also update admin template to permit passing arbitrary HTML (such as links) in system messages.
* Improve system message handling with optional URL
Update System module message handling, and admin template, to better handle an optional URL for each message.
* Fix SQL error on cancelling invoice
Update Invoice service to check for empty string when setting `gateway_id` to fix SQL error.
* Update Invoice `gateway_id` check
Update Invoice `gateway_id` check to simplify by just checking for `empty()`.