Commit Graph

1037 Commits

Author SHA1 Message Date
Frédéric Péters c4c0c24ad8 import_template: don't error out in case of missing template (#31958) 2019-04-03 09:40:38 +02:00
Frédéric Péters 2f9e3eab75 hobo_deploy: call import_template command (not import-template (#31908) 2019-04-02 09:15:27 +02:00
Frédéric Péters 0dfe3a1733 typo fix (#31357) 2019-03-19 08:24:03 +01:00
Benjamin Dauvergne a396773103 environment: parse float value as json integers in variables (#31332)
If you need a real integer you must always put a decimal point, i.e.
write 1.0 not 1.
2019-03-18 15:51:54 +01:00
Benjamin Dauvergne 16f9122b7b logger: improve logic in RequestContextFilter (#31108)
Previous logic forbid  passing explicit user and request in the log call
like that :

   logger.info('message', extra={'request': request, 'user': user})
2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 1c39894527 logger: PEP8ness (#31108) 2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 118ee9b613 logger: add copyright notice (#31108) 2019-03-18 15:12:22 +01:00
Benjamin Dauvergne 2263f59679 multitenant: wrap schema creation in atomic() (#23119) 2019-03-18 15:01:11 +01:00
Benjamin Dauvergne 27e006a180 Jenkinsfile: disable concurrent builds (#31337) 2019-03-18 11:53:15 +01:00
Benjamin Dauvergne f76a6a84e8 use BRANCH_NAME for naming test databases (#31337) 2019-03-18 11:53:15 +01:00
Frédéric Péters c9d3c55260 tox: limit django-jsonfield version to keep django 1.8 compatibility 2019-03-17 17:18:12 +01:00
Frédéric Péters 304348505f misc: use key= in sort() calls (#31357) 2019-03-17 15:49:33 +01:00
Christophe Siraut 03a2aa8ed4 agent: add generic import_template management command (#14630) 2019-03-15 11:28:05 +01:00
Frédéric Péters ea05d2abb8 misc: never skip migrations if explicit migration actions are given (#31236) 2019-03-09 21:42:05 +01:00
Frédéric Péters f5495c72d0 debian: don't start hobo-agent if policy-rc.d says so (#14724) 2019-03-08 00:11:49 +01:00
Benjamin Dauvergne e90b5681e0 ozwillo: remove debugging statements in user synchronization scripts 2019-03-07 23:14:30 +01:00
Frédéric Péters 811c05bfd1 misc: remove obsolete/never used piwik support (#30973) 2019-03-04 11:19:09 +01:00
Thomas NOËL 5bf6f72d9f authentic: clarify Role details frontoffice usage (#24089) 2019-02-27 16:37:28 +01:00
Thomas NOËL 4645073b5f debian: refine uwsgi settings (#30933) 2019-02-27 12:16:49 +01:00
Frédéric Péters 5fd3eb3998 debian: force 0644 as mode for uploaded files (#30905) 2019-02-26 14:02:00 +01:00
Frédéric Péters 5264b1c6e0 misc: allow journald logging of unicode strings (#30890) 2019-02-25 21:43:40 +01:00
Frédéric Péters f079e95570 misc: use publik-base-theme for portal agent (#30334) 2019-02-21 14:40:44 +01:00
Frédéric Péters 37f7dff960 multitenant: skip tenants where all migrations are applied (#29522) 2019-02-21 14:40:44 +01:00
Benjamin Dauvergne e9929d3b5b debian: configure journald filters and formatter (#30613)
In order to get logs:
* on par with syslog for the message,
* with structured fields for requests/tenants informations.
2019-02-14 15:22:56 +01:00
Frédéric Péters 7dbb469a4f tests: don't make theme_base go through dedicated hobo code path 2019-02-08 15:09:48 +01:00
Frédéric Péters a56d928d9b misc: handle shared template (used for 404) for hobo itself (#30482) 2019-02-08 14:48:38 +01:00
Benjamin Dauvergne 050dd5dbd6 ozwillo: add synchronization script (#30027) 2019-02-06 12:24:01 +01:00
Frédéric Péters 7aa49fcf12 misc: look for portal agent associated to user OU when in Authentic (#29658) 2019-02-06 10:30:11 +01:00
Frédéric Péters 6b6f4dc4b3 tests: adapt mocked requests.get to accept all args (#30052) 2019-02-04 15:07:01 +01:00
Frédéric Péters c6d4361d84 misc: don't follow redirects when checking service status (#30052) 2019-02-04 14:30:29 +01:00
Frédéric Péters 4f374db177 translation update 2019-01-18 10:38:37 +01:00
Frédéric Péters e814614bd4 franceconnect: update partner site URL (#29871) 2019-01-18 10:37:21 +01:00
Frédéric Péters 96f3ef1bc1 trivial: mark string for translation 2019-01-18 10:23:58 +01:00
Frédéric Péters 33b6463cdb translation update 2019-01-18 09:34:16 +01:00
Frédéric Péters a9f08bef7d misc: add support for sharing custom 404 page (#29837) 2019-01-18 09:34:16 +01:00
Frédéric Péters f42fdf1b0d misc: add a page to configure FranceConnect (#29642) 2019-01-18 08:44:06 +01:00
Benjamin Dauvergne 5b05a6ff99 jenkins.sh: add -r to rm htmlcov (#29776) 2019-01-17 09:32:12 +01:00
Benjamin Dauvergne 1c7a6693e5 use a Jenkinsfile (#29776) 2019-01-16 11:40:24 +01:00
Benjamin Dauvergne ffaeb45057 debian: add journald support to debian_config_common (fixes #23471) 2019-01-15 00:15:18 +01:00
Benjamin Dauvergne 203b88942f hobo: do not clobber the resolved user in RequestContextFilter (#23471) 2019-01-15 00:15:18 +01:00
Frédéric Péters 2e22202dbb debian: switch to uwsgi and a systemd unit (#29472) 2019-01-14 14:25:45 +01:00
Benjamin Dauvergne 8b45ce4986 hobo: add setting loader for variables (#28930)
Variables must be prefixed with SETTING_, suffix .extend and .update are
supported.

Ex.: SETTING_LDAP_AUTH_SETTINGS.extend = [{...}]
2019-01-14 10:36:04 +01:00
Frédéric Péters 605e2f4bfe tox: limit pytest version to a version compatible with pytest-cov 2019-01-06 17:02:35 +01:00
Frédéric Péters d1ce3121d6 translation update 2019-01-04 12:27:14 +01:00
Frédéric Péters 48f0861c7c misc: update setup.py for Python 3 and PEP 440 (#29420) 2019-01-03 14:46:29 +01:00
Frédéric Péters 4394ae788b authentic worker: skip undefined attributes (#29388) 2019-01-02 09:40:32 +01:00
Frédéric Péters 46fc66d636 profile: add control over searchable flag (#29388) 2019-01-01 13:24:04 +01:00
Frédéric Péters 20da13f842 multitenant: use environment to get application name (#29323) 2018-12-24 09:20:00 +01:00
Frédéric Péters 48b16b1a9d misc: don't expose Corbo/Mandayejs/Piwik in UI (#29092) 2018-12-21 20:56:08 +01:00
Thomas NOËL 513db18396 debian_config_common: force INFO level on django.template logging (#29239) 2018-12-21 14:43:35 +01:00