- updating jQuery (1.3.2 -> 1.10.2), jQuery UI, jQuery modules
- [text_view_frame.html] Add some JS driven CSS tricks for iPad
- [text_view_frame.html] move throbber's hiding-call in nested text_view_comments iframe onload signal (so it works with jQuery 1.10.2 and the hiding timing is good)
- [text_view_frame.html][base.html] factorize req_yui.html et req_jquery.html
- [main_tabs][text_tabs][f_client-min.js] rewrite jQuery UI Tabs API calls select in active
- [base.css] CSS fix grey frame appearence for all tabs
- hg remove bgiframe -> not loaded in templates anymore
- hg remove header_custom.html -> the file has been empty since 4 years
- hg remove controls.html -> the file has been empty since 4 years
# default cm settings
from django.conf import settings
def get_setting(setting_name, default=None):
return getattr(settings, setting_name, default)
VALID_EMAIL_FOR_PUBLISH = get_setting('VALID_EMAIL_FOR_PUBLISH', True)
CM_EMAIL_SUBJECT_PREFIX = get_setting('CM_EMAIL_SUBJECT_PREFIX', '[comt] ')
SITE_NAME = get_setting('SITE_NAME', 'comt ')
DEFAULT_TIME_ZONE = get_setting('DEFAULT_TIME_ZONE','Europe/Paris')
# button for new text version creation checked by default
NEW_TEXT_VERSION_ON_EDIT = get_setting('NEW_TEXT_VERSION_ON_EDIT', True)
# option to bypass all security checks
NO_SECURITY = get_setting('NO_SECURITY', False)
# should every contributor be registered to notifications automatically
AUTO_CONTRIB_REGISTER = get_setting('AUTO_CONTRIB_REGISTER', False)
# show email in user list
SHOW_EMAILS_IN_ADMIN = get_setting('SHOW_EMAILS_IN_ADMIN', True)
TRACKING_HTML = get_setting('TRACKING_HTML', '')
# Store IP (or not) in activity
STORE_ACTIVITY_IP = get_setting('STORE_ACTIVITY_IP', True)
# Show 'decorated' users in comments (not structural creator id)
DECORATED_CREATORS = get_setting('DECORATED_CREATORS', False)
# Use AbiWord for conversions
USE_ABI = get_setting('USE_ABI', False)