Commit Graph

270 Commits (d92bf388b1c553ecd6bfb2a7400b990dcafe9c54)

Author SHA1 Message Date
Ferdinand Thiessen 4d2556d4cf
refactor(IMenuAction): Make public menu actions use the new Vue UI 1 year ago
Ferdinand Thiessen 92f3f7e2d2
chore: Remove unused `CsrfTokenManager` from `CSPMiddleware` 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Robin Appelman 8b60df1600
perf: delay getting (sub)admin status for user in the security middleware untill we need it 1 year ago
Ferdinand Thiessen 2916e5df7e
feat: Provide CSP nonce as `<meta>` element 1 year ago
Ferdinand Thiessen 009761be58
test: Adjust tests for CSP nonce 1 year ago
skjnldsv db28aa8cd1 fix(files_sharing): show proper share not found error message 1 year ago
provokateurin 9d1705259c
fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks 1 year ago
Joas Schilling 047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range" 1 year ago
Benjamin Gaussorgues 202e5b1e95
feat(security): restrict admin actions to IP ranges 1 year ago
provokateurin e5dcdfb9e0
feat(Security): Warn about using annotations instead of attributes 1 year ago
provokateurin 5aefdc399e
feat(AppFramework): Add ExAppRequired attribute 2 years ago
Arthur Schiwon f6d6efef3a
refactor(Token): introduce scope constants 2 years ago
Arthur Schiwon 340939e688
fix(Session): avoid password confirmation on SSO 2 years ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Côme Chilliet a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager 2 years ago
Florian Klinger f3a4abd98c
fix: add check for app_api_system session flag to bypass rate limit 2 years ago
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