# -*- coding: utf-8 -*- SECRET_KEY = "4m!e0kb5yabjx50h@)wg^96wt$m^9d(=%zs_y%c@vwtn#vz6ob" TIME_ZONE = 'America/Chicago' # Seafile URLs FILE_SERVER_ROOT = 'https://fileserver.rishighan.com/seafhttp' CSRF_TRUSTED_ORIGINS = ['https://fileserver.rishighan.com'] SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # SeaDoc DOC_PREVIEW_SERVER = 'https://fileserver.rishighan.com/sdoc-server' # Notifications NOTIFICATION_SERVER_URL = 'https://notification.rishighan.com' ENABLE_NOTIFICATIONS = True # Metadata Server (Extended Properties) ENABLE_METADATA_MANAGEMENT = True METADATA_SERVER_URL = 'http://seafile-md-server:8084' # OnlyOffice ENABLE_ONLYOFFICE = True VERIFY_ONLYOFFICE_CERTIFICATE = True ONLYOFFICE_APIJS_URL = 'https://office.rishighan.com/web-apps/apps/api/documents/api.js' ONLYOFFICE_JWT_SECRET = 'secret123' ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods', 'csv') ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx') ONLYOFFICE_FORCE_SAVE = True OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024