Ferdinand Thiessen
53324821be
refactor(files): Migrate personal
view to @nextcloud/files
functions
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
de2276e6d7
refactor(files): Migrate favorites
view to @nextcloud/files
functions and make it cancelable
...
Also this fixes the view being writeable
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
b1444e78e2
refactor(files): Migrate recent
view to @nextcloud/files
functions and make it cancelable
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:22 +02:00
Ferdinand Thiessen
85e6cb4ccc
refactor(files): Migrate files service to functions from @nextcloud/files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:21 +02:00
Ferdinand Thiessen
9ea557e34a
refactor(systemtags): Do not link to files app but directly use functions from @nextcloud/files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 15:45:21 +02:00
Ferdinand Thiessen
2a2e8c8609
Merge pull request #45781 from nextcloud/fix/tag-redrirect
...
fix(search): tags redirect route
2024-06-11 15:42:10 +02:00
Louis Chemineau
a93d3a5a10
fix(files): Use isRetryable to catch retryable exceptions
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-11 15:15:14 +02:00
Côme Chilliet
e0b9ff4fa2
fix(webhooks): Fix a few more psalm notices
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:42:25 +02:00
Josh
8ee070cce5
fix(cron): Log excess memory usage at debug and info levels
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-11 14:20:57 +02:00
Côme Chilliet
bff7d3c769
fix(webhooks): Fix last psalm and openapi problems with the API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
d5b53be449
fix(webhooks): Fix openapi reponse definition
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
f09c7815db
fix(webhooks): Fix a few of psalm errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
19bc3ed1e3
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>
2024-06-11 14:10:29 +02:00
Côme Chilliet
9449f6438d
fix(webhooks): Fix tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
6e38b48534
feat(webhooks): Add \SensitiveValue attribute to authData parameter in all classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
c940ba015c
fix(webhooks): Fix migration uri length
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
6c7931b846
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>
2024-06-11 14:10:29 +02:00
Côme Chilliet
74e5812c26
fix(webhooks): Refuse webhooks registration if auth header is used without auth data
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
621c068680
fix(webhooks): fix crash when headers is null with header auth method
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
bb2cb45340
fix: Remove superfluous antislash from event name to avoid problems
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
3bc43b2a34
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>
2024-06-11 14:10:29 +02:00
Côme Chilliet
98f3ea657c
fix: Cache webhooks listened events for 5min
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
e111d2e26c
fix: Make webhook event serialization opt-in with a new interface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
35d5d90dc0
chore: rename Index.php to ListWebhooks.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
cccda66c7d
fix: Fix errors spotted by reviewers, fix @throws
annotations
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
d3c06d5dea
fix: Fix eventFilter definition in ResponseDefinitions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
8aae03c66c
fix: Fix TODOs about authentication data, list possible auth methods
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
85e0407aad
feat: Add support for headers and authentication headers in webhooks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
261f08e631
feat: Add app_api app id to saved information about webhook
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
75b2ed4c79
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>
2024-06-11 14:10:29 +02:00
Côme Chilliet
7fe3f1cc70
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>
2024-06-11 14:10:29 +02:00
Côme Chilliet
144bdd73f9
feat: Add event filtering to webhooks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
5dd9c2f8e8
feat: Add admin delegation for webhooks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
3b64e525fb
feat: Add command to list registered webhooks
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
734aad8934
feat: Make node events serializable
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
c3d4d2aad1
Revert "feat: Add support for webhook listeners"
...
This reverts commit 3b790df0127b2bf95e8fe3a8460aa3813e58bef8.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
cf265592d8
Revert "feat: Serialize event data and author userid to webhook"
...
This reverts commit 45d3bd6e30e112a89ffe2fcfdd3ba4bbdc384346.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
aa974a4322
feat: Add webhooks application
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
d835d23e3a
feat: Serialize event data and author userid to webhook
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
Côme Chilliet
8d18607f80
feat: Add support for webhook listeners
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-11 14:10:29 +02:00
skjnldsv
d1591885d3
fix(search): tags redirect route
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-11 14:09:39 +02:00
Andy Scherzinger
81e90ae592
Merge pull request #45779 from nextcloud/bugfix/noid/update-php-requirement
...
fix(CI): Update PHP requirement in dev dependencies
2024-06-11 14:09:02 +02:00
Joas Schilling
daa78858c4
fix(CI): Add all required extensions to openapi action
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-11 12:11:11 +02:00
Joas Schilling
0d383f1f66
fix(logger): Fix scoped PSR logger when running psalm:ci
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-11 11:52:18 +02:00
Joas Schilling
bfb3c23ba5
fix(CI): Update PHP requirement in dev dependencies
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-11 10:52:24 +02:00
Louis
bab91258e3
Merge pull request #45669 from nextcloud/fix/fix-encryption-legacy-reshare
...
fix: Autodetect legacy filekey instead of trusting the header for legacy header
2024-06-11 09:54:12 +02:00
Nextcloud bot
cef6d500d3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 00:19:32 +00:00
Andy Scherzinger
44ed10d7fa
Merge pull request #45755 from nextcloud/chore/noid/spdx-batch15
...
Replace icons with latest `Material Symbol` versions
2024-06-10 19:20:22 +02:00
Andy Scherzinger
cca4978b80
chore: Update comments app icon
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-10 18:50:28 +02:00
nextcloud-command
2cd4449340
chore(assets): Recompile assets
...
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-10 16:45:43 +00:00