Commit Graph

132 Commits (master)

Author SHA1 Message Date
Ferdinand Thiessen 9b54b06de5
fix(SecurityMiddleware): return header to distinguish error type 1 month ago
Côme Chilliet 447ee17759
fix: Remove code duplication by using the new method 1 month ago
provokateurin f12cecb684
feat(rector): Enable SafeDeclareStrictTypesRector 2 months ago
Carl Schwan 65e769a861
refactor: Apply comments 3 months ago
Carl Schwan 7b6078875b
refactor: Run rector on lib/private 3 months ago
Carl Schwan f81475445d
refactor: Move hasAnnotationOrAttribute to MiddlewareUtils 3 months ago
Carl Schwan 6408ed0b51
feat(AppFramework): Add missing NoSameSiteCookieRequired attribute 3 months ago
Christoph Wurst 8a581c230b refactor: improve reflection attribute typing 5 months ago
Joas Schilling 2b9083ab29
feat(rate-limit): Allow overwriting the rate limit 5 months ago
Côme Chilliet bbe766b07a
fix: Make sure Request class can be dependency injected to fix SameSiteCookieMiddleware injection 10 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 10 months ago
Robin Appelman 8b0a3a774d fix: throw a better error if we don't get an authorization header for secutity confirmation 10 months ago
Louis Chemineau 3bff9ee3e1
fix: Use login name to check the password 1 year ago
Joas Schilling 095ab4419e
fix(l10n): Improve english source strings 1 year ago
Joas Schilling c1655bcde7
fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist 1 year ago
Louis Chemineau a2f2f7ce93
feat: Use inline password confirmation in external storage settings 1 year ago
Arthur Schiwon fdd24090ff
fix(Middleware): log deprecation when annotation was actually used 1 year ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 2 years ago
Ferdinand Thiessen deeccd12a3
chore: fix typo in `SameSiteCookieMiddleware` 2 years ago
Ferdinand Thiessen 92f3f7e2d2
chore: Remove unused `CsrfTokenManager` from `CSPMiddleware` 2 years ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 2 years ago
Robin Appelman 8b60df1600
perf: delay getting (sub)admin status for user in the security middleware untill we need it 2 years ago
Holger Hees 73397cd759
fix: Use `CSP_NONCE` env variable in ContentSecurity Header 2 years ago
Joas Schilling 047479ccf9
feat(security): Add public API to allow validating IP Ranges and checking for "in range" 2 years ago
Benjamin Gaussorgues 202e5b1e95
feat(security): restrict admin actions to IP ranges 2 years ago
Andrey Borysenko 40f820470a
chore: use "app_api" session key, "app_api_system" is deprecated 2 years ago
Alexander Piskun b7af6ec200
feat: allow for ExApps to call Admin endpoints marked with specific attr 2 years ago
provokateurin e5dcdfb9e0
feat(Security): Warn about using annotations instead of attributes 2 years 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 dae7c159f7
chore: Add SPDX header 2 years ago
Florian Klinger f3a4abd98c
fix: add check for app_api_system session flag to bypass rate limit 2 years ago
Vincent Petry 839ddaa354
feat: rename users to account or person 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Alexander Piskun 0b8a3b578d fixed Drone test 3 years ago
Alexander Piskun f16c9f42c6 added CORS skip if session was created by AppAPI 3 years ago
Christoph Wurst e477bb7eaf
feat(appframework): Expose programmatic rate limiter 3 years ago
Joas Schilling 25309bcb45
techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 3 years ago
Joas Schilling 381c35080d
fix(middleware): Fix header injection for bruteforce middleware 3 years ago
Joas Schilling 2f06f2355d
feat: Add a header which signals that the request was throttled 3 years ago
jld3103 12f8543815
Rewrite OCS CSRF check to be readable 3 years ago
Joas Schilling 3a6bc7aba2
fix(middleware): Also abort the request when reaching max delay in afterController 3 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 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 a06898a2d0 fix(security)!: Use consistent HTTP status for strict cookie checks 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
Ferdinand Thiessen f655f83c84 fix(CORS): CORS should only be bypassed on `PublicPage` if not logged in to prevent CSRF attack vectors 3 years ago