Commit graph

756 commits

Author SHA1 Message Date
Jonas
e5b4ae4ebe
fix(SyncLivePhotosListener): Don't handle copy event emitted from us
Running $peerFile->copy() causes a second BeforeNodeCopiedEvent now,
which we don't want to handle.

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 12:14:14 +02:00
Robin Appelman
2ea2111176
perf: improve query to determine which users need a background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-26 18:08:36 +02:00
Elizabeth Danzberger
1f7bd449fb
chore: update open api spec
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-19 18:19:55 -04:00
Elizabeth Danzberger
5c7216f3fd
feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-19 17:51:25 -04:00
Kate
249e33fcd6
Merge pull request #52901 from nextcloud/chore/remove-dead-code-files 2025-05-19 07:02:41 +02:00
Ferdinand Thiessen
c8138002ab
chore(files): remove dead code from files helper
Its not used anywhere and uses deprecated / legacy API.
Lets remove 🧹

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 13:09:03 +02:00
Ferdinand Thiessen
1b7e04d317
chore: remove files file templates deprecated since v18 and provided by richdocuments
- leftover from https://github.com/nextcloud/server/pull/17559
- The file templates are already provided in a non-deprecated way by
  richdocuments.
- The template manager used here is deprecated for 14 versions now...

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 12:45:55 +02:00
provokateurin
82fb8f8508
refactor: Extend rector to core/
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 00:16:54 +02:00
John Molakvoæ
006d4ee952 fix(files): hide mime column by default
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-05-14 17:51:12 +00:00
John Molakvoæ (skjnldsv)
a4ab5a3cdf feat(files): allow showing file type (mime) column
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-14 17:51:12 +00: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
rakekniven
ca1f779258
chore(i18n): Adapted spelling of product name "Windows"
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-11 10:26:16 +02:00
Robin Appelman
3a02d942ae
fix: handle transfering the root of a mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-07 18:31:15 +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
c668703021
Merge pull request #51608 from nextcloud/feat/sanitize-filenames-command
feat(files): add command to automatically rename filenames
2025-05-05 15:47:30 +02:00
provokateurin
cfdb919c37
fix(files): Fix non-string values for activity rich object strings
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-05 14:05:35 +02:00
rakekniven
1d80bcb97c
fix(notification): Notification in activity shows "Rich subject or a parameter for ..."
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-01 08:59:46 +02:00
Ferdinand Thiessen
3657c2a650
docs(files): add more documentation about WCF and links to the admin docs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 16:32:49 +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
Ferdinand Thiessen
a697da3063
feat(files): Add capability for clients to check WCF state
This adds a non-initial-state capability for the
windows-compatibile-filemnames feature.
It is not required by the webui and it might have performance impacts
(always compares system config against windows presets), so it is not
included in every page load, but instead for querying from the clients.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-18 17:02:06 +01:00
Julius Knorr
e27f6b7120
Merge pull request #50663 from nextcloud/enh/improve-transfer-ownership-logging
enh: improve occ file:transfer-ownership logging
2025-03-18 13:16:20 +01:00
SebastianKrupinski
45a49e8fa1 fix:remote account activity translation
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-03-07 09:22:11 -05:00
grnd-alt
3e1fd05325 feat: improve occ file:transfer-ownership logging
Signed-off-by: grnd-alt <github@belakkaf.net>
2025-03-06 09:47:07 +01:00
Ferdinand Thiessen
e712104e58
feat(files): allow to ignore warning to change file type
* Missing pieces of https://github.com/nextcloud/server/issues/46528
  * Add checkbox to not show this dialog again
  * Add user config as suggested by designers in files settings to
    reenable or diable this behavior.
  * Fix behavior of dialog: It says "keep .ext" but it does not keep the
    extension but cancels the operation. From the button label the user
    expects that the operation is continued but with the old extension.
  * Added more test coverage by adding component tests.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-25 02:16:56 +01:00
skjnldsv
2e50a39265 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-18 10:53:23 +01: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
provokateurin
6ada9dda01
fix(files): Fix folder preview for favorites widget
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 10:25:15 +01:00
Julius Knorr
be11c03fa0
fix: Only hide template folder creation if default was changed to empty
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-30 08:23:36 +01:00
Pawel Boguslawski
c7bcfbf864 fix: Hide "Create templates folder" option if templates are disabled in configuration
When both `skeletondirectory` and `templatedirectory` are set to empty
strings in configuration, templates folder creation should be disabled
and no Create templates folder option should be present
in new folder menu.

Related: https://github.com/nextcloud/server/issues/39266
Related: https://github.com/nextcloud/server/issues/46455
Author-Change-Id: IB#1156403

Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-27 16:08:53 +01:00
Ferdinand Thiessen
3c357f80c4
chore(files): Deprecate thumbnail endpoint in favor of core preview endpoint
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:25:38 +01:00
Ferdinand Thiessen
08319ad5a6
fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:21:09 +01:00
skjnldsv
7d8bb60bfe feat(files): add conversion action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
skjnldsv
abd3cb60fc fix(files): more conversion tests and translate error messages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-17 18:22:58 +01:00
Julius Knorr
fc9af34799
fix: Log exceptions that happen during file conversion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-17 12:06:36 +01:00
John Molakvoæ
35db02c4f9
Merge pull request #50208 from nextcloud/feat/conversion-adjusting
fix(files): conversion api simplification and conflict check
2025-01-16 19:31:14 +01:00
skjnldsv
7cbcbdc051 fix(files): conversion api simplification and conflict check
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-16 18:35:40 +01:00
Daniel
f9354dab23
Merge pull request #49761 from nextcloud/transfer-share-skip-notfound
fix: skip transfering shares that we can't find
2025-01-16 17:58:06 +01:00
Elizabeth Danzberger
fdfeb7f265
feat(api): File conversion API
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-15 16:38:18 -05:00
yemkareems
91f568e01b
feat(dashboard): added new FavouriteWidget to display favorite files in dashboard widget
* Added widget star icon
* run build/autoloaderchecker.sh
* removed unwanted IWidget and usersession
* renamed id
* renamed class to FavoriteWidget
* removed limit logic
* removed IAPIWidget
* ui fixes to remove rounded corners and make the ui/ux similar to recommendation widget.
* cs fix + composer fix no dev and review comments from Joas and Côme addressed
* added count and removed slice

Signed-off-by: yemkareems <yemkareems@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
2025-01-14 21:51:32 +01:00
Kate
e686b93d73
Merge pull request #49905 from nextcloud/chore/deps/openapi-extractor 2025-01-06 16:35:00 +01:00
Robin Appelman
757076af29
fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-06 14:45:35 +01:00