Beispiel #1
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'DASHBOARD_NUM_ITEMS': 7,
})
Beispiel #2
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'MAX_LIST_ENTRIES': 100,
    'MAX_LIST_REFERRALS': 50,
    'TEMPLATE_CONFIG': {
        'MAX_LABEL_STRING': 45,
    },
    'MAX_HISTORY_COUNT': 10,
    'MAX_QUERY_SIZE': 512,
    'EMPTY_SEARCH_CHARACTER': '\\',
    'EMPTY_SEARCH_CHARACTER_CODE': chr(165),
    'AND_SEARCH_CHARACTER': '&',
    'OR_SEARCH_CHARACTER': '|',
    'ESCAPE_CHARACTERS': ['(', ')', '<', '"', '{', '[', '#', '~', '@', '+', '*', '.', '?'],
    'ESCAPE_CHARACTERS_REFERRALS_ENTRY': ['$', '(', '^', '|', '[', '+', '*', '.', '?'],
    'ESCAPE_CHARACTERS_ENTRY_LIST': ['$', '(', '^', '\\', '|', '[', '+', '*', '.', '?'],
})
Beispiel #3
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'MAX_LIST_VIEW': 50,
    'MAX_LIST_NAV': 10,
    'RECENT_SECONDS': 3600,
    'RESCHEDULING_DELAY_SECONDS': 1,
})
Beispiel #4
0
from airone.lib.settings import Settings

CONFIG = Settings({
    "DASHBOARD_NUM_ITEMS": 7,
    "MAX_LIST_ENTITIES": 30,
})
Beispiel #5
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'DASHBOARD_NUM_ITEMS': 7,
    'MAX_LIST_ENTITIES': 30,
})
Beispiel #6
0
from airone.lib.settings import Settings

CONFIG = Settings({
    "MAX_LIST_VIEW": 50,
    "MAX_LIST_NAV": 10,
    "RECENT_SECONDS": 3600,
    "RESCHEDULING_DELAY_SECONDS": 1,
})
Beispiel #7
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'MAX_LIST_VIEW': 50,
    'MAX_LIST_NAV': 10,
    'RECENT_SECONDS': 3600,
})
Beispiel #8
0
CONFIG = Settings({
    'MAX_LIST_ENTRIES':
    100,
    'MAX_LIST_REFERRALS':
    50,
    'TEMPLATE_CONFIG': {
        'MAX_LABEL_STRING': 45,
    },
    'MAX_HISTORY_COUNT':
    10,
    'MAX_QUERY_SIZE':
    249,  # '.*' + '[aA]'*249 + '.*' = 1000
    'EMPTY_SEARCH_CHARACTER':
    '\\',
    'EMPTY_SEARCH_CHARACTER_CODE':
    chr(165),
    'AND_SEARCH_CHARACTER':
    '&',
    'OR_SEARCH_CHARACTER':
    '|',
    'ESCAPE_CHARACTERS':
    ['(', ')', '<', '"', '{', '[', '#', '~', '@', '+', '*', '.', '?'],
    'ESCAPE_CHARACTERS_REFERRALS_ENTRY':
    ['$', '(', '^', '|', '[', '+', '*', '.', '?', '\\'],
    'ESCAPE_CHARACTERS_ENTRY_LIST':
    ['$', '(', '^', '\\', '|', '[', '+', '*', '.', '?'],
    'TIME_FORMAT':
    '%Y-%m-%dT%H:%M:%S',
})
Beispiel #9
0
from airone.lib.settings import Settings

CONFIG = Settings({
    "LAST_ENTRY_HISTORY": 8,
    "LIMIT_FILE_SIZE": 10485760,
    "MAXIMUM_SEARCH_RESULTS": 100,
    "MAX_QUERY_SIZE": 64,
})
Beispiel #10
0
from airone.lib.settings import Settings

CONFIG = Settings({
    "MAX_LIST_ROLE": 20,
})
Beispiel #11
0
CONFIG = Settings({
    "MAX_LIST_ENTRIES":
    100,
    "MAX_LIST_REFERRALS":
    50,
    "MAX_SEARCH_ENTRIES":
    20,
    "TEMPLATE_CONFIG": {
        "MAX_LABEL_STRING": 45,
    },
    "MAX_HISTORY_COUNT":
    10,
    "MAX_QUERY_SIZE":
    249,  # '.*' + '[aA]'*249 + '.*' = 1000
    "EMPTY_SEARCH_CHARACTER":
    "\\",
    "EMPTY_SEARCH_CHARACTER_CODE":
    chr(165),
    "AND_SEARCH_CHARACTER":
    "&",
    "OR_SEARCH_CHARACTER":
    "|",
    "ESCAPE_CHARACTERS": [
        "(",
        ")",
        "<",
        '"',
        "{",
        "[",
        "#",
        "~",
        "@",
        "+",
        "*",
        ".",
        "?",
    ],
    "ESCAPE_CHARACTERS_REFERRALS_ENTRY": [
        "$",
        "(",
        "^",
        "|",
        "[",
        "+",
        "*",
        ".",
        "?",
        "\\",
    ],
    "ESCAPE_CHARACTERS_ENTRY_LIST": [
        "$",
        "(",
        "^",
        "\\",
        "|",
        "[",
        "+",
        "*",
        ".",
        "?",
    ],
    "TIME_FORMAT":
    "%Y-%m-%dT%H:%M:%S",
})
Beispiel #12
0
from airone.lib.settings import Settings

CONFIG = Settings({
    'LAST_ENTRY_HISTORY': 8,
    'LIMIT_FILE_SIZE': 10485760,
    'MAXIMUM_SEARCH_RESULTS': 100,
    'MAX_QUERY_SIZE': 64,
})