Module tpnote_lib::settings 
source · Expand description
Configuration data that origins from environment variables.
Unlike the configuration data in LIB_CFG which is sourced only once when
Tp-Note is launched, the SETTINGS object may be sourced more often in
order to follow changes in the related environment variables.
Constants
- The name of the environment variable which can be optionally set to overwrite thefilename.extension_defaultconfiguration file setting.
- Name of the environment variable, that can be optionally used to overwrite the user’s default language setting, which is accessible as{{ lang }}template variable and used in various templates.
- Name of the environment variable, that can be optionally used to overwrite the user’stmpl.filter.get_langandtmpl.filter.map_langconfiguration file setting.
- The name of the environment variable which can be optionally set to overwrite thescheme_defaultconfiguration file setting.
- Name of the environment variable, that can be optionally used to overwrite the user’s login name. The result is accessible as{{ username }}template variable and used in various templates.
Functions
- LikeSettings::update, withscheme_source = SchemeSource::Force("default")andforce_lang = None. This is used in doctests only.