Ferdinand Thiessen
beb563e74e
refactor: Migrate away from deprecated ILogger interface to PSR-3
...
Mostly replace `ILogger` with `LoggerInterface` and some minor cleanup (constructor property promotion).
Some places used the deprecated `logException` this is easy to migrate by simply use the appropriate loglevel on the logger
and place the exception under the `exception` key in the context.
Also the manual checking of the configured log level is not needed, as this is already done by the logger.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2024-08-19 14:09:13 +02:00
Julius Härtl
2d41ce0ae7
Fix tests running against 25 with adjusted ISimpleFile methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-07-25 19:48:27 +02:00
Julius Härtl
9f7901519b
Switch to Content-Disposition attachment and check for sane mimetypes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-03-04 08:17:28 +01:00
Julius Härtl
76a1cc0618
Always set self/blob csp when displaying attachments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-24 20:01:46 +02:00
Julius Härtl
52febb396c
Fix php cs issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-22 19:57:19 +02:00
Julius Härtl
7fb7fbc0d1
Fix unit tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-03-12 08:11:42 +01:00
Julius Härtl
4c0512f0b7
Bump phpunit and fix CI
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2019-12-17 20:25:57 +01:00
Julius Härtl
cb25643741
Fetch file from rootFolder instead of IAppData to use StreamResponse when displaying
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-07-05 18:42:33 +02:00
Julius Härtl
b0f7bef279
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-25 18:05:02 +02:00
Julius Härtl
63ad39dd2d
Unit tests for missing service methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:07 +02:00
Julius Härtl
a83b50bb97
return empty result
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:06 +02:00
Julius Härtl
0f50f8d1d9
Use generic Exception
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:06 +02:00
Julius Härtl
7ad8080f82
Add unit tests for new classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:06 +02:00