comparison src/core/constants.py @ 1222:e6e0ea4dc835

memory: add Parameter "Chat history limit"
author souliane <souliane@mailoo.org>
date Wed, 24 Sep 2014 13:49:43 +0200
parents 9355f48f979e
children 4da2e4d58bd0
comparison
equal deleted inserted replaced
1221:5e5661ab5c81 1222:e6e0ea4dc835
42 42
43 ## Parameters ## 43 ## Parameters ##
44 NO_SECURITY_LIMIT = -1 44 NO_SECURITY_LIMIT = -1
45 INDIVIDUAL = "individual" 45 INDIVIDUAL = "individual"
46 GENERAL = "general" 46 GENERAL = "general"
47 # General parameters
48 HISTORY_LIMIT = "History"
47 # Parameters related to connection 49 # Parameters related to connection
48 FORCE_SERVER_PARAM = "Force server" 50 FORCE_SERVER_PARAM = "Force server"
49 FORCE_PORT_PARAM = "Force port" 51 FORCE_PORT_PARAM = "Force port"
50 # Parameters related to encryption 52 # Parameters related to encryption
51 PROFILE_PASS_PATH = ('General', 'Password') 53 PROFILE_PASS_PATH = ('General', 'Password')
167 ## Text values ## 169 ## Text values ##
168 BOOL_TRUE = "true" 170 BOOL_TRUE = "true"
169 BOOL_FALSE = "false" 171 BOOL_FALSE = "false"
170 172
171 173
174 ## Special values used in bridge methods calls ##
175 HISTORY_LIMIT_DEFAULT = -1
176 HISTORY_LIMIT_NONE = -2
177
178
172 ## Misc ## 179 ## Misc ##
173 SAVEFILE_DATABASE = APP_NAME_FILE + ".db" 180 SAVEFILE_DATABASE = APP_NAME_FILE + ".db"
174 IQ_SET = '/iq[@type="set"]' 181 IQ_SET = '/iq[@type="set"]'
175 ENV_PREFIX = 'SAT_' # Prefix used for environment variables 182 ENV_PREFIX = 'SAT_' # Prefix used for environment variables
176 183