]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
5 months agorefactor(files): Provide `currentView` and default file action through composable refactor/provide-file-actions-through-composable
Ferdinand Thiessen [Fri, 14 Jun 2024 12:53:03 +0000 (14:53 +0200)]
refactor(files): Provide `currentView` and default file action through composable

This allows us to remove a dirty `this.$parent.$refs...` chain.
Also the logic will be bundled at one place instead of multiple.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agoMerge pull request #45861 from nextcloud/artonge/fix/right-click
John Molakvoæ [Fri, 14 Jun 2024 08:16:26 +0000 (10:16 +0200)]
Merge pull request #45861 from nextcloud/artonge/fix/right-click

5 months agoMerge pull request #45818 from nextcloud/feat/add-new-clickable-area-variables
Marco [Fri, 14 Jun 2024 07:31:50 +0000 (09:31 +0200)]
Merge pull request #45818 from nextcloud/feat/add-new-clickable-area-variables

Feat: add new clickable area variables

5 months agoMerge pull request #45819 from nextcloud/feat/reduce-border-radius-element
Marco [Fri, 14 Jun 2024 07:20:23 +0000 (09:20 +0200)]
Merge pull request #45819 from nextcloud/feat/reduce-border-radius-element

Feat: reduce border radius element to 8 px

5 months agoMerge pull request #45832 from nextcloud/fixup-webpack
Andy Scherzinger [Fri, 14 Jun 2024 07:14:24 +0000 (09:14 +0200)]
Merge pull request #45832 from nextcloud/fixup-webpack

chore: Adjust post-build script to add license files for sourcemaps on build

5 months agoUpdate build/npm-post-build.sh 45832/head
Joas Schilling [Fri, 14 Jun 2024 06:53:02 +0000 (08:53 +0200)]
Update build/npm-post-build.sh

Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
5 months agochore(assets): Recompile assets
nextcloud-command [Thu, 13 Jun 2024 23:23:17 +0000 (23:23 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 months agochore: Compile assets
Ferdinand Thiessen [Wed, 12 Jun 2024 19:24:45 +0000 (21:24 +0200)]
chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agochore: Adjust post-build script to add license files for sourcemaps on build
Ferdinand Thiessen [Wed, 12 Jun 2024 19:20:30 +0000 (21:20 +0200)]
chore: Adjust post-build script to add license files for sourcemaps on build

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agoMerge pull request #45867 from nextcloud/fix/comments-icons
Andy Scherzinger [Fri, 14 Jun 2024 05:29:57 +0000 (07:29 +0200)]
Merge pull request #45867 from nextcloud/fix/comments-icons

fix(comments): Use proper icon components instead of icon classes to fix dark mode

5 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 14 Jun 2024 00:19:48 +0000 (00:19 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months agochore(assets): Recompile assets 45867/head
nextcloud-command [Thu, 13 Jun 2024 23:06:18 +0000 (23:06 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 months agofix(comments): Use proper icon components instead of icon classes to fix dark mode
Ferdinand Thiessen [Thu, 13 Jun 2024 16:13:45 +0000 (18:13 +0200)]
fix(comments): Use proper icon components instead of icon classes to fix dark mode

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agofix(files): Ignore right click for default action 45861/head
Louis Chemineau [Thu, 13 Jun 2024 13:39:59 +0000 (15:39 +0200)]
fix(files): Ignore right click for default action

Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months agoMerge pull request #45810 from nextcloud/chore/noid/spdx-batch16
Andy Scherzinger [Thu, 13 Jun 2024 12:17:18 +0000 (14:17 +0200)]
Merge pull request #45810 from nextcloud/chore/noid/spdx-batch16

Add SPDX header - batch 16

5 months agochore: optimized SVG 45810/head
Andy Scherzinger [Wed, 12 Jun 2024 09:43:45 +0000 (11:43 +0200)]
chore: optimized SVG

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 months agochore: Add SPDX header
Andy Scherzinger [Wed, 12 Jun 2024 07:55:57 +0000 (09:55 +0200)]
chore: Add SPDX header

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 months agostyle: update icon to Material Symbol
Andy Scherzinger [Wed, 12 Jun 2024 07:55:37 +0000 (09:55 +0200)]
style: update icon to Material Symbol

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 months agostyle: replace webhook listener app with Material Symbol icon
Andy Scherzinger [Wed, 12 Jun 2024 06:59:20 +0000 (08:59 +0200)]
style: replace webhook listener app with Material Symbol icon

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 months agochore: Add SPDX info for default background
Andy Scherzinger [Tue, 11 Jun 2024 16:55:18 +0000 (18:55 +0200)]
chore: Add SPDX info for default background

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 months agoMerge pull request #45172 from nextcloud/test-scanner-no-transactions
Robin Appelman [Thu, 13 Jun 2024 12:01:34 +0000 (14:01 +0200)]
Merge pull request #45172 from nextcloud/test-scanner-no-transactions

feat: add option to disable scanner transactions

5 months agoMerge pull request #43531 from nextcloud/cache-move-select-children
Arthur Schiwon [Thu, 13 Jun 2024 09:43:31 +0000 (11:43 +0200)]
Merge pull request #43531 from nextcloud/cache-move-select-children

get child ids for folder in a separate query during move

5 months agofix: get child ids for folder in a separate query during move 43531/head
Robin Appelman [Mon, 12 Feb 2024 14:52:07 +0000 (15:52 +0100)]
fix: get child ids for folder in a separate query during move

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 13 Jun 2024 00:19:50 +0000 (00:19 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months agoMerge pull request #45305 from nextcloud/backport/44464/master
F. E Noel Nfebe [Wed, 12 Jun 2024 22:55:01 +0000 (23:55 +0100)]
Merge pull request #45305 from nextcloud/backport/44464/master

44032 fix show new shares without refresh

5 months agoMerge pull request #45530 from nextcloud/jtr/fix-cron-memory-usage-levels
Josh [Wed, 12 Jun 2024 22:26:33 +0000 (18:26 -0400)]
Merge pull request #45530 from nextcloud/jtr/fix-cron-memory-usage-levels

fix(cron): Log excess memory usage at debug and info levels

5 months agochore(assets): Recompile assets 45305/head
nextcloud-command [Wed, 12 Jun 2024 22:26:15 +0000 (22:26 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 months agofix(files_sharing): Improve recursion in `onNewLinShare`
fenn-cs [Tue, 2 Apr 2024 15:07:30 +0000 (16:07 +0100)]
fix(files_sharing): Improve recursion in `onNewLinShare`

These changes fixes the issue of having the refresh the UI after share creation, as the share is not
immediately removed from the UI list.

Important changes

- The basis of checking wether a password/expire date is no longer based on config values alone
because the config is not expected in a share creation circle. Hence we check the configs and check
if the share object (this.share) has the expected values set. This way, once the required properties
are set, code control does not enter the block meant to handle the setting of required properties
unneccessarily.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
5 months agorefactor(ShareDetails): Prevent undefined errors for `share.permissions`
fenn-cs [Mon, 25 Mar 2024 13:07:41 +0000 (14:07 +0100)]
refactor(ShareDetails): Prevent undefined errors for `share.permissions`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
5 months agoMerge branch 'master' into jtr/fix-cron-memory-usage-levels 45530/head
Josh [Wed, 12 Jun 2024 20:57:21 +0000 (16:57 -0400)]
Merge branch 'master' into jtr/fix-cron-memory-usage-levels

Signed-off-by: Josh <josh.t.richards@gmail.com>
5 months agoMerge pull request #45649 from nextcloud/jtr/fix-oo-s3-no-hostname
Ferdinand Thiessen [Wed, 12 Jun 2024 20:56:36 +0000 (22:56 +0200)]
Merge pull request #45649 from nextcloud/jtr/fix-oo-s3-no-hostname

fix(ObjectStore): Fix regression when hostname is empty

5 months agoMerge pull request #45251 from nextcloud/fix/files-source-no-fileid
Andy Scherzinger [Wed, 12 Jun 2024 20:54:53 +0000 (22:54 +0200)]
Merge pull request #45251 from nextcloud/fix/files-source-no-fileid

fix(files): do not rely on unique fileid

5 months agoFeat: Update apps/theming/lib/Themes/DefaultTheme.php 45818/head
Marco [Wed, 12 Jun 2024 19:59:37 +0000 (21:59 +0200)]
Feat: Update apps/theming/lib/Themes/DefaultTheme.php

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Marco <marcoambrosini@proton.me>
5 months agofix(ObjectStore): handle empty S3 hostname 45649/head
Josh [Mon, 3 Jun 2024 21:31:26 +0000 (17:31 -0400)]
fix(ObjectStore): handle empty S3 hostname

Fixes #45637

The support for s3-accelerate added in #44496 introduced a regression in AWS S3 environments when `hostname` is blank (which is a valid configuration w/ AWS since the hostname gets auto-generated).

Signed-off-by: Josh <josh.t.richards@gmail.com>
5 months agochore(assets): Recompile assets 45251/head
nextcloud-command [Wed, 12 Jun 2024 16:52:03 +0000 (16:52 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 months agofix(files): fetch nodes if we have multiple of the same fileid in the store
skjnldsv [Wed, 12 Jun 2024 15:51:19 +0000 (17:51 +0200)]
fix(files): fetch nodes if we have multiple of the same fileid in the store

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agofix(files): do not rely on unique fileid
skjnldsv [Fri, 10 May 2024 11:57:03 +0000 (13:57 +0200)]
fix(files): do not rely on unique fileid

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agoMerge pull request #45571 from nextcloud/fix/files-middle-click
John Molakvoæ [Wed, 12 Jun 2024 14:31:09 +0000 (16:31 +0200)]
Merge pull request #45571 from nextcloud/fix/files-middle-click

5 months agoMerge pull request #45811 from nextcloud/add-test-for-profile-page-controller
Daniel [Wed, 12 Jun 2024 12:49:03 +0000 (14:49 +0200)]
Merge pull request #45811 from nextcloud/add-test-for-profile-page-controller

test: add tests for ProfilePageController

5 months agofix(files): also trigger new tab on file name middle click 45571/head
John Molakvoæ (skjnldsv) [Wed, 29 May 2024 16:53:53 +0000 (18:53 +0200)]
fix(files): also trigger new tab on file name middle click

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 months agoFeat: reduce border radius element to 8 px 45819/head
Marco Ambrosini [Wed, 12 Jun 2024 11:17:21 +0000 (13:17 +0200)]
Feat: reduce border radius element to 8 px

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
5 months agoFeat: add new clickable area variables
Marco Ambrosini [Wed, 12 Jun 2024 11:09:31 +0000 (13:09 +0200)]
Feat: add new clickable area variables

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
5 months agoMerge pull request #45698 from nextcloud/fix/files-remote-shares
John Molakvoæ [Wed, 12 Jun 2024 11:02:48 +0000 (13:02 +0200)]
Merge pull request #45698 from nextcloud/fix/files-remote-shares

5 months agoMerge pull request #45804 from nextcloud/fix/cron/log-long-running-jobs
Christoph Wurst [Wed, 12 Jun 2024 10:07:44 +0000 (12:07 +0200)]
Merge pull request #45804 from nextcloud/fix/cron/log-long-running-jobs

fix(cron): Log long running jobs

5 months agotest: add tests for ProfilePageController 45811/head
Daniel Kesselberg [Wed, 12 Jun 2024 09:46:12 +0000 (11:46 +0200)]
test: add tests for ProfilePageController

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 months agochore: compile assets 45698/head
skjnldsv [Wed, 12 Jun 2024 08:28:45 +0000 (10:28 +0200)]
chore: compile assets

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agofix(core): Return X-NC-IsCustomAvatar for guest avatars too
provokateurin [Fri, 7 Jun 2024 10:09:36 +0000 (12:09 +0200)]
fix(core): Return X-NC-IsCustomAvatar for guest avatars too

Signed-off-by: provokateurin <kate@provokateurin.de>
5 months agofix(files_sharing): dark avatar support
skjnldsv [Thu, 6 Jun 2024 17:36:19 +0000 (19:36 +0200)]
fix(files_sharing): dark avatar support

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agofix(dav): also return shared-with-me shares data
skjnldsv [Thu, 6 Jun 2024 16:55:33 +0000 (18:55 +0200)]
fix(dav): also return shared-with-me shares data

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agofix(core): allow guest avatar fallback
skjnldsv [Thu, 6 Jun 2024 16:48:14 +0000 (18:48 +0200)]
fix(core): allow guest avatar fallback

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agofix(files_sharing): fix parsing of remote shares
skjnldsv [Thu, 6 Jun 2024 16:48:02 +0000 (18:48 +0200)]
fix(files_sharing): fix parsing of remote shares

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
5 months agoMerge pull request #45768 from nextcloud/artonge/fix/copy_retry
Louis [Wed, 12 Jun 2024 08:08:46 +0000 (10:08 +0200)]
Merge pull request #45768 from nextcloud/artonge/fix/copy_retry

Use isRetryable to catch retryable exceptions

5 months agoMerge pull request #45789 from nextcloud/fix/cy-selector
John Molakvoæ [Wed, 12 Jun 2024 08:08:25 +0000 (10:08 +0200)]
Merge pull request #45789 from nextcloud/fix/cy-selector

5 months agofix(cron): Log long running jobs 45804/head
Christoph Wurst [Wed, 12 Jun 2024 07:34:57 +0000 (09:34 +0200)]
fix(cron): Log long running jobs

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 12 Jun 2024 00:20:05 +0000 (00:20 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 months agoMerge pull request #45794 from nextcloud/fix/fix-composer-bin-plugin
Ferdinand Thiessen [Tue, 11 Jun 2024 20:00:00 +0000 (22:00 +0200)]
Merge pull request #45794 from nextcloud/fix/fix-composer-bin-plugin

chore(composer): composer install --no-dev

5 months agochore: Compile assets 45789/head
Ferdinand Thiessen [Tue, 11 Jun 2024 19:37:55 +0000 (21:37 +0200)]
chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agofix(files): Use `data-cy` (data attribute) instead of `cy-data`
Ferdinand Thiessen [Tue, 11 Jun 2024 13:34:58 +0000 (15:34 +0200)]
fix(files): Use `data-cy` (data attribute) instead of `cy-data`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agoMerge pull request #45788 from nextcloud/refactor/files-library
Ferdinand Thiessen [Tue, 11 Jun 2024 19:25:16 +0000 (21:25 +0200)]
Merge pull request #45788 from nextcloud/refactor/files-library

refactor(files): Use `@nextcloud/files` functions where possible and make files views cancelable

5 months agoMerge pull request #45775 from nextcloud/fix/caldav/event-notification-shared-calendars
Richard Steinmetz [Tue, 11 Jun 2024 18:41:11 +0000 (20:41 +0200)]
Merge pull request #45775 from nextcloud/fix/caldav/event-notification-shared-calendars

fix(caldav): event links in shared calendar notifications

5 months agofix(caldav): event links in shared calendar notifications 45775/head
Richard Steinmetz [Tue, 11 Jun 2024 07:42:03 +0000 (09:42 +0200)]
fix(caldav): event links in shared calendar notifications

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
5 months agochore(composer): composer install --no-dev 45794/head
Côme Chilliet [Tue, 11 Jun 2024 14:51:35 +0000 (16:51 +0200)]
chore(composer): composer install --no-dev

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agoMerge pull request #45475 from nextcloud/feat/add-support-for-webhooks
Côme Chilliet [Tue, 11 Jun 2024 14:31:27 +0000 (16:31 +0200)]
Merge pull request #45475 from nextcloud/feat/add-support-for-webhooks

feat: Add support for webhook listeners

5 months agochore: Compile assets 45788/head
Ferdinand Thiessen [Tue, 11 Jun 2024 13:42:21 +0000 (15:42 +0200)]
chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agofix(files): Adjust babel module resolution
Ferdinand Thiessen [Mon, 10 Jun 2024 22:23:59 +0000 (00:23 +0200)]
fix(files): Adjust babel module resolution

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agorefactor(files): Migrate `personal` view to `@nextcloud/files` functions
Ferdinand Thiessen [Mon, 10 Jun 2024 21:06:02 +0000 (23:06 +0200)]
refactor(files): Migrate `personal` view to `@nextcloud/files` functions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agorefactor(files): Migrate `favorites` view to `@nextcloud/files` functions and make...
Ferdinand Thiessen [Mon, 10 Jun 2024 21:04:59 +0000 (23:04 +0200)]
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>
5 months agorefactor(files): Migrate `recent` view to `@nextcloud/files` functions and make it...
Ferdinand Thiessen [Mon, 10 Jun 2024 20:55:57 +0000 (22:55 +0200)]
refactor(files): Migrate `recent` view to `@nextcloud/files` functions and make it cancelable

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agorefactor(files): Migrate files service to functions from `@nextcloud/files`
Ferdinand Thiessen [Mon, 10 Jun 2024 20:38:14 +0000 (22:38 +0200)]
refactor(files): Migrate files service to functions from `@nextcloud/files`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agorefactor(systemtags): Do not link to files app but directly use functions from `...
Ferdinand Thiessen [Mon, 10 Jun 2024 19:20:31 +0000 (21:20 +0200)]
refactor(systemtags): Do not link to files app but directly use functions from `@nextcloud/files`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 months agoMerge pull request #45781 from nextcloud/fix/tag-redrirect
Ferdinand Thiessen [Tue, 11 Jun 2024 13:42:10 +0000 (15:42 +0200)]
Merge pull request #45781 from nextcloud/fix/tag-redrirect

fix(search): tags redirect route

5 months agofix(files): Use isRetryable to catch retryable exceptions 45768/head
Louis Chemineau [Mon, 10 Jun 2024 16:01:39 +0000 (18:01 +0200)]
fix(files): Use isRetryable to catch retryable exceptions

Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months agofix(webhooks): Fix a few more psalm notices 45475/head
Côme Chilliet [Tue, 11 Jun 2024 12:40:29 +0000 (14:40 +0200)]
fix(webhooks): Fix a few more psalm notices

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(cron): Log excess memory usage at debug and info levels
Josh [Mon, 27 May 2024 13:19:48 +0000 (09:19 -0400)]
fix(cron): Log excess memory usage at debug and info levels

Signed-off-by: Josh <josh.t.richards@gmail.com>
5 months agofix(webhooks): Fix last psalm and openapi problems with the API
Côme Chilliet [Tue, 11 Jun 2024 09:03:45 +0000 (11:03 +0200)]
fix(webhooks): Fix last psalm and openapi problems with the API

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(webhooks): Fix openapi reponse definition
Côme Chilliet [Tue, 11 Jun 2024 07:53:56 +0000 (09:53 +0200)]
fix(webhooks): Fix openapi reponse definition

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(webhooks): Fix a few of psalm errors
Côme Chilliet [Mon, 10 Jun 2024 16:12:41 +0000 (18:12 +0200)]
fix(webhooks): Fix a few of psalm errors

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agochore(webhooks): Rename webhooks application to webhook_listeners
Côme Chilliet [Mon, 10 Jun 2024 15:35:07 +0000 (17:35 +0200)]
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>
5 months agofix(webhooks): Fix tests
Côme Chilliet [Mon, 10 Jun 2024 15:13:41 +0000 (17:13 +0200)]
fix(webhooks): Fix tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat(webhooks): Add \SensitiveValue attribute to authData parameter in all classes
Côme Chilliet [Mon, 10 Jun 2024 15:07:44 +0000 (17:07 +0200)]
feat(webhooks): Add \SensitiveValue attribute to authData parameter in all classes

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(webhooks): Fix migration uri length
Côme Chilliet [Mon, 10 Jun 2024 15:07:07 +0000 (17:07 +0200)]
fix(webhooks): Fix migration uri length

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(webhooks): Add Nextcloud certificate bundle to client options
Côme Chilliet [Mon, 10 Jun 2024 14:34:15 +0000 (16:34 +0200)]
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>
5 months agofix(webhooks): Refuse webhooks registration if auth header is used without auth data
Côme Chilliet [Mon, 10 Jun 2024 14:33:44 +0000 (16:33 +0200)]
fix(webhooks): Refuse webhooks registration if auth header is used without auth data

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix(webhooks): fix crash when headers is null with header auth method
Côme Chilliet [Mon, 10 Jun 2024 14:26:59 +0000 (16:26 +0200)]
fix(webhooks): fix crash when headers is null with header auth method

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Remove superfluous antislash from event name to avoid problems
Côme Chilliet [Mon, 10 Jun 2024 14:25:12 +0000 (16:25 +0200)]
fix: Remove superfluous antislash from event name to avoid problems

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Move caching to the mapper instead
Côme Chilliet [Thu, 6 Jun 2024 15:00:45 +0000 (17:00 +0200)]
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>
5 months agofix: Cache webhooks listened events for 5min
Côme Chilliet [Thu, 6 Jun 2024 14:23:28 +0000 (16:23 +0200)]
fix: Cache webhooks listened events for 5min

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Make webhook event serialization opt-in with a new interface
Côme Chilliet [Thu, 6 Jun 2024 14:12:36 +0000 (16:12 +0200)]
fix: Make webhook event serialization opt-in with a new interface

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agochore: rename Index.php to ListWebhooks.php
Côme Chilliet [Thu, 6 Jun 2024 09:06:58 +0000 (11:06 +0200)]
chore: rename Index.php to ListWebhooks.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Fix errors spotted by reviewers, fix `@throws` annotations
Côme Chilliet [Thu, 6 Jun 2024 08:59:21 +0000 (10:59 +0200)]
fix: Fix errors spotted by reviewers, fix `@throws` annotations

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Fix eventFilter definition in ResponseDefinitions
Côme Chilliet [Tue, 4 Jun 2024 12:46:44 +0000 (14:46 +0200)]
fix: Fix eventFilter definition in ResponseDefinitions

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofix: Fix TODOs about authentication data, list possible auth methods
Côme Chilliet [Tue, 4 Jun 2024 12:21:10 +0000 (14:21 +0200)]
fix: Fix TODOs about authentication data, list possible auth methods

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat: Add support for headers and authentication headers in webhooks
Côme Chilliet [Mon, 3 Jun 2024 15:11:52 +0000 (17:11 +0200)]
feat: Add support for headers and authentication headers in webhooks

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat: Add app_api app id to saved information about webhook
Côme Chilliet [Mon, 3 Jun 2024 14:10:55 +0000 (16:10 +0200)]
feat: Add app_api app id to saved information about webhook

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agochore: Add tests for the PHPMongoQuery class
Côme Chilliet [Mon, 3 Jun 2024 13:32:26 +0000 (15:32 +0200)]
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>
5 months agofix: Add event filter to openapi
Côme Chilliet [Thu, 30 May 2024 16:23:09 +0000 (18:23 +0200)]
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>
5 months agofeat: Add event filtering to webhooks
Côme Chilliet [Thu, 30 May 2024 15:26:40 +0000 (17:26 +0200)]
feat: Add event filtering to webhooks

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat: Add admin delegation for webhooks
Côme Chilliet [Thu, 30 May 2024 14:46:32 +0000 (16:46 +0200)]
feat: Add admin delegation for webhooks

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat: Add command to list registered webhooks
Côme Chilliet [Thu, 30 May 2024 12:42:41 +0000 (14:42 +0200)]
feat: Add command to list registered webhooks

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
5 months agofeat: Make node events serializable
Côme Chilliet [Thu, 30 May 2024 12:32:26 +0000 (14:32 +0200)]
feat: Make node events serializable

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>