Skip to content

Commit 2785bbc

Browse files
authored
Merge pull request #13079 from nextcloud/chore/document-hide-download
feat(developer): document `hide-download` WebDAV property
2 parents db4c364 + 53ead25 commit 2785bbc

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
Upgrade to Nextcloud 31
33
=======================
44

5-
General
6-
-------
7-
8-
- TBD
9-
105
Front-end changes
116
-----------------
127

@@ -51,15 +46,6 @@ to check whether the current Files app instance is a public share or not, and if
5146
console.info('This is a public share with the sharing token: ', getSharingToken())
5247
}
5348
54-
Added APIs
55-
^^^^^^^^^^
56-
57-
Changed APIs
58-
^^^^^^^^^^^^
59-
60-
Deprecated APIs
61-
^^^^^^^^^^^^^^^
62-
6349
Removed APIs
6450
^^^^^^^^^^^^
6551

@@ -126,6 +112,7 @@ Added APIs
126112
- New interface ``OCP\Files\Storage\IConstructableStorage`` for storages that can be built by passing only an array to the constructor.
127113
- New service ``OCP\RichObjectStrings\IRichTextFormatter`` to format rich text into parsed plain text using its ``richToParsed`` method.
128114
- New magic query parameter ``forceLanguage`` to force a specific language for a web request (API or frontend). See :ref:`Forcing language for a given call<api-force-language>`.
115+
- The new WebDAV property ``nc:hide-download`` was added to indicate if download actions should be hidden for a shared file or folder.
129116

130117
Changed APIs
131118
^^^^^^^^^^^^

developer_manual/client_apis/WebDAV/basic.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ Supported properties
215215
| | | | ``'external'`` = external storage |
216216
| | | | ``'external-session'`` = external storage |
217217
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
218+
| <nc:hide-download /> | For shares this indicate if any download action | ``true`` or ``false`` |
219+
| | should be hidden from the user or not. | |
220+
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
218221
| <nc:is-encrypted /> | Whether the folder is end-to-end encrypted. | | ``0`` for ``false`` |
219222
| | | | ``1`` for ``true`` |
220223
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)