Commit graph

267 commits

Author SHA1 Message Date
Anna Larch
faa005f02b fix(cypress): disable unsupported-browser redirect in test container
The Cypress browser (Chrome 118 / Electron 27) is below stable31's
minimum browser version requirement, causing every page visit to show
"Your browser is not supported" instead of loading the app. This
silently prevented #user-menu, [data-cy-files-list], OCA.Files.Sidebar,
and all other Vue-rendered elements from ever appearing, making the
entire test suite fail.

Set no_unsupported_browser_warning=true during configureNextcloud() so
the browser check is suppressed in the test container.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-05-28 14:01:25 +02:00
Côme Chilliet
0ea55bad6f
chore(cypress): Add handling for added password confirmation dialog
chore(cypress): Add handling for added password confirmation dialog

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>

[skip ci]
2026-04-23 11:25:46 +02:00
Elizabeth Danzberger
10f2252b49
fix(test): remove group limitation when done
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
2026-02-03 15:15:18 -05:00
Elizabeth Danzberger
a5bfe3d3bb
test: limit app to group
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
2026-02-03 15:08:29 -05:00
Louis Chemineau
6197e0a3dc test(files_external): Ensure Home folder permissions are correct
Signed-off-by: Louis Chemineau <louis@chmn.me>
2026-01-14 19:21:06 +01:00
Andy Scherzinger
90156c8037
test: adjust cypress tests for updated @nextcloud/password-confirmation
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-11-13 13:20:59 +01:00
Ferdinand Thiessen
04c27a89b2 test: adjust cypress tests for changes filter behavior
In https://github.com/nextcloud/server/issues/53038 we changed the
behavior: The filename filter is reset when changing the directory.
So we need to also adjust the Cypress tests.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-22 06:50:12 +00:00
skjnldsv
a531cfe3e1 fix(files): filter non batch actions in header
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-22 21:54:24 +02: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 +01:00
skjnldsv
13253f5ede fix(systemtags): case-insensitive search & prevent duplicates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-10 08:50:23 +02:00
skjnldsv
a55b0cc3ef fix(cypress): add missing PublicShareUtils.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-02 22:56:06 +02: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 +02: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 +02:00
skjnldsv
831534b7b0 fix(files): auto reload sidebar tags on update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-17 11:10:21 +00:00
skjnldsv
b8591e6b82 fix(files): highlight previous folder on history up
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-04 06:37:14 +00: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 +01: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 +02: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 +02: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 +02: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 +00: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 +00: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 +02: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 +02: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 +02:00
skjnldsv
b3ca9c0bec fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-24 21:38:42 +00: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 +02: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 +02: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
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 +02:00
Ferdinand Thiessen
6c371c7991
test: adjust for cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-01 23:29:17 +02: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 +02: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 +00: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 +00: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 +01: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 +01: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 +01:00
Louis
6fdcd84f71
Merge pull request #51304 from nextcloud/backport/51302/stable31
[stable31] test: Remove `.only()` calls
2025-03-17 10:28:06 +01: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 +00:00
Louis Chemineau
b5a053b93f test: Remove .only( calls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-06 11:13:39 +00: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01:00
skjnldsv
b58497d2a3 fix(cypress): wait for toast to appear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-28 16:03:54 +00: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 +00:00