Commit Graph

53 Commits

Author SHA1 Message Date
Frédéric Péters 26cca31caf only deploy site template when creating the site (#5327) 2014-08-25 17:34:48 +02:00
Jérôme Schneider 167bf19cbb add MANIFEST.in which include default-settings.ini 2014-06-23 19:17:38 +02:00
Jérôme Schneider 4bb1a039d4 settings.py: replace univnautes-idp by wcsinstd 2014-06-19 15:52:13 +02:00
Jérôme Schneider 5e4acd4d1b wcsinst: add default settings
Refs #4956
2014-06-19 15:46:03 +02:00
Jérôme Schneider 3d53199c26 wcsinst: rewrite settings to support an ini file
Refs #4956
2014-06-19 15:42:36 +02:00
Benjamin Dauvergne 9994d72b02 setup.py,requirements.txt: do not use dependency links to load django-jsonresponse 2014-01-08 01:48:12 +01:00
Jérôme Schneider f1c2880c31 deploy: force umask to 0022 2013-11-21 18:00:04 +01:00
Jérôme Schneider 9c535b7191 deploy: every mkdir use mode 0755 2013-11-21 17:42:48 +01:00
Benjamin Dauvergne b961324874 use plain json serialization format so that Django can log exceptions 2013-11-21 16:53:55 +01:00
Jérôme Schneider 0cd7df4bbf wcsinstd: create directory in 0755 and not 0777 2013-11-21 15:48:05 +01:00
Benjamin Dauvergne f3093ed1ff make deployments synchronous 2013-11-21 15:39:46 +01:00
Benjamin Dauvergne 911c261d73 jenkins.sh: do not ignore errors 2013-11-20 15:17:05 +01:00
Benjamin Dauvergne dcf4e57744 wcsinstd: change idp metadata file name to conform to what wcs does 2013-11-20 14:44:39 +01:00
Benjamin Dauvergne 50d024d93b admin: notify wcsintd in the Admin.save_related() method 2013-11-06 14:51:03 +01:00
Benjamin Dauvergne c865b36734 admin: saml2_use_role and saml2_role_prefix are deprecated 2013-11-05 12:12:39 +01:00
Benjamin Dauvergne 38f397e54b admin: make the domain field read-only after creation
fixes #3937
2013-11-05 10:53:48 +01:00
Frédéric Péters 48cf5b373b record that idp manage attributes 2013-11-05 09:57:50 +01:00
Benjamin Dauvergne 4b21e65ea6 deploy: use str.format instead of string.Template
fixes #3928
2013-11-04 11:46:47 +01:00
Benjamin Dauvergne 6d9b70dc84 models: factorize the WcsInstance notification code in a method 2013-10-31 14:48:19 +01:00
Benjamin Dauvergne a03acebb69 models: add unicity constraint on title and domain
fixes #3926
2013-10-31 14:47:08 +01:00
Benjamin Dauvergne bbce359c4f deploy: encode title and domain as utf-8 when receiving them from the view 2013-10-29 11:40:08 +01:00
Jérôme Schneider 2a359c335a settings: missing quote 2013-10-28 16:39:27 +01:00
Frédéric Péters b46b8eb195 call convert-to-sql with correct dirname 2013-10-28 16:34:32 +01:00
Jérôme Schneider 894d463d5c settings: use environment variables for ADMIN, SENTRY_DSN and DEBUG 2013-10-28 16:18:59 +01:00
Benjamin Dauvergne 6afdbeea55 wcsinstd/deploy: encode title to utf-8 before using it 2013-10-28 00:52:16 +01:00
Benjamin Dauvergne f50fa2c082 wcsinstd/deploy: preconfigure wcs_cfg.idp.admin-attributes
It is set to {'role': <title>::Admin}
2013-10-26 09:20:04 +02:00
Benjamin Dauvergne ebf64b060e deploy: do not try to open directories 2013-09-21 01:40:03 +02:00
Benjamin Dauvergne 21eae031e4 settings: remove unused STATICFILES_DIR 2013-09-20 23:55:55 +02:00
Benjamin Dauvergne 3b3334a4cf add a jenkins script 2013-09-18 16:31:25 +02:00
Benjamin Dauvergne 66e3d79fcd wcsinstd: pass the received site_options_cfg record to the site-options.cfg template file
refs #3193
2013-09-02 10:44:36 +02:00
Benjamin Dauvergne f0b68e3d05 wcsinst: add fields describing the site-options.cfg file
refs #3193
2013-09-02 10:44:24 +02:00
Benjamin Dauvergne b013620f6e initialize south migrations 2013-09-02 10:44:21 +02:00
Benjamin Dauvergne 12576e17de add .gitignore 2013-09-02 10:44:21 +02:00
Frédéric Péters fe3806c9f7 wcsinstd: make sure wcs do not get unicode strings 2013-06-12 23:12:31 +02:00
Frédéric Péters f6f676d5b2 wcsinst: set a max length for domain 2013-06-12 22:52:31 +02:00
Frédéric Péters dff306533c wcsinst: change domain not to be a slug, it needs to hold complete hostnames 2013-06-12 22:48:42 +02:00
Frédéric Péters 3cba1c06da wcsinstd: fix passing of the database name to wcsctl 2013-06-12 22:42:37 +02:00
Frédéric Péters b8b9b18faf wcsinst: fix wcsctl call 2013-06-12 22:36:38 +02:00
Frédéric Péters 5f24119802 wcsinstd: do not fail if creating the database fails (maybe it exists already) 2013-06-12 22:31:12 +02:00
Frédéric Péters a8eed2cfbc wcsinstd: add settings for wcsctl script location 2013-06-12 22:28:15 +02:00
Frédéric Péters a3e9f63e34 wcsinstd: do not run "CREATE DATABASE" in a transaction 2013-06-12 22:25:03 +02:00
Frédéric Péters 833ba5e237 wcsinstd: do not pass empty parameters to psycopg2 connect 2013-06-12 22:18:17 +02:00
Frédéric Péters 59a6ccac5e wcsinstd: add missing psycopg2 import 2013-06-12 22:16:50 +02:00
Frédéric Péters 30cd412853 wcsinstd: fix table name 2013-06-12 22:16:00 +02:00
Frédéric Péters 8a3f16cdef wcsinstd: configure sql access 2013-06-12 17:06:52 +02:00
Frédéric Péters 6b376cfffb wcsinstd: do not fail on missing config.pck 2013-06-12 16:50:45 +02:00
Frédéric Péters 0d0991a3b1 doc: add a README file 2013-06-12 14:22:17 +02:00
Frédéric Péters 585100d2cc wcsinstd: generate apache vhost configuration file 2013-06-12 14:21:46 +02:00
Frédéric Péters d24a398daa wcsinstd: allow dots in domain names 2013-06-12 14:20:59 +02:00
Frédéric Péters 509cf1e315 wcsinstd: use os.system to reload apache 2013-06-12 14:06:57 +02:00