Commit graph

68590 commits

Author SHA1 Message Date
fenn-cs
481f5bba81 Correctly switch/revert from custom to bundled perms
We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

Resolves : https://github.com/nextcloud/server/issues/40431

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 13:48:54 +00:00
Nextcloud bot
5a9df6c168
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:46 +00:00
Arthur Schiwon
0155f05987
Merge pull request #40399 from nextcloud/release/27.1.0_rc4
27.1.0 RC4
2023-09-14 19:04:37 +02:00
Arthur Schiwon
df42e781df
Merge pull request #40417 from nextcloud/artonge/bump/nextcloud_dialogs_4_2_0
[stable27] Bump @nc/dialogs to 4.2.0
2023-09-14 14:30:46 +02:00
Andy Scherzinger
1ac6c923b4
Merge pull request #40415 from nextcloud/artonge/backport/stable27/40389
[stable27] Fix invite guest for new sharing flow
2023-09-14 14:23:08 +02:00
Andy Scherzinger
87b7c91108
Merge pull request #40414 from nextcloud/artonge/backport/stable27/40365
[stable27] Hide additional content when share details is open
2023-09-14 14:14:52 +02:00
Arthur Schiwon
6c232c511c
Merge pull request #40402 from nextcloud/backport/40301/stable27
[stable27] fix(caldav): add webroot to objectid for activities
2023-09-14 12:24:55 +02:00
Louis Chemineau
53bc5c9594 Bump @nc/dialogs to 4.2.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 12:14:21 +02:00
fenn-cs
15dd2e85e1 Fix invite guest for new sharing flow
Call external handlers such as the one in the guess app
https://github.com/nextcloud/guests/blob/master/src/main.js#L30
if present.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:04:16 +02:00
Louis Chemineau
fb76e03345 Hide additional content when share details is open
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:01:18 +02:00
Andy Scherzinger
4bbf010aeb
Merge pull request #40412 from nextcloud/manual/backport/stable27/40404
[stable27] Ellipsize user status in sharing entry
2023-09-14 11:57:39 +02:00
fenn-cs
cd795e6422 Ellipsize user status in sharing entry
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 11:37:18 +02:00
Andy Scherzinger
80dbe54eaf
Merge pull request #40405 from nextcloud/manual/backport/stable27/40393
[stable27] Display user status by the side in sharing flow
2023-09-14 11:25:06 +02:00
fenn-cs
eb9ba2e8ce Display user status by the side in sharing flow
The quick share drop down now takes the place where the user status
would show in the past, so we have the option of removing it (as it's available
in the profile dropdown) or putting it at the side as such.

It's put on the side without the icon, as the status icon appears on the avatar
when set.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-14 08:47:46 +02:00
Nextcloud bot
582c34e605
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:27:03 +00:00
Daniel Kesselberg
0da5cb3b85 fix(caldav): add webroot to objectid for activities
A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.

Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-13 19:34:03 +00:00
Arthur Schiwon
0e5bb30929
Merge pull request #40390 from nextcloud/manual/backport/stable27/40372
[stable27] Backport polish sharing flow bugs
2023-09-13 20:40:38 +02:00
Arthur Schiwon
e5a043a8ca
27.1.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-13 19:50:06 +02:00
fenn-cs
2a54fc57eb Consistent delete button in share details
Delete button text should have same size as other buttons.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-13 10:18:08 +01:00
fenn-cs
51ad9cfcc8 Enfore allowPublicShares admin setting
Use the the modern intial-state library to pass data about
`allowPublicUploads` to the sharing frontend.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 10:18:08 +01:00
fenn-cs
cec466ed3b Refactor migrated addShare method
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 10:18:07 +01:00
Nextcloud bot
9037509729
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 00:24:46 +00:00
Arthur Schiwon
748720cff6
Merge pull request #40344 from nextcloud/release/27.1.0_rc3
27.1.0 RC3
2023-09-12 10:41:35 +02:00
Arthur Schiwon
8ffe77d036
Merge pull request #40343 from nextcloud/40289-stable27-fix-appearance
[stable27] 40289 fix appearance
2023-09-12 09:28:46 +02:00
Arthur Schiwon
96d72c8bdc
Merge pull request #40369 from nextcloud/backport/39128/stable27
[stable27] fix(ldap): avatar is not being fetched
2023-09-12 09:23:27 +02:00
Nextcloud bot
26d6ac7366
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 00:27:55 +00:00
nextcloud-command
0abc80785a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 18:22:48 +00:00
Arthur Schiwon
00ac153ef7 fix(LDAP): add return type hint and description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
Arthur Schiwon
1f748ded7e fix(ldap): avatar is not being fetched
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
fenn-cs
8113c027d8 Add icons for bundled permissions
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 13:26:25 +01:00
fenn-cs
f2a9859117 Adjust share details view UI
- List custom permissions activated in sublime
- Align checkboxes in advanced settings

Resolves : https://github.com/nextcloud/server/issues/40289

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-11 13:12:01 +01:00
Arthur Schiwon
7575e870ca
Merge pull request #40350 from nextcloud/backport/40349/stable27
[stable27] fix(autoloader): no apcu no side effects
2023-09-11 12:44:46 +02:00
Nextcloud bot
67e82f17ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 00:27:08 +00:00
Nextcloud bot
058b6c36f9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-10 00:25:29 +00:00
Nextcloud bot
5125a3455f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-09 00:25:51 +00:00
Arthur Schiwon
3304b0371b fix(autoloader): no apcu no side effects
apcu lead to side effects especially with app management and (soft)
inter-dependencies, and lead also to 500 server errors. While we could
add management to clear apcu cache in many cases (may stil leave edge
cases) the performance benefit is marginally as also class maps are
already cached in opcache. Hence, the simple and effective way to go is
to not use apcu for autoloading.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-08 18:30:40 +00:00
Arthur Schiwon
07a9200538
Merge pull request #40333 from nextcloud/backport/40329/stable27
[stable27] theming: Revert broken SVG optimization in default-source.svg
2023-09-08 17:06:38 +02:00
Arthur Schiwon
7829019ca8
Merge pull request #40339 from nextcloud/artonge/backport/stable27/40296
[stable27] Enable new versions feature for groupfolders
2023-09-08 17:05:17 +02:00
Arthur Schiwon
a1130be0e3
Merge pull request #40342 from nextcloud/backport/40341/stable27
[stable27] fix: Hide set reminder action on public shares
2023-09-08 17:02:22 +02:00
Andy Scherzinger
9cccc03d74
Merge pull request #39890 from nextcloud/less-container-queries-27
[stable27] Reduce the number of container queries
2023-09-08 09:56:50 +02:00
Arthur Schiwon
58fdbded2f
27.1.0 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-08 09:38:29 +02:00
Nextcloud bot
b75c0fe306
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-08 00:31:36 +00:00
Christopher Ng
9a4f2f1782 fix: Hide set reminder action on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 8031ee862a)
2023-09-07 16:15:29 -07:00
Louis Chemineau
bab1a981c3 Fix lint error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:52:32 +02:00
Louis Chemineau
34e73b3c60 Fix: allow to name the current version
We only need to change the filename
of the current version for the viewer

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:39:52 +02:00
Louis Chemineau
eb4185590b Enable new versions feature for groupfolders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:37:22 +02:00
Louis Chemineau
4d93b8f9bc Move module versions management logic out of main logic
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:35:04 +02:00
jld3103
021b97dcb8 theming: Revert broken SVG optimization from f2afcc in default-source.svg
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-07 15:11:50 +00:00
Robin Appelman
ee8c1a5c60
only determine quota_include_external_storage once for quota wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:23 +02:00
Robin Appelman
9242e8939f
only get logger when needed in sabre/directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:16 +02:00