Commit Graph

461 Commits

Author SHA1 Message Date
Benjamin Dauvergne 10c4738d95 Fix typo in the wsgi script path 2014-09-19 16:32:31 +02:00
Benjamin Dauvergne 0d81c581a5 Add /etc/default to portail-citoyen2.dirs 2014-09-19 16:27:08 +02:00
Benjamin Dauvergne b8b518b565 Fix path to install /etc/default/portail-citoyen2 2014-09-19 16:23:52 +02:00
Benjamin Dauvergne 6bf6880d85 Allow overriding gunicorn bind 2014-09-19 16:13:04 +02:00
Benjamin Dauvergne 9fc7ab9e0e Make portail-citoyen-manage use init.d to call the manager script 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 10576a8545 In the manage action make sudo conserve the environment 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 7a458899b6 Make hobo owner of the $TENANT_DIR/media directory 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne c3166ec9be Do collectstatic and apply migrations on reload 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne c1f7792342 Use self manage action to call Django create_schema command 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 6b63c89fea Show that reload action is supported 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne eef27043ed Get tenant's schema name using get_tenant_by_domain 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne dca8767b37 Rename action create-schema as create-tenant 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e41955d4b8 Add comment about legacy status of using /etc/portail_citoyen/portail_citoyen2.conf 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e9161a042d When reloading do collectstatic and apply migrations between stop and start 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 825c30d55c Reformat and use variables to uniformize with passerelle init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 6e8123b5e1 In init.d file set name of gunicorn process using setproctitle 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 9a547f9702 Add support for multi-tenant to init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e9d72552db Add manage action to init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 0ba8023950 In init.d copy NAME to USER and GROUP 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 9f78110e26 Rename PID_DIR to RUN_DIR to uniformize with other packages 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne 91714d71f4 Install basic /etc/default/portail-citoyen file 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne e8d06fcb11 Reformat init.d 2014-09-19 16:13:03 +02:00
Benjamin Dauvergne f21997486a Revert change to dbconfig template install directory 2014-09-19 09:54:30 +02:00
Benjamin Dauvergne 3cef0980aa Revert "database config path fixed"
This reverts commit e70428b7c1.

It was wrong.
2014-09-19 09:52:12 +02:00
Serghei Mihai e93270a51b cms-ajax-text-plugin dependency removed 2014-09-04 16:51:28 +02:00
Jérôme Schneider 9e94e7ca4b control: fix dependency on python-pyasn1-modules 2014-08-12 19:20:24 +02:00
Jérôme Schneider e17dd067cd fixes type on a test 2014-08-12 19:04:06 +02:00
Jérôme Schneider e805d41083 control: recommands python-django-tenant-schemas package 2014-08-12 18:59:41 +02:00
Jérôme Schneider f0723ab489 spport multi tenant syncdb and migration
Closes #4849
2014-08-12 18:57:21 +02:00
Jérôme Schneider a26c07dcc0 control: add depends on pyasn1 and ndg-httpsclient 2014-08-12 14:58:33 +02:00
Serghei Mihai e24764f397 correct logout url building 2014-05-27 11:17:32 +02:00
Serghei Mihai 2e66fa3a3e environment vars for multitenant templats dir and logout url 2014-05-27 10:56:16 +02:00
Serghei Mihai c825f06969 default value for authentic2 url 2014-05-26 20:35:12 +02:00
Serghei Mihai e70428b7c1 database config path fixed 2014-05-26 16:39:27 +02:00
Serghei Mihai b0f8526b39 tenant settings included 2014-05-26 16:29:52 +02:00
Serghei Mihai 28ad7edc3a django cms dependency updated 2014-05-26 15:36:27 +02:00
Jérôme Schneider 17982e7abb fixes init files 2014-05-22 17:56:27 +02:00
Jérôme Schneider ca31e17a97 use only /var/lib/portail-citoyen2 and not /var/lib/portail-citoyen 2014-05-22 16:25:56 +02:00
Benjamin Dauvergne fad50324e6 init,postinst: move collectstatic in the init.d file
also activate the reload action
2014-05-22 16:11:28 +02:00
Jérôme Schneider c597b14b34 change direcetories names 2014-05-22 16:05:06 +02:00
Jérôme Schneider 2dbc332f1c debian: don't depend on python-authentic2 anymore 2014-04-04 11:45:45 +02:00
Benjamin Dauvergne ac61d19c30 control: add dependency on python-django-cms-ajax-text-plugin 2014-04-03 21:07:42 +02:00
Jérôme Schneider 93e185ef90 control: depends on python-djangocms-text-ckeditor 2014-04-01 16:47:24 +02:00
Jérôme Schneider d3a3bb6e7a replace portail-citoyen.conf by portail-citoyen2.conf 2014-04-01 16:28:19 +02:00
Jérôme Schneider 59448c5d0c rules: replace portail-citoyen by portail-citoyen2 2014-04-01 16:21:45 +02:00
Jérôme Schneider ddbd35be26 initial package 2014-04-01 15:59:05 +02:00
Benjamin Dauvergne ed6c299cab settings: in default settings ask for read and write scopes when using OAuth2 authentication 2014-03-31 11:34:37 +02:00
Benjamin Dauvergne 2a1eb70f19 data_source_plugin: add OAuth2 authentication 2014-03-31 11:34:14 +02:00
Benjamin Dauvergne 2a3788ff0f admin: override AdminSite.login to use classic login even for the administration pages 2014-03-26 15:17:01 +01:00
Benjamin Dauvergne 1bad481bf5 templates: remove unused files 2014-03-26 15:16:47 +01:00