From bc2d9edbf29da2063a6d7d14a200d7828d8bfc13 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Fri, 31 Jan 2025 13:30:41 -0500 Subject: [PATCH] feat: update new apis for file conversion Signed-off-by: Elizabeth Danzberger --- admin_manual/configuration_files/file_conversion.rst | 7 +++++++ admin_manual/configuration_files/index.rst | 1 + .../app_upgrade_guide/upgrade_to_31.rst | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 admin_manual/configuration_files/file_conversion.rst diff --git a/admin_manual/configuration_files/file_conversion.rst b/admin_manual/configuration_files/file_conversion.rst new file mode 100644 index 000000000..c426a282c --- /dev/null +++ b/admin_manual/configuration_files/file_conversion.rst @@ -0,0 +1,7 @@ +=============== +File conversion +=============== + +In the majority of cases, it is recommended that either the Pandoc or :doc:`Nextcloud Office <../office/installation>` apps +are enabled, as they provide the majority of file conversions available. Other apps may also +support their own file conversions for other file types if more specific conversions are required. diff --git a/admin_manual/configuration_files/index.rst b/admin_manual/configuration_files/index.rst index ed3be1ddc..f21f79392 100644 --- a/admin_manual/configuration_files/index.rst +++ b/admin_manual/configuration_files/index.rst @@ -20,3 +20,4 @@ File sharing and management previews_configuration file_versioning trashbin_configuration + file_conversion diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst index e23ca853c..95bc950a2 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_31.rst @@ -55,7 +55,8 @@ to check whether the current Files app instance is a public share or not, and if Added APIs ^^^^^^^^^^ -- TBD +- If an app supports file conversion, it may now register an ``\OCP\Files\Conversion\ConversionProvider`` which will + be called automatically based on the supported MIME types. An app may register as many of these as needed. Changed APIs ^^^^^^^^^^^^