Commit graph

33840 commits

Author SHA1 Message Date
Arthur Schiwon
9113fa3904
style(vue): satisfy linter
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 14:01:21 +02:00
Arthur Schiwon
963193001f
fix: properly set value in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:33:12 +02:00
Arthur Schiwon
1bbf27b43e
refactor: remove mixing from FileMimeType as it is bad practice
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon
24770d19d9
fix(workflowengine): adapt check operator RequestUserGroup to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon
d6a0d4fd27
fix(workflowengine): adapt check operator RequestUserAgent to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon
23dae0ec18
fix(workflowengine): adapt check operator RequestTime to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon
d483715479
fix(workflowengine): adapt check operator RequestURL to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:01 +02:00
Arthur Schiwon
9e5e50d16e
fix(workflowengine): use adapted mixin again in FileMimeType
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:00 +02:00
Arthur Schiwon
2619904080
fix(workflowengine): minimally adapt check operator FileMimeType to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:32:00 +02:00
Arthur Schiwon
a39074a168
fix(workflowengine): adapt check operator FileSystemTag to use web component
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 13:31:58 +02:00
Arthur Schiwon
12b78f9866 fix(workflowengine): require a web component as check plugin
Similar case as with operator plugins (check previous commit). Although we
are not aware of an existign problem, it is there in principle, and
asjusting the API we stay consistent with that one from the operations.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 11:20:44 +00:00
Arthur Schiwon
63c174d9f3 fix(workflowengine): require a web component as operation plugin
solves an incompatibility issue when the providing app registers their code
from an incompatible nextcloud-vue version.

Also changes and clarifies WorkflowEngine API. This is necessary to stay
compatible with the original way, but also promotes usage of the originally
declared but never used "component" attribute on registration.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-03 11:20:44 +00:00
Louis
0d0aca2b0b
Merge pull request #51912 from nextcloud/backport/51861/stable31
[stable31] fix: Catch exceptions when expiring trashbin
2025-04-03 12:28:09 +02:00
Louis Chemineau
bea43d14c8 fix: Catch exceptions when expiring trashbin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 09:16:58 +00:00
Louis Chemineau
d6c16e95b0 chore: Use iterator in ExpireTrash command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-03 09:16:58 +00:00
Ferdinand Thiessen
c6ebf1c7cb fix(files): Ensure actions never overflow filename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-03 08:23:58 +00:00
Ferdinand Thiessen
93d8e7e8a5
refactor: add migration for email setting
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 09:03:42 +02:00
provokateurin
67948fa7ed
fix(settings): Handle email change restriction separately from display name change restriction
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 09:03:42 +02:00
Nextcloud bot
094197a22d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 00:23:25 +00:00
Andy Scherzinger
ff9538302b
Merge pull request #51865 from nextcloud/backport/51852/stable31
[stable31] fix(encryption): init keys also when logged in using cookie auth
2025-04-02 18:47:02 +02:00
skjnldsv
f069e12dfa fix(files): right click actions menu flicker
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-02 14:38:21 +00:00
Richard Steinmetz
677a9a1fd0
Merge pull request #51859 from nextcloud/backport/50858/stable31
[stable31] fix(oauth2): retain support for legacy ownCloud clients
2025-04-02 16:16:58 +02:00
Ferdinand Thiessen
ddefca1d8a fix(encryption): init keys also when logged in using cookie auth
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 11:31:11 +00:00
Ferdinand Thiessen
d9ba5d6810
fix(files_sharing): make sure IDs are unique for HTML elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:10:32 +02:00
Ferdinand Thiessen
938289c052
fix(files_sharing): ugly hacks to update permissions on share creation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-02 13:10:32 +02:00
yemkareems
368a82ffb6
fix: pass hide download attribute while creating the share to fix github issue 50788
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-04-02 13:10:32 +02:00
Richard Steinmetz
1653cd2dea
fix(oauth2): retain support for legacy ownCloud clients
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-04-02 12:05:18 +02:00
Andy Scherzinger
f61636bcaa
Merge pull request #51578 from nextcloud/backport/51521/stable31
[stable31] fix(webauthn): adjust for updated library and add tests
2025-04-02 10:42:30 +02:00
Nextcloud bot
a988387264
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-02 00:23:19 +00:00
Robin Appelman
17569defaa fix: don't have sabre/dav send it's own reponse if we already send the zip response
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-01 17:26:12 +00:00
Ferdinand Thiessen
ff172e178e fix(webauthn): do not require bcmath or gmp - not needed anymore
The extensions are not required anymore but only recommended for
performance. See also:
https://github.com/web-auth/webauthn-framework/issues/213

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Ferdinand Thiessen
7dc45631cf fix(core): adjust fronend code for changes in webauthn library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +02:00
Louis Chemineau
89da238b70 fix(files_reminder): Replace error log by setup check
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:23 +00:00
Louis Chemineau
909d6a87c1 fix(files_reminders): Lower disabled notifications app error to info
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-01 15:09:22 +00:00
Joas Schilling
4d75eeaffe
Merge pull request #51331 from nextcloud/backport/51082/stable31
[stable31] feat(dav): add webhook compatibility for calendar object events
2025-04-01 12:05:16 +02:00
Nextcloud bot
48a2de092a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-01 00:23:20 +00:00
Christopher Ng
0eedb6904f fix(settings): Separate subadmin options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
4a7fee32db fix(settings): Fix initialization of store
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
42517d9c34 fix(settings): Preserve system groups on reset
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
59885c0254 chore(openapi): Update spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
6ce464b899 fix(settings): Natural order groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
e0cafe5fb1 fix(settings): Fix duplicated group options in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
6a36355dc5 fix(settings): Fix duplicated group options when editing account
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
6b28f90881 fix(settings): Fix group creation in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
f5b35fe1e5 fix(settings): Fix group creation when editing users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
bdac0d7670 fix(settings): Only change usercount if group can be found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
46098c975b fix(settings): Fix editing groups and subadmin groups of user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
80a2fd25cf feat(provisioning_api): Add endpoint for fetching user subadmin groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
32c3e18781 fix(settings): Fix erroneous hiding of group admin column with paginated groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 -07:00
Christopher Ng
b1d3ee8539 fix(settings): Prevent selection of invalid groups that are not fully loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
0dc089799e fix(settings): Fix loaded groups being undefined
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
13765c623c chore(settings): Add note on groups sorting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
02ca811c9d refactor(settings): Consolidate group formatting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
4d0f2da3e0 perf(settings): Make scrolling smooth when a large number of groups are rendered
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
cae40a3521 fix(settings): Allow searching for groups in new account dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
19e1b54ae2 fix(settings): Allow searching for groups in user row
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
9b303db186 perf(settings): Cancel request on new search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
56e255ecac feat(provisioning_api): Add endpoint for fetching user groups with details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
0d20ddf6f1 fix(settings): Fix infinitely loading account management page with pagination of groups
- Includes searching

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Christopher Ng
4c3335c934 perf(settings): Remove computation of all groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:23 -07:00
Joas Schilling
bcb2c50c6f
fix(caldav): Restore old private events and deprecate them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-31 10:26:23 -07:00
Edward Ly
5f15089a05
feat(dav)!: migrate OCA calendar object events to OCP
Signed-off-by: Edward Ly <contact@edward.ly>
2025-03-31 10:26:23 -07:00
Edward Ly
a85b6778b6
feat(dav): add webhook compatibility for calendar object events
Signed-off-by: Edward Ly <contact@edward.ly>
2025-03-31 10:26:01 -07:00
Côme Chilliet
911830df8a
Merge pull request #51376 from nextcloud/backport/51108/stable31
[stable31] Fix disabled user list for SAML group subadmin
2025-03-31 15:41:10 +02:00
Marcel Klehr
f09f1d1f8c
Merge pull request #51813 from nextcloud/backport/51750/stable31
[stable31] fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
2025-03-31 15:24:38 +02:00
Marcel Klehr
f42380f138 fix(dav): Give proper HTTP status code on MKCOL when quota exceeded
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-31 11:46:53 +00:00
Louis Chemineau
27079eedeb feat: Limit trash expire job to 30 minutes
And pick up where it left off, leveraging getSeenUsers.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-31 11:01:02 +00:00
Nextcloud bot
a198345867
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-31 00:23:37 +00:00
Andy Scherzinger
7197b9db89
Merge pull request #51316 from nextcloud/backport/51144/stable31
[stable31] fix(dav): Create SAB at installation
2025-03-30 14:41:47 +02:00
Nextcloud bot
162d1ceed8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 12:36:54 +00:00
Christoph Wurst
1f1945640d fix(dav): Create SAB at installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-30 14:04:45 +02:00
Git'Fellow
606c781218 fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-03-30 13:22:42 +02:00
Côme Chilliet
720d1c0cd3 chore: Move magic number into a documented const
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Côme Chilliet
171886ae6b fix: Correctly count disabled users for SAML groups subadmins
If too many users return -1 as for LDAP so that link is shown

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-30 09:11:30 +02:00
Nextcloud bot
b0c5a1c205
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 00:23:32 +00:00
Nextcloud bot
b757349adf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 00:23:02 +00:00
Marcel Klehr
0273b4d0ba perf(sharing): Use oc_share.{item_type, share_type} IN instead of OR equals
to improve performance by using the db index

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-03-28 14:46:30 +01:00
provokateurin
dab670f289
fix(files_versions): Rely on server mime fallback icons
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:32 +01:00
provokateurin
d15ea1f17e
feat(files_versions): Implement preview mime icon fallback
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:31 +01:00
provokateurin
0169965c84
fix(files_versions): Cache previews
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-28 11:54:13 +01:00
John Molakvoæ
281bb874b0
Merge pull request #51751 from nextcloud/backport/51684/stable31
[stable31] fix(files): Properly encode URLs when preparing ZIP download
2025-03-28 08:52:24 +01:00
Nextcloud bot
db677a6bc0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-28 00:23:36 +00:00
Kate
da83efc61f
Merge pull request #51758 from nextcloud/backport/51449/stable31
[stable31] fix: resolve typo in authMethod enum cases
2025-03-27 22:07:43 +01:00
Hendrik Heil
36a32eba02 fix(webhooks): resolve typo in openapi authMethod enum cases
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:28 +00:00
Hendrik Heil
64b6439be8 fix(webhooks): update docblock options for authMethod
Signed-off-by: Hendrik Heil <hendrik@heil.sh>
2025-03-27 13:25:28 +00:00
Côme Chilliet
07422477f5
fix(sharebymail): Fix activity rich object id type
Fixes "Object for placeholder file is invalid, value 21 for key id is not a string"
Exception spotted in tests logs.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:20:28 +01:00
Côme Chilliet
8b41055297
fix(files_sharing): Use session id as part of cache key to avoid concurrency issues
If several people are watching and seeking the same video file we do not
 want the cache key to be the same or it would flood activity again.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:19:02 +01:00
Côme Chilliet
d9b2178ee1
fix(files_sharing): Set higher priority for listeners that may abort the request
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:56 +01:00
Côme Chilliet
0c293b3569
fix: Avoid triggering several activities for Range request on the same file
Avoids flooding activities when someone browse a video in the web player.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:51 +01:00
Côme Chilliet
97dbbe4768
fix: Fix download activity for folders
Remove duplicate activity publishing from share controller download,
 listen to BeforeZipCreatedEvent to publish activity for folders, and
 cache folders activity to avoid sending activity for each file in the
 folder.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:46 +01:00
Côme Chilliet
6ff8d1e43b
fix(sharing): Publish activity for download by public link
Even if dav endpoint is now used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-27 12:18:23 +01:00
Fabian Zwemke
7b429c8a44 fix(files): Properly encode URLs when preparing ZIP download
Signed-off-by: Fabian Zwemke <fabian@zwemke.de>
2025-03-27 11:05:36 +00:00
Pytal
f61446e843
Merge pull request #51738 from nextcloud/backport/51737/stable31
[stable31] fix(files_reminders): Fix reminder actions being displayed on invalid nodes
2025-03-27 01:55:59 -07:00
Nextcloud bot
053538a05e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-27 00:24:09 +00:00
Christopher Ng
f0f6b0b69d fix(files_reminders): Fix reminder actions being displayed on invalid nodes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-26 18:41:35 +00:00
Ferdinand Thiessen
433e704b63 fix(files_versions): correctly show version author also for shared files
The users endpoint is not available for other users if the current user
has no admin privileges, so instead use the displaynames endpoint.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-26 11:50:46 +00:00
Nextcloud bot
927739cb2b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-26 00:22:48 +00:00
skjnldsv
2b4fed3340 fix(dav): filter user files when updating tags
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-25 12:30:03 +00:00
Kate
760503d73e
Merge pull request #51672 from nextcloud/backport/51668/stable31
[stable31] fix(provisioning_api): Pass on translated hint if password change fails
2025-03-25 10:59:20 +01:00
Nextcloud bot
7de5152eb6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 00:22:47 +00:00