Commit Graph

93 Commits

Author SHA1 Message Date
Paul Marillonnet f6fa7f7c56 python3: adapt exception raising and handling (#31137) 2019-03-07 13:58:28 +01:00
Frédéric Péters 13ec5eb896 debian: don't reference undefined STATICFILES_DIRS (#28727) 2018-12-07 08:49:48 +01:00
Paul Marillonnet a5d652ce81 support avatar picture in user profile (#26022) 2018-10-30 10:23:11 +01:00
Benjamin Dauvergne ce90ea3bd4 settings: set all Lasso logs at the DEBUG level (fixes #22880)
Log domain of lasso has changed from lasso to Lasso and libxmlsec and
libxml2 errors now are logged in their own domains.
2018-07-27 11:20:22 +02:00
Elias Showk 49420b2b96 removed django-admin-tools (#22626) 2018-07-17 09:21:07 +02:00
Benjamin Dauvergne d0bcf4a992 remove authentic2_idp_openid (fixes #23515)
Code is no more used nor maintained.

Also remove diagnose.py which is obsolete too and referrred to
django-authopenid (and south and other obsolete things).

Mentions of OpenID libraries licenses were removed from license files.
2018-07-01 13:51:44 +02:00
Frédéric Péters 507f48ec78 mark minimal gadjo version (#22440) 2018-04-16 13:27:56 +02:00
Benjamin Dauvergne 722db42ec7 debian: create /etc/authentic2-multitenant/settings.d directory (fixes #22781) 2018-03-23 23:09:47 +01:00
Benjamin Dauvergne 335bb75d91 debian: run additional settings snippets (fixes #20456) 2017-12-06 11:07:42 +01:00
Thomas NOËL 4be465484e debian: suggests postgresql instead of recommend it (#20000) 2017-11-17 11:12:02 +01:00
Benjamin Dauvergne 4da95a4c42 debian: restore API's basic and session authentication packaging (fixes #16862)
It was broken by enforcement of a DRF config in debian_config_common.py.
2017-06-13 15:05:56 +02:00
Benjamin Dauvergne c087a78756 debian: update patch for hiding oidc plugins 2017-06-12 15:20:34 +02:00
Frédéric Péters 6a858f6f67 debian: adapt to new django-select2>=5 requirement (#16812) 2017-06-12 09:38:31 +02:00
Frédéric Péters 4389ca1b2c debian: update oidc patch for wheezy 2017-04-24 11:55:25 +02:00
Benjamin Dauvergne 4b6b64522d setup.py: require django-filter > 1 (fixes #15751) 2017-04-06 18:31:11 +02:00
Benjamin Dauvergne 88c08726d4 debian-wheezy: update patch to hide oidc plugins 2017-04-04 14:06:28 +02:00
Benjamin Dauvergne 7c401ff1f3 debian-wheezy: update patch to hide oidc plugins 2017-04-04 12:21:02 +02:00
Benjamin Dauvergne 90596aa651 unsupport django 1.7 2017-03-15 22:51:55 +01:00
Frédéric Péters 0f7b855564 debian: direct cronjob output to root (#13893) 2016-12-04 22:43:42 +01:00
Frédéric Péters 095d46ecf6 debian: remove dependency on python-jwcrypto on Wheezy (#13925) 2016-11-12 11:08:33 +01:00
Benjamin Dauvergne e726ef25a7 debian: hide oidc plugins in wheezy builds (fixes #13925) 2016-11-11 17:37:39 +01:00
Benjamin Dauvergne 4efb2b534c add OpenID Connect authentication plugin (fixes #13714)
It only supports the authorization code flow, and configuration can only be done
through Django admin for now.
2016-11-03 16:31:02 +01:00
Thomas NOËL dad6a40a03 debian: typo in authentic2-multitenant.postinst 2016-10-05 12:16:12 +02:00
Benjamin Dauvergne aaa2787236 debian: set constraint on django-model-utils as in setup.py 2016-09-30 09:30:34 +02:00
Benjamin Dauvergne 280c510e95 make all logging settings converge (fixes #13364) 2016-09-28 21:48:02 +02:00
Benjamin Dauvergne 1f8b825419 debian: add authentic2-multitenant.triggers (fixes #13361) 2016-09-28 21:32:15 +02:00
Frédéric Péters e3d190d9a2 debian: call multitenant jobs with correct uid (#12486) 2016-07-08 09:48:43 +02:00
Benjamin Dauvergne cd6bd15c39 debian: remove conflict between authentic2 and authentic2-multitenant 2016-06-16 11:52:18 +02:00
Benjamin Dauvergne 32c736aeac debian: move postgresql from Pre-Depends to Recommends (fixes #11196) 2016-06-06 21:02:18 +02:00
Benjamin Dauvergne d08992307c debian: deprecate usage of /etc/init.d/authentic2 manage (fixes #11008)
adding a command to /etc/init.d/authentic2 was a bad idea anyway and would
force us to use sudo -E so that /etc/default/authentic2 is visible from
authentic2-ctl.

Also replace cron.hourly files by cron.d files.
2016-06-01 10:33:45 +02:00
Benjamin Dauvergne a49ca159df debian: fix do_migrate in authentic2-multitenant init 2016-05-02 12:53:50 +02:00
Benjamin Dauvergne 597c22493b debian: fix typo in postinst 2016-05-02 12:51:17 +02:00
Benjamin Dauvergne 0512342dd9 debian: fix typo in pydist-overrides 2016-05-02 12:49:47 +02:00
Benjamin Dauvergne 213b696cad debian: add django-mellon and ldaptools to pydist-overrides 2016-05-02 11:04:41 +02:00
Benjamin Dauvergne 4e0c85c4c4 debian: only execute migrate and collectstatic in postinst
* reload and restart should be a lot faster
* collectstatic is now always done using parameter -l
* collectstatic and migrate target are removed from init script, for a simpler
  "update"
2016-05-02 11:04:41 +02:00
Benjamin Dauvergne 549898eba7 debian: add logrotate settings for gunicorn logs (fixes #10767) 2016-04-28 18:20:36 +02:00
Benjamin Dauvergne 1174f13d7a debian: fix logging settings for monotenant packaging
- daemon name and pid is added as a prefix "authentic2[<pid>]:"
- module and function names are removed, messages must be "contextless" as much
  as possible
- db logs separation is added to jessie packaging
- dynamic log level are used
2016-04-26 00:42:58 +02:00
Benjamin Dauvergne ea7960404e debian: do not override syslog format string from hobo, add cleaning filter to all handlers 2016-03-31 11:35:34 +02:00
Benjamin Dauvergne e91c02826b debian: use request_context filter from hobo 2016-03-31 00:01:56 +02:00
Benjamin Dauvergne 197233268b debian: add dh-python to Build-Depends 2016-03-15 11:11:39 +01:00
Benjamin Dauvergne 59d2c75e19 constraint version of django-table2 to <1.1 2016-03-15 11:05:52 +01:00
Thomas NOËL e7064769e6 setup.py: update dependency upon django-restframework>=3.3 (#10206) 2016-03-04 17:55:56 +01:00
Benjamin Dauvergne 5ae41f9d9b multitenant/debian_config.py: uncondtionnaly use PublikAuthentication (fixes #10046) 2016-02-22 14:49:14 +01:00
Benjamin Dauvergne 3084ca423f debian: set default login's form username label to Email when using multitenant (#10003) 2016-02-16 12:17:49 +01:00
Benjamin Dauvergne 6c8788e90e define anonymous service user class for REST authentication 2016-01-29 17:35:26 +01:00
Benjamin Dauvergne ae4d5df0bd debian: install publik authentication classes for REST API (#9806) 2016-01-29 14:09:59 +01:00
Benjamin Dauvergne e2e6cd3086 debian: handle hobo-redeploy trigger (fixes #9765) 2016-01-26 03:38:43 +01:00
Benjamin Dauvergne 60b012c0a4 fix typo 2016-01-22 14:05:23 +01:00
Benjamin Dauvergne c413089681 configure logger django to prevent disabling of django.request 2016-01-22 12:40:33 +01:00
Benjamin Dauvergne 332dbca4ea add simple crypto module using pycrypto (#9666)
It provides two simple primitives to encrypt / decrypt any string using AES-CFB
using any key material.
2016-01-15 13:17:18 +01:00