Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add template types to responses | jld3103 | 2023-06-30 | 3 | -1/+27 |
| | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | Allow stdClass in XML responses | jld3103 | 2023-06-13 | 1 | -0/+4 |
| | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_private | Robin Appelman | 2023-06-01 | 6 | -17/+17 |
|\ | | | | | Refactors "strpos" calls in lib/private to improve code readability. | ||||
| * | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 6 | -17/+17 |
| | | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | | chore: Drop \OC_App::getAppInfo | Christoph Wurst | 2023-06-01 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | | fix(middleware): Also abort the request when reaching max delay in ↵ | Joas Schilling | 2023-05-15 | 1 | -22/+30 |
|/ | | | | | | afterController Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(security): Add PHP \Attribute for remaining security annotations | Joas Schilling | 2023-04-25 | 4 | -27/+132 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(ratelimit): Add Attributes support to rate limit middleware | Joas Schilling | 2023-04-24 | 1 | -41/+77 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge branch 'master' into enh/type-iconfig-getter-calls | Côme Chilliet | 2023-04-20 | 2 | -0/+25 |
|\ | | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> | ||||
| * | Merge pull request #37674 from nextcloud/feature/speech-to-text | Joas Schilling | 2023-04-19 | 1 | -0/+22 |
| |\ | | | | | | | feat(SpeechToText): Add SpeechToText OCP provider API | ||||
| | * | feat(SpeechToText): Add SpeechToText provider API | Marcel Klehr | 2023-04-11 | 1 | -0/+22 |
| | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> | ||||
| * | | fix(security)!: Use consistent HTTP status for strict cookie checks | Christoph Wurst | 2023-04-17 | 1 | -0/+3 |
| |/ | | | | | | | | | | | | | Before: 503/412 Now: 412 + json body explaining the error Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* / | Use typed version of IConfig::getSystemValue as much as possible | Côme Chilliet | 2023-04-05 | 1 | -7/+7 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Add a debug message when throttling without defining | Joas Schilling | 2023-03-08 | 2 | -11/+11 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute ↵ | Joas Schilling | 2023-03-08 | 1 | -5/+43 |
| | | | | | | and allow multiple Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(appframework): ⌚ Make ITimeFactory extend \PSR\Clock\ClockInterface | Joas Schilling | 2023-03-03 | 1 | -1/+25 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(translations): Add translation provider API | Julius Härtl | 2023-02-27 | 1 | -0/+25 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Merge pull request #36396 from nextcloud/fix/cors | Julius Härtl | 2023-02-17 | 1 | -1/+1 |
|\ | |||||
| * | fix(CORS): CORS should only be bypassed on `PublicPage` if not logged in to ↵ | Ferdinand Thiessen | 2023-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | prevent CSRF attack vectors Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | | Merge pull request #36656 from nextcloud/route-instrumentation | Julius Härtl | 2023-02-14 | 1 | -5/+17 |
|\ \ | |||||
| * | | more routing performance instrumentation | Robin Appelman | 2023-02-10 | 1 | -5/+17 |
| |/ | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Merge pull request #36525 from nextcloud/fix/noid/params-put | Julius Härtl | 2023-02-13 | 1 | -6/+12 |
|\ \ | | | | | | | fix: Only get params from PUT content if possible | ||||
| * | | fix: Only get params from PUT content if possible | Julius Härtl | 2023-02-03 | 1 | -6/+12 |
| | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | | instrumentation for app booting | Robin Appelman | 2023-02-09 | 1 | -8/+8 |
| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | | add more performance instrumentation for app registering | Robin Appelman | 2023-02-09 | 1 | -2/+14 |
| |/ |/| | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix: Throw `NotFoundExceptionInterface` to fulfill PSR container interface ↵ | Ferdinand Thiessen | 2023-02-06 | 2 | -2/+44 |
|/ | | | | | | if class not found Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | Pluggable share provider | Louis Chemineau | 2023-02-02 | 1 | -0/+22 |
| | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | feat(app-framework): Add UseSession attribute to replace annotation | Christoph Wurst | 2023-01-27 | 1 | -4/+30 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | feat(app-framework): Add support for global middlewares | Christoph Wurst | 2023-01-26 | 3 | -7/+54 |
| | | | | | | | This allows apps to register middlewares that always register, not just for the app's own requests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | perf(app-framework): Make the app middleware registration lazy | Christoph Wurst | 2023-01-25 | 3 | -23/+14 |
| | | | | | | | | | Before this patch, app middlewares were registered on the dispatcher for every app loaded in a Nextcloud process. With the patch, only middlewares belonging to the same app of a dispatcher instance are loaded. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 29 | -38/+7 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix types in OCS json answer (status code is an int) | Côme Chilliet | 2023-01-20 | 3 | -5/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix crash in OCS when getting info about an application | Côme Chilliet | 2023-01-20 | 1 | -8/+11 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Attempt at reducing psalm errors | Côme Chilliet | 2023-01-20 | 1 | -5/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat(app framework)!: Inject services into controller methods | Christoph Wurst | 2023-01-18 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | Usually Nextcloud DI goes through constructor injection. This has the implication that each instance of a class builds the full DI tree. That is the injected services, their services, etc. Occasionally there is a service that is only needed for one controller method. Then the DI tree is build regardless if used or not. If services are injected into the method, we only build the DI tree if that method gets executed. This is also how Laravel allows injection. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Merge pull request #34172 from audriga/add-scim-json-support | Joas Schilling | 2022-12-20 | 1 | -2/+3 |
|\ | | | | | Add support for application/scim+json | ||||
| * | Merge branch 'master' into add-scim-json-support | Stanimir Bozhilov | 2022-12-19 | 6 | -16/+63 |
| |\ | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com> | ||||
| * | | Move JSON content type regex to IRequest and make it a const | Stanimir Bozhilov | 2022-12-08 | 1 | -4/+1 |
| | | | |||||
| * | | Fix the JSON content type regex to match all MIME types | Stanimir Bozhilov | 2022-09-26 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com> | ||||
| * | | Type hint JSON content type regex and use preg_match less | Stanimir Bozhilov | 2022-09-22 | 1 | -4/+4 |
| | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com> | ||||
| * | | Use regex for all JSON-related content types | Stanimir Bozhilov | 2022-09-21 | 1 | -6/+7 |
| | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com> | ||||
| * | | Treat application/json and application/scim+json in same if-block | Stanimir Bozhilov | 2022-09-21 | 1 | -11/+3 |
| | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com> | ||||
| * | | Add support for application/scim+json content type | Stanimir Bozhilov | 2022-09-20 | 1 | -0/+11 |
| | | | | | | | | | | | | Signed-off-by: Stanimir Bozhilov <stanimir@audriga.com> | ||||
* | | | Use strict typing in base.php | Côme Chilliet | 2022-12-19 | 1 | -17/+8 |
| |/ |/| | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Merge pull request #35537 from nextcloud/fix/dependency-injection-error | Vincent Petry | 2022-12-16 | 1 | -1/+1 |
|\ \ | | | | | | | Improve dependency injection error message | ||||
| * | | Improve dependency injection error message | Carl Schwan | 2022-12-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | Change from display the name of the parameter to the type of the parameter. This is that in most cases is usefull. Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | | | Merge pull request #35780 from ↵ | Vincent Petry | 2022-12-16 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | nextcloud/fix/http-dispatcher-double-parameter-cast Fix missing cast of double controller parameters | ||||
| * | | | fix(app framework): Fix missing cast of double controller parameters | Christoph Wurst | 2022-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | ``settype`` allows 'double' as alias of 'float'. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | | | | check if params given to API are really an array | Artur Neumann | 2022-12-15 | 1 | -2/+1 |
|/ / / | | | | | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com> | ||||
* | | | Move to str_starts_with | Julius Härtl | 2022-12-07 | 1 | -3/+3 |
| | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> |