Mercurial > libervia-backend
diff sat/memory/params.py @ 3120:0c29155ac68b
core: backend autoconnection:
A new Connection/autoconnect_backend param can be set for a profile or component to be
started automatically with backend. This is specially useful for components, but can be
useful for client profile too (e.g. on Android we need to start profile with backend to
get notifications, this part will come with following commits).
The new Sqlite.getIndParamValues method allows to retrieve the same parameters for all
profiles.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 25 Jan 2020 21:08:32 +0100 |
parents | eec0c25c796b |
children | 130f9cb6e0ab |
line wrap: on
line diff
--- a/sat/memory/params.py Sat Jan 25 21:08:29 2020 +0100 +++ b/sat/memory/params.py Sat Jan 25 21:08:32 2020 +0100 @@ -74,6 +74,7 @@ <param name="Priority" value="50" type="int" constraint="-128;127" security="10" /> <param name="%(force_server_param)s" value="" type="string" security="50" /> <param name="%(force_port_param)s" value="" type="int" constraint="1;65535" security="50" /> + <param name="autoconnect_backend" label="%(autoconnect_backend_label)s" value="false" type="bool" security="50" /> <param name="autoconnect" label="%(autoconnect_label)s" value="true" type="bool" security="50" /> <param name="autodisconnect" label="%(autodisconnect_label)s" value="false" type="bool" security="50" /> <param name="check_certificate" label="%(check_certificate_label)s" value="true" type="bool" security="4" /> @@ -92,6 +93,7 @@ "force_server_param": C.FORCE_SERVER_PARAM, "force_port_param": C.FORCE_PORT_PARAM, "new_account_label": D_("Register new account"), + "autoconnect_backend_label": D_("Connect on backend startup"), "autoconnect_label": D_("Connect on frontend startup"), "autodisconnect_label": D_("Disconnect on frontend closure"), "check_certificate_label": D_("Check certificate (don't uncheck if unsure)"),