Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/src/core/constants.py Fri Oct 03 12:43:59 2014 +0200 +++ b/src/core/constants.py Wed Sep 24 13:49:43 2014 +0200 @@ -44,6 +44,8 @@ NO_SECURITY_LIMIT = -1 INDIVIDUAL = "individual" GENERAL = "general" + # General parameters + HISTORY_LIMIT = "History" # Parameters related to connection FORCE_SERVER_PARAM = "Force server" FORCE_PORT_PARAM = "Force port" @@ -169,6 +171,11 @@ BOOL_FALSE = "false" + ## Special values used in bridge methods calls ## + HISTORY_LIMIT_DEFAULT = -1 + HISTORY_LIMIT_NONE = -2 + + ## Misc ## SAVEFILE_DATABASE = APP_NAME_FILE + ".db" IQ_SET = '/iq[@type="set"]'