mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 07:01:12 +00:00
Some modifications.
* Remove avatar cache * Handle empty repo open issue * Add SEAHUB_TITLE in settings.py
This commit is contained in:
@@ -88,7 +88,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
|
||||
'django.core.context_processors.media',
|
||||
'djblets.util.context_processors.siteRoot',
|
||||
'django.core.context_processors.request',
|
||||
'seahub.base.context_processors.version',
|
||||
'seahub.base.context_processors.base',
|
||||
)
|
||||
|
||||
|
||||
@@ -129,6 +129,8 @@ CCNET_APPLET_ROOT = "http://localhost:8081"
|
||||
|
||||
SEAFILE_VERSION = '0.9.2'
|
||||
|
||||
SEAHUB_TITLE = 'SeaHub'
|
||||
|
||||
# Add supported file extensions and file icon name.
|
||||
# Icons will show in repo page.
|
||||
FILEEXT_ICON_MAP = {
|
||||
@@ -179,6 +181,7 @@ AVATAR_GRAVATAR_BACKUP = False
|
||||
AVATAR_DEFAULT_URL = '/avatars/default.png'
|
||||
AUTO_GENERATE_AVATAR_SIZES = (80, 16)
|
||||
AVATAR_MAX_AVATARS_PER_USER = 1
|
||||
AVATAR_CACHE_TIMEOUT = 0
|
||||
|
||||
LOGIN_URL = SITE_ROOT + 'accounts/login'
|
||||
|
||||
|
Reference in New Issue
Block a user