Commit graph

69605 commits

Author SHA1 Message Date
dependabot[bot]
5b651bc715
chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.12.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 02:49:42 +00:00
Nextcloud bot
f8ccaf8d58
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 00:27:27 +00:00
Daniel
1bb7523a59
Merge pull request #40418 from nextcloud/fix/noid/dont-join-dav-tags 2023-09-15 19:24:38 +02:00
F. E Noel Nfebe
4901fe6129
Merge pull request #40440 from nextcloud/40396-consider-link-shares-in-remove-share
Consider link shares in removeShare method in SharingTab
2023-09-15 18:04:20 +01:00
fenn-cs
ef5bb420f2 Consider link shares in removeShare method in SharingTab
Currently, the `removeShare` method in the `SharingTab` view,
does not take into account `linkShares`.

Since link shares now shares thesame detail view with other share types,
it should therefore be considered hence this commit.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 16:30:59 +00:00
Daniel Kesselberg
4c5e79d53f fix: don't use davtags for tag search
1. https://github.com/nextcloud/server/pull/26813 Initial implementation with support for systemtags and davtags (vcategory)
2. https://github.com/nextcloud/server/pull/39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags

Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-15 17:19:47 +02:00
Arthur Schiwon
d32e03ddac
Merge pull request #40434 from nextcloud/40431-correctly-switch-permissions-radios
Correctly switch/revert from custom to bundled perms
2023-09-15 15:12:23 +02:00
fenn-cs
386b08d139 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>
2023-09-15 12:14:38 +01:00
Louis
bf46c5b73f
Merge pull request #40428 from nextcloud/artonge/fix/users_list_bugs
Do not display userCount when it is equal to 0
2023-09-15 13:09:47 +02:00
Louis
801476295e
Merge pull request #40411 from nextcloud/artonge/fix/translation
Use t and n for translation
2023-09-15 13:00:53 +02:00
Daniel
4a8bb597b4
Merge pull request #40416 from nextcloud/fix/noid/check-for-user-count 2023-09-15 11:50:37 +02:00
Nextcloud bot
48f5c7c1c2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:37 +00:00
Christopher Ng
58229ad325 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-14 17:03:41 -07:00
Christopher Ng
50ddc6820e fix(ux): Show initial loading state of managers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-14 17:03:30 -07:00
F. E Noel Nfebe
62e4d162aa
Merge pull request #40389 from nextcloud/40172-invite-guests-and-others
Fix invite guest for new sharing flow
2023-09-14 18:33:45 +01:00
fenn-cs
27559760d1 Properly align all sharing-entry types
SharingEntryLink and regular ShareEntry were not properly visually aligned
before this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 16:10:29 +00:00
Louis Chemineau
617a9e8a29 Do not display userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:19:24 +02:00
Louis Chemineau
c8fce63428 Reset loading state on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:41 +02:00
Louis Chemineau
992c03d842 Do not preload potential manager list on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:28 +02:00
Louis Chemineau
bd787e8593 Do not manipulate userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:14:32 +02:00
fenn-cs
1f74c88bc7 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>
2023-09-14 12:00:32 +01:00
Daniel Kesselberg
108916cf5e fix: use faster method to fetch user count
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-14 12:19:22 +02:00
Louis
30a7eabad3
Merge pull request #40365 from nextcloud/artonge/fix/do_not_show_related_ressources_when_share_details_is_open
Hide additional content when share details is open
2023-09-14 11:19:33 +02:00
F. E Noel Nfebe
16854f46bf
Merge branch 'master' into artonge/fix/do_not_show_related_ressources_when_share_details_is_open 2023-09-14 08:42:18 +01:00
Louis Chemineau
79d1870aa7 Use t and n for translation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 09:40:20 +02:00
Nextcloud bot
b085803c0b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:26:52 +00:00
Pytal
1ad1a9df23
Merge pull request #40391 from nextcloud/fix/group-undefined-count 2023-09-13 16:26:36 -07:00
Christopher Ng
12289cb0be chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-13 16:01:33 -07:00
Christopher Ng
e59ece9fdc fix(settings): Undefined user count error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-13 16:01:33 -07:00
Louis Chemineau
b3abfcb64c 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-13 22:27:20 +00:00
F. E Noel Nfebe
36a3050d4e
Merge pull request #40404 from nextcloud/ellipsize-status-sharing-entry
Ellipsize user status in sharing entry
2023-09-13 22:43:11 +01:00
fenn-cs
2c22e1f86a 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-13 20:19:12 +00:00
Arthur Schiwon
80f3e46ce3
Merge pull request #40393 from nextcloud/fix-user-status-sharing-flow
Display user status by the side in sharing flow
2023-09-13 21:36:44 +02:00
Christoph Wurst
a3e0a93295
Merge pull request #40301 from nextcloud/bug/noid/webroot-calendar-events-activity
fix(caldav): add webroot to objectid for activities
2023-09-13 21:20:09 +02:00
Daniel Kesselberg
457f4a530e 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 20:33:23 +02:00
fenn-cs
2b2622ddd1 Non sticky delete button
Removes button from footer and removes button background.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 15:42:16 +01:00
fenn-cs
f596f76af3 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-13 15:14:56 +01:00
Julius Härtl
1137b7abf1
Merge pull request #40312 from nextcloud/bugfix/noid/non-existing-node-parent 2023-09-13 12:00:36 +02:00
John Molakvoæ
165c54d620
Merge pull request #40284 from lhsazevedo/inline-system-tags 2023-09-13 10:53:13 +02:00
Hamza
4f0a151eb4
Merge pull request #40103 from nextcloud/enh/enable-caldav-push-notifications-by-default
Enable caldav push notifications by default
2023-09-13 10:50:00 +02:00
Julius Härtl
7f958e81d3
fix: Pass parent to NonExistingFile instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-13 10:28:28 +02:00
Lucas Azevedo
f5865216d6 Fix style
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo
a2d7a70219 Hide inline system tags on mobile
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo
34775cb18b Move inline tag rendering to the systemtags app
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo
802d7e010d Add tests
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo
146e9eeb9f Render inline system tags using new DAV properties API
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Nextcloud bot
c6e6ebb999
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 00:24:37 +00:00
F. E Noel Nfebe
e94a83addb
Merge pull request #40372 from nextcloud/40172-polish-sharing-flow-bugs
40172 polish sharing flow bugs
2023-09-12 22:53:18 +01:00
fenn-cs
3d071abcf8 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-12 21:11:28 +00:00
fenn-cs
766806c35d 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-12 20:50:49 +01:00