Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chore(webhooks): Rename webhooks application to webhook_listeners | Côme Chilliet | 2024-06-11 | 38 | -124/+126 |
| | | | | | | There is already a webhooks application in the appstore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(webhooks): Fix tests | Côme Chilliet | 2024-06-11 | 1 | -2/+22 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat(webhooks): Add \SensitiveValue attribute to authData parameter in all ↵ | Côme Chilliet | 2024-06-11 | 3 | -1/+8 |
| | | | | | | classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(webhooks): Fix migration uri length | Côme Chilliet | 2024-06-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(webhooks): Add Nextcloud certificate bundle to client options | Côme Chilliet | 2024-06-11 | 1 | -3/+7 |
| | | | | | | | This way importing a certificate with occ security:certificate:import will allow to use it for webhooks. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(webhooks): Refuse webhooks registration if auth header is used without ↵ | Côme Chilliet | 2024-06-11 | 1 | -0/+3 |
| | | | | | | auth data Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(webhooks): fix crash when headers is null with header auth method | Côme Chilliet | 2024-06-11 | 2 | -1/+2 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Remove superfluous antislash from event name to avoid problems | Côme Chilliet | 2024-06-11 | 1 | -0/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Move caching to the mapper instead | Côme Chilliet | 2024-06-11 | 2 | -30/+37 |
| | | | | | | | | Application class cannot use DI, and having the cache in the mapper allows for invalidating it when inserting or updating a webhook registration. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Cache webhooks listened events for 5min | Côme Chilliet | 2024-06-11 | 2 | -7/+29 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Make webhook event serialization opt-in with a new interface | Côme Chilliet | 2024-06-11 | 7 | -30/+45 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: rename Index.php to ListWebhooks.php | Côme Chilliet | 2024-06-11 | 4 | -4/+4 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Fix errors spotted by reviewers, fix `@throws` annotations | Côme Chilliet | 2024-06-11 | 5 | -14/+19 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Fix eventFilter definition in ResponseDefinitions | Côme Chilliet | 2024-06-11 | 2 | -3/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Fix TODOs about authentication data, list possible auth methods | Côme Chilliet | 2024-06-11 | 3 | -14/+18 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add support for headers and authentication headers in webhooks | Côme Chilliet | 2024-06-11 | 10 | -17/+92 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add app_api app id to saved information about webhook | Côme Chilliet | 2024-06-11 | 6 | -3/+50 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | chore: Add tests for the PHPMongoQuery class | Côme Chilliet | 2024-06-11 | 1 | -0/+47 |
| | | | | | | | | It appears that it does not match Mongo current documentation exactly so we should look into adapting it. Having equality autodetect regex is a bit weird. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix: Add event filter to openapi | Côme Chilliet | 2024-06-11 | 4 | -1/+31 |
| | | | | | | | | Somehow this does not work in the ocs_api_viewer app, so we should look into better specifying format for eventFilter. Ideally it should also be set as in body, not query. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add event filtering to webhooks | Côme Chilliet | 2024-06-11 | 11 | -8/+390 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add admin delegation for webhooks | Côme Chilliet | 2024-06-11 | 5 | -0/+72 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add command to list registered webhooks | Côme Chilliet | 2024-06-11 | 4 | -63/+26 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Make node events serializable | Côme Chilliet | 2024-06-11 | 5 | -1/+68 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Revert "feat: Add support for webhook listeners" | Côme Chilliet | 2024-06-11 | 6 | -166/+0 |
| | | | | | | This reverts commit 3b790df0127b2bf95e8fe3a8460aa3813e58bef8. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Revert "feat: Serialize event data and author userid to webhook" | Côme Chilliet | 2024-06-11 | 1 | -45/+6 |
| | | | | | | This reverts commit 45d3bd6e30e112a89ffe2fcfdd3ba4bbdc384346. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add webhooks application | Côme Chilliet | 2024-06-11 | 29 | -0/+2685 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Serialize event data and author userid to webhook | Côme Chilliet | 2024-06-11 | 1 | -6/+45 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | feat: Add support for webhook listeners | Côme Chilliet | 2024-06-11 | 6 | -0/+166 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Merge pull request #45779 from nextcloud/bugfix/noid/update-php-requirement | Andy Scherzinger | 2024-06-11 | 10 | -465/+269 |
|\ | | | | | fix(CI): Update PHP requirement in dev dependencies | ||||
| * | fix(CI): Add all required extensions to openapi action | Joas Schilling | 2024-06-11 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| * | fix(logger): Fix scoped PSR logger when running psalm:ci | Joas Schilling | 2024-06-11 | 1 | -9/+9 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| * | fix(CI): Update PHP requirement in dev dependencies | Joas Schilling | 2024-06-11 | 8 | -455/+259 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Merge pull request #45669 from nextcloud/fix/fix-encryption-legacy-reshare | Louis | 2024-06-11 | 3 | -43/+23 |
|\ \ | |/ |/| | fix: Autodetect legacy filekey instead of trusting the header for legacy header | ||||
| * | test: Fix encryption test | Louis Chemineau | 2024-06-06 | 1 | -21/+14 |
| | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
| * | fix: add default value for new flag `$useDecryptAll` on getFileKey | Côme Chilliet | 2024-06-06 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
| * | fix: Autodetect legacy filekey instead of trusting the header for legacy header | Côme Chilliet | 2024-06-04 | 2 | -22/+9 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Fix(l10n): Update translations from Transifex | Nextcloud bot | 2024-06-11 | 2 | -4/+6 |
| | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com> | ||||
* | | Merge pull request #45755 from nextcloud/chore/noid/spdx-batch15 | Andy Scherzinger | 2024-06-10 | 111 | -262/+269 |
|\ \ | | | | | | | Replace icons with latest `Material Symbol` versions | ||||
| * | | chore: Update comments app icon | Andy Scherzinger | 2024-06-10 | 2 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
| * | | chore(assets): Recompile assets | nextcloud-command | 2024-06-10 | 1 | -158/+158 |
| | | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> | ||||
| * | | chore: Add further media resource license info items | Andy Scherzinger | 2024-06-10 | 1 | -4/+4 |
| | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
| * | | chore: update mastodon icon with original resource | Andy Scherzinger | 2024-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
| * | | chore: Update license infos | Andy Scherzinger | 2024-06-10 | 2 | -2/+12 |
| | | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
| * | | chore: Replace icons with latest Material Design versions | Andy Scherzinger | 2024-06-10 | 105 | -95/+92 |
|/ / | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | | Merge pull request #45737 from nextcloud/jtr/fix-appmanager-checkappforX-log | Josh | 2024-06-10 | 1 | -2/+6 |
|\ \ | | | | | | | fix(AppManager): Name correct method in error + show error string | ||||
| * | | fix(AppManager): Name correct method in error + show error string | Josh | 2024-06-09 | 1 | -2/+6 |
| | | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com> | ||||
* | | | Merge pull request #44967 from nextcloud/perf/sharing-events | Ferdinand Thiessen | 2024-06-10 | 6 | -88/+176 |
|\ \ \ | | | | | | | | | perf(files_sharing): Move events to listener classes and registration instead of boot | ||||
| * | | | perf(files_sharing): Move events to listener classes and registration ↵ | Julius Härtl | 2024-05-13 | 6 | -88/+176 |
| | | | | | | | | | | | | | | | | | | | | | | | | instead of boot Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | | | | Merge pull request #45120 from ↵ | Ferdinand Thiessen | 2024-06-10 | 1 | -0/+3 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/sensitive-dav-forbidden-logging fix(dav): Don't log access control as error | ||||
| * | | | | fix(dav): Don't log access control as error | Joas Schilling | 2024-04-30 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> |