0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-19 20:52:07 +00:00
Commit graph

129 commits

Author SHA1 Message Date
skjnldsv
9cee2c44c4 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 09:52:53 +01:00
Ferdinand Thiessen
ca3af10b28
refactor(files): Drop unneeded initial state
The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite
it was only used for the `id` which can be loaded just from the URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 16:00:03 +02:00
Ferdinand Thiessen
ddbcfffe76
fix(files): When redirecting to a file (internal link) then it should open by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 16:40:08 +02:00
John Molakvoæ
3844217aae
Merge pull request from nextcloud/backport/45963/stable29 2024-06-28 15:53:17 +02:00
Benjamin Gaussorgues
5efc468824 perf(session): remove useless session open
`UseSession` isn’t used in theses controllers.
Not using it should avoid a few session locks.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-27 09:17:39 +00:00
Louis Chemineau
ff10c5487e fix(files): Rename openFileInfo to fileInfo
And check if openFile is set in the URL before opening a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 15:10:33 +00:00
Côme Chilliet
0b332ceac2 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
fenn-cs
035a2c7062 feat(files): add search plugin to search in specified folder exclusively
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-07 21:10:54 +01:00
Robin Appelman
e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Ferdinand Thiessen
5e124c4a8a
fix(files): Remove dead code from files controllers
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-12 17:36:44 +01:00
Ferdinand Thiessen
4023f1e582
fix(files): Make sure to add the fileid on favorite folders navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Grigorii K. Shartsev
b40279e376 fix(files): combine navigation and files list into single Vue app
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-25 00:25:54 +01:00
provokateurin
b64ab5fba8
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:14:17 +01:00
Josh Richards
a66877813c
fix(ViewController): Regression lead to 500 on non-existent fileIds
Fixes  

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-21 11:19:06 -05:00
Ferdinand Thiessen
59c982f31f
fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 14:56:40 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
John Molakvoæ
35aed73ede
feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +02:00
John Molakvoæ (skjnldsv)
b05719c8e9
fix: redirect to proper directory if file not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:29:05 +02:00
John Molakvoæ (skjnldsv)
dbeb526bba
fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +02:00
Max
7ba6409270 fix(files): do not include scripts for merge-index
Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
John Molakvoæ (skjnldsv)
a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
John Molakvoæ
1b67542e0b
fix(files): trashbin redirect and default fileid Sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:20 +02:00
John Molakvoæ
3344f0f121
fix(files): service worker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ
410f58e43e
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
jld3103
259264b966
files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:06:10 +02:00
John Molakvoæ
e3bac437c2
chore: remove old favorites view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ
0984970cd8
feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:32 +02:00
John Molakvoæ
d7ab8da1ef
feat(files): add view config service to store user-config per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-18 09:02:01 +02:00
John Molakvoæ
3c3050c76f
feat(files): implement sorting per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ
10010fc532
feat(files): sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
Robin Appelman
4532e52787 remove explicit setup when getting storage info
the implicit setup gets enough data without having to do a full setup.

Saves having to do a full fs setup for the files webui template

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-08 13:47:55 +01:00
John Molakvoæ
b9906fb21e
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +01:00
John Molakvoæ
7339355dde
Fix favourite opening
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
John Molakvoæ
0a3ef8b74b
Fixing tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:46:16 +01:00
John Molakvoæ
5c987a0ff4
Port settings to Modal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:52 +01:00
John Molakvoæ
887c9e05de
Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:41 +01:00
Julius Härtl
6abb37317f
Do not setup a session when not required on WebDAV requests
If basic auth is used on WebDAV endpoints, we will not setup a session
by default but instead set a test cookie. Clients which handle session
cookies properly will send back the cookie then on the second request
and a session will be initialized which can be resued for
authentication.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-21 21:17:16 +01:00
Anna Larch
25409cb66c Url encode the web dav url for copying
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-10-02 08:46:16 +00:00
Vincent Petry
fbc48db507
Remove redundant events
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-15 19:20:42 +02:00
Carl Schwan
028ca0935c Don't redirect when loading files index page
Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an
issue because we then need to load two pages with full file system setup
and authentification instead of one and the assets won't start loading
until the second page is delivered to the user.

Additionally when loading ?dir=/, we then change the url back to
?dir=/&fileid=2 (without reload) so that the next time we load the page
again we do the same thing again.

Depending on the speed of the server and internet connection we can save
100ms to 400ms, improving the user experience.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:06:33 +01:00
Julien Veyssier
b67b4b160b
[files] new internal link GET param to avoid setting 'openfile' on redirect
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-14 10:50:13 +01:00
John Molakvoæ (skjnldsv)
87d0904b6f
Split common vendor chunk
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:50 +01:00
John Molakvoæ (skjnldsv)
b664aad7ab
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:11:58 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
Julius Härtl
9c937a63bf
Move to combined files entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 16:51:37 +02:00
Louis
1ad5e8ad73
Fix typo
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2021-07-28 11:15:03 +02:00
Louis Chemineau
e558a00496 Set openfile params when following internal links
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-27 11:41:32 +00:00
Louis Chemineau
2cbc3e9245 Fix variabable override in file view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-26 15:47:37 +02:00
Louis Chemineau
c03a14934b Trigger click event when scrollTo is set
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-09 16:19:11 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00