aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chore(webhooks): Rename webhooks application to webhook_listenersCôme Chilliet2024-06-1138-124/+126
| | | | | | There is already a webhooks application in the appstore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(webhooks): Fix testsCôme Chilliet2024-06-111-2/+22
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(webhooks): Add \SensitiveValue attribute to authData parameter in all ↵Côme Chilliet2024-06-113-1/+8
| | | | | | classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(webhooks): Fix migration uri lengthCôme Chilliet2024-06-111-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(webhooks): Add Nextcloud certificate bundle to client optionsCôme Chilliet2024-06-111-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 Chilliet2024-06-111-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 methodCôme Chilliet2024-06-112-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Remove superfluous antislash from event name to avoid problemsCôme Chilliet2024-06-111-0/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Move caching to the mapper insteadCôme Chilliet2024-06-112-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 5minCôme Chilliet2024-06-112-7/+29
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Make webhook event serialization opt-in with a new interfaceCôme Chilliet2024-06-117-30/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: rename Index.php to ListWebhooks.phpCôme Chilliet2024-06-114-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix errors spotted by reviewers, fix `@throws` annotationsCôme Chilliet2024-06-115-14/+19
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix eventFilter definition in ResponseDefinitionsCôme Chilliet2024-06-112-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix TODOs about authentication data, list possible auth methodsCôme Chilliet2024-06-113-14/+18
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add support for headers and authentication headers in webhooksCôme Chilliet2024-06-1110-17/+92
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add app_api app id to saved information about webhookCôme Chilliet2024-06-116-3/+50
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Add tests for the PHPMongoQuery classCôme Chilliet2024-06-111-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 openapiCôme Chilliet2024-06-114-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 webhooksCôme Chilliet2024-06-1111-8/+390
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add admin delegation for webhooksCôme Chilliet2024-06-115-0/+72
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add command to list registered webhooksCôme Chilliet2024-06-114-63/+26
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Make node events serializableCôme Chilliet2024-06-115-1/+68
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "feat: Add support for webhook listeners"Côme Chilliet2024-06-116-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 Chilliet2024-06-111-45/+6
| | | | | | This reverts commit 45d3bd6e30e112a89ffe2fcfdd3ba4bbdc384346. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add webhooks applicationCôme Chilliet2024-06-1129-0/+2685
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Serialize event data and author userid to webhookCôme Chilliet2024-06-111-6/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add support for webhook listenersCôme Chilliet2024-06-116-0/+166
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #45779 from nextcloud/bugfix/noid/update-php-requirementAndy Scherzinger2024-06-1110-465/+269
|\ | | | | fix(CI): Update PHP requirement in dev dependencies
| * fix(CI): Add all required extensions to openapi actionJoas Schilling2024-06-111-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(logger): Fix scoped PSR logger when running psalm:ciJoas Schilling2024-06-111-9/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(CI): Update PHP requirement in dev dependenciesJoas Schilling2024-06-118-455/+259
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #45669 from nextcloud/fix/fix-encryption-legacy-reshareLouis2024-06-113-43/+23
|\ \ | |/ |/| fix: Autodetect legacy filekey instead of trusting the header for legacy header
| * test: Fix encryption testLouis Chemineau2024-06-061-21/+14
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * fix: add default value for new flag `$useDecryptAll` on getFileKeyCôme Chilliet2024-06-061-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Autodetect legacy filekey instead of trusting the header for legacy headerCôme Chilliet2024-06-042-22/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-112-4/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #45755 from nextcloud/chore/noid/spdx-batch15Andy Scherzinger2024-06-10111-262/+269
|\ \ | | | | | | Replace icons with latest `Material Symbol` versions
| * | chore: Update comments app iconAndy Scherzinger2024-06-102-2/+2
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | chore(assets): Recompile assetsnextcloud-command2024-06-101-158/+158
| | | | | | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | chore: Add further media resource license info itemsAndy Scherzinger2024-06-101-4/+4
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | chore: update mastodon icon with original resourceAndy Scherzinger2024-06-101-1/+1
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | chore: Update license infosAndy Scherzinger2024-06-102-2/+12
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * | chore: Replace icons with latest Material Design versionsAndy Scherzinger2024-06-10105-95/+92
|/ / | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | Merge pull request #45737 from nextcloud/jtr/fix-appmanager-checkappforX-logJosh2024-06-101-2/+6
|\ \ | | | | | | fix(AppManager): Name correct method in error + show error string
| * | fix(AppManager): Name correct method in error + show error stringJosh2024-06-091-2/+6
| | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | Merge pull request #44967 from nextcloud/perf/sharing-eventsFerdinand Thiessen2024-06-106-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ärtl2024-05-136-88/+176
| | | | | | | | | | | | | | | | | | | | | | | | instead of boot Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #45120 from ↵Ferdinand Thiessen2024-06-101-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 errorJoas Schilling2024-04-301-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>