Commit Graph

253 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
Klaus 747aeded9d fix xml ocs response for serializable objects 2 years ago
Joas Schilling 9ed3ab7d87
test(request): Add tests to strip the port when forwarding requests 2 years ago
Anna Larch 6434ce96c9 Add timezone getter to ITimeFactory 2 years ago
Maxence Lange 31c1bc1c62 better tests 2 years ago
Maxence Lange 1956be4118 fix lint 2 years ago
Maxence Lange e1d7328bb2 adding test 2 years ago
Arthur Schiwon 216b95f8b1 test(unit): fix RequestTest 2 years ago
Joas Schilling f6b6776c93
fix(API): Use a distinct exception so apps can react to it and customize the return 2 years ago
Arthur Schiwon 3fa43a529b
enh(dispatcher): enforce psalm ranges in the http dispatcher 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Ferdinand Thiessen ecf9f0a872
fix(CSP): Only add `strict-dynamic` when using nonces 2 years ago
Ferdinand Thiessen e231abd9bf
fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on `script-src-elem` 2 years ago
Ferdinand Thiessen 7df9eb3351 feat(ContentSecurityPolicy): Allow to set `strict-dynamic` on `script-src-elem` only 2 years ago
Joas Schilling 2fa78f6245
Reverse X-Forwarded-For list to read the correct proxy remote address 2 years ago
Christoph Wurst 78842348b2
feat(dependencyinjection): Allow optional (nullable) services 2 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 2 years ago
Git'Fellow 066f6ef16c Stop sending deprecated Pragma header 2 years ago
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP 2 years ago
Joas Schilling 1b387bb341
fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts 2 years ago
Joas Schilling 2c6f32cb28
feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex 3 years ago
jld3103 b0001c6010
Add template types to responses 3 years ago
jld3103 7f4651637a
Allow stdClass in XML responses 3 years ago
Christoph Wurst 08a3f37695
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript 3 years ago
Joas Schilling 3a6bc7aba2
fix(middleware): Also abort the request when reaching max delay in afterController 3 years ago
Joas Schilling ecb8b55c5c
feat(security): Add PHP \Attribute for remaining security annotations 3 years ago
Joas Schilling 89c3c31402
feat(ratelimit): Add Attributes support to rate limit middleware 3 years ago
Christoph Wurst 2c0cfd3772
feat(app-framework): Add native argument types for middleware 3 years ago
Côme Chilliet 8d5165e8dc
Adapt tests to config value typing 3 years ago
Joas Schilling 2b49861679
Add a debug message when throttling without defining 3 years ago
Joas Schilling e839eb9b5c
feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple 3 years ago
Joas Schilling c297f8ee96
feat(appframework): Make ITimeFactory extend \PSR\Clock\ClockInterface 3 years ago
Ferdinand Thiessen f655f83c84 fix(CORS): CORS should only be bypassed on `PublicPage` if not logged in to prevent CSRF attack vectors 3 years ago
MichaIng 5f90b8eb11
Change X-Robots-Tag header from "none" to "noindex, nofollow" 3 years ago
Robin Appelman b911da3e1e
DI for Router 3 years ago
Ferdinand Thiessen ba8a50c059 fix: Throw `NotFoundExceptionInterface` to fulfill PSR container interface if class not found 3 years ago
Christoph Wurst 20e00cdf17
feat(app-framework): Add UseSession attribute to replace annotation 3 years ago
Christoph Wurst 8d9af3e262
feat(app-framework): Add support for global middlewares 3 years ago
Christoph Wurst 907ff68bfc
perf(app-framework): Make the app middleware registration lazy 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods 3 years ago
Christoph Wurst b6dd1a1d7b
fix(app framework): Fix missing cast of double controller parameters 3 years ago
Artur Neumann 81f2857f34
check if params given to API are really an array 3 years ago
Julien Veyssier 4a3f3beb0b
use bruteforce protection on all methods wrapped by PublicShareMiddleware 3 years ago
Côme Chilliet 68363f6944
Fix some more problems with tests under PHP 8.2 3 years ago
Roeland Jago Douma 60ee874485
Remove long depreated AppFramework/Db/Mapper 3 years ago
Stanimir Bozhilov 46c10c77e1 Fix the JSON content type regex to match all MIME types 3 years ago
Stanimir Bozhilov f7d51a39cf Add unit tests for application/scim+json content type 3 years ago
Julius Härtl 64a7489958
Fix SessionMiddlewareTest and cover new case with reopening 3 years ago
Simon Leiner 09362eaeaa
Support specifying IPv6 proxies in CIDR notation 3 years ago
Thomas Citharel 1d30fb7852
Fix reading blob data as resource 3 years ago