-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for webhook listeners #45475
Commits on Jun 11, 2024
-
feat: Add support for webhook listeners
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 8d18607 - Browse repository at this point
Copy the full SHA 8d18607View commit details -
feat: Serialize event data and author userid to webhook
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d835d23 - Browse repository at this point
Copy the full SHA d835d23View commit details -
feat: Add webhooks application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for aa974a4 - Browse repository at this point
Copy the full SHA aa974a4View commit details -
Revert "feat: Serialize event data and author userid to webhook"
This reverts commit 45d3bd6. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for cf26559 - Browse repository at this point
Copy the full SHA cf26559View commit details -
Revert "feat: Add support for webhook listeners"
This reverts commit 3b790df. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for c3d4d2a - Browse repository at this point
Copy the full SHA c3d4d2aView commit details -
feat: Make node events serializable
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 734aad8 - Browse repository at this point
Copy the full SHA 734aad8View commit details -
feat: Add command to list registered webhooks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 3b64e52 - Browse repository at this point
Copy the full SHA 3b64e52View commit details -
feat: Add admin delegation for webhooks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 5dd9c2f - Browse repository at this point
Copy the full SHA 5dd9c2fView commit details -
feat: Add event filtering to webhooks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 144bdd7 - Browse repository at this point
Copy the full SHA 144bdd7View commit details -
fix: Add event filter to openapi
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>
Configuration menu - View commit details
-
Copy full SHA for 7fe3f1c - Browse repository at this point
Copy the full SHA 7fe3f1cView commit details -
chore: Add tests for the PHPMongoQuery class
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>
Configuration menu - View commit details
-
Copy full SHA for 75b2ed4 - Browse repository at this point
Copy the full SHA 75b2ed4View commit details -
feat: Add app_api app id to saved information about webhook
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 261f08e - Browse repository at this point
Copy the full SHA 261f08eView commit details -
feat: Add support for headers and authentication headers in webhooks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 85e0407 - Browse repository at this point
Copy the full SHA 85e0407View commit details -
fix: Fix TODOs about authentication data, list possible auth methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 8aae03c - Browse repository at this point
Copy the full SHA 8aae03cView commit details -
fix: Fix eventFilter definition in ResponseDefinitions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d3c06d5 - Browse repository at this point
Copy the full SHA d3c06d5View commit details -
fix: Fix errors spotted by reviewers, fix
@throws
annotationsSigned-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for cccda66 - Browse repository at this point
Copy the full SHA cccda66View commit details -
chore: rename Index.php to ListWebhooks.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 35d5d90 - Browse repository at this point
Copy the full SHA 35d5d90View commit details -
fix: Make webhook event serialization opt-in with a new interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e111d2e - Browse repository at this point
Copy the full SHA e111d2eView commit details -
fix: Cache webhooks listened events for 5min
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 98f3ea6 - Browse repository at this point
Copy the full SHA 98f3ea6View commit details -
fix: Move caching to the mapper instead
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>
Configuration menu - View commit details
-
Copy full SHA for 3bc43b2 - Browse repository at this point
Copy the full SHA 3bc43b2View commit details -
fix: Remove superfluous antislash from event name to avoid problems
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for bb2cb45 - Browse repository at this point
Copy the full SHA bb2cb45View commit details -
fix(webhooks): fix crash when headers is null with header auth method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 621c068 - Browse repository at this point
Copy the full SHA 621c068View commit details -
fix(webhooks): Refuse webhooks registration if auth header is used wi…
…thout auth data Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 74e5812 - Browse repository at this point
Copy the full SHA 74e5812View commit details -
fix(webhooks): Add Nextcloud certificate bundle to client options
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>
Configuration menu - View commit details
-
Copy full SHA for 6c7931b - Browse repository at this point
Copy the full SHA 6c7931bView commit details -
fix(webhooks): Fix migration uri length
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for c940ba0 - Browse repository at this point
Copy the full SHA c940ba0View commit details -
feat(webhooks): Add \SensitiveValue attribute to authData parameter i…
…n all classes Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 6e38b48 - Browse repository at this point
Copy the full SHA 6e38b48View commit details -
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 9449f64 - Browse repository at this point
Copy the full SHA 9449f64View commit details -
chore(webhooks): Rename webhooks application to webhook_listeners
There is already a webhooks application in the appstore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 19bc3ed - Browse repository at this point
Copy the full SHA 19bc3edView commit details -
fix(webhooks): Fix a few of psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for f09c781 - Browse repository at this point
Copy the full SHA f09c781View commit details -
fix(webhooks): Fix openapi reponse definition
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for d5b53be - Browse repository at this point
Copy the full SHA d5b53beView commit details -
fix(webhooks): Fix last psalm and openapi problems with the API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for bff7d3c - Browse repository at this point
Copy the full SHA bff7d3cView commit details -
fix(webhooks): Fix a few more psalm notices
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for e0b9ff4 - Browse repository at this point
Copy the full SHA e0b9ff4View commit details