Commit Graph
18 Commits
Author SHA1 Message Date
Belle Aerni 602b537996 Opt-in error reporting via Sentry.io (#1732)
* 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
2023-10-28 18:40:39 -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
Anyx 7cc14f56b6 Format YAML
Fix the whitespace issue.
2023-01-27 01:19:54 +02:00
Anyx 33b7585d92 Move issue templates (& change bug report to form)
Move issue templates to the main repo. Port the changes from https://github.com/FOSSBilling/.github/pull/2 (Replace the bug report template with a template form).
2023-01-27 01:01:22 +02:00
Alice Hunter 30742d44a3 Rebrand Docs & use ORG Templates 2022-05-18 20:02:46 +10:00
0x6b.dev 53c9131c86 Delete task.yml 2022-05-18 17:47:31 +10:00
0x6b.dev 7d9c92c05b Delete request.yml 2022-05-18 17:47:26 +10:00
0x6b.dev b23e41a2f5 Delete config.yml 2022-05-18 17:47:15 +10:00
0x6b.dev d94415226a Delete bug.yml 2022-05-18 17:47:09 +10:00
0x6b.dev 5a6585d2ce Update issue templates 2022-05-18 17:43:37 +10:00
Yağızhan 5e9a89c37e Added beta versions 2022-04-17 23:25:42 +03:00
Yağızhan 5f44b4d3b4 Bump PHP version 2022-03-30 19:30:44 +03:00
Ben Nottelling 926deed439 Update bug.yml 2022-01-29 14:16:54 -08:00
Benjamin Aerni 2e8dcba7ab Rebranded 4.22-beta.1-maint to 4.22.1.1 (#1143)
We don't need to add extra words, and now we can update incrementally very easily
2021-12-02 01:11:26 -08:00
Yağızhan Burak Yakar 00507cac60 Update bug.yml 2021-11-30 15:31:04 +03:00
Benjamin Aerni 61823a1924 We now support PHP8, and no longer 7.2 or 7.3
* Attempt to enable PHP 8 tests with composer

* Attempt 2

* Remove PHP 7.2 and macOS from tests

* Try to set a timeout of 5 mins

* Drop support for less than PHP 7.4, also test PHP 8.1

* We will enable PHP 8.1 tests at a later date
2021-08-23 09:28:39 -07:00
Ben Nottelling 41aa62bfba Update bug report template and create 2 others 2021-08-05 11:40:14 -07:00
Ben Nottelling 77b76e572f Create an issue template 2021-08-04 09:35:53 -07:00