Benjamin Gaussorgues
3aa0c23e40
Merge pull request #54543 from nextcloud/preview-db-rework
2025-10-08 16:39:23 +02:00
Marcel Klehr
e237ac54cc
fix(RepairTree): Update files:repair-tree description
...
to note that running the command multiple times may be necessary
Signed-off-by: Marcel Klehr <mklehr@gmx.net >
2025-10-06 16:25:45 +02:00
Carl Schwan
bfc7d5dd9f
feat(preview): Implement scanning for previews
...
This work similarly to the move preview job to migrate the previews to
the new DB table and also reuse some code.
So when we are finding files in appdata/preview, try adding them to the
oc_previews table and delete them from the oc_filecache table.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-10-06 13:37:15 +02:00
Carl Schwan
b0357663b9
perf(preview): Optimize migration and simplify DB layout
...
* Simplify migration by not moving the actual files and just updating
the DB
* Don't store the storageid in the preview table as it is not needed
* Start adding tests
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-10-06 13:37:15 +02:00
Ferdinand Thiessen
660f3f6fd1
refactor: use logical && || instead of weak and or operators
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-09-27 23:02:18 +02:00
Carl Schwan
7e1c49ad9d
refactor: Port away from IQueryBuilder::execute in apps/
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2025-09-16 11:35:01 +02:00
Ferdinand Thiessen
805fe3e15b
feat(files): provide UI to sanitize filenames after enabling WCF
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-09-02 10:53:01 +02:00
Robin Appelman
4990d75007
feat: multi object store rename command
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-08-14 13:06:51 +02:00
Robin Appelman
2d4bba7b0c
feat: add command to get user objectstore config mappings
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-08-14 13:06:51 +02:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +02:00
provokateurin
2e5ccc7123
fix(files): Always transfer incoming shares when doing ownership transfer to prevent broken reshares
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2025-07-01 08:23:53 +02:00
Ferdinand Thiessen
bed94cc31e
Merge pull request #53657 from nextcloud/chore/debug-output
...
fix(files): add more debug output to the filename sanitizing command
2025-06-25 15:30:52 +02:00
Robin Appelman
a338f56fd5
fix: don't scan the same storage multiple times
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-06-24 16:27:03 +02:00
Ferdinand Thiessen
dffc741201
fix(files): add more debug output to the filename sanitizing command
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-06-24 11:07:45 +02:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2025-05-15 00:16:54 +02:00
Robin Appelman
1950076ca1
Merge pull request #52378 from nextcloud/transfer-external-storage
...
feat: add option to include external storage when transfering files
2025-05-14 11:10:32 +02:00
Ferdinand Thiessen
6cf1870322
feat(FilenameValidator): allow to sanitize filenames
...
Share the filename sanitizing with the OCP filename validator.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-05-13 14:14:17 +02:00
Robin Appelman
2c0e576a7d
feat: add option to include external storage when transfering files
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-05-07 18:31:13 +02:00
Kate
c1a9dfd993
Merge pull request #52441 from nextcloud/scan-locked-error
2025-05-06 15:23:16 +02:00
Ferdinand Thiessen
f7f4930581
feat(files): add command to (dis)enable windows compatible filenames
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-04-30 16:32:49 +02:00
Ferdinand Thiessen
226ad23a1a
feat(files): add command to automatically rename filenames
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de >
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com >
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2025-04-30 16:32:07 +02:00
Robin Appelman
bb4cf2830a
fix: better error message when trying to scan a folder that is already being scanned
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-04-25 18:40:03 +02:00
Robin Appelman
7ce06f47c8
feat: move streaming output helps to command base class
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-03-31 14:30:42 +02:00
Robin Appelman
7d9655d889
feat: rework object listing
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-03-31 14:30:41 +02:00
Robin Appelman
f17cf83e16
feat: add command to list orphan objects
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-03-31 14:30:41 +02:00
Robin Appelman
fcde776683
feat: add command to list objects
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-03-31 14:30:40 +02:00
Robin Appelman
c3bc362f48
feat: add command to get object metadata
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2025-03-31 14:30:40 +02:00
Côme Chilliet
64863c9d46
chore: Apply new rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2025-02-13 11:46:42 +01:00
Daniel
1f6d0f0eb6
Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-help
...
feat(files): Add help to / update description of `files:cleanup`
2024-11-21 11:00:31 +01:00
Josh
b9cc4bab4d
refactor(files): Use functions for all in occ files:cleanup
...
Tidying.
Signed-off-by: Josh <josh.t.richards@gmail.com >
2024-11-20 14:43:20 -05:00
Josh
aa2b9b5ef2
feat(occ): Add help and update description for files:cleanup
...
Signed-off-by: Josh <josh.t.richards@gmail.com >
2024-11-20 12:35:21 -05:00
provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-10-21 12:37:59 +02:00
Git'Fellow
c254855222
chore(db): Correctly apply query types
...
fix: psalm
fix: error
fix: add batch
fix: fatal error
fix: add batch
chore: add batch
chore: add batch
fix: psalm
fix: typo
fix: psalm
fix: return bool
fix: revert Manager
2024-10-17 09:21:07 +02:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-10-15 10:40:25 +02:00
Côme Chilliet
1a4978c4ea
chore: Apply rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2024-09-20 17:51:00 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2024-09-19 14:21:20 +02:00
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com >
2024-09-05 21:23:38 +02:00
Robin Appelman
b21a399d1a
fix: implement sharding compatible cleanup for various bits
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-08-28 10:27:14 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de >
2024-08-25 19:34:58 +02:00
Andy Scherzinger
5b7dcc1427
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de >
2024-05-29 08:58:16 +02:00
Robin Appelman
1d34f0a824
feat: cleanup filecache_extended items by default
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de >
2024-04-15 20:30:57 +02:00
Daniel Kesselberg
2f6cc92491
feat: remove orphaned entries from filecache_extended
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de >
2024-04-15 20:30:57 +02:00
Robin Appelman
572faa1224
use correct mode constant of files:scan's --path option
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2024-02-24 11:39:05 +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
Maxence Lange
22d6c8dcd4
add named metadata event
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com >
2023-11-20 13:32:54 -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
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
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