Ferdinand Thiessen
910495de1f
fix(files): File type filter UI sync with filter state
...
When changing the folder the filter will be re-mounted by the file list,
so we need to pass the current state of the filter to the filter UI.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:25:55 +01:00
Ferdinand Thiessen
ab39152951
fix(theming): Ensure to only send valid URLs to backend
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:58:56 +00:00
Richard Steinmetz
3efb46ca56
fix(files): sort not working after changing views
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-26 14:09:13 +01:00
Maksim Sukharev
21f0e61477
test(e2e): hide move dialog action if destination has no CREATE permission
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
(cherry picked from commit 868517f6d2 )
2025-01-17 14:55:15 +01:00
Ferdinand Thiessen
d787ae9da5
Merge pull request #49940 from nextcloud/backport/49208/stable30
...
[stable30] fix: Redirect user to login if session is terminated
2025-01-16 23:44:04 +01:00
Ferdinand Thiessen
d0dbe21f4c
test(dashboard): Add regression test for loading unneeded data
...
Prevent a regression of https://github.com/nextcloud/server/issues/48403
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 11:40:02 +01:00
Ferdinand Thiessen
21805299dc
test: Add end-to-end test for share expiration date
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 09:07:59 +01:00
Ferdinand Thiessen
f5f3ae2c19
fix: Redirect user to login if session is terminated
...
If a session timed out or was closed in another tab,
then currently the user gets random error messages.
This intercepts 401 responses (should only happen if logged out, or the
users does something wrong).
If we get a 401, we make sure its because of the session,
by checking if the user can access the files app.
If that is also the case we forward the user to the login page
and set the redirect URL to the last used URL.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-09 09:48:44 +01:00
skjnldsv
0d5cda8aa4
fix(files): cancel renaming on enter if no file name changes
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 18:25:03 +01:00
Louis
cabedbf9c3
Revert "[stable30] fix: Handle copy of folders containing live photos"
2024-12-12 14:28:09 +01:00
Louis Chemineau
3b6920fa81
fix: Copying a live photo to a folder with a conflicting mov file
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:47:57 +01:00
Louis Chemineau
cd82e0a584
test: Copying a folder containing live photos
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 10:47:57 +01:00
skjnldsv
606241cf76
fix(files): open sidebar on sharing tab by default for files
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:42:08 +01:00
skjnldsv
f5f59a8414
chore(files): add selection cypress tests
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 23:13:57 +01:00
Ferdinand Thiessen
6bf7dc1491
fix(files): Adjust NavigationQuota for Nextcloud 30 design
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 20:43:05 +02:00
Ferdinand Thiessen
d4685cb036
fix(files): Ensure renaming state is correctly reset
...
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.
To fix this, but also to separate business logic from visual representation,
the logic is moved into the renaming store and the component is only
responsible for rendering.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-21 13:53:08 +02:00
Ferdinand Thiessen
7b78a64fa8
test(files): Add tests for path handling
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 17:54:13 +02:00
Ferdinand Thiessen
49d2d962b2
test: Add Cypress test for renaming loading state
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-01 11:48:05 +02:00
Ferdinand Thiessen
bc3d7a00b0
fix(files): Correctly check for already used names when creating new folder
...
Also add Cypress tests for the "new"-menu.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 15:33:26 +02:00
Ferdinand Thiessen
57bd5d06c1
fix: Access node owner by top level owner property
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 16:31:24 +00:00
Côme Chilliet
e7854a9935
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-12 16:09:42 +02:00
Côme Chilliet
244491adc1
chore(tests): Fix SPDX license header on new cypress test
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 15:21:38 +02:00
Côme Chilliet
e23325f047
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-12 15:20:21 +02:00
Louis Chemineau
b6e28bbeff
chore(tests): Test limiting sharing to same group
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-12 15:20:10 +02:00
Ferdinand Thiessen
a8d3046886
test: Added e2e tests for inline system tags file action
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 13:21:25 +02:00
Jérôme Herbinet
c221090c86
fix: unify bundle naming
...
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 11:14:07 +02:00
Ferdinand Thiessen
674805c994
fix(core): Migrate UserMenu / AccountMenu to NcListItem
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:48 +02:00
Ferdinand Thiessen
c8a5758ccd
test: Add test for recent view
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +02:00
Ferdinand Thiessen
a39f13e94e
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-01 01:54:42 +02:00
Ferdinand Thiessen
5b8786d02a
test(files_sharing): Add test for "note to recipient" feature
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Ferdinand Thiessen
0153124f98
chore: Fix cypress docker integration when testing locally
...
The tar library was updated but not the syntax adjusted.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 20:12:28 +02:00
Ferdinand Thiessen
dd88fa03a4
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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-26 08:46:23 +00:00
provokateurin
c57c3c1573
refactor(core): Replace security annotations with respective attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-26 07:30:45 +02:00
Ferdinand Thiessen
2c0e2cc09e
test: Add cypress tests for file list filtering
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +02:00
Ferdinand Thiessen
4979ed074f
test: Add regression test for opening shared folders
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:06:49 +02:00
Ferdinand Thiessen
80d797edf3
fix: Ensure displayname is a string
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
skjnldsv
08af33b5d9
chore: add file request cypress testing
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:20:25 +02:00
Ferdinand Thiessen
841efff3fb
fix(files): Close the sidebar on navigation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 11:34:05 +02:00
skjnldsv
9b84831c8d
fix(files_sharing): adjust IAttributes API and files_versions
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
Ferdinand Thiessen
d5dc6b2476
feat(theming): Allow shipped backgrounds to have a dark variant
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-12 13:00:07 +02:00
Ferdinand Thiessen
12e1c29245
test: Adjust cypress tests to use reusable POM for header navigation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:25 +02:00
skjnldsv
cf92cf3203
fix(cypress): wait for apps list fetch for better testing stability
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-04 18:32:42 +02:00
Louis Chemineau
d73be08884
test: Don't use @nc/axios in cypress
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-02 12:09:47 +02:00
Ferdinand Thiessen
362c6238fc
fix: Allow to reset unified search using the nextcloud:unified-search:reset event
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Marcel Müller
a5ba81a250
fix(cypress): Check for local changes before trying to apply them
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-06-15 20:19:05 +02:00
Ferdinand Thiessen
7f3cc7502b
fix(files): Use data-cy (data attribute) instead of cy-data
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-11 21:34:28 +02:00
Andy Scherzinger
1e04619675
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 22:53:41 +02:00
Ferdinand Thiessen
21b96c0eec
feat(cypress): Add tests for files sidebar
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 12:40:48 +02:00
Christopher Ng
930e47d44c
test(cypress): Fix tests
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 17:13:48 -07:00
Andy Scherzinger
5c49a54801
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +02:00