704bd95608
Fix WSOD when Renderer throws exception
...
`HTTPException` builds a simple static version of error page if
`Renderer` throws any exception while rendering the error page.
2022-08-05 15:28:21 +02:00
4a22034be6
Unified output via the "httpExit" function
2022-04-10 08:31:55 +00:00
6dbbd08179
Use rawContent for Special Options to avoid a protected options() method
2022-01-04 20:59:29 +01:00
37f850377e
Fix App routing
2022-01-04 20:59:28 +01:00
dc46af5ea1
Automatically return allowed HTTP methods for OPTIONS per specific endpoint
2022-01-04 20:59:27 +01:00
4e67bfed8d
Use Args::getMethod() at various places
2022-01-04 20:59:26 +01:00
eaad220738
Add explicit status setting for PSR/ResponseInterface & add tests for OPTIONS endpoint
2022-01-04 20:59:25 +01:00
01c1e137f7
Add OPTIONS endpoint
2022-01-04 20:59:24 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
63da4a75e9
The boot.php had been cleared of most functions
2021-11-04 20:29:59 +00:00
57353eb9b0
Changed scope
2021-10-31 04:54:24 +00:00
4236a9a105
Improved http error handling
2021-10-29 23:21:07 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
beaef12296
Add missing first file/line in exception template
2020-12-30 21:15:01 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
3ebc0371b7
Add trace for admin in exceptionpages
...
- Fix exception message not showing on raw exception page
2020-01-20 07:47:53 -05:00
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
f59ea2af55
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
2019-10-15 09:20:32 -04:00
c969635bbc
Add style to exception page
2019-05-04 21:54:05 -04:00
358baa9f62
Add themed error pages
...
- Module init, post and rawContent-triggered HTTPException generate the classic bare HTTP status page
- Module content-triggered HTTPException generate themed error pages
- Trim System::httpExit to the bare minimum
2019-05-02 11:26:56 -04:00