Commit Graph

126 Commits (58368f94d760cc99053279cd30ca8908e4681802)

Author SHA1 Message Date
Ferdinand Thiessen 645252246e
test: Add end-to-end tests for share expiry date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 09:06:27 +07:00
Ferdinand Thiessen df2baa4c15
fix(files): Correctly validate new node name
* Resolves https://github.com/nextcloud/server/issues/45409

This includes two fixes:

1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming

2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 12:33:26 +07:00
Ferdinand Thiessen 4ebea3db3a
fix(files): Provide file actions from list entry to make it reactive
This fixes non reactive default action text of the name component.
Also use download action as default action so that only one place
is needed to define how to download a file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 01:05:52 +07:00
Arthur Schiwon 15f160f8b9
Revert "Revert "[stable28] Apply group limit on remove from group"" 2024-08-19 16:11:38 +07:00
Arthur Schiwon f2559e4480
Revert "[stable28] Apply group limit on remove from group" 2024-08-19 15:27:34 +07:00
Côme Chilliet aa25f6071d
chore(tests): Revert "chore(tests): fix import in cypress test limit_to_same_group.cy.ts"
This reverts commit d49b453b437d533d913e28d859cbe083e9ca9b4a.
2024-08-19 11:14:34 +07:00
Côme Chilliet 4680f2bef5 chore(tests): fix import in cypress test limit_to_same_group.cy.ts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +07:00
Côme Chilliet 0ba3691ad4 chore(tests): Fix import in cypress test limit_to_same_group.cy.ts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +07:00
Côme Chilliet 47067e6d0c chore(tests): Fix SPDX license header on new cypress test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +07:00
Côme Chilliet 2e05ae2ffc fix: Remove shares only if there are no more common groups between users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-19 10:33:11 +07:00
Louis Chemineau e472831280 chore(tests): Test limiting sharing to same group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-19 10:33:11 +07:00
skjnldsv 5183ba226a
fix(cypress): add missing FilesSharingUtils.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 18:53:24 +07:00
Ferdinand Thiessen 4df15b0e46 test: Add regression test for opening shared folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 15:31:32 +07:00
skjnldsv cefcf07206 chore(cypress): adjust files-sidebar.cy.ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-02 14:12:14 +07:00
Ferdinand Thiessen 3f34ef9115 fix(files): Close the sidebar on navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 14:10:35 +07:00
Ferdinand Thiessen ea513656f5 fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-02 10:05:58 +07:00
skjnldsv 38b0e47327 fix(cypress): wait for apps list fetch for better testing stability
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-25 12:53:56 +07:00
Ferdinand Thiessen 892f17a7a8
feat(cypress): Add tests for files sidebar
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 18:11:45 +07:00
Ferdinand Thiessen f8d451f95f
fix(files): When copying nodes only add the copy suffix for file before file extension
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 12:53:28 +07:00
Ferdinand Thiessen 2cf4f08353
fix(files): Do not show files from hidden folders in "Recent"-view if hidden files are disabled by user
Needed to adjust the store creation to be able to inject pinia before the vue app is initialized.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 00:06:42 +07:00
Ferdinand Thiessen 068ab4130f
fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 21:22:47 +07:00
Ferdinand Thiessen 9c207cd4e7
fix(cypress): Adjust cypress tests and add common functions for files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:18:46 +07:00
Ferdinand Thiessen 4767830d7a
fix(files): Do not escape file names for filepicker buttons
The text is already escaped by Vue, so we should not escape or sanitize the filename.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 12:40:01 +07:00
skjnldsv 2a6185e32a chore: add drag and drop recursion and FilesystemAPI testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +07:00
skjnldsv b22829d43d chore: adjusting cypress drag and drop tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 17:04:30 +07:00
Ferdinand Thiessen 1ee4a815ff fix(files): Adjust files drop to work with Blink engine (chrom(ium), edge)
The datatransfer items list is cleared on Blink after the first access to an inner prop due to async handling and GC.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 12:50:16 +07:00
Christopher Ng 2336455167 fix(cypress): ResizeObserver loop undelivered notifications error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 84ceaddc66)
2024-03-13 09:18:21 +07:00
John Molakvoæ (skjnldsv) eae44976bd fix(settings): users settings cypress
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
(cherry picked from commit b5b658c0d0)
2024-03-08 06:21:11 +07:00
Christopher Ng 5a2fd7ba77 fix(cypress): Adjust cypress tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>

[skip ci]
2024-03-06 19:52:31 +07:00
skjnldsv 13014e1653 fix(cypress): files_versions flakyness
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-29 11:54:37 +07:00
skjnldsv 8632f489a2 fix(cypress): more stable navigation-bar-settings cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-29 11:54:37 +07:00
Ferdinand Thiessen 6edcc0388e
fix(files): Update `webdav` to 5.3.2 fixing handling of files with XML entities in their names
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 12:05:58 +07:00
Ferdinand Thiessen 31a72b4ad7
fix(cypress): Adjust cypress tests for changed theming
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-07 02:00:52 +07:00
Ferdinand Thiessen e8fa96ba5d
fix(cypress): Wait for color change in `pickRandomColor`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-05 12:00:12 +07:00
Grigorii K. Shartsev 360ca48ad0 test(theming): update e2e tests after separating color button and preview
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-05 09:49:53 +07:00
Grigorii K. Shartsev d36f846d35 fix(theming): change color button contrast on user settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-05 09:49:53 +07:00
Ferdinand Thiessen 2bfa14ed87
fix(cypress): Adjust files sorting tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:53:21 +07:00
Joas Schilling 2be083169e fix(tests): Make the cypress apps management test more reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-02 15:37:44 +07:00
Christopher Ng 45cd4dfa20
test(files): Fix file picker test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:25 +07:00
Christopher Ng bd50327fd1
test(theming): Fix navigation bar tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-02 12:44:25 +07:00
Ferdinand Thiessen 4b3e6eabab
fix(cypress): Await copy move request to avoid flaky CI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 16:25:43 +07:00
Ferdinand Thiessen 84e2165aef fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 +07:00
Ferdinand Thiessen d2446762b5 enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 +07:00
Ferdinand Thiessen c7ea556bfb fix(theming): Adjust dark theme to be accessible adjust cypress tests
Also fix warning text color for bright / default theme on blurry background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 20:34:36 +07:00
Ferdinand Thiessen 052db6200d
enh(files): Add cypress tests for copy and move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:04:16 +07:00
Ferdinand Thiessen a9f6050144
fix(cypress): Adjust user columns tests to be more specific when selecting a modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 20:37:46 +07:00
Ferdinand Thiessen 0b55db7f1d
fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 23:16:23 +07:00
Ferdinand Thiessen b06951ed3b fix(cypress): Make new-users test less flaky by using test isolation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 13:42:51 +07:00
Ferdinand Thiessen 205801adc6
fix(files): Add cypress e2e tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +07:00
Christopher Ng 470f825f8b test(systemtags): Admin system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 18:34:14 +07:00