From 8285f1df43ce19bbd533c70c3fd1487908883725 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Mon, 1 Feb 2021 18:03:09 -0500 Subject: Add comprehensive user configuration in extensions (#3397) Before, the extension configuration was handled by its author. There was discrepancies between extensions on how the configuration was stored. Now, we could rely on a single way of storing configuration. This won't invalidate how the extensions are storing their configuration but will allow authors to focus on what is important. --- docs/en/developers/03_Backend/05_Extensions.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/en/developers') diff --git a/docs/en/developers/03_Backend/05_Extensions.md b/docs/en/developers/03_Backend/05_Extensions.md index ba3f10e4f..62eaa5410 100644 --- a/docs/en/developers/03_Backend/05_Extensions.md +++ b/docs/en/developers/03_Backend/05_Extensions.md @@ -300,6 +300,9 @@ The `Minz_Extension` abstract class defines another set of methods that should n * the `registerViews` method registers the extension views in FreshRSS. * the `registerTranslates` method registers the extension translation files in FreshRSS. * the `registerHook` method registers hook actions in different part of the application. +* the `getUserConfiguration` method retrieves the extension configuration for the current user. +* the `setUserConfiguration` method stores the extension configuration for the current user. +* the `removeUserConfiguration` method removes the extension configuration for the current user. > Note that if you modify the later set of methods, you might break the extension system. Thus making FreshRSS unusable. So it's highly recommended to let those unmodified. -- cgit v1.2.3