# Application version APP_VERSION = '1.3.1'.freeze TAG_COLORS = [ "#6C159E", "#159B5E", "#FF4500", "#008B8B", "#757575", "#32CD32", "#FFD700", "#48D1CC", "#15369E", "#FF69B4", "#CD5C5C", "#C9C9C9", "#6495ED", "#DC143C", "#FF8C00", "#C71585", "#000000" ] # Min/max characters for short text fields NAME_MIN_LENGTH = 2 NAME_MAX_LENGTH = 255 # Max characters for long text fields TEXT_MAX_LENGTH = 10000 # Max characters for color field (given in HEX format) COLOR_MAX_LENGTH = 7 USER_INITIALS_MAX_LENGTH = 4 # Standard length limit for email EMAIL_MAX_LENGTH = 254 # Max table JSON size in MB TABLE_JSON_MAX_SIZE = 20 # Max uploaded file size in MB FILE_MAX_SIZE = 50 # Max uploaded user avatar size in MB AVATAR_MAX_SIZE = 0.2 # Max characters for text in dropdown list DROPDOWN_TEXT_MAX_LENGTH = 15 # Dropdown top offset from the parent DROPDOWN_TOP_OFFSET = 20 SEARCH_LIMIT = 20 EXISTING_USERS_SEARCH_LIMIT = 5 SHOW_ALL_RESULTS = -1 QUERY_MIN_LENGTH = 2 TEXT_EXTRACT_FILE_TYPES = [ "application/pdf", "application/rtf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/vnd.oasis.opendocument.presentation", "application/vnd.oasis.opendocument.spreadsheet", "application/vnd.oasis.opendocument.text", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/vnd.ms-word", "text/plain" ] # 1 MB of space is minimal for organizations (in B) MINIMAL_ORGANIZATION_SPACE_TAKEN = 1.megabyte # additional space of each file is added to its estimated # size to account for DB indexes size etc. ASSET_ESTIMATED_SIZE_FACTOR = 1.1 DEFAULT_PRIVATE_ORG_NAME = "My projects" # External URLs HTTP = 'http://'.freeze TUTORIALS_URL = (HTTP + 'scinote.net/product/tutorials/').freeze FAQ_URL = (HTTP + 'scinote.net/product/faq/').freeze SUPPORT_URL = (HTTP + 'scinote.net/plans/#prof-support').freeze PLANS_URL = (HTTP + 'scinote.net/plans/').freeze CONTACT_URL = (HTTP + 'scinote.net/about-us/').freeze RELEASE_NOTES_URL = (HTTP + 'scinote.net/docs/release-notes/').freeze # ) \ / ( # /|\ )\_/( /|\ # * / | \ (/\|/\) / | \ * # |`.____________________/__|__o____\`|'/___o__|__\___________________.'| # | '^` \|/ '^` | # | V | # | _____ _ _ __ | # | |_ _| |__ __ _ _ __ | | __ _ _ ___ _ _ ( | | # | | | | '_ \ / _` | '_ \| |/ / | | | |/ _ \| | | | | ) | # | | | | | | | (_| | | | | < | |_| | ( | | |_| | \_/ | # | |_| |_| |_|\__,_|_| |_|_|\_\ \__, |\___/ \_,|_| _ | # | |___/ (_) | # | | # | Special Thank You for supporting sciNote on Kicstarter goes | # | to the following supporters | # | ._________________________________________________________________. | # |' l /\ / \\ \ /\ l `| # * l / V )) V \ l * # l/ // \I KICKSTARTER_SUPPORTERS = [ "Manuela Lanzafame", "Fluckiger Rudolf", "Emily Gleason", "Benjamin E Doremus", "Chord Pet Wearable", "Chris Taylor", "Abraham White", "Ryotaro Eguchi", "Simon Waldherr", "Isaac Sandaljian", "Markus Rademacher" ]