Commit Graph

33463 Commits (0f298e1db1bd206793df178aabdfff3994e7e671)

Author SHA1 Message Date
Ferdinand Thiessen 2926fe270a fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 17:26:28 +07:00
Nextcloud bot 325e5ee9ac
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:21 +07:00
Ferdinand Thiessen 6dbd8da40f fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:56:35 +07:00
Ferdinand Thiessen a8c2769cae fix(theming): Harden admin web link settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:56:35 +07:00
Andy Scherzinger 3604f0b0e6
Merge pull request #50481 from nextcloud/backport/45364/stable31
[stable31] fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-27 18:13:22 +07:00
Côme Chilliet 128b2e1cec fix(user_ldap): Do not map groups we do not know if they match filter
When nesting is enabled, filterValidGroups is supposed to check for each
 groups if it actually exist, because it may not be visible to
 Nextcloud. So in this codepath we disable automapping of groups.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-27 16:31:14 +07:00
Pawel Boguslawski 64e261dad7 fix: Hide "Create templates folder" option if templates are disabled in configuration
When both `skeletondirectory` and `templatedirectory` are set to empty
strings in configuration, templates folder creation should be disabled
and no Create templates folder option should be present
in new folder menu.

Related: https://github.com/nextcloud/server/issues/39266
Related: https://github.com/nextcloud/server/issues/46455
Author-Change-Id: IB#1156403

Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-27 16:19:00 +07:00
Robin Appelman 5c0d4a4bea fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-27 09:22:03 +07:00
Nextcloud bot d06a26d58b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:51 +07:00
Andy Scherzinger fa6dac457b
Merge pull request #50450 from nextcloud/backport/48672/stable31
[stable31] fix(settings): Add some context to the PHP memory limit error
2025-01-26 23:17:04 +07:00
provokateurin 8e0b72184a fix(settings): Add back adminstration scope for LogSettingsController
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +07:00
provokateurin f741fd16ca chore(federation): Remove outdated OpenAPI spec
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +07:00
Josh 5a8242feea fix(settings): Add some context to the PHP memory limit error
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 20:48:16 +07:00
Ferdinand Thiessen 57949b2e22 fix: Ensure `label` is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 20:00:33 +07:00
Andy Scherzinger fcb73d7217
Merge pull request #50438 from nextcloud/backport/49440/stable31
[stable31] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 17:46:03 +07:00
Ferdinand Thiessen 76ac30f576 fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:20:35 +07:00
Josh 92c603b082 fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 14:37:05 +07:00
Nextcloud bot b380f25af4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:40 +07:00
Ferdinand Thiessen f7318c17a6 fix(theming): remove node-vibrant dependency and usage (was moved to backend)
The color extraction is handled by the backend nowadays, this was not
used by the backend anymore.
Reduce depdencies + compiled size + security warning on that dependency.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-25 17:11:34 +07:00
nfebe b11fc4e2a2 feat: Use redundant label for accessibility only
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-25 12:33:02 +07:00
Nextcloud bot aaeb93782e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:42:51 +07:00
Raimund Schlüßler 94d95a68f7 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 23:46:13 +07:00
Raimund Schlüßler c79b8a6901 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 23:46:13 +07:00
Andy Scherzinger 30a4f92202
Merge pull request #50374 from nextcloud/backport/50282/stable31
[stable31] refactor: Sharing sidebar UI redesign
2025-01-24 22:12:01 +07:00
Louis Chemineau 3250d71284 feat: Support X-NC-Skip-Trashbin header
This is useful for clients that want to directly and permanently delete a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-24 17:58:14 +07:00
nfebe afb8c4f071 feat: Only show show inherited shares section if present
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +07:00
nfebe 6f545828ac feat: Improve create link texts
Use `Create public link` for first link share creation

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +07:00
nfebe 64138650d1 feat(files_sharing): Modularize `SharingInput` to adapt with share sections
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +07:00
nfebe 24d7fc1bdd refactor(files_sharing): Split internal & external shares
Create two seperate sections for internal and external shares.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +07:00
Thomas Lehmann 33fc5fc1d8 refactor(files_sharing): move deprecated projects component
Primarily to move it out of the way for changes in the source location.

The feature was deprecated in version 25 (#28320), five versions ago.

Refs: #48925
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-24 13:08:05 +07:00
Andy Scherzinger f553197d11
Merge pull request #50373 from nextcloud/backport/50369/stable31
[stable31] fix(dav): default calendar and address book not created on first login
2025-01-24 11:55:08 +07:00
Nextcloud bot d99caa2083
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:18 +07:00
Richard Steinmetz cc9f1e00dd fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:54:02 +07:00
Joas Schilling 3c9f86a3b7
Merge pull request #50332 from nextcloud/backport/50330/stable31
[stable31] fix(security): Update .well-known/security.txt expiration date
2025-01-23 15:06:22 +07:00
Nextcloud bot 36ef0f1add
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:42 +07:00
Joas Schilling 57c5e66788 fix(translations): Fix profile and webhook_listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 13:10:22 +07:00
Joas Schilling 3e138d71f4 fix(security): Update .well-known/security.txt expiration date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:43:32 +07:00
Nextcloud bot be557caec0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 00:21:47 +07:00
nfebe abf840bc18 feat: Update UI to respect tag creation permissions
Added support for the `only_admin_can_create` flag in system tags.
The UI now hides the option to create tags when this flag is enabled, ensuring compliance with admin settings.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-22 20:13:28 +07:00
nfebe f7c46b6809 feat(systemtags): toggle for system tag creation in admin settings
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-22 20:07:25 +07:00
Benjamin Gaussorgues b4e3eff078 feat(systemtags): add setting to block non admin to create system tags
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-01-22 20:07:24 +07:00
skjnldsv 5dc091aa58 fix(files): jsunit file_conversions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 18:12:54 +07:00
skjnldsv 6673c127ec fix(files): better conversion error messages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +07:00
skjnldsv 2c13259093 feat(files): add mime icon endpoint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +07:00
skjnldsv 7d8bb60bfe feat(files): add conversion action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +07:00
Nextcloud bot 35b0baa929
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 00:21:42 +07:00
Christopher Ng a967968126 chore: Only show hours and minutes in first login timestamp
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-21 13:58:44 +07:00
Ferdinand Thiessen 344c8a409c
fix(files): Ensure favorites set in sidebar work
When marking a file as favorite from within the sidebar make sure it
really works, this fixes two issues:
1. The source needs to be the plain source not URL encoded, as otherwise
   the source of the node would be encoded twice (and show with encoding
   in the navigation)
2. The store should also listen for the update events as the sidebar has
   no access to the real node to update it, instead the store should -
   as long as we only have the legacy sidebar - update the node when
   added or removed as favorite.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 17:55:53 +07:00
Ferdinand Thiessen 0a3cf3caf3
Merge pull request #50233 from nextcloud/fix/update-notification
fix(updatenotification): Parse pre-release version of apps
2025-01-21 17:17:43 +07:00
Ferdinand Thiessen e212f337a2
fix(updatenotification): Parse pre-release version of apps
The notitication is correctly created, but the changelog is not show.
We need to make sure the version passed to the manager is in the allowed
format (major.minor.patch).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:43:20 +07:00