50 Commits
Author SHA1 Message Date
Matthieu Gallien b304fc0ae1 fix(linux/flatpak): fix icon name in flatpak package
Close #6115

Signed-off-by: Matthieu Gallien <[email protected]>
2026-10-27 12:20:30 +08:00
Matthieu Gallien 6865961f38 feat(dbus): use KF6 DBusAddons to offer DBus API
should help to build end-to-end integration tests with desktop files
client and a Nextcloud server

Signed-off-by: Matthieu Gallien <[email protected]>
2026-06-12 11:21:04 +02:00
Iva Horn 4dcd100e50 fix(macOS): Restored support for pre-Xcode 26 build enviroments
The newly introduced Icon Composer asset requires Xcode 26 but not all build environments can be expected to have at least macOS 26 and Xcode 26. This establishes a backward compatible fallback for older build environments which will produce a classic .icns like the branded builds do anyway.

Signed-off-by: Iva Horn <[email protected]>
2026-06-12 10:08:31 +02:00
Iva HornandClaude Opus 4.7 db9cd67e4b feat(macOS): fall back to SVG + ECM pipeline for branded builds
The Icon Composer (.icon) flow introduced in 2517359d05 became the only
macOS app-icon path for every build, including branded customer builds
where shipping an Icon Composer bundle alongside their themed SVGs isn't
practical.

Gate the Icon Composer pipeline on `APPLICATION_NAME == "Nextcloud"` or
`NEXTCLOUD_DEV` (matching the spirit of the pre-2517359d05 check in
NEXTCLOUD.cmake) and restore the historical Inkscape + ECM rasterisation
path for any other APPLICATION_NAME. Both paths produce a usable bundle
icon:

* Default (Nextcloud / NextcloudDev): compile theme/colored/AppIcon.icon
  via `actool` and reference it via `CFBundleIconFile = AppIcon`
  + `CFBundleIconName = AppIcon`.
* Branded: rasterise `${theme_dir}/colored/${APPLICATION_ICON_NAME}-icon.svg`
  with Inkscape/rsvg-convert and bundle the result via
  `ecm_add_app_icon` to `${APPLICATION_ICON_NAME}.icns`. The Info.plist
  drops `CFBundleIconName` for this path.

The Finder sidebar icon mechanism is intentionally not reinstated — even
when ECM ran with `SIDEBAR_ICONS` previously, Finder didn't render the
template variants for arbitrary favorited folders, so neither path
bundles a sidebar variant now.

`MacOSXBundleInfo.plist.in` switches to `@MACOSX_BUNDLE_ICON_FILE@` plus a
`@MACOSX_BUNDLE_ICON_NAME_BLOCK@` placeholder so a single template serves
both pipelines. `NextcloudCPack.cmake` and
`shell_integration/MacOSX/CMakeLists.txt` follow the same gate to point
at the right `.icns`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-06-09 16:52:05 +02:00
Iva HornandClaude Opus 4.7 2517359d05 feat(macOS): Use .icon format for macOS app bundle
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-06-09 09:24:09 +02:00
Iva Horn fc4814a9a9 fix(macOS): Use the same macOS app icon in developer build as in Nextcloud release builds. 2026-06-03 13:30:04 +02:00
Iva Horn 289bdbdc5b chore(macOS): Added NEXTCLOUD.cmake to Xcode Workspace
Signed-off-by: Iva Horn <[email protected]>
2026-02-26 16:47:47 +01:00
Iva Horn c4846ce5f6 fix: Define default DEVELOPMENT_TEAM for main app.
Signed-off-by: Iva Horn <[email protected]>
2025-12-18 10:29:40 +01:00
Tamás Bari f352ddaefc feat: Adding an option to disable username prefill on Windows
Signed-off-by: Tamás Bari <[email protected]>
2025-09-30 17:02:21 +02:00
Jyrki Gadinger d458c2c620 chore: remove never used crashreporter
Signed-off-by: Jyrki Gadinger <[email protected]>
2025-05-08 09:52:53 +02:00
Andy Scherzinger 7655efa230 docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <[email protected]>
2025-05-06 09:49:30 +02:00
Camila Ayres cf488b3e86 Add option to disable virtual files syncing on Windows.
Signed-off-by: Camila Ayres <[email protected]>
2025-03-12 12:22:20 +01:00
Matthieu Gallien 2a52ec33b0 add support to use PKCS#11 harware token to store certifice for e2ee
Close #5685

Signed-off-by: Matthieu Gallien <[email protected]>
2025-02-07 09:12:29 +01:00
kaikli a1362049c7 fix dev application name
keep application name and short name the same for the dev and prod build or some migration logic will work differently for each build

Signed-off-by: kaikli <[email protected]>
2025-01-06 10:33:28 +01:00
Camila Ayres 63b0a9f94d Add cmake NEXTCLOUD_DEV so debug client can run in parallel to release client.
- Defaults to OFF.

Signed-off-by: Camila Ayres <[email protected]>
2024-04-11 15:42:54 +02:00
Claudio Cambra f805596418 Remove unneeded fallback for undefined cmake_osx_deployment_target
Signed-off-by: Claudio Cambra <[email protected]>
2024-03-11 15:20:51 +01:00
Claudio Cambra bfdbecc416 Only set BUILD_FILE_PROVIDER_MODULE if deployment target high enough
Signed-off-by: Claudio Cambra <[email protected]>
2024-03-11 15:20:51 +01:00
Claudio Cambra 4d359bdb2a Fix optional compile of File Provider module
Signed-off-by: Claudio Cambra <[email protected]>
2023-07-24 12:12:29 +02:00
Matthieu Gallien 91ea14d49e addd a cmake option to enable single account desktop client
Signed-off-by: Matthieu Gallien <[email protected]>
2023-06-08 11:11:47 +02:00
Claudio Cambra fdbd5e40cc Don't build file provider module by default (yet)
Signed-off-by: Claudio Cambra <[email protected]>
2023-06-06 20:49:31 +08:00
alex-z ba9d3269e3 Use separate variable for cfg file name in CMAKE.
Signed-off-by: alex-z <[email protected]>
2022-11-07 11:05:27 +01:00
allexzander 9270d401e8 Move URI scheme variable from Nextcloud.cmake to root CmakeListst.
Signed-off-by: allexzander <[email protected]>
2022-08-04 11:50:58 +03:00
alex-z 3400df461d Move CFAPI shell extensions variables to root CMakeLists.
Signed-off-by: alex-z <[email protected]>
2022-08-03 14:55:31 +03:00
alex-z d42d3c057f Implement URI handler for local file editing
Signed-off-by: alex-z <[email protected]>
2022-08-03 11:38:33 +03:00
alex-z 001deace2d Implement COM Dll for CfApi shell extensins. Implement Thumbnail Provider.
Signed-off-by: alex-z <[email protected]>
2022-07-29 19:26:53 +03:00
Claudio Cambra fee45e4409 Use macOS-specific application icon
Signed-off-by: Claudio Cambra <[email protected]>
2022-07-12 17:39:46 +02:00
alex-z 0776df65c3 Always build with updater. Use 'beta/stable' channel seletor in 'General Settins' dialog with default 'stable'.
Signed-off-by: alex-z <[email protected]>
2022-02-02 10:46:11 +00:00
alex-z 0ea7e8d3a6 Cmake option to disable proxy
Signed-off-by: alex-z <[email protected]>
2022-02-02 10:02:34 +00:00
alex-z 25785841a3 Always prefill username from Windows login name based on server version
Signed-off-by: alex-z <[email protected]>
2021-12-03 11:08:35 +02:00
alex-z b03bf1c1f0 Pass username from Windows to login page.
Signed-off-by: alex-z <[email protected]>
2021-11-24 10:04:22 +00:00
Matthieu Gallien 5ab13b2adc add an option to enforce use of virtual files sync folder
Signed-off-by: Matthieu Gallien <[email protected]>
2021-11-05 16:56:24 +01:00
alex-z db4e54025a Forbid trusting the untrusted certificate.
Signed-off-by: alex-z <[email protected]>
2021-10-27 07:23:42 +00:00
alex-z 907ebc1959 Request OCSP validation data from the server during the SSL handshake.
Signed-off-by: alex-z <[email protected]>
2021-10-27 07:23:42 +00:00
Felix Weilbach 9185956069 Split out wizard welcome page
Signed-off-by: Felix Weilbach <[email protected]>
2021-03-10 09:55:40 +01:00
Kevin Ottens 4b4437787f Add the APPLICATION_ICON_SET option
Also mention the svg possibly used in the wizard

Signed-off-by: Kevin Ottens <[email protected]>
2021-01-20 10:41:16 +01:00
Christian Kamm aa6f5f59c4 Rename Placeholders to Virtual Files in code #6531 2020-12-15 10:57:53 +01:00
Christian Kamm 7dc65b060d NSIS: Register placeholder extension
Also change the placeholder suffix config option to not include the dot,
the dotless form is needed in the nsis script.
2020-12-15 10:57:50 +01:00
Michael Schuster ce71ffe9f9 Allow server URL to be pre-defined without enforcing it to be used unmodified
APPLICATION_SERVER_URL can be either empty or be specified. This commit adds the new CMake option APPLICATION_SERVER_URL_ENFORCE to decide whether to enforce the
URL's unmodified use (like before, default: ON) or to allow modification by the user (new).

By default APPLICATION_SERVER_URL_ENFORCE is set to ON, to no break with the previous implementation's expectations.

If APPLICATION_SERVER_URL is empty, APPLICATION_SERVER_URL_ENFORCE will be ignored by the Account Wizard.

The previous behaviour confused me a bit with branded builds. When the URL was (usually) specified but not forced, it was simply discarded, forcing the user to
manually supply it.

Signed-off-by: Michael Schuster <[email protected]>
2020-09-23 07:21:35 +00:00
Michael Schuster fad9b2c969 Windows MSI: Add Upgrade Code and migration tool build options to NEXTCLOUD.cmake
The Upgrade Code is a GUID (specified without brackets) for the MSI package to allow Windows Installer identify existing installations.

New build options (default: OFF):
- BUILD_WIN_MSI: Build all MSI scripts and a required helper DLL (to uninstall NSIS legacy installations and remove Explorer Navigation Pane entries)
- BUILD_WIN_TOOLS: Build additional migration tools (currently NCNavRemove, a stand-alone tool for Explorer entries removal)

The helper DLL and migration tools are set to be statically linked and optimized for binary size.

Signed-off-by: Michael Schuster <[email protected]>
2020-09-21 16:40:19 +02:00
Michael Schuster 8ce13b7bdb Windows shell extensions: Use custom GUIDs via CMake and prepare MSI reg
Previously side by side installation with ownCloud or other NC custom builds would break the shell integration because the same GUIDs and registry keys were used.

Now we specify our custom GUIDs in NEXTCLOUD.cmake and use CMake to generate a header file and WiX (MSI) include file with these constants.

Note: Using generators like "guidgen" or "uuidgen" ensures that GUIDs are unique, as manual changes are not guaranteed to be.

Signed-off-by: Michael Schuster <[email protected]>
2020-08-20 18:50:05 +02:00
Michael Schuster e833e86da6 Updater: Add CMake option BUILD_UPDATER to make the updater optional
- Default: BUILD_UPDATER = NO

  To ease builds for distro packages and contributors (regardless of the specified update URL)

- Enable updater build for Drone CI and AppImage builds

Signed-off-by: Michael Schuster <[email protected]>
2020-03-09 02:34:55 +01:00
Dominique Fuchs 3ad1c0e7a8 Created wrapper variable LINUX_APPLICATION_ID to clean up code
Signed-off-by: Dominique Fuchs <[email protected]>
2019-09-30 09:45:41 +02:00
Samir Benmendil 758483bc6e Silence CMake warning
CMake Warning (dev) at NEXTCLOUD.cmake:31 (set):
  implicitly converting 'string' to 'STRING' type

Signed-off-by: Samir Benmendil <[email protected]>
2019-08-15 03:00:26 +01:00
Roeland Jago Douma e2293eddce Allow to specifiy server url via CMAKE
Signed-off-by: Roeland Jago Douma <[email protected]>
2019-01-31 11:28:46 +01:00
Roeland Jago Douma b34708da29 Move help URL also to CMAKE
Signed-off-by: Roeland Jago Douma <[email protected]>
2019-01-31 11:28:46 +01:00
Roeland Jago Douma 944f9e9668 Move wizard options to CMAKE as well
Signed-off-by: Roeland Jago Douma <[email protected]>
2019-01-31 11:28:38 +01:00
Roeland Jago Douma 86991b9996 Enable providers by default
Signed-off-by: Roeland Jago Douma <[email protected]>
2018-08-13 19:59:34 +02:00
Julius Härtl 3159a36f25 Make build optional
Signed-off-by: Julius Härtl <[email protected]>
2018-07-31 13:35:36 +02:00
Roeland Jago Douma 9878559002 Move to NC theme
Signed-off-by: Roeland Jago Douma <[email protected]>
2017-11-20 15:46:18 +01:00
Roeland Jago Douma 5dc73ffd8b OWNCLOUD.cmake => NEXTCLOUD.cmake
Signed-off-by: Roeland Jago Douma <[email protected]>
2017-11-20 14:12:52 +01:00