Skip to content

Commit cb9a20f

Browse files
Merge pull request #11284 from nextcloud/enh/files-metadata/files-metadata-28
+files metadata
2 parents 9db9cbb + fdbc72b commit cb9a20f

File tree

4 files changed

+408
-4
lines changed

4 files changed

+408
-4
lines changed

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,28 @@ Added APIs
141141
* ``\OCP\IPhoneNumberUtil::convertToStandardFormat`` to convert input into an E164 formatted phone number. See :ref:`phonenumberutil` for an example.
142142
* ``\OCP\IPhoneNumberUtil::getCountryCodeForRegion`` to get the E164 country code for a given region. See :ref:`phonenumberutil` for an example.
143143
* ``\OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowEvalWasm(bool)``: sets ``wasm-unsafe-eval`` in ``script-src`` of the Content Security Policy `to allow compilation and execution of WebAssembly on the page <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#unsafe_webassembly_execution>`_
144+
* ``\OCP\FilesMetadata\IMetadataBackgroundEvent::getNode``
145+
* ``\OCP\FilesMetadata\IMetadataBackgroundEvent::getMetadata``
146+
* ``\OCP\FilesMetadata\IMetadataLiveEvent::getNode``
147+
* ``\OCP\FilesMetadata\IMetadataLiveEvent::getMetadata``
148+
* ``\OCP\FilesMetadata\IMetadataLiveEvent::requestBackgroundJob``
149+
* ``\OCP\FilesMetadata\IFilesMetadataManager::refreshMetadata``
150+
* ``\OCP\FilesMetadata\IFilesMetadataManager::getMetadata``
151+
* ``\OCP\FilesMetadata\IFilesMetadataManager::saveMetadata``
152+
* ``\OCP\FilesMetadata\IFilesMetadataManager::deleteMetadata``
153+
* ``\OCP\FilesMetadata\IFilesMetadataManager::getMetadataQuery``
154+
* ``\OCP\FilesMetadata\IFilesMetadataManager::getKnownMetadata``
155+
* ``\OCP\FilesMetadata\IFilesMetadataManager::initMetadata``
156+
* ``\OCP\FilesMetadata\IMetadataQuery::retrieveMetadata``
157+
* ``\OCP\FilesMetadata\IMetadataQuery::extractMetadata``
158+
* ``\OCP\FilesMetadata\IMetadataQuery::joinIndex``
159+
* ``\OCP\FilesMetadata\IMetadataQuery::getMetadataKeyField``
160+
* ``\OCP\FilesMetadata\IMetadataQuery::getMetadataValueField``
144161

145162
* ``wasm-unsafe-eval`` is `supported by most browsers <https://caniuse.com/mdn-http_headers_content-security-policy_script-src_wasm-unsafe-eval>`_
146163
* WebAssembly compilation and execution in worker threads is not affected by this directive (browsers allow compilation and execution of WebAssembly in worker threads by default)
147164

165+
148166
Changed APIs
149167
^^^^^^^^^^^^
150168

@@ -202,6 +220,8 @@ Added events
202220
* Typed event ``OCP\DB\Events\AddMissingPrimaryKeyEvent`` to add missing indices to the database schema.
203221
* Typed event ``OCP\Files\Events\NodeAddedToFavorite`` was added
204222
* Typed event ``OCP\Files\Events\NodeRemovedFromFavorite`` was added
223+
* Typed event ``OCP\FilesMetadata\Event\MetadataBackgroundEvent`` was added
224+
* Typed event ``OCP\FilesMetadata\Event\MetadataLiveEvent`` was added
205225
* Typed event ``OCP\Share\Events\BeforeShareCreatedEvent`` was added
206226
* Typed event ``OCP\Share\Events\BeforeShareDeletedEvent`` was added
207227
* Typed event ``OCP\Share\Events\ShareAcceptedEvent`` was added
@@ -280,7 +300,11 @@ Removed events
280300

281301

282302

303+
Removed WebDAV properties
304+
^^^^^^^^^^^^^^^^^^^^^^^^^
283305

306+
* <nc:file-metadata-size>
307+
* <nc:file-metadata-gps>
284308

285309

286310

developer_manual/client_apis/WebDAV/basic.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,6 @@ Supported properties
307307
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
308308
| <nc:lock-token> | The token of the lock. | ``files_lock/0e53dfb6-61b4-46f0-b38e-d9a428292998`` |
309309
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
310-
| <nc:file-metadata-size> | The pixel-size of an image. | ``{&quot;width&quot;:451,&quot;height&quot;:529}`` |
311-
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
312-
| <nc:file-metadata-gps> | The GPS location of a file taken from EXIF data.| ``{&quot;latitude&quot;:52.52093727702034,&quot;longitude&quot;:13.397258069518614}``|
313-
+-------------------------------+-------------------------------------------------+--------------------------------------------------------------------------------------+
314310
315311
Listing folders (rfc4918_)
316312
--------------------------

0 commit comments

Comments
 (0)