Commit Graph

28 Commits

Author SHA1 Message Date
b1d25b4941
Use enum for error classification
Close #1
2024-06-11 22:30:04 +02:00
6506433dea
Add MDInvalidNodaLink to list of expected / handled errors 2023-05-24 22:03:12 +02:00
ac9b12618d
Remove unused variable assignments 2022-09-15 21:06:32 +02:00
6326a6dacf
Expect integer in getting human readable filesize in MDErrorReporter 2022-04-03 14:43:52 +02:00
b87d0f5b08
Add missing whitespaces in array 2021-10-01 16:25:27 +02:00
8394bf54b9
Run error_log before sending error mail 2021-09-15 10:46:26 +02:00
2fd7511218
Use !== over != in MDErrorReporter 2021-07-24 23:16:59 +02:00
bd2f425afe
Remove superfluous final keywords (e.g. final private) 2021-05-14 00:08:11 +02:00
49669ccf97
Remove inline control strucutres 2021-02-06 20:19:55 +01:00
7ecd0e4a8d
Use static typed comparison for checking if session has been started 2021-01-30 21:01:05 +01:00
4992011939
Remove superfluous newlines as per PHPCBF 2020-12-14 20:24:00 +01:00
b1e86b94b9
Make global namespace in function calls explicit, use error_log to log
messages sent
2020-10-23 15:07:06 +02:00
c13d06eccb
Use PHPMailer in sending email bug reports 2020-10-21 12:06:42 +02:00
ef00d81c1d Add MDcouldNotPublish to list of accepted exceptions 2020-09-21 10:42:26 +02:00
23e2237ec5 Add property type declarations
Property type declarations for class variables were added in PHP
7.4.
2020-09-03 20:00:08 +02:00
f0b39322ec Make all non-inherited classes final 2020-08-29 12:57:45 +02:00
237db1c58a Use type-specific comparisons over empty 2020-08-27 16:15:54 +02:00
7ed9502290 Add exceptions for invalid weight and length units 2020-08-06 11:34:33 +02:00
ac9cda19fc Add MDExpectedException as a parent class for MDAccessDeniedException,
make it expected
2020-08-06 10:33:20 +02:00
71fdc490f9 Update list of known exceptions 2020-07-26 11:05:39 +02:00
106312f6e3 Add exceptions MDFileDoesNotExist MDFileIsNotReadable 2020-07-26 05:41:06 +02:00
1f85db155f Add missing variable comments 2020-07-26 05:03:40 +02:00
c61a9e0c5b Do not send error mails on CLI, instead print debug backtrace 2020-07-21 15:51:07 +02:00
b6fe734989 Fix invalid default sender address for email reports 2020-07-21 12:14:46 +02:00
46508b99f5 Add reporting of $_GET and $_POST when generating error reports 2020-07-20 14:19:12 +02:00
33484f9f23 Add some known exception types 2020-07-20 13:47:53 +02:00
ccbf528bf3 Fix typing issue 2020-07-20 11:30:28 +02:00
17a426a0d2 Initial 2020-07-20 11:17:25 +02:00