# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
-MEDIA_URL = '/media/'
+MEDIA_URL = 'http://192.168.1.65:8040/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
'notes',
'timezones',
'jqchat',
- 'googletools',
+# 'googletools',
'telecaster',
)
"django.core.context_processors.i18n",
"django.core.context_processors.media",
'django.core.context_processors.static',
+ 'teleforma.context_processors.periods',
+ 'telecaster.context_processors.host',
)
TELEMETA_ORGANIZATION = 'Pre-Barreau'
LOGIN_REDIRECT_URL = reverse_lazy('teleforma-desk')
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
-EMAIL_HOST = 'smtp.numericable.fr'
+EMAIL_HOST = 'smtp.free.fr'
DEFAULT_FROM_EMAIL = 'webmaster@parisson.com'
SERVER_EMAIL = 'webmaster@parisson.com'
EMAIL_SUBJECT_PREFIX = '[' + TELEMETA_ORGANIZATION.decode('utf8') + '] '
POSTMAN_AUTO_MODERATE_AS = True
-TELECASTER_CONF = [{'type':'mp3','server_type':'icecast','conf':'/etc/telecaster/deefuzzer_mp3.xml', 'port':'8000'},
- {'type':'webm','server_type':'stream-m','conf':'/etc/telecaster/deefuzzer_webm.xml', 'port':'8080'}, ]
+TELECASTER_MASTER_SERVER = 'teleforma.parisson.com'
+TELECASTER_RSYNC_SERVER = 'telecaster@jimi.parisson.com:archives/'
+TELECASTER_RSYNC_LOG = '/var/log/telecaster/rsync.log'
+TELECASTER_CONF = [{'type':'mp3','server_type':'icecast',
+ 'conf':'/etc/telecaster/deefuzzer/telecaster_mp3_default.xml',
+ 'port':'8000'},
+ {'type':'webm','server_type':'stream-m',
+ 'conf':'/etc/telecaster/deefuzzer/telecaster_webm_default.xml',
+ 'port':'8080'}, ]
+
+TELEFORMA_E_LEARNING_TYPE = 'CRFPA'
+TELEFORMA_GLOBAL_TWEETER = False
+TELEFORMA_PERIOD_TWEETER = True
+
+ROUTER_IP = '81.57.221.26'
-TELECASTER_RSYNC_SERVER = 'telecaster@192.168.0.31:archives/'
-TELECASTER_RSYNC_LOG = '/home/telecaster/logs/rsync.log'