581 Commits
Author SHA1 Message Date
Rello 42afef3040 chore: resolve selective sync configuration merge conflict
Merge master and retain both configuration headers in the theme tests.

Signed-off-by: Rello <[email protected]>
Assisted-by: Codex:GPT-5
2026-11-02 17:47:10 +01:00
Iva HornandClaude Fable 5.1 d7ec35369b fix(file-provider): expire sync anchors when the metadata database is replaced
The tag in every sync anchor named only the extension version and the
store version, so after the open set a corrupt database file aside and
replaced it, after a downgrade reset, or after the file was removed by
hand, every anchor the framework had kept for the domain still
validated. The working set then read an empty materialized set,
reported nothing and advanced the anchor, and the containers were never
repopulated from the server.

Every database file now carries a random identity in a single-row
`storeIdentity` table, minted the first time the file is opened and
read once per `FilesDatabaseManager`. The identity is part of the
anchor tag, so an anchor from another file is answered with
`syncAnchorExpired` and the framework re-enumerates the container. That
is the behaviour the `reimportItems(below:)` documentation asks of a
provider whose item identifiers stay stable across a loss of its sync
state, which ours do: they are the server's `ocId` values. The table is
part of the initial schema: no build with the SQLite store has shipped,
so there is nothing to migrate.

`StoreReplacementAnchorTests` fails without the identity in the tag:
the anchor of the earlier store was accepted and the enumeration
finished on the empty replacement.

Not verified on a real domain: how the framework treats materialized
placeholders after the full re-enumeration of a replaced store.

Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-10-29 16:33:47 +01:00
Iva HornandClaude Fable 5.1 06abd31a74 docs(file-provider): describe the SQLite metadata database and collect it in debug archives
Documents the storage choices, the store version and the import from
Realm in a DocC article, and updates the comments and design notes which
still described the Realm database. The debug archive now collects the
SQLite database with its write-ahead log, and any Realm file which could
not be imported. The workspace manifest pins GRDB.

Part of #9046.

Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
2026-10-29 16:33:47 +01:00
Nathan van Dael 7d4ee3f6b6 fix(settings): keep the server URL locked in builds that enforce it
- A device default no longer unlocks the server URL in a build that sets
  APPLICATION_SERVER_URL together with APPLICATION_SERVER_URL_ENFORCE.
  Standard builds enable APPLICATION_SERVER_URL_ENFORCE without a URL, so
  a device default stays editable there.
- Say "Invalid path" when --overridelocaldir is given without a path.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Nathan van Dael <[email protected]>
2026-10-26 16:50:31 +01:00
Nathan van Dael f209efb1ec fix(settings): address review feedback on managed override settings
- Return whether setOverrideServerUrl() and setOverrideLocalDir() wrote
  the value, and show a hint when a policy blocks --overrideserverurl or
  --overridelocaldir.
- Reject a --overridelocaldir path that is not absolute while parsing the
  command line, using the schema validator.
- Add ConfigFile::isOverrideServerUrlLocked(), shared by the wizard and
  the nc:// URI scheme handler, so only a policy or command line value
  locks the server URL and restricts login links. Builds enable
  APPLICATION_SERVER_URL_ENFORCE by default, so the wizard now clears the
  lock for a device default.
- Apply an overrideLocalDir from device default or policy only to the
  first account, in the wizard and for account setup from the command
  line. A command line value still applies to the next account. Skip the
  sync options step only for a locked folder.
- Update the docs and add tests.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Nathan van Dael <[email protected]>
2026-10-26 16:50:31 +01:00
Nathan van Dael 2a51533064 feat: resolve overrideServerUrl and overrideLocalDir via managed settings
Signed-off-by: Nathan van Dael <[email protected]>
2026-10-26 16:50:27 +01:00
Rello 91a280fc16 feat: add selective sync default configuration
Signed-off-by: Rello <[email protected]>
Assisted-by: Codex:GPT-5
2026-10-01 11:03:01 +02:00
Camila Ayres ade09e788d fix(settings): drop skipUpdateCheck from the server allow list
skipUpdateCheck has no UI control and no setter with callers, so a server
default could not be overridden by the user and acted as enforcement,
which the update key policy forbids. Remove it from the server allow list
and the documentation, so the server can neither default nor enforce it.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <[email protected]>
2026-09-24 17:20:32 +02:00
Camila Ayres c271f3ceb5 fix(settings): disable file provider mode and checkbox when it is enforced off.
- Show the managed label in the general settings, and refuse to enable the mode
in the controller as a backstop.
- Load server capabilities in the wizard before the sync mode selection.
- Fetch the capabilities and apply them to the account before choosing the
sync mode, and fall back to the previous behavior if the fetch fails.
- Greys out enforced keys in the UI.
- The wizard testinstalls fake device sources, so it no longer reads
the managed preferences of the machine running it.
- Keep file provider off while virtual files are enforced off, so the account
stays on classic until the user turns it on.
- Update documentation following the latest fixes.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <[email protected]>
2026-09-24 17:20:32 +02:00
Camila Ayres 6a08763614 fix(settings): address the remaining review findings.
- Server defaults no longer lose to values the client wrote by itself.
- Migration copies only keys the legacy config actually holds, the advanced
panel and the wizard write only what the user changed.
- Capabilities that loaded count even for an account without a
subscription.
- Server settings are sanitized before they are cached.
- The enforced label is per group.
- Documents the macOS domain, that only forced values count.
- Removes the dead getPolicySetting, resolveAll, present and SettingScope,
names the source priorities in one header.
- Tests install fake device sources.
- Trim the getConfig doc comment

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <[email protected]>
2026-09-24 17:20:32 +02:00
Camila Ayres cbbf3e2de1 fix(settings): only enforce settings declared in the schema.
A policy cannot enforce a setting the client did not declare.
Update the documentation with the new default.

Assisted-by: Claude Code:claude-opus-4-8
Signed-off-by: Camila Ayres <[email protected]>
2026-09-24 17:20:32 +02:00
Camila Ayres 1934ba83d7 docs(settings): improve documentation about managed settings.
Move it to docs/settings folder.
Renamed it to managed-settings.md.

Signed-off-by: Camila Ayres <[email protected]>
2026-09-24 17:20:32 +02:00
Iva Horn 89bbd4be3c Merge pull request #10857 from JanSndr/#10739-doc-Update-macOS-development.md
Document finding Team ID for free Apple developer accounts
2026-09-19 13:35:57 +02:00
JanSndr 2972ce91b0 docs: document finding Team ID for free Apple developer accounts (#10739)
Add instructions to doc/macOS-development.md on how to retrieve the Personal Team ID via Xcode and Keychain Access.

Signed-off-by: Jan Schneider <[email protected]>

Signed-off-by: JanSndr <[email protected]>
2026-09-17 15:25:34 +02:00
Ben Luka Domnick 65645302a9 docs(macos): update Xcode scheme reference in development guide
Update obsolete scheme references to match current active Xcode targets.

Signed-off-by: benlukka <[email protected]>
2026-09-17 14:35:12 +02:00
Claudio Cambra d9c4fd55e7 fix(docs): Refine terminology
Signed-off-by: Claudio Cambra <[email protected]>
2026-09-08 17:49:34 +08:00
Claudio Cambra 82ad4aa0fd fix(docs): Expand terminology
Signed-off-by: Claudio Cambra <[email protected]>
2026-08-25 22:45:52 +08:00
Claudio Cambra 78417b5211 fix(docs): Commenting guidelines
Signed-off-by: Claudio Cambra <[email protected]>
2026-08-25 22:38:34 +08:00
Claudio Cambra 219ab287ed fix(docs): Add terminology guide
Signed-off-by: Claudio Cambra <[email protected]>
2026-08-25 22:14:29 +08:00
Iva Horn 6963914a62 fix(#10478): Refactored XPC for FinderSync Extension
Signed-off-by: Iva Horn <[email protected]>
2026-08-01 00:23:54 +08:00
Claudio Cambra ffdb4b194e docs(macOS): Add doc for local network permissions on macOS
Signed-off-by: Claudio Cambra <[email protected]>
2026-07-27 22:38:07 +08:00
Claudio Cambra 5890ea5815 docs: add dev doc for edit locally
Signed-off-by: Claudio Cambra <[email protected]>
2026-07-23 12:05:58 +02:00
Iva Horn 022a5c4b8f feat(macOS): Improved file provider switch user experience
Signed-off-by: Iva Horn <[email protected]>
2026-07-16 12:02:42 +02:00
Iva Horn 0e32cd7801 Improve FinderSync Extension handling
Signed-off-by: Iva Horn <[email protected]>
2026-07-13 14:04:43 +02:00
Iva Horn 9c3ea7b03e chore(doc): Updated documentation for contributors on macOS
Signed-off-by: Iva Horn <[email protected]>
2026-05-27 19:19:30 +02:00
Iva Horn c1d52c4b89 feat(macOS): Consolidated Xcode Workspace (#9435)
- Derived data directory ".xcode" for Xcode workspace in project root.
- Mac crafter build directory ".mac-crafter" in project root.
- Added all Swift packages and Xcode projects to workspace.
- Added some important top-level files and other directories.
- Removed obsolete Xcode workspace in shell integration directory.
- Removed obsolete OwnCloudFinderSync folder.
- Updated AGENTS.md.
- Updated README.md.
- Renamed NextcloudDev scheme to Nextcloud Developer Client.
- Fixed Xcode not being abled to resolve breakpoints because the dSYM files are in a dot-directory which is not indexed by Spotlight. mac-crafter now copies the debug symbols manually into the app bundle so they are found.

Signed-off-by: Iva Horn <[email protected]>
2026-02-23 11:22:33 +01:00
Iva Horn 7c4478eef9 feat(doc): Added first test case documentation.
Signed-off-by: Iva Horn <[email protected]>
2026-01-28 15:12:16 +01:00
Iva Horn 11be220a4a fix(macOS): Accessing target of debug archive as a security scoped URL.
Signed-off-by: Iva Horn <[email protected]>
2025-12-18 10:29:40 +01:00
Jyrki Gadinger 82de74fb99 restore screenshot for readme
Signed-off-by: Jyrki Gadinger <[email protected]>
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 <[email protected]>
Signed-off-by: Jyrki Gadinger <[email protected]>
2025-05-14 14:55:27 +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
Pablo Ariño Muñoz 13a1963284 Changed critical free space to 512MB and free space to 1GB in code and documentation
Signed-off-by: Pablo Ariño Muñoz <[email protected]>
2025-02-27 11:26:54 +08:00
Matthieu Gallien eb2f73ec24 add some missing doc images in a valid path
we cannot use doc/images/building folder name due to some gitignore
rules

so let's rename it to doc/images/dev

Signed-off-by: Matthieu Gallien <[email protected]>
2025-01-21 09:02:12 +01:00
tflidd 937d99bf18 Update macosvfs.rst
Typo in the header

Signed-off-by: tflidd <[email protected]>
2025-01-13 09:55:38 +01:00
Florian Schmaus cb0d738481 Fix filename of fix-macosvfs-file-sharing.png
Downstream bug: https://bugs.gentoo.org/946689

Signed-off-by: Florian Schmaus <[email protected]>
2025-01-03 10:39:22 +01:00
Claudio Cambra 5cdc238ef8 Rename first header on macos vfs doc entry, fixing title in index
Signed-off-by: Claudio Cambra <[email protected]>
2024-12-09 20:16:33 +01:00
Matthieu Gallien 8caa014311 master branch will be 3.16.0 future release
Signed-off-by: Matthieu Gallien <[email protected]>
2024-11-22 12:05:06 +01:00
Claudio Cambra 20ec036498 Add section on configuration for macosvfs docs
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
Claudio Cambra 5aebe0842d Add note on notify_push to macosvfs doc
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
Claudio Cambra 84003d4d66 Add section on finder integration to macosvfs docs
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
Claudio Cambra f6a601b5e5 Add install/initial setup section to macosvfs docs
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
Claudio Cambra 443880a8ec Add introduction section to macosvfs docs
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
Claudio Cambra d9f16f9633 Add starter documentation page on macOS VFS
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-17 22:23:45 +08:00
RelloandCamila Ayres f6fc74e396 Update doc/nextcloudcmd.rst
Co-authored-by: Camila Ayres <[email protected]>
Signed-off-by: Rello <[email protected]>
2024-11-15 09:25:42 +01:00
Rello d02f115cff Update nextcloudcmd.rst
add note on exclude file

https://github.com/nextcloud/desktop/issues/2917

Signed-off-by: Rello <[email protected]>
2024-11-15 09:25:42 +01:00
Claudio Cambra 48b0933f81 Add section on Apple ATS to docs troubleshooting section
Signed-off-by: Claudio Cambra <[email protected]>
2024-11-14 15:46:38 +08:00
Claudio Cambra 34e4f40408 Incorporate doc fixes from pull request #6122
Fix issues on manpages

Signed-off-by: Claudio Cambra <[email protected]>
2024-10-18 13:33:59 +08:00
Josh 57db11e331 docs: conf file option moveToTrash is no longer Linux specific
Since #5698 / #3362 this option is no longer restricted to Linux. (It's also now in the GUI too).

Signed-off-by: Josh <[email protected]>
2024-08-28 11:38:02 +02:00
Matthieu Gallien 82a6f47235 master is now the next feature release (i.e. v3.15.0)
Signed-off-by: Matthieu Gallien <[email protected]>
2024-08-23 11:19:08 +02:00