2014-09-26 19:21:09 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
from orchestra.settings import BASE_DOMAIN
|
|
|
|
|
2014-09-26 19:21:09 +00:00
|
|
|
|
|
|
|
SAAS_ENABLED_SERVICES = getattr(settings, 'SAAS_ENABLED_SERVICES', (
|
2014-10-10 17:17:20 +00:00
|
|
|
'orchestra.apps.saas.services.moodle.MoodleService',
|
2014-09-26 19:21:09 +00:00
|
|
|
'orchestra.apps.saas.services.bscw.BSCWService',
|
|
|
|
'orchestra.apps.saas.services.gitlab.GitLabService',
|
2014-09-28 12:28:57 +00:00
|
|
|
'orchestra.apps.saas.services.phplist.PHPListService',
|
2015-03-23 15:36:51 +00:00
|
|
|
'orchestra.apps.saas.services.wordpress.WordPressService',
|
|
|
|
'orchestra.apps.saas.services.dokuwiki.DokuWikiService',
|
|
|
|
'orchestra.apps.saas.services.drupal.DrupalService',
|
2015-03-26 16:00:30 +00:00
|
|
|
'orchestra.apps.saas.services.seafile.SeaFileService',
|
2014-09-26 19:21:09 +00:00
|
|
|
))
|
2015-03-23 15:36:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
SAAS_WORDPRESS_ADMIN_PASSWORD = getattr(settings, 'SAAS_WORDPRESSMU_ADMIN_PASSWORD',
|
|
|
|
'secret'
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-23 15:36:51 +00:00
|
|
|
SAAS_WORDPRESS_BASE_URL = getattr(settings, 'SAAS_WORDPRESS_BASE_URL',
|
2015-03-31 12:39:08 +00:00
|
|
|
'http://blogs.{}/'.format(BASE_DOMAIN)
|
2015-03-23 15:36:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
SAAS_DOKUWIKI_TEMPLATE_PATH = getattr(settings, 'SAAS_DOKUWIKI_TEMPLATE_PATH',
|
2015-03-31 12:39:08 +00:00
|
|
|
'/home/httpd/htdocs/wikifarm/template.tar.gz'
|
|
|
|
)
|
|
|
|
|
2015-03-23 15:36:51 +00:00
|
|
|
|
|
|
|
SAAS_DOKUWIKI_FARM_PATH = getattr(settings, 'WEBSITES_DOKUWIKI_FARM_PATH',
|
|
|
|
'/home/httpd/htdocs/wikifarm/farm'
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-23 15:36:51 +00:00
|
|
|
SAAS_DRUPAL_SITES_PATH = getattr(settings, 'WEBSITES_DRUPAL_SITES_PATH',
|
|
|
|
'/home/httpd/htdocs/drupal-mu/sites/%(site_name)s'
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
SAAS_PHPLIST_DB_NAME = getattr(settings, 'SAAS_PHPLIST_DB_NAME',
|
|
|
|
'phplist_mu'
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-23 15:36:51 +00:00
|
|
|
SAAS_PHPLIST_BASE_DOMAIN = getattr(settings, 'SAAS_PHPLIST_BASE_DOMAIN',
|
2015-03-31 12:39:08 +00:00
|
|
|
'lists.{}'.format(BASE_DOMAIN)
|
2015-03-23 15:36:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2015-03-26 16:00:30 +00:00
|
|
|
SAAS_SEAFILE_DOMAIN = getattr(settings, 'SAAS_SEAFILE_DOMAIN',
|
2015-03-31 12:39:08 +00:00
|
|
|
'seafile.{}'.format(BASE_DOMAIN)
|
2015-03-26 16:00:30 +00:00
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-26 16:00:30 +00:00
|
|
|
SAAS_SEAFILE_DEFAULT_QUOTA = getattr(settings, 'SAAS_SEAFILE_DEFAULT_QUOTA',
|
|
|
|
50
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-23 15:36:51 +00:00
|
|
|
SAAS_BSCW_DOMAIN = getattr(settings, 'SAAS_BSCW_DOMAIN',
|
2015-03-31 12:39:08 +00:00
|
|
|
'bscw.{}'.format(BASE_DOMAIN)
|
2015-03-23 15:36:51 +00:00
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-25 15:45:04 +00:00
|
|
|
SAAS_BSCW_DEFAULT_QUOTA = getattr(settings, 'SAAS_BSCW_DEFAULT_QUOTA',
|
|
|
|
50
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
SAAS_BSCW_BSADMIN_PATH = getattr(settings, 'SAAS_BSCW_BSADMIN_PATH',
|
|
|
|
'/home/httpd/bscw/bin/bsadmin',
|
|
|
|
)
|
2015-03-25 15:45:04 +00:00
|
|
|
|
2015-03-26 16:00:30 +00:00
|
|
|
|
2015-03-25 15:45:04 +00:00
|
|
|
SAAS_GITLAB_ROOT_PASSWORD = getattr(settings, 'SAAS_GITLAB_ROOT_PASSWORD',
|
|
|
|
'secret'
|
|
|
|
)
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2015-03-25 15:45:04 +00:00
|
|
|
SAAS_GITLAB_DOMAIN = getattr(settings, 'SAAS_GITLAB_DOMAIN',
|
2015-03-31 12:39:08 +00:00
|
|
|
'gitlab.{}'.format(BASE_DOMAIN)
|
2015-03-25 15:45:04 +00:00
|
|
|
)
|
|
|
|
|