Commit graph

603 commits

Author SHA1 Message Date
Côme Chilliet
229716939e fix(files): Fix ownership transfer encrypted files detection
Discovered by psalm update

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:52:24 +00:00
Ferdinand Thiessen
82e53690b8 fix(files): Also restore shares after ownership transfer for object storage
When a file is moved between different storages then the file id is not (always) preserved.
This means the file id has to be adjusted for all shares.

So in case the file id does not exist anymore we try to find the new file id based on the
target path of the transfer and the path suffix of the share.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 14:01:40 +00:00
Louis Chemineau
2a26e46c7c fix(files): Do not require files_trashbin in live photo sync listener
Fix https://github.com/nextcloud/server/issues/43299

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-03 19:04:42 +02:00
Ferdinand Thiessen
8b57f5d4bb
fix(files): Consistent sorting for folders before files (user configurable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:53:21 +01:00
Grigorii K. Shartsev
5620e057cf fix(files): combine navigation and files list into single Vue app
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-01 18:35:56 +01:00
Ferdinand Thiessen
3add75cd16
fix(files): Make sure to add the fileid on favorite folders navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:43:48 +01:00
provokateurin
98d64ea05d refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
provokateurin
b8b15b725b chore(files): Remove unused type alias
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
Josh Richards
1f6f5fdcc5 fix(ViewController): Regression lead to 500 on non-existent fileIds
Fixes #42418 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-29 13:48:00 +00:00
Ferdinand Thiessen
a6d775836f fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:16:28 +01:00
Maxence Lange
e80f85a847 fix rename
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-11 15:44:19 +00:00
Louis Chemineau
263f9e1e77 Add comment in SyncLivePhotosListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-01 22:54:57 +01:00
Louis Chemineau
86d88f6b00 Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-30 09:44:51 +00: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
Maxence Lange
22d6c8dcd4 add named metadata event
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Benjamin Gaussorgues
01de485aca
fix(files): avoid sending thumbnail URL for directory as none exists
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-17 16:22:48 +01:00
Benjamin Gaussorgues
a75a93af8e
feat(files): Allow advanced search for files
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Maxence Lange
e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
John Molakvoæ
116c396f0e
feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02: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
Kate
f134244c90
Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptions
Add single status code descriptions for OpenAPI
2023-09-27 09:18:25 +02:00
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +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æ
472440b296
Merge pull request #40551 from nextcloud/fix/init-script 2023-09-21 17:33:44 +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
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +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
John Molakvoæ
998b3a2581
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
fenn-cs
dc8d25c274 Migrate parts of files app away from depecrated Ilogger
- Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems`
- Migrate `DirectEditingController`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-08-13 11:37:34 +01:00
Joas Schilling
44b4c16a09
Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
fix!: Final round of moving to IEventDispatcher
2023-08-04 10:39:57 +02:00
Côme Chilliet
26049cb49c
Merge pull request #39150 from fsamapoor/refactor_files_app_commands
Refactors files app commands
2023-08-03 10:14:23 +02:00
John Molakvoæ (skjnldsv)
87b1719c88
feat(files): migrate recent view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-08-02 09:57:27 +02:00
Faraz Samapoor
b353b3f425 Merge branch 'master' into refactor_files_app_commands
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-08-01 12:39:10 +03:30
Joas Schilling
ead47610c1
fix!: Remove LegacyLoadAdditionalScriptsAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling
8ad94cbfda
feat!: Migrate unShare events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling
44b810bfbd
feat!: Migrate Sharing events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling
9bf812ac6c
feat!: Migrate TagService events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:18 +02:00
Joas Schilling
77bc6c32d8
fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-25 11:19:26 +02:00
Robin Appelman
c912a3f0f6
Merge pull request #38860 from nextcloud/scanner-change-summary
add summary of detected changes to files:scan output
2023-07-20 18:37:07 +02:00
Faraz Samapoor
270035ff44 Fixes Psalm's "InvalidArgument" error.
I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like:
https://github.com/vimeo/psalm/issues/3571

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor
b8870658fb Fixes Psalm's "LessSpecificReturnStatement" error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor
5d242aa2f8 Refactors files app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Robin Appelman
38640bf816 add commands to copy/move files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-12 15:01:29 +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