scinote-web/config/initializers/constants.rb
2016-07-21 13:11:15 +02:00

86 lines
No EOL
2.7 KiB
Ruby

# Application version
APP_VERSION = "1.1.0"
TAG_COLORS = [
"#6C159E",
"#159B5E",
"#FF4500",
"#008B8B",
"#757575",
"#32CD32",
"#FFD700",
"#48D1CC",
"#15369E",
"#FF69B4",
"#CD5C5C",
"#C9C9C9",
"#6495ED",
"#DC143C",
"#FF8C00",
"#C71585",
"#000000"
]
# Maximum uploaded file size in MB
FILE_SIZE_LIMIT = 50
SEARCH_LIMIT = 20
SHOW_ALL_RESULTS = -1
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
MINIMAL_ORGANIZATION_SPACE_TAKEN = 1024*1024
# 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"
# ) \ / (
# /|\ )\_/( /|\
# * / | \ (/\|/\) / | \ *
# |`.____________________/__|__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"
]