Commit Graph

79 Commits

Author SHA1 Message Date
Paul Marillonnet 3d7fe3e19b debian: allow dependencies to be django-3 compliant (#64305) 2022-05-13 09:49:23 +02:00
Thomas NOËL 8d37449a5e debian: manage crons through uwsgi (#64256) 2022-04-29 15:03:02 +02:00
Benjamin Dauvergne ccc857d20a setup.py: remove ldaptools from deps (#64473) 2022-04-22 13:03:47 +02:00
Frédéric Péters 7b141061e7 misc: use scss for all css files (#62936) 2022-03-29 10:54:16 +02:00
Frédéric Péters ed2a659b94 debian: update dependency to specify django >= 2.2 (#61586) 2022-02-09 12:13:41 +01:00
Paul Marillonnet 3e85e0d68e debian: allow for djangorestframework bullseye package (#59601) 2021-12-20 15:13:47 +01:00
Paul Marillonnet a590746910 debian: allow for django-import-export bullseye package (#59600) 2021-12-13 16:47:27 +01:00
Frédéric Péters f82537e93b debian: remove obsolete dh-systemd build-dep 2021-12-12 12:02:07 +01:00
Guillaume Baffoin a7414bd087 debian: add RANDOM to cron job for authentic2-multitenant (#58987) 2021-11-29 12:07:23 +01:00
Valentin Deniaud 85411f3376 api: allow filtering roles list (#57504) 2021-10-20 10:37:28 +02:00
Frédéric Péters 9f15d4fbb2 debian: switch to debhelper-compat 12 (#57538) 2021-10-10 10:39:36 +02:00
Frédéric Péters db0e540c43 debian: replace usage of deprecated which command (#56297) 2021-09-11 19:10:35 +02:00
Benjamin Dauvergne 34e42dacb1 misc: update import statements (#55602) 2021-07-15 12:32:26 +02:00
Frédéric Péters a8dbffd2a5 debian: set spooler-max-tasks for uwsgi (#54626) 2021-06-07 15:28:39 +02:00
Frédéric Péters d53bce723e debian: enable uwsgi memory reports (#54610) 2021-06-06 10:34:42 +02:00
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