# HG changeset patch # User Goffi # Date 1616260839 -3600 # Node ID ed037818d6de6f89295279e2e9b109822f15550f # Parent 822bd01397699d20c282ad5b433607d5d739d1f6 core (constants): renaming following global project renaming diff -r 822bd0139769 -r ed037818d6de libervia/server/constants.py --- a/libervia/server/constants.py Fri Mar 19 15:47:10 2021 +0100 +++ b/libervia/server/constants.py Sat Mar 20 18:20:39 2021 +0100 @@ -21,9 +21,11 @@ class Const(constants.Const): - APP_NAME = "Libervia" - APP_NAME_FILE = "libervia" - CONFIG_SECTION = APP_NAME.lower() + APP_NAME = "Libervia Web" + APP_COMPONENT = "web" + APP_NAME_ALT = APP_NAME + APP_NAME_FILE = "libervia_web" + CONFIG_SECTION = APP_NAME_FILE.lower() SERVICE_PROFILE = "libervia" # the SàT profile that is used for exporting the service SESSION_TIMEOUT = 7200 # Session's timeout, after that the user will be disconnected diff -r 822bd0139769 -r ed037818d6de libervia/server/server.py --- a/libervia/server/server.py Fri Mar 19 15:47:10 2021 +0100 +++ b/libervia/server/server.py Sat Mar 20 18:20:39 2021 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Libervia: a Salut à Toi frontend +# Libervia Web # Copyright (C) 2011-2021 Jérôme Poisson # This program is free software: you can redistribute it and/or modify @@ -1047,7 +1047,7 @@ ) async def backendReady(self): - log.info(f"Libervia v{self.full_version}") + log.info(f"Libervia Web v{self.full_version}") # settings if self.options['dev-mode']: diff -r 822bd0139769 -r ed037818d6de twisted/plugins/libervia_server.py --- a/twisted/plugins/libervia_server.py Fri Mar 19 15:47:10 2021 +0100 +++ b/twisted/plugins/libervia_server.py Sat Mar 20 18:20:39 2021 +0100 @@ -1,8 +1,7 @@ #!/usr/bin/env python3 - -# Libervia: a Salut à Toi frontend -# Copyright (C) 2013-2018 Jérôme Poisson +# Libervia Web: Libervia web frontend +# Copyright (C) 2013-2021 Jérôme Poisson # Copyright (C) 2013-2016 Adrien Cossa # Copyright (C) 2013 Emmanuel Gil Peyrot @@ -224,7 +223,7 @@ class LiberviaMaker(object): tapname = C.APP_NAME_FILE - description = _("The web frontend of Salut à Toi") + description = _("The web frontend of Libervia") options = Options def makeService(self, options):