Commit Graph

23441 Commits

Author SHA1 Message Date
Jyrki Gadinger
82de74fb99 restore screenshot for readme
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Jyrki Gadinger
83d6bbcb50 remove no longer required CMake modules
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
5cd1b384dc Update CMakeLists.txt
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
0aa2377ad7 Update CMakeLists.txt
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
d7121bf8a6 Delete man directory
Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Rello
9925b44993 Delete doc directory
Documentation was moved here

https://github.com/nextcloud/documentation/tree/master

* User
* Admin
* Developer

Signed-off-by: Rello <Rello@users.noreply.github.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 14:55:27 +02:00
Matthieu Gallien
b2a79ac3a5
Merge pull request #8257 from nextcloud/feature/new-craft-cache
ci: use new craft cache for 3.17.x, bump Qt to 6.8.3
2025-05-14 14:34:44 +02:00
Jyrki Gadinger
a6e9b6fcf0 feat(mac-crafter): also clone KDE blueprints, set a specific git ref for blueprint repos
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 12:15:46 +02:00
Jyrki Gadinger
01f8700b8e ci: use stable-3.17 branch for desktop-client-blueprints
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 12:15:46 +02:00
Jyrki Gadinger
66ec4682c1 ci: use new craft cache for 3.17.x, bump Qt to 6.8.3
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 12:15:46 +02:00
Matthieu Gallien
3607b56397
Merge pull request #8266 from nextcloud/test/xcode-version
ci: use Xcode 16.2 for macOS workflow
2025-05-14 12:15:31 +02:00
Jyrki Gadinger
c995cdedbf ci: use Xcode 16.2 for macOS workflow
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-14 09:58:22 +02:00
Matthieu Gallien
8ee4f47d23
Merge pull request #8178 from nextcloud/bugfix/versionWindowsIntegrationImproveInstall
Bugfix/version windows integration improve install
2025-05-13 18:29:53 +02:00
Jyrki Gadinger
d28b8e325d
feat(msi): do not schedule reboots ourselves
let's have the MSI RestartManager take care of that

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-13 17:21:01 +02:00
Matthieu Gallien
96df5cb0a6
fix(windows): add missing version to cfapi shell integration DLL
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-13 17:21:01 +02:00
Matthieu Gallien
92d5c473f5
feat(windows): use cmake to configure windows integration DLL version
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-13 17:18:40 +02:00
Jyrki Gadinger
59f3e774ad
fix(msi): force termination of stuck processes
Stopping the Windows Explorer process does not always work.  Per default
the MSI Restart Manager will display a warning message after a timeout,
and not attempt to restart Explorer afterwards -- resulting in a black
screen if no other window is open.

Setting the property `MSIRMSHUTDOWN` to `1` will force the termination
of the process when the timeout is reached, which finally allows the
Explorer to be restarted.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-13 17:18:40 +02:00
Jyrki Gadinger
532c5dfdeb
fix(msi): do not completely remove the previous installation when updating
The MSIs we distribute perform so-called "major upgrades".

From the Microsoft docs, we learn that...

> A typical major upgrade **removes a previous version** of an
> application and installs a new version.

Indeed that was the case -- the previous version is uninstalled
completely before the new version gets installed.  Since we install an
extension that's loaded by explorer, the installer will ask the user to
restart Windows Explorer during the uninstallation of the previous
version (and restarting that might not always work as expected).

There is a way to change this behaviour though, using Wix3's
`MajorUpgrade` element.  Through its `Schedule` property it's possible
to define when the removal of the previous version should occur.

The previous value `afterInstallInitialize` is one of two values that
perform a complete uninstall/install sequence.  The new value
`afterInstallExecute` will install new files on top of the previous
installation (depending on the `REINSTALLMODE` I guess) and remove
older files that are not present.
In the case of the extensions this means that the .dlls from the
previous installation will not be touched, as long as the version
embedded in the DLL info didn't change.  This results in the installer
no longer requesting Windows Explorer to restart, which is a big plus :D

I also changed the REINSTALLMODE to `dmus` to allow downgrades as well.

With this change, the request to restart Windows Explorer should
hopefully happen only once an installation was made using an MSI that
contains this change.  Further updates will only request a restart if
the DLL version of these extensions change...

See also:
  - https://learn.microsoft.com/en-us/windows/win32/msi/major-upgrades
  - https://docs.firegiant.com/wix/schema/wxs/majorupgrade/#attributes:~:text=Schedule

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-13 17:18:40 +02:00
Matthieu Gallien
a73733b146
fix(msi): use standard replace mode for MSI installer
shoudl enable replacing files during install happen only when needed
instead of always

will need to take care of migration from older releases

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-13 17:18:39 +02:00
Matthieu Gallien
7392436f6e
Merge pull request #8264 from nextcloud/coreyberla-elide-recent-files
cloudproviders elide text for recent files activity submenu
2025-05-13 17:17:30 +02:00
Matthieu Gallien
64b75c8f00
fix(cloudproviders): use a class static variable instead of a global one
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-13 13:29:39 +02:00
Corey Berla
02d62417da cloudproviders elide the text in the recent files submenu
Now that we have a baseline text with (preferredTextWidth), use
that to elide the text in the recent files submenu.  This means
that at most, the submenu will be twice as wide as the primary
menu.

Signed-off-by: Corey Berla <corey@berla.me>
2025-05-13 09:58:22 +02:00
Corey Berla
f65b736aa4 cloudproviders keep track of the length of the main menu items
cloudproviderwrapper creates (and provides a menu model) that is used
to populate a menu within file managers.  The menu includes a
submenu of recent activity that has no limit on the maximum number of
characters.  In order to create a more reasonably sized menu,
let's keep track of the width of the items in the main menu as a
baseline for the width of the items in the submenu.  This is
done dynamically in order to account for translations

Signed-off-by: Corey Berla <corey@berla.me>
2025-05-13 09:58:22 +02:00
Matthieu Gallien
9b8b7d4d6b
Merge pull request #8228 from nextcloud/bugfix/migration3
fix(migration): migrate general network settings.
2025-05-12 12:07:15 +02:00
Camila Ayres
071c1efd41
fix(migration): migrate general network settings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-05-11 16:18:43 +02:00
Matthieu Gallien
d2712e8b6f
Merge pull request #8044 from nextcloud/feature/yes-to-all-conflictsdialog
gui: add a "Yes to all" button when resolving multiple conflicts at once
2025-05-09 18:27:11 +02:00
Jyrki Gadinger
e75defd864 gui: add a "Yes to all" button when resolving multiple conflicts at once
Fixes #7446

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-09 17:54:05 +02:00
Matthieu Gallien
e21861ff79
Merge pull request #8250 from nextcloud/bugfix/avail-checks-fpitem
fix(gui/macOS): Add required availability checks around typeAndCreator access for NSFileProviderItem wrapper
2025-05-09 17:49:10 +02:00
Claudio Cambra
f2a223f685 fix(gui/macOS): Add required availability checks around typeAndCreator access for NSFileProviderItem wrapper
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:49:00 +02:00
Matthieu Gallien
38dd562952
Merge pull request #8248 from nextcloud/bugfix/mac-vfs-useragent
fix(shell_integration/macOS/FileProviderExt): Ensure user agent matches desktop client core
2025-05-09 17:48:49 +02:00
Claudio Cambra
91b6882196 fix(shell_integration/macOS/FileProviderUIExt): Retrieve and use FileProviderExt's user agent
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
a000dd60a7 fix(shell_integration/macOS/FileProviderExt): Add method to acquire user agent in FPUIExtensionService
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
c7499ed63b fix(shell_integration/macOS/FileProviderUIExt): Add userAgent as separate property in share table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
c064b6a452 fix(macOS): Also send user agent over XPC service
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
3dbdaaf54c fix(macOS): Send user agent string over File Provider socket along with account details
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
30bf5ffe03 fix(shell_integration/macOS/FileProviderExt): Make user agent a parameter of setupDomainAccount
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Matthieu Gallien
4c32fb2718
Merge pull request #8247 from nextcloud/feature/mac-vfs-enable-message
feat(gui/macOS): Present explanatory message after enabling macOS VFS for an account
2025-05-09 17:48:24 +02:00
Claudio Cambra
9979f869ff feat(gui/macOS): Present explanatory message after enabling macOS VFS for an account
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:04 +02:00
Matthieu Gallien
2fe5a1d23b
Merge pull request #8238 from nextcloud/bugfix/correct-error-builders
fix(shell_integration/macOS/FileProviderExt): Correctly build NSFileProviderErrors
2025-05-09 17:40:58 +02:00
Claudio Cambra
ef783d7b11 fix(shell_integration/macOS/FileProviderExt): Correctly build NSFileProviderErrors
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:40:41 +02:00
Matthieu Gallien
fbb2af4026
Merge pull request #8232 from nextcloud/bugfix/gracefully-dismiss-fpui-ext-vc
fix(shell_integration/macOS/FileProviderUIExt): Properly mark action as complete when evicting item
2025-05-09 17:39:00 +02:00
Claudio Cambra
fc24475595 fix(shell_integration/macOS/FileProviderUIExt): Properly mark action as complete when evicting item
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:38:47 +02:00
Matthieu Gallien
ae0aa25c2a
Merge pull request #8246 from nextcloud/bugfix/platformApiNeedsPlatformSpecificFolderSeparators
fix(readonly): use native separator in paths before calling windows API
2025-05-09 17:37:14 +02:00
Matthieu Gallien
8f0be0c5db fix(readonly): use native separator in paths before calling windows API
we need platform native separators for file paths that will be used in
native Windows platform specific APIs

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-09 17:37:02 +02:00
Matthieu Gallien
a0a5e4906f
Merge pull request #8256 from nextcloud/Rello-patch-1
fix(UI): updater filename-space error message
2025-05-09 17:36:07 +02:00
Rello
d141093945
Update src/libsync/bulkpropagatorjob.cpp
Co-authored-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-05-09 15:06:43 +02:00
Rello
876731f9fb
Update bulkpropagatorjob.cpp
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-05-09 12:05:28 +02:00
Matthieu Gallien
a2ac5402e4
Merge pull request #8236 from nextcloud/bugfix/default-val-fast-sync-mac
fix(gui/macOS): Fix default value for File Provider fast sync enablement setting
2025-05-09 10:56:30 +02:00
Claudio Cambra
0d0f1b38c1 fix(gui/macOS): Fix default value for File Provider fast sync enablement setting
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 10:56:23 +02:00
Matthieu Gallien
f4b3e82976
Merge pull request #8243 from nextcloud/bugfix/reallyPreventFileDeletionInReadOnlyFolder
fix(readonly): apply ACL also to files inside read-only folders
2025-05-09 09:43:26 +02:00