feat: Add documentation for app-updated notifications for Nextcloud 29

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen
2024-03-08 00:50:35 +01:00
parent 8a4ea3eb5f
commit ff38720e13
3 changed files with 33 additions and 0 deletions

View File

@ -62,6 +62,25 @@ update all apps.
.. note:: **Beta releases**: You can also install beta releases of apps directly from here by
switching your Nextcloud to the beta channel in the admin overview.
Update notifications
^^^^^^^^^^^^^^^^^^^^
The always installed ``updatenotification`` app allows administrators to be notified on available app and Nextcloud updates.
Moreover, since Nextcloud 29, this app also allows to notify users about updated apps and the changes that are included in the update.
This notification is enabled by default if the app provides a changelog.
To disable user notifications use:
::
occ config:app:set --type boolean --value="false" updatenotification app_updated.enabled
By default guest users, when using the guests app, are not notified, to enable notifications also for them use:
::
occ config:app:set --type boolean --value="true" updatenotification app_updated.notify_guests
Using private API
-----------------

View File

@ -378,3 +378,15 @@ The following elements are either deprecated or for internal use only and will f
* **remote**
* **requiremin**
* **requiremax**
.. _app changelog:
Changelog
---------
Apps can provide a changelog. This should be written in the `keep a changelog <https://keepachangelog.com/>`_.
If the apps provide a ``CHANGELOG.md`` file in the project root, this file will be used to show changes for the released version in the app store and for administrators in the app settings.
Moreover, since Nextcloud 29, if the ``updatenotification`` app is enabled, apps can also provide a changelog for the users.
The app will notify users about after the app update if either a ``CHANGELOG.language.md`` (where ``language`` is the language code of that user) or a fallback ``CHANGELOG.en.md`` is available.

View File

@ -6,6 +6,8 @@ General
-------
* The Circles app will be renamed to Teams. Apps that use the terms Circle/Circles need to get adjusted to use Team/Teams instead. For example ``share to circle`` would become ``share to team``.
* The ``updatenotification`` app now also supports notifications for apps that were updated.
If the updated app provides a ``CHANGELOG.language.md`` or ``CHANGELOG.en.md`` file, it will create notifications for users about these changes. See also the :ref:`app changelog<app changelog>` section.
info.xml
^^^^^^^^