Commit Graph

236 Commits (fc445a2eaa2f93ae7f55b3af8800a87a69480a66)

Author SHA1 Message Date
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 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
Côme Chilliet 1bd5222224
Fix PHP 8.2 warnings about undeclared properties 4 years ago
Côme Chilliet c7e1c36362
Remove at matcher uses in tests/lib 4 years ago
Julius Härtl 3901a93c72
Use JSON_THROW_ON_ERROR instead of custom error handling 4 years ago
Joas Schilling f9efc410fa
Restore old behaviour of sending flase for not found apps 4 years ago
Carl Schwan b70c6a128f Update core to PHP 7.4 standard 4 years ago
Carl Schwan 7817845538 Add a metadata service to store file metadata 4 years ago
Cyrille Bollu c6a5c07041 Adds a "Request password" button to the public share authentication page for shares 4 years ago
Carl Schwan 7d272c54d0 Add a built-in profiler inside Nextcloud 4 years ago
Côme Chilliet 61f7f13bd8
Migrate from ILogger to LoggerInterface where needed in the tests 4 years ago
Julius Härtl bd03dd37be
Allow to set a strict-dynamic CSP through the API 4 years ago
Julius Härtl 2dd96fe8da
Fix tests 4 years ago
Julius Härtl eede608c0e
Add event logging to app loading 4 years ago
Joas Schilling d078d53683
Fix tests 4 years ago
Joas Schilling cc6653e45c
Adjust and add unit tests 4 years ago
Christoph Wurst cb252c5591
Add Transactional trait for atomic DB operations 4 years ago
Christopher Ng e485451eed Add test 4 years ago