Commit Graph

4268 Commits

Author SHA1 Message Date
Thomas NOËL 52a2d4f4cc homepage shows new apps, old ones in legacy (#5357) 2014-10-24 10:04:43 +02:00
Thomas NOËL b776e3b6f7 requirements: works with South 1.0 2014-10-23 20:39:38 +02:00
Thomas NOËL e45352db27 settings: remove automagic "debug_toolbar" activation
developers and testers should use config.py
2014-10-22 17:10:04 +02:00
Thomas NOËL 7c4557a623 bdp connector (#5777) 2014-10-22 01:04:00 +02:00
Thomas NOËL 1b603959fa simplify manage.py and quick-start mode (#5752) 2014-10-21 10:33:21 +02:00
Thomas NOËL 64ae12112c concerto/templates: trivial fix 2014-10-20 21:54:32 +02:00
Thomas NOËL 7478c5a72b clicrdv/templates: trivial fix 2014-10-20 21:53:05 +02:00
Thomas NOËL 08ea46e0bd base.html: use named url instead of / (#5767) 2014-10-20 19:11:15 +02:00
Jérôme Schneider 4022ba011a debian_config.py: add TENANT_TEMPLATE_DIRS which is mandatory
Closes #5771
2014-10-20 11:29:40 +02:00
Serghei Mihai 5bed322761 autobilled invoices are not considered as automatically paid
Closes #5766
2014-10-18 11:50:23 +02:00
Serghei Mihai 7e5ef41010 online and offline payment dates returned separately
Closes #5764
2014-10-17 18:16:38 +02:00
Jérôme Schneider f0e7894d91 postinst: ensure /var/lib/passerelle/tenants is owend by passerelle 2014-10-17 18:00:52 +02:00
Jérôme Schneider 113c29e410 init.d: remove create-tenant which doesn't work
Create tenant will be added in djommon (#5199)
2014-10-17 17:52:55 +02:00
Thomas NOËL 25dc14f7f6 fix debian_config.py 2014-10-09 13:49:02 +02:00
Thomas NOËL a76c23c990 concerto: initial commit 2014-10-09 13:46:16 +02:00
Thomas NOËL ae39b88ed8 debian/control: don't depends on sudo 2014-10-07 20:57:58 +02:00
Thomas NOËL 93cc7d6362 fix debian/control 2014-10-07 20:57:29 +02:00
Thomas NOËL 99d011319f SECRET_KEY created in /etc/passerelle/secret 2014-10-06 22:50:49 +02:00
Thomas NOËL a9442b9990 debian package enable multitenant by default (#5634) 2014-10-06 16:41:01 +02:00
Thomas NOËL 5ad5d3424c fix typos in README 2014-10-02 23:33:03 +02:00
Thomas NOËL 1ba9d419f1 setup.py: add requests in install_requires 2014-10-02 23:30:03 +02:00
Thomas NOËL 65b44ddfd9 add details and comments in config.py 2014-10-02 23:28:42 +02:00
Thomas NOËL c06e870712 use /run instead of /var/run 2014-10-02 22:03:29 +02:00
Thomas NOËL 77b77c02fd init.d: fix multitenant detection
Conclusion: I'm tired.
2014-10-02 17:10:29 +02:00
Thomas NOËL 5bb12774dd config.py: sqlite3 DATABASES by default 2014-10-02 17:04:12 +02:00
Thomas NOËL f3bcef1589 debian/control: depends on python-requests 2014-10-02 16:58:25 +02:00
Thomas NOËL 91db31f15d remove manage from init.d (first step) 2014-10-02 16:43:55 +02:00
Thomas NOËL 7b6442dfb5 fix manage.py calls in postinst 2014-10-02 16:35:00 +02:00
Thomas NOËL d7c61acc7a fix debian/dirs 2014-10-02 16:34:16 +02:00
Thomas NOËL 2ed8f343b8 debian_config.py is loaded by execfile: no import needed 2014-10-02 16:33:41 +02:00
Thomas NOËL 16014db87e add SECRET_KEY = 'ChangeMe' in config.py 2014-10-02 16:32:49 +02:00
Thomas NOËL b5a1437136 smart passerelle-manage 2014-10-02 16:31:47 +02:00
Thomas NOËL bd50772a29 add jenkins.sh 2014-10-02 14:42:31 +02:00
Thomas NOËL 553f7387a4 disable useless/outdated apps (queue, solis, mako)
If needed, they can be enabled through config.py.
2014-10-02 13:51:58 +02:00
Thomas NOËL 85c73a3509 Adapt to new settings organization (#5593) 2014-10-02 13:49:38 +02:00
Thomas NOËL a2c0a0ac88 passerelle_manage.py -> manage.py 2014-10-02 10:08:49 +02:00
Benjamin Dauvergne 5dbf5387b8 New organization of settings
Only one setting is now available from the environment:
DJANGO_CONFIG_FILE, it gives a path to a Python that will be executed at
the end of the settings module.

For simpler usage this environment is set by passerelle_manage.py by
passing it a new mandatory option '--config=/path/to/config'.

Tenant settings are now activated by passing the '--multitenant' flag to
passerelle_manage.py.

All OS platform specific paths have been removed, it's expected that
packaging will add them. Debian for example would provide a
debian_config.py file to adapt to its own paths.
2014-10-02 09:54:39 +02:00
Thomas NOËL 8259879114 requirements: use django-jsonresponse 0.10 from pypi 2014-09-30 16:07:43 +02:00
Benjamin Dauvergne dea4e97759 Allow to override the --bind option to gunicorn 2014-09-19 16:15:28 +02:00
Benjamin Dauvergne 6c42b8ac0c Remove --traceback option when syncing/migrating schemas 2014-09-18 15:26:30 +02:00
Benjamin Dauvergne 505bd45188 When restarting do collectstatic and apply migrations between stop and start 2014-09-18 15:26:30 +02:00
Benjamin Dauvergne efc3f1e1a8 Do a collectstatic and apply migration when reloading 2014-09-18 15:26:30 +02:00
Benjamin Dauvergne 409b2494f2 Reformat and use more variables to uniformize with hobo 2014-09-18 15:26:30 +02:00
Benjamin Dauvergne bdab059a5e Obtain schema using get_tenant_by_domain and rename create-schema action to create-tenant 2014-09-18 14:39:49 +02:00
Benjamin Dauvergne 36324d4368 When creating a new schema make passerelle owner of the media/ directory 2014-09-18 14:32:54 +02:00
Benjamin Dauvergne f3e5bd7b6f Pass unmodified environment to sudo when running the manager 2014-09-18 14:27:34 +02:00
Benjamin Dauvergne 2fc38dd270 Fix typo in django command names in init.d 2014-09-18 14:27:04 +02:00
Frédéric Péters 739d3c5c89 include pastell static files 2014-09-18 14:08:51 +02:00
Benjamin Dauvergne d5639732ed Use debian/dirs to create directories 2014-09-18 12:29:02 +02:00
Benjamin Dauvergne db95fa5c8d In create-schema action add a failure message when TENANT_BASE is not defined 2014-09-18 12:14:41 +02:00