Commit Graph

580 Commits (feat/database/query-result-fetch-associative-fetch-num)

Author SHA1 Message Date
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 +07:00
jld3103 c2d45cb172
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +07: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 +07:00
John Molakvoæ 472440b296
Merge pull request #40551 from nextcloud/fix/init-script 2023-09-21 17:33:44 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 3344f0f121
fix(files): service worker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +07: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 +07:00
John Molakvoæ 998b3a2581
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Joas Schilling ead47610c1
fix!: Remove LegacyLoadAdditionalScriptsAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Faraz Samapoor b8870658fb Fixes Psalm's "LessSpecificReturnStatement" error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +07:00
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 +07:00
Robin Appelman 38640bf816 add commands to copy/move files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-12 15:01:29 +07:00
jld3103 259264b966
files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:06:10 +07:00
John Molakvoæ e3bac437c2
chore: remove old favorites view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +07:00
John Molakvoæ a0597da460
feat(files): sort favorites first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +07:00
John Molakvoæ 0984970cd8
feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:32 +07:00
Christoph Wurst 95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +07:00
Robin Appelman 292c0e53f8
add summary of detected changes to files:scan output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 17:56:34 +07:00
Robin Appelman ea88ec1350
add utility command for object store objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-09 18:08:18 +07:00
Robin Appelman 4822f104f7
Merge pull request #37971 from nextcloud/info-file-get
Add commands for basic file actions
2023-05-10 13:40:06 +07:00
Robin Appelman ddc53a9046
minor fixes for get/put
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +07:00
Robin Appelman 36221a8865
add command to write a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +07:00
Robin Appelman f9fb102f0b
move get/delete commands to files namespace, make get take the output as argument instead of option
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +07:00
Côme Chilliet 88405d320e
Add an error counter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:06:46 +07:00
Côme Chilliet 2ffa9fc797
Only show error stack trace on very verbose level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 10:01:38 +07:00
Côme Chilliet 1f83979699
Do not stop at the first PHP error/warning in files:scan
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 10:46:37 +07:00
Joas Schilling 8b31d8204f
fix(files): Don't throw an error when guests access the controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 16:39:57 +07: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 +07:00
Julius Härtl cd44ee2053
Merge pull request #37625 from nextcloud/bugfix/noid/transfer-file-new-user
fix: Always create user directory when transfering files to new users
2023-04-11 07:57:17 +07:00
jld3103 b153340b62
Add type hints for mappers
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-07 09:49:42 +07:00
Julius Härtl b62e29051e
fix: Always create user directory when transfering files to new users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-06 20:51:56 +07:00
John Molakvoæ 3c3050c76f
feat(files): implement sorting per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +07:00
John Molakvoæ 10010fc532
feat(files): sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +07:00
John Molakvoæ b761039cf1
perf(files): fetch previews faster and cache properly
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +07:00
Robin Appelman 54f61352f0
better error messages if the users home is not writable during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 13:21:30 +07:00
Michiel de Jong c0e84cb512 Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2023-03-08 16:46:55 +07:00
Joas Schilling 394ad988c7
Merge pull request #36904 from nextcloud/bugfix/noid/fix-controller-setup-for-guests
fix(files): Fix controller setup for guests
2023-03-06 14:20:25 +07:00