Commit graph

22273 commits

Author SHA1 Message Date
Claudio Cambra
16c177cf4d Do not do deep codesign as default
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-21 13:18:20 +08:00
Nextcloud bot
827bb5af59
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 02:56:27 +00:00
Claudio Cambra
43f35cf055
Merge pull request #7523 from nextcloud/bugfix/tos-vfs
Handle NeedToSignTermsOfService account state in file provider components
2024-11-21 10:02:52 +08:00
Claudio Cambra
a0491c5c2b Handle redirect detected for account state in domain manager
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:27:09 +01:00
Claudio Cambra
624ecbaefd Handle NeedToSignTermsOfService account state in file provider components
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:27:09 +01:00
Matthieu Gallien
7e6ae848b0
Merge pull request #7435 from nextcloud/bugfix/live-photos-delete
Fix sync errors when trying to delete video component of live photos
2024-11-20 14:40:01 +01:00
Claudio Cambra
3b5222d457 Check for live photo against db entry instead of server entry
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
9406131e52 Add test for correct handling of live photo mov deletion
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
ed71524aeb Add setIsLivePhoto method to FileInfo
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
74651a0ca8 Add isLivePhoto property to FileInfo in syncenginetestutils
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
7f89883663 If the user tries to delete the movie component of a live photo, redownload this
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
e20bedac1f Set live photo properties on syncfileitem when creating one based on other types of items
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
10c675a589 Apply live photo server entry properties to syncfileitem
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
d56522f524 Fetch and record live photo properties during remote discovery single directory job
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
1b87aa95ce Handle live photo in syncjournaldb queries and inserts
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
b3b955f80f Add live photo properties to sync journal file record
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
eb2e83d210 Add live photo properties to remoteinfo struct
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
442dfcbe11 Add live photo properties to syncfileitem
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:39:51 +01:00
Claudio Cambra
c465b7de85
Merge pull request #7529 from nextcloud/bugfix/mac-crafter-escape-entitlement-paths
Escape code sign entitlement paths in mac crafter
2024-11-20 18:17:02 +08:00
Claudio Cambra
0239ee3eae Escape code sign entitlement paths in mac crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 18:16:51 +08:00
Claudio Cambra
feec773d3f
Merge pull request #7527 from nextcloud/bugfix/yet-another-path-problem-mac-crafter
Fix codesign path for app bundle main binaries
2024-11-20 18:12:19 +08:00
Claudio Cambra
4d15f47e09
Fix codesign path for app bundle main binaries
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 18:03:33 +08:00
Claudio Cambra
5f62cd8b7d
Merge pull request #7524 from nextcloud/bugfix/more-escapes-mac-crafter
Also escape codesign call with saving entitlements
2024-11-20 16:57:43 +08:00
Claudio Cambra
f5d91953bf
Use recursive codesign instead of broken wildcard path for sparkle Autoupdate app
Broken when we starting escaping paths in codesign arguments

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:34:09 +08:00
Claudio Cambra
7c171b8e20
Also add options to recursive codesign function
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:33:36 +08:00
Claudio Cambra
f6eb3f9b79
Also escape codesign call with saving entitlements
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 16:11:32 +08:00
Claudio Cambra
d3677a583d
Merge pull request #7521 from nextcloud/bugfix/conflict-bad-xpc-vfs
Add missing brace in FileProviderXPC's fileProviderExtReachable
2024-11-20 14:57:46 +08:00
Claudio Cambra
5e778f96c6
Add missing brace in FileProviderXPC's fileProviderExtReachable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 14:53:27 +08:00
Claudio Cambra
8797243fd2
Merge pull request #7519 from nextcloud/bugfix/mac-crafter-codesign-paths-with-spaces
Ensure paths are passed properly escaped into codesign command in mac-crafter
2024-11-20 12:13:54 +08:00
Claudio Cambra
533b04baf9 Ensure paths are passed properly escaped into codesign command in mac-crafter
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-20 12:13:25 +08:00
Nextcloud bot
b046f500fc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 03:03:15 +00:00
Matthieu Gallien
14e40fc55b
Merge pull request #7511 from nextcloud/dependabot/github_actions/platisd/clang-tidy-pr-comments-1.6.1
Build(deps): Bump platisd/clang-tidy-pr-comments from 1.5.1 to 1.6.1
2024-11-19 16:56:37 +01:00
dependabot[bot]
f148e311ed Build(deps): Bump platisd/clang-tidy-pr-comments from 1.5.1 to 1.6.1
Bumps [platisd/clang-tidy-pr-comments](https://github.com/platisd/clang-tidy-pr-comments) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/platisd/clang-tidy-pr-comments/releases)
- [Commits](https://github.com/platisd/clang-tidy-pr-comments/compare/v1.5.1...v1.6.1)

---
updated-dependencies:
- dependency-name: platisd/clang-tidy-pr-comments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 16:56:15 +01:00
Matthieu Gallien
13e07faf74
Merge pull request #7463 from nextcloud/bugfix/revert-windows-dark-regressions
Revert dark mode regressions on Windows 10
2024-11-19 14:13:31 +01:00
Matthieu Gallien
011fcd04f7 some improvements for account network settings
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-19 14:09:05 +01:00
Matthieu Gallien
1a9ba18661 on Windows 10 follow color scheme changes and apply them
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-19 14:09:05 +01:00
Matthieu Gallien
1399a32edc implement a drak mode palette and use it when needed
for now unable to dynamically switch between light and dark mode

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-19 14:09:05 +01:00
Matthieu Gallien
bce61115ef create a log category for OCC::Theme class
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-19 14:09:05 +01:00
Matthieu Gallien
194f918788 use QWidget Fusion style on Windows 10: enable dark mode
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
e69b6cb4c6 Use QOperatingSystemVersion in Windows 11 check
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
5f6712f442 Use registry-based dark mode detection on <= Windows 10
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
800b84d165 If <= Windows 10, use the reserve dark palette for dark mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
d2d91bb105 Use old palette change detection method on Windows 10 and under
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
7c2102547d Add convenience method to check Windows 11 availability
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Claudio Cambra
1f4f7c7d0f Revert "remove broken system paellete detection within our custom style"
This reverts commit 2d08cdb503.

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:09:05 +01:00
Matthieu Gallien
c1f9861265
Merge pull request #7432 from nextcloud/bugfix/findersyncext-crash-pt3000
Fix crash when setting badge for a path that results in a nil URL (macOS FinderSyncExt)
2024-11-19 14:08:38 +01:00
Claudio Cambra
ffa0e55025 Do not set badge identifier for a given path URL if the URL is nil
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:08:29 +01:00
Claudio Cambra
87d90aba27 Rewrite setResult:forPath: method signature for SyncClient and FinderSync
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:08:29 +01:00
Matthieu Gallien
a72670c6dc
Merge pull request #7509 from nextcloud/bugfix/appimage-url
Update url to dowload linuxdeploy-plugin-qt tool latest version.
2024-11-19 14:07:51 +01:00
Camila Ayres
a82b0e96cc Update url to dowload linuxdeploy-plugin-qt tool latest version.
Fix https://github.com/linuxdeploy/linuxdeploy-plugin-qt/pull/186 for Qt6 has been released.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-19 14:07:42 +01:00