20 Commits

Author SHA1 Message Date
ed9c2cc92c refactor: add override attribute
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-06-04 07:33:09 +02:00
94ac6cf8c6 style: apply coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-26 11:50:26 +02:00
432e10ffd8 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-24 18:46:58 +02:00
c39b756131 chore: apply coding standards
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-28 14:44:08 +02:00
82a1233c94 chore(php): Refactor empty array check
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-10 18:21:52 +02:00
5ffd2d5259 refactor(php): Use attribute instead of annotation for TrapError
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 14:41:51 +01:00
93b7c72b25 Update codestyle
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-03 15:37:58 +02:00
6242017fd8 Migrate middlewares to the PSR logger interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-04 15:09:44 +02:00
7f32cfe657 Update to nextcloud coding standard v0.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-14 16:06:46 +02:00
265c18ace7 Treat temporary IMAP errors as warnings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-11 09:53:35 +01:00
6d2d36a198 Detect missing mailbox cache and block access to messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-03 20:24:27 +01:00
b0f915d79c Use JSend-inspired JSON response structures
We don't want SOAP messages, but having a bit of standardized structure
in JSON responses makes it easier to interpret them in code. This is
just a start for errors. We will have to also migrate the existing
(success) respones at some point.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-03 15:33:24 +01:00
f6e4eaef91 Also allow Throwable in ErrorMiddleware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-22 16:04:35 +01:00
f14311e288 Return full exception trace
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-21 14:18:36 +01:00
5f744699ca Lets use the server methods for caching
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-17 01:17:04 +02:00
792ca06adf Use DI logger instead of custom one.
Fixes #1072.

Signed-off-by: Pierre Gordon pierregordon@protonmaiil.com
2018-12-27 22:55:23 -05:00
0d28b38aec Handle message loading errors and revive crash reporter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-11-09 12:44:54 +01:00
251b3b3e58 Make OCA\Mail\Http strict
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-30 07:47:27 +02:00
b323946bc3 Fix logging of already handled exceptions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-27 10:39:14 +02:00
6012a5675e Add API error wrapper middleware to API routes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-02-12 11:01:08 +01:00