Граф коммитов

10389 Коммитов

Автор SHA1 Сообщение Дата
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
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 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 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
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
Claudio Cambra 43ea9b6d83 If fileProviderExtRecheable is false, try to reconfigure client communication service
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 13:59:04 +01:00
Claudio Cambra 96e2264baa Fix encoding used for override server url
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 13:40:18 +01:00
Claudio Cambra bcc968deb1 Add small top margin to shareview
Fixes highlight of sharee search field with macOS styling

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-18 09:59:19 +01:00
Claudio Cambra 0561a143af Remove background from textfields to fix errors
Fixes the following errors:

ShareeSearchField.qml:53:17: QML QQuickRectangle: The current style does
not support customization of this control (property: "background" item:
QQuickRectangle(0x600001d42140, parent=0x0, geometry=0,0 0x0)).

NCInputTextField.qml:57:17: QML QQuickRectangle: The current style does
not support customization of this control (property: "background" item:
QQuickRectangle(0x600001d42220, parent=0x0, geometry=0,0 0x0)).

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-18 09:59:19 +01:00
Matthieu Gallien 519f38f92c
remove assert that is being hit always when running debug builds
makes no sense as I have to always patch it out to be able to run a
debug build

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-11-18 08:54:01 +01:00
Camila Ayres d5278c58e1 Modernize Utility::removeFavLink and Utility::setupFavLink.
Exit setupFavLink function when SHGetKnownFolderPath fails.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Camila Ayres 38eefd4dc7 Add documentation about Utility::setupFavLink and Utility::removeFavLink.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Camila Ayres a3bc54f488 Modernize NavigationPaneHelper class.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Camila Ayres 669754b904 f => folderToRemove.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Camila Ayres cc2b5c627b Add step to remove Desktop.ini to removeFolder function.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-11-15 18:26:20 +01:00
Fabian Creutz 0f85a0bd10 Add null check for resultDacl after calling GetSecurityDescriptorDacl
Signed-off-by: Fabian Creutz <fabian.creutz@kaskadee.eu>
2024-11-15 09:28:05 +01:00
Claudio Cambra fe7c121156 Clear wizard static pointer on wizardClosed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-15 13:36:17 +08:00
Claudio Cambra 6820e1a717 Also emit close signal on window hide (i.e. user close) on macOS
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-15 13:36:17 +08:00
Claudio Cambra 1ba6b61e7e Emit a signal on wizard close
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-15 13:36:17 +08:00
Claudio Cambra fa33dd61cf Only present proxy password delete error if it is not a "does not exist" error
Prevent error on deletion when the proxy password does not exist

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-08 12:41:03 +08:00
Claudio Cambra 4f8a83b080 Start counting storage usage from 0 for macOS virtual files account
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-05 14:59:53 +09:00
Claudio Cambra c48ecf8d60 Store reachability of FileProviderExt by respective account
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-05 14:59:13 +09:00
Claudio Cambra 4ecaed47df Increase reachability retry timeout
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-05 14:59:13 +09:00
Claudio Cambra eae8e76fd9 Slash semaphore wait delta on reachability down to 1 second
Any longer does not really yield any positive result and freezes the
client for longer

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-05 14:59:13 +09:00
Claudio Cambra 2214c1d3d5 Do not attempt to reach out to FileProviderExt every single time we want to check if it is reachable
Only check every 60 seconds, this way we do not freeze the client for 3
seconds every time that we want to check the reachability while the
extension is unreachable

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-05 14:59:13 +09:00
Claudio Cambra b39f4aa68c Do not alter the user's debug and expiration settings when changing temporary log dir setting
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-31 21:51:27 +08:00
Camila Ayres 9b33cb5e0d
Fix compiling when BUILD_UPDATER is set to OFF.
Only connect signal/slot for update channels listing when BUILD_UPDATER is ON.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:04 +01:00
Camila Ayres 19db552f7d
Remove check in setServerHasValidSubscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:04 +01:00
Camila Ayres 60e04bdb8c
Address PR feedback.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres b9b9813655
Update config value when serverHasValidSubscription when accounts are added or removed.
To give priority to server susbscriptions and keep listing the right update channels.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres a7144ca981
Fix logic for initial load of update channels and priority for user with subscription.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00
Camila Ayres d0f87c3496
Save serverHasValidsubcription in the account.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-10-31 13:06:03 +01:00