aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/Middleware/AddServerMiddleware.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-291-25/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Summer cleanup of the federation appCarl Schwan2022-06-241-18/+7
| | | | | | | | | | - Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-231-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5923 from nextcloud/expire-federation-jobsRoeland Jago Douma2017-08-021-0/+5
|\ | | | | Expire federation jobs
| * Use automatic injection whenever possibleJoas Schilling2017-08-021-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Remove explicit type hints for ControllerLukas Reschke2017-08-011-1/+1
| | | | | | | | | | | | This is public API and breaks the middlewares of existing apps. Since this also requires maintaining two different code paths for 12 and 13 I'm at the moment voting for reverting this change. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix testsRoeland Jago Douma2017-07-311-2/+4
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* only execute code if exception was thrown by the corresponding controllerBjoern Schiessle2017-03-241-0/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Move federation code to PSR-4Joas Schilling2016-05-191-0/+72