* Began implementing Sentry.io support
* Added to the installer
* Added the ID to the bug report template and UI
* Hook it into our error handler, added the ability to filter by error code
* Attempting to add the DSN via GH actions
* Spelling and making PHPstan happy
* Skip exceptions for various incomplete configurations
Also brings in some of the category suggestions made by @Anuril in #195
* Update tests to account for changes
* Added & renamed exception classes
* Fix tests
* Change a bunch of items to be InformationExceptions
* Use a lighter HTTP client, fixed API error reporting
* I guess that's not needed now?
Arighty then
* Improvements, additional info added
* Update SentryHelper.php
* Improved error logging, added instance ID to error page
Also made it so that errors are correctly sent to Sentry rather than exclusively exceptions
* Make the tests happy
* Added the link, improved wording
Also removed the "performance" part of the reporting as it needs to be added to the front-end and I'm not currently implementing that
* Began implementing UI alerts and info
* Added the ability to toggle, fixed tests, use path constants
* Added some useful info & links to the page
* These should be InformationException
* Fix the automated Sentry DSN entry
* Fix the install number text
* Minor cleanup, converted more to InformationException
* Replaced some direct config references with constants
We have the BB_DEBUG constant to indicate if we have debug mode enabled or not, so we shouldn't be directly referencing it in the config file unless we actually need to do so.
Using the constant means there's less locations to update the reference if the config structure is changed
* Bugfix
* Consistency & fixed a PHPDoc
* Corrections
* We actually do want exceptions thrown here
* Change how we get the instance ID
* Stability improvements
Having support for translatable error pages was proving to be problematic, so I had to remove it.
I also had to update the exception class to handle cases where the trans function wasn't setup yet (needed for the /run-patcher page if an error occurs)
* Missed this change on git
* Also fix the variable names...
* Re-added new deps after rebase
* This should also accept "Error" types
* Added more info to the bug report and removed a dug line
* This wasn't supposed to get renamed
* Updated some missed references to Box_Exception
* #1583 initial workflow update using debug reference in config for install dir bypass
* #1583 add missed files
* #1583 improve config generation
* #1583 clean up docblock (issue feedback)
* fix https detection, corrected pull from upstream
* #1583 improve docker build config
* #1583 remove docker configs from repo, they have been moved to dev workflow documentation
* Two very minor changes
* Other minor changes
---------
Co-authored-by: Belle Aerni <belleaerni@gmail.com>
* 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.
* 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
* Implement a basic CSRF token system
* Update forms for all modules
* Added to the theme forms
* Create a config option for CSRF prevention
* Slightly rework the filter
* Let's actually use a global var
* Added the token to API hrefs
* Fixup
* Remove old reference
* Added the token to the installer twig globals
* The token isn't actually needed in the installer
* Fix client searching
* Whoops - those need quotes