Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore(apps): Apply new rector configuration to autouse classes | Côme Chilliet | 2024-10-15 | 2 | -3/+5 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Apply rector configuration to apps folder | Côme Chilliet | 2024-09-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 1 | -3/+3 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | refactor: Add void return type to PHPUnit test methods | Christoph Wurst | 2024-09-15 | 6 | -28/+28 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | fix(oauth2): fix tests | Julien Veyssier | 2024-09-02 | 2 | -8/+8 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | fix(oauth2): store hashed secret instead of encrypted | Julien Veyssier | 2024-09-02 | 3 | -45/+50 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | fix: expect invalidateTokensOfUser only be called for seen users | Artur Neumann | 2024-08-16 | 1 | -1/+4 |
| | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-31 | 6 | -128/+12 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 1 | -2/+1 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | adjust oauth tests | Julien Veyssier | 2023-10-05 | 1 | -2/+3 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | rename oauth2_access_token's created_at to code_created_at | Julien Veyssier | 2023-10-05 | 1 | -9/+9 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | add test for refusing to get an oauth token from a code when we're not in ↵ | Julien Veyssier | 2023-10-05 | 1 | -0/+27 |
| | | | | | | authorization state Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | add tests for oauth2 authorization code expiration | Julien Veyssier | 2023-10-05 | 1 | -7/+63 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | make oauth2 authorization code expire after 10 minutes | Julien Veyssier | 2023-10-05 | 1 | -1/+5 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25 | Joas Schilling | 2023-08-28 | 1 | -3/+3 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | add bruteforce protection in OauthApiController | Julien Veyssier | 2023-06-19 | 1 | -0/+6 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | add test that inserts a long oauth client secret | Julien Veyssier | 2023-06-14 | 1 | -0/+10 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | fix oauth2 tests | Julien Veyssier | 2023-06-08 | 2 | -25/+53 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | encrypt oauth2 client secrets | Julien Veyssier | 2023-06-07 | 2 | -3/+19 |
| | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net> | ||||
* | move mocks into private variables | Artur Neumann | 2023-03-14 | 1 | -2/+8 |
| | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com> | ||||
* | adjust SettingsController tests | Artur Neumann | 2023-03-14 | 1 | -15/+5 |
| | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com> | ||||
* | invalidate existing tokens when deleting an oauth client | Artur Neumann | 2023-03-14 | 1 | -5/+57 |
| | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com> | ||||
* | Fix PHP error on PHP >= 8.2 about dynamic property use in tests | Côme Chilliet | 2022-12-19 | 1 | -1/+6 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Remove at matchers from tests in: | Côme Chilliet | 2022-08-02 | 1 | -7/+4 |
| | | | | | | | * apps/oauth2 * tests/Test/Repair/Owncloud Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Cleanup oauth2 admin settings | Carl Schwan | 2022-07-14 | 1 | -4/+5 |
| | | | | | | | - Use more vue components - Add link to doc Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Fix last tests | Joas Schilling | 2021-12-02 | 1 | -7/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | More test fixing | Joas Schilling | 2021-12-01 | 1 | -9/+0 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 6 | -12/+6 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Update all license headers for Nextcloud 21 | Christoph Wurst | 2020-12-16 | 1 | -0/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Make the test pass on repeating calls | Joas Schilling | 2020-11-10 | 1 | -2/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Update the license headers for Nextcloud 20 | Christoph Wurst | 2020-08-24 | 3 | -0/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵ | Morris Jobke | 2020-08-12 | 3 | -17/+17 |
| | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Update the license headers for Nextcloud 19 | Christoph Wurst | 2020-03-31 | 3 | -0/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use the shorter phpunit syntax for mocked return values | Christoph Wurst | 2020-03-25 | 2 | -8/+8 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Fix invalid instantiation of TemplateResponse if client not found | Daniel Kesselberg | 2020-03-15 | 1 | -1/+21 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Update license headers | Christoph Wurst | 2019-12-05 | 6 | -7/+25 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Mode to modern phpunit | Roeland Jago Douma | 2019-11-27 | 6 | -15/+15 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Make phpunit8 compatible | Roeland Jago Douma | 2019-11-27 | 6 | -6/+6 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Some php-cs fixes | Roeland Jago Douma | 2019-11-22 | 2 | -2/+2 |
| | | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Move oauth admin settings to initialstate | Roeland Jago Douma | 2019-09-28 | 2 | -45/+17 |
| | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | ||||
* | Fix the actual oauth2 tests | Roeland Jago Douma | 2019-07-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Fail gracefull if an unkown oauth2 client tries to authenticate | Roeland Jago Douma | 2018-12-06 | 1 | -1/+6 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Move ExpiredTokenException to the correct namespace | Roeland Jago Douma | 2018-10-30 | 1 | -3/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Reset bruteforce on token refresh OAuth | Roeland Jago Douma | 2018-10-30 | 1 | -1/+39 |
| | | | | | | | | | | When using atoken obtained via OAuth the token expires. Resulting in brute force attempts hitting the requesting IP. This resets the brute force attempts for that UID on a valid refresh of the token. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Update SettingsControllerTest.php | rakekniven | 2018-06-30 | 1 | -1/+1 |
| | | | adapted test for grammar change of URL | ||||
* | Validate OAuth2 redirect uri | Roeland Jago Douma | 2018-06-26 | 1 | -1/+14 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Fix AdminTests | Roeland Jago Douma | 2018-06-19 | 1 | -11/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Cleanup Controller | Roeland Jago Douma | 2018-06-19 | 1 | -6/+0 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Fix tests | Roeland Jago Douma | 2018-06-19 | 1 | -17/+65 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | The OAuth endpoint needs to support Basic Auth | Roeland Jago Douma | 2018-05-29 | 1 | -0/+84 |
| | | | | | | * Add test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> |