Commit graph

21307 commits

Author SHA1 Message Date
Camila Ayres
1f88052a8e Fix #3144: check for promptDeleteAllFiles config setting before emitting signal to display warning.
The signal is not connected to any slot when running nextcloudcmd.
The callback to finish the sync was never being called because the check for the config was done in the slot,
which was never called.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 18:18:08 +02:00
Matthieu Gallien
dce02d7d62
Merge pull request #6821 from nextcloud/bugfix/undeletable-vfs-suffic-files
Allow deletion of virtual suffix placeholder files
2024-06-28 18:17:29 +02:00
Claudio Cambra
2915e2517e Properly reset fakefolder test state post-placeholder file delete in testsyncvirtualfiles
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
0757e94b50 Ensure stripping of suffix vfs placeholder file's suffix when issuing delete command to server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
1382f924c7 Amend behaviour of suffix virtual files test to reflect new expected behaviour
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Claudio Cambra
b00a5934c9 Allow deletion of virtual suffix placeholder files
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 18:17:19 +02:00
Matthieu Gallien
f44eb5b8d4
Merge pull request #6839 from nextcloud/bugfix/rw-folders-broken
Bugfix/rw folders broken
2024-06-28 10:39:44 +02:00
Claudio Cambra
051a225d83 Do not wrap macOS ifdefs in filesystem when parent function already wrapped in ifdef
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Claudio Cambra
26eab22ca4 Do not re-generate standard string path twice
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Claudio Cambra
c34edbee82 Ensure we are re-adding same permissions as removed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-28 15:55:18 +08:00
Matthieu Gallien
b34a89a653
Merge pull request #6846 from nextcloud/enh/add-cfapi-debug-logs
Add cfapi debug logs
2024-06-28 09:45:40 +02:00
Camila Ayres
bba5097227 Print desktop client process id.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Camila Ayres
60d6cb47b1 Add new cfapi callbacks for logging.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Camila Ayres
340956ebfe Add more logs to track file hydration.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-28 09:12:29 +02:00
Nextcloud bot
0d02a72582
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 02:46:27 +00:00
Nextcloud bot
be012c57f2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 02:39:31 +00:00
Matthieu Gallien
ad70745bf5
Merge pull request #6841 from nextcloud/bugfix/updateEncryptionStateWhenServerChange
Bugfix/update encryption state when server change
2024-06-26 14:49:35 +02:00
Matthieu Gallien
863256fd55
ignore encrypted items during discovery when encryption is disabled
when we know a folder should be encrypted but encryption client side app
is disabled, ignore any items in the encrypted folders

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Matthieu Gallien
a270dca344
do not allow to select e2ee folders if the server support is missing
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Matthieu Gallien
284823d147
maintain e2ee state even if the server does not support e2ee
might be that the server previously supported e2ee and e2ee folders
exist

so we have to fetch the info to properly handle it on client

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-26 14:47:17 +02:00
Nextcloud bot
53980d3b85
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 02:38:52 +00:00
Claudio Cambra
566e8b7372
Merge pull request #6833 from nextcloud/bugfix/fp-account-crash
Fix crash when updating enabled File Provider domains (macOS VFS)
2024-06-25 23:04:18 +08:00
Claudio Cambra
73fc23f002 Remove no longer existing account id from configured vfs accounts list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
fc2e687c3d Prevent crash when updating file provider domains if the account for which a file provider domain was configured no longer exists
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
07d5e40ade Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
1689f7b613 Assert validity of accountstate and its accountptr when adding it
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
74a78242e2 Remove overwrought loadFromSettings method from AccountState
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Claudio Cambra
fd4ddfdd4c Take AccountPtr by reference in accountstate constructor
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-25 23:01:13 +08:00
Camila Ayres
7db343b8a0
Merge pull request #6637 from nextcloud/feature/nc-assistance
Display the NC assistant in the main Window
2024-06-25 16:26:48 +02:00
Camila Ayres
fcf07b60c4
Move the logic for handling the featured app qml to cpp.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-25 15:34:50 +02:00
Camila Ayres
b7bf6083d9
Display the Nextcloud assistant icon in the main window.
- If NC assistant is enabled in the server, display the icon
to open it instead of Talk. Talk is then displayed in the
list with the other apps.
- The direct link is only available in the assistant app >= 1.0.9.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-06-25 15:34:49 +02:00
Matthieu Gallien
d5b32daa20
Merge pull request #6832 from nextcloud/ci/testIsMountRootProperty
Ci/test is mount root property
2024-06-25 15:32:22 +02:00
Matthieu Gallien
54ffce52cd
automated test: allow rename of the child items of a mount point
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-25 14:23:43 +02:00
Matthieu Gallien
d6a143808d
automated test: block rename of the top folder of a mount point
encode current behavior in a new automated test

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-06-25 14:23:43 +02:00
Nextcloud bot
b83630855b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-23 02:40:00 +00:00
Nextcloud bot
8f798a1074
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-22 03:36:09 +00:00
Nextcloud bot
c48c4ab26a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 02:39:20 +00:00
Nextcloud bot
8949a08936
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-18 02:39:23 +00:00
Nextcloud bot
cf07d74e9d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 02:41:40 +00:00
Claudio Cambra
8b9de15a8d
Merge pull request #6811 from nextcloud/bugfix/nxtexedit-text-color
Fix text colour for NCInputTextEdit
2024-06-13 19:30:13 +08:00
Claudio Cambra
fa1f8b3efe Fix text colour for NCInputTextEdit
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-06-13 19:15:11 +08:00
Nextcloud bot
875e2df2e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-13 02:38:50 +00:00
Claudio Cambra
6e4256adc3
Merge pull request #6808 from Johnson-zs/master
fix build failed
2024-06-12 17:29:53 +08:00
Zhang Sheng
dcc4718c98 fix build failed
Signed-off-by: Zhang Sheng <zhangsheng@uniontech.com>
2024-06-12 15:54:03 +08:00
Claudio Cambra
abf6e1ccd5
Merge pull request #6806 from nextcloud/dependabot/github_actions/cpp-linter/cpp-linter-action-2.12.0
Build(deps): Bump cpp-linter/cpp-linter-action from 2.11.0 to 2.12.0
2024-06-12 14:54:51 +08:00
dependabot[bot]
7cec36cb32
Build(deps): Bump cpp-linter/cpp-linter-action from 2.11.0 to 2.12.0
Bumps [cpp-linter/cpp-linter-action](https://github.com/cpp-linter/cpp-linter-action) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/cpp-linter/cpp-linter-action/releases)
- [Commits](https://github.com/cpp-linter/cpp-linter-action/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: cpp-linter/cpp-linter-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 23:50:06 +00:00
Matthieu Gallien
86f1c377d9
Merge pull request #6805 from tanganellilore/patch-config-file-doc
fix doc configuration file
2024-06-10 15:53:44 +02:00
Lorenzo Tanganelli
766d910d83
fix doc configuration file
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2024-06-10 14:30:34 +02:00
Nextcloud bot
d78772880c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-08 02:38:36 +00:00
Nextcloud bot
548e35fd8a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 05:43:51 +00:00