Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlistbackport/50234/stable31 | Joas Schilling | 2025-01-27 | 2 | -212/+162 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(migration): Decrypt ownCloud secrets v2 | Christoph Wurst | 2024-11-28 | 1 | -0/+13 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | fix(tests): Add RemoteAddress v6 zone ID test | Josh | 2024-11-04 | 1 | -0/+2 |
| | | | Signed-off-by: Josh <josh.t.richards@gmail.com> | ||||
* | Merge pull request #32018 from nextcloud/cleanup/event/trashbin | Côme Chilliet | 2024-09-24 | 1 | -1/+1 |
|\ | | | | | Port files trashbin events to IEventDispatcher/IEventListener | ||||
| * | fix(tests): Fix tests now that trashbin listens to events properly | Côme Chilliet | 2024-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Hooks are cleared in test bootstrap so switching to events activates them in tests. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | fix: gracefully parse non-standard trusted certificatesfix/gracefully-parse-trusted-certificates | Richard Steinmetz | 2024-09-24 | 1 | -1/+6 |
|/ | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 3 | -3/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | refactor: Add void return type to PHPUnit test methods | Christoph Wurst | 2024-09-15 | 26 | -113/+113 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 2 | -9/+9 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | feat(Security): Allow setting password context for validation and generation | Ferdinand Thiessen | 2024-08-22 | 2 | -0/+61 |
| | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | test: Adjust tests for CSP nonce | Ferdinand Thiessen | 2024-08-13 | 1 | -9/+14 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | Merge pull request #46571 from nextcloud/chore/migrate-to-filenamevalidator | Stephan Orbaugh | 2024-07-22 | 1 | -9/+6 |
|\ | | | | | refactor: Migrate some legacy and core functions to `IFilenameValidator` | ||||
| * | refactor: Migrate some legacy and core functions to `IFilenameValidator` | Ferdinand Thiessen | 2024-07-19 | 1 | -9/+6 |
| | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | | feat(security): Add public API to allow validating IP Ranges and checking ↵ | Joas Schilling | 2024-07-19 | 1 | -13/+16 |
| | | | | | | | | | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | | feat(security): restrict admin actions to IP ranges | Benjamin Gaussorgues | 2024-07-19 | 1 | -0/+74 |
|/ | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | test: Test hash validation | Christopher Ng | 2024-07-04 | 1 | -0/+25 |
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-13 | 28 | -429/+70 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | fix(security): Handle idn_to_utf8 returning false | Joas Schilling | 2023-12-04 | 1 | -3/+12 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 3 | -11/+11 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | fix(CSP): Only add `strict-dynamic` when using nonces | Ferdinand Thiessen | 2023-11-17 | 1 | -2/+2 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix!(ContentSecurityPolicy): Make `strict-dynamic` enabled by default on ↵ | Ferdinand Thiessen | 2023-11-17 | 1 | -2/+2 |
| | | | | | | `script-src-elem` Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix: Make bypass function public API | Joas Schilling | 2023-08-21 | 2 | -5/+5 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat: Expose if the own IP is allowed to bypass bruteforce protection | Joas Schilling | 2023-08-21 | 1 | -4/+11 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat(security): Add a bruteforce protection backend base on memcache | Joas Schilling | 2023-08-21 | 2 | -23/+164 |
| | | | | | | Similar to the ratelimit backend Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix: Align doc type with creation | Joas Schilling | 2023-07-27 | 2 | -4/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | chore(appframework)!: Drop ↵ | Christoph Wurst | 2023-06-12 | 1 | -6/+2 |
| | | | | | | \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Adapt tests to config value typing | Côme Chilliet | 2023-04-05 | 4 | -11/+11 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #37542 from ↵ | Joas Schilling | 2023-04-03 | 1 | -0/+9 |
|\ | | | | | | | | | nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing feat(security): Allow to opt-out of ratelimit protection, e.g. for te… | ||||
| * | feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI | Joas Schilling | 2023-04-03 | 1 | -0/+9 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | fix DBAL exception handling in setValues | Arthur Schiwon | 2023-03-31 | 1 | -2/+21 |
|/ | | | | | | | | | This seems to be a left over after abstracting DBAL. Nowadays, IQueryBuilder::executeStatement() only throws a \OCP\DB\Exception, where previously original DBAL exceptions where thrown. These are now wrapped, the orignal classes are now mapped to a reason. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 6 | -6/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix syntax in VerificationTokenTest.php | Côme Chilliet | 2022-11-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix dynamic properties and other problems in tests for PHP 8.2 | Côme Chilliet | 2022-11-14 | 1 | -4/+7 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Add remote host validation API | Christoph Wurst | 2022-10-31 | 2 | -0/+255 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Remove deprecated at matcher from tests/lib | Côme Chilliet | 2022-08-29 | 2 | -25/+25 |
| | | | | | | Only 15 warnings left in there Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Validate requested length is random string generator | Vincent Petry | 2022-05-12 | 1 | -1/+16 |
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> | ||||
* | Add CSP policy merge priority for booleans | Vincent Petry | 2022-04-01 | 1 | -1/+2 |
| | | | | | | When two booleans conflict when merging CSP policies, true will win. Signed-off-by: Vincent Petry <vincent@nextcloud.com> | ||||
* | Migrate from ILogger to LoggerInterface where needed in the tests | Côme Chilliet | 2022-03-24 | 3 | -9/+9 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Allow to set a strict-dynamic CSP through the API | Julius Härtl | 2022-03-09 | 1 | -0/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Check style update | Carl Schwan | 2022-01-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Improve normalizer detecting IPv4 inside of IPv6 | Vincent Petry | 2021-11-22 | 1 | -1/+9 |
| | | | | | | | The subnet for an IPv4 address inside of IPv6 is now returned in its IPv4 form. Signed-off-by: Vincent Petry <vincent@nextcloud.com> | ||||
* | Fix getting subnet of ipv4 mapped ipv6 addresses | Vincent Petry | 2021-11-22 | 1 | -0/+4 |
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> | ||||
* | Add an OCP for trusted domain helper | Joas Schilling | 2021-10-28 | 1 | -10/+23 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Remove tests that just prove mocked calls and don't actually validate ↵ | Julius Härtl | 2021-09-27 | 1 | -81/+0 |
| | | | | | | anything useful Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Merge pull request #28728 from nextcloud/add-database-backend-limiter | Lukas Reschke | 2021-09-13 | 2 | -36/+19 |
|\ | | | | | Add database ratelimiting backend | ||||
| * | Adjust tests | Lukas Reschke | 2021-09-06 | 2 | -16/+12 |
| | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
| * | Adjust logic to store period instead of current timestamp | Lukas Reschke | 2021-09-06 | 2 | -20/+7 |
| | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | | add a job to clean up expired verification tokens | Arthur Schiwon | 2021-09-09 | 1 | -2/+39 |
| | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | | move verification token logic out of lost password controller | Arthur Schiwon | 2021-09-09 | 1 | -0/+272 |
|/ | | | | | | | - to make it reusable - needed for local email verification Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Merge pull request #26626 from J0WI/strict-security | Roeland Jago Douma | 2021-05-18 | 22 | -0/+64 |
|\ | | | | | Make Security module strict |