Commit Graph

260 Commits (ddbc05dba050d2c6d4ec91779dbc7463ff84dcc2)

Author SHA1 Message Date
skjnldsv a531cfe3e1 fix(files): filter non batch actions in header
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-22 21:54:24 +07:00
nfebe dea8324912 feat(files_sharing): Toggle display for trusted server shares
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-08-01 12:18:36 +07:00
skjnldsv 13253f5ede fix(systemtags): case-insensitive search & prevent duplicates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-10 08:50:23 +07:00
skjnldsv a55b0cc3ef fix(cypress): add missing PublicShareUtils.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-02 22:56:06 +07:00
Ferdinand Thiessen ae3027f852
fix(files_sharing): do not double escape the share title
The title is already escaped by vue so special characters would result
in incorrect strings.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-26 09:12:23 +07:00
Ferdinand Thiessen 4cbf85494c
fix(files): add plural form for selected nodes
Reported at Transifex:
> This string needs pluralization feature, because in some languages translation of "selected" differs between singular and plural.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-20 11:00:02 +07:00
skjnldsv 831534b7b0 fix(files): auto reload sidebar tags on update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-17 11:10:21 +07:00
skjnldsv b8591e6b82 fix(files): highlight previous folder on history up
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-04 06:37:14 +07:00
nfebe ead8888bb7 test(settings): Test user manager can be set and unset
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +07:00
Ferdinand Thiessen 5b7e02a77a
test: adjust cypress tests to be less flaky
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 22:25:21 +07:00
nfebe 150e542ec9 test(file_sharing): Do not open advanced settings manually
If a share note is present, the advanced settings should expand automatically,

without the user needing to click.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-05-26 18:05:15 +07:00
Ferdinand Thiessen e51e4d6c3e
fix(files_sharing): show note, label and list of uploaded files on file drop
This was missing from the Vue migration of the public share view:
- Show the note as the description of the file drop
- Show the label as the heading of the file drop if available
- Show list of uploaded files for verification

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 14:14:40 +07:00
Jérôme Herbinet 8b1beeb07c ci(cypress): replace "remove group" with "delete group"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2025-05-24 08:00:35 +07:00
Louis Chemineau 617af2f3cc fix: Replace the deprecated direct download link with the public DAV endpoint
Follow-up of #48098

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-22 08:30:36 +07:00
Ferdinand Thiessen 2bb2bbcae4
fix(files_sharing): Disable folder upload on file drop shares for now
The backend does not allow creating folders currently, so we have to
disable it for now.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-17 12:04:36 +07:00
Ferdinand Thiessen f5b222263a fix(settings): allow to clear twitter and fediverse
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-29 11:39:31 +07:00
Ferdinand Thiessen 441d9f1661
fix(settings): group admins only can add users to their groups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-27 12:42:10 +07:00
skjnldsv b3ca9c0bec fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-24 21:38:42 +07:00
rakekniven d249074e9c
chore(i18n): Use "name" instead of "nickname"
Users asked why they should use a nickname?

"Name" covers nickname, pseudonym, username or real name.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-04-24 18:53:59 +07:00
Ferdinand Thiessen 00580b369e
fix: ensure enabled themes are set on the template
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-04 09:23:45 +07: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 +07:00
Ferdinand Thiessen a8f10369c7
test: add cypress tests for sharing download permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
2025-04-02 13:10:33 +07:00
Ferdinand Thiessen 6c371c7991
test: adjust for cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 23:29:17 +07:00
Ferdinand Thiessen 2d48c02913 test: make cypress run in secure context and add WebAuthn tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 19:10:11 +07:00
Christopher Ng 1fc9fb9985 test(settings): Fix group items not being found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 +07:00
Christopher Ng 1223063399 test(settings): Correctly find group in select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 +07:00
Christopher Ng ada190bb39 test(settings): Wait until groups list has loaded
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-03-31 14:10:24 +07: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 +07:00
Côme Chilliet 51b146d15d fix(tests): Files are sorted by Name by default, no need to click it
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-25 12:32:58 +07:00
Ferdinand Thiessen e1fe4f6e24 fix(profile): allow to reset phone number
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-21 18:21:45 +07:00
Ferdinand Thiessen e9c242e2a2
fix(files): also show file list headers on empty views
It is needed, e.g. for the note-to-recipient, that the headers
are also shown when there is no content (yet).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-20 15:37:43 +07:00
Ferdinand Thiessen b07ef78fa2 fix(files_sharing): ensure share status action works also in grid view
Remove some hacks from files app about the *files_sharing* status
action, in general not sure why this hack was there instead of being in
the correct app - but it broke the grid view.

So now the sharing information is also available in grid view.

Moreover the icon is fixed in size to not overflow the actions menu.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-19 22:49:05 +07:00
Louis 6fdcd84f71
Merge pull request #51304 from nextcloud/backport/51302/stable31
[stable31] test: Remove `.only()` calls
2025-03-17 10:28:06 +07:00
skjnldsv f00d596b8c fix(systemtags): prevent tag edition if restricted
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-03-06 15:11:51 +07:00
Louis Chemineau b5a053b93f test: Remove `.only(` calls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 11:13:39 +07:00
skjnldsv 4783f2f215 chore(cypress): also log the current server image sha
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +07:00
skjnldsv ef263a0249 chore(files_external): add cypress tests for user credentials action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 09:40:35 +07:00
Ferdinand Thiessen a9bea3b944
fix(files_sharing): ensure downloaded file has the correct filename
Single file shares use the share token as source name, so we need to use
the displayname. To do so we need to set the download attribute to the
displayname of the file to download.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 09:32:41 +07:00
Ferdinand Thiessen 571124bc3c
test(e2e): adjust trashbin tests to be less flaky
1. Move general files delete action (thats not trashbin app!) to files
   tests.
2. Delete files (move to trashbin) before loading the page so previews
   are not generated so they cannot lock the file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-05 08:24:54 +07:00
Ferdinand Thiessen 3ac9a316bb
feat(files): allow to ignore warning to change file type
* Missing pieces of https://github.com/nextcloud/server/issues/46528
  * Add checkbox to not show this dialog again
  * Add user config as suggested by designers in files settings to
    reenable or diable this behavior.
  * Fix behavior of dialog: It says "keep .ext" but it does not keep the
    extension but cancels the operation. From the button label the user
    expects that the operation is continued but with the old extension.
  * Added more test coverage by adding component tests.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-04 21:12:42 +07:00
Ferdinand Thiessen 9458225989
fix(files_trashbin): disable bulk download for trashbin
The backend does not allow bulk download within the trashbin,
so we need to disable this also on the frontend.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-03 18:20:32 +07:00
skjnldsv b58497d2a3 fix(cypress): wait for toast to appear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-28 16:03:54 +07:00
skjnldsv 2131496291 fix(files): do not show extension warning for folders renaming
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 15:36:13 +07:00
skjnldsv 15147625dc fix(files): properly show file not found error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 12:42:23 +07:00
Ferdinand Thiessen 8003b270c5
feat(sharing): Allow to set default view mode for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-11 12:19:05 +07:00
skjnldsv 44c0e1db51 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-07 09:26:43 +07:00
skjnldsv 738447bcd5 chore(files): add actions cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-07 09:22:54 +07:00
Andy Scherzinger b9b2d7b379
Merge pull request #50695 from nextcloud/backport/50655/stable31
[stable31] enh: Fix display default expire date, add tests & tiny refactors
2025-02-06 22:04:43 +07:00
Ferdinand Thiessen a5f15f836f
fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-06 15:46:15 +07:00
nfebe fe08fd0dbe test(files_sharing): Check that default expiration date is shown b4 create share
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-06 12:55:10 +07:00