Commit Graph

64 Commits

Author SHA1 Message Date
Valentin Deniaud 7248bea3fe management: add command to cleanup old export files (#52626) 2021-04-15 11:18:33 +02:00
Benjamin Dauvergne 40eeaa9581 clean-unused-accounts: run every hour, but limit the number of notifications sent (#52644) 2021-04-09 15:18:34 +02:00
Frédéric Péters 296fc94f7c debian: add spooler parameter to multitenant init script (#52756) 2021-04-06 12:29:10 +02:00
Frédéric Péters 566fa8cf31 debian: add required spooler creation to multitenant package (#52686) 2021-04-02 18:09:13 +02:00
Benjamin Dauvergne 4af9b0126f debian: add --spooler option to uwsgi (#52655) 2021-04-02 10:42:30 +02:00
Frédéric Péters 269a3ba9cf debian: add missing python3-uwsgidecorators dependency (#52645) 2021-04-02 08:22:37 +02:00
Valentin Deniaud b3bc13d26c manager: export users asynchronously (#43153) 2021-04-01 14:28:43 +02:00
Valentin Deniaud 6937f2f3ad misc: add uwsgi spooler (#43153) 2021-04-01 14:28:43 +02:00
Valentin Deniaud 4751846fed misc: remove six module usage (#52503) 2021-03-30 15:06:49 +02:00
Valentin Deniaud 86d946adcd misc: apply isort (#52457) 2021-03-30 13:59:53 +02:00
Valentin Deniaud 4bb33d3d3c misc: apply black (#52457) 2021-03-30 11:32:55 +02:00
Serghei Mihai 762cba9a2d ldap: add method and command to deactivate orphaned users (#6379) 2021-03-26 10:05:26 +01:00
Benjamin Dauvergne 2a5f5c3ef3 debian: fix typo in debian/control 2021-02-05 17:54:52 +01:00
Benjamin Dauvergne 71b3ca06c2 auth_saml: report user creation errors (#50834) 2021-02-04 11:52:00 +01:00
Benjamin Dauvergne 7fdf868b5c debian: restore use of launch-authentic2.sh in authentic2 package (#48701) 2020-11-20 09:30:47 +01:00
Benjamin Dauvergne b4b23cdf63 debian: disable write exception in uwsgi.ini (#47809) 2020-10-27 09:52:30 +01:00
Benjamin Dauvergne e0d12a5bcb debian: remove call to "init-script update" in postinst (#46595)
The same operations are now done by the automatic call to "restart" by
the default Debian scripts.
2020-09-11 17:03:21 +02:00
Frédéric Péters 13af5855b9 debian: update init.d script for uwsgi (#46568) 2020-09-11 11:33:39 +02:00
Emmanuel Cazenave b31754c4ae debian: use uwsgi to serve app (#29297) 2020-09-03 16:23:25 +02:00
Frédéric Péters 5d32b8db52 misc: add setting to set secure flag on opened session cookie (#45938) 2020-08-18 10:19:30 +02:00
Benjamin Dauvergne 308953a515 debian: use shell script to load /etc/authentic2/authentic.conf in systemd service file (#44960) 2020-07-09 10:01:37 +02:00
Benjamin Dauvergne 441276f573 debian: adapt authentic2 package scripts for python3 2020-07-02 13:44:52 +02:00
Benjamin Dauvergne 7ef148e0c5 python3: adapt debian packaging (#40372) 2020-07-02 10:41:45 +02:00
Valentin Deniaud 54d11f9b9f debian: add clean-unused-account to crontab (#42995) 2020-05-18 12:15:00 +02:00
Benjamin Dauvergne 9aea57f36e debian: set logrotate user to authentic2 (#42673) 2020-05-12 23:56:12 +02:00
Christophe Siraut 985459b79d debian/authentic2.service: use full path in ExecStart 2020-05-11 11:02:11 +02:00
Benjamin Dauvergne 57d88538f8 debian: converge packaging between authentic2 and -multitenant packages (#42305)
* remove db-config usage
* renanme authentic2-ctl to authentic2-manage
* add systemd service file for authentic2 standalone package
* add a force-reload synonym for restart (to comply with lintian)
* remove creation of /var/run/$NAME in .postinst and .dirs
* usr %p template variable to name RuntimeDirectory in systemd service
file
* add a /var/lib/authentic2/locale directory to authentic2.dirs
* use a WORKERS variable set to 4 in authentic2.init
* remove -R flag to chown when setting user rights on
/var/lib/authentic2 (to comply with lintian)
* add handling of configuration files in /etc/authentic2/settings.d/
* use pybuild instead of python_distutils in rules
* fix check on DEFAULT_FROM_EMAIL
* rename user from authentic to authentic2
2020-05-04 12:54:46 +02:00
Paul Marillonnet a8ff468ce2 dj2.2: middleware compatibility (#41238) 2020-04-27 14:34:24 +02:00
Benjamin Dauvergne acfe661ec6 Revert "python3: adapt debian packaging (#40372)"
This reverts commit 4e3c28e08e.
2020-04-17 14:09:47 +02:00
Paul Marillonnet ac89d290ce drop deprecated python-raven sentry client config (#40372) 2020-04-16 12:24:46 +02:00
Benjamin Dauvergne 4e3c28e08e python3: adapt debian packaging (#40372) 2020-04-16 12:24:46 +02:00
Benjamin Dauvergne a8bd2006cf debian: remove dead pydist-overrides (#41221) 2020-04-02 18:09:17 +02:00
Benjamin Dauvergne cd175c837f misc: use django-import-export >=1,<2 (#41273) 2020-04-02 17:03:04 +02:00
Paul Marillonnet c8ce9fdd0a debian: discard deprecated pycrypto dependency (#35584) 2019-10-31 14:28:37 +01:00
Frédéric Péters 66e5bba858 debian: don't set syslog handlers for django_select2 if undefined (#36787) 2019-10-08 17:47:40 +02:00
Paul Marillonnet 5b8b62a19f set upper bound on django-import-export dependency version (#36774)
* so as to maintain the role CSV export feature
2019-10-08 14:02:22 +02:00
Paul Marillonnet 27add2ce1b debian: fix typo in control file dependency (#36655) 2019-10-03 12:07:39 +02:00
Paul Marillonnet 4115e6756b debian: do not use unnecessary pre-dependencies (#36433) 2019-10-02 12:03:54 +02:00
Benjamin Dauvergne 2ff1755de7 require python-attr>17 2019-06-22 21:30:55 +02:00
Benjamin Dauvergne dc3582ed45 manager: add user import views (fixes #32833) 2019-06-22 13:06:01 +02:00
Benjamin Dauvergne fe0895da8b add csv import framework (#32833) 2019-06-21 18:44:13 +02:00
Paul Marillonnet 23145898bd python3: deprecate file builtin (#32815) 2019-06-19 09:38:15 +02:00
Benjamin Dauvergne 7eda057909 integrate authentic2-auth-fc in packaging (#20852) 2019-05-31 14:51:55 +02:00
Christophe Siraut 00db0f3350 debian: bump debhelper compatibility level (#32260) 2019-04-16 14:28:07 +02:00
Paul Marillonnet 6d856ad3ca python3: remove "execfile", which isn't a builtin anymore (#31145) 2019-04-02 14:20:08 +02:00
Paul Marillonnet f6fa7f7c56 python3: adapt exception raising and handling (#31137) 2019-03-07 13:58:28 +01:00
Frédéric Péters 7e1f2ca385 debian: declare systemd service (#30016) 2019-01-23 10:08:09 +01:00
Frédéric Péters a855c86c29 debian: add missing dh-sytemd dependency (#29839) 2019-01-17 09:57:31 +01:00
Emmanuel Cazenave 56c72c2cf2 use directly tablib instead of django-export-export (#29531) 2019-01-15 16:11:36 +01:00
Frédéric Péters e966f15556 debian: sync gunicorn timeout of systemd unit with init.d script (#29533) 2019-01-07 16:10:17 +01:00