Benjamin Dauvergne
c9b19e9306
misc: send debug logs to journald ( #87556 )
...
- remove all code related to sending/parsing debug logs in
/var/log/<app>/debug.
- add test on DebugLogFilter.
- configure JournalHandler to take debug logs if settings.DEBUG_LOG is True
2024-02-28 12:36:49 +01:00
Benjamin Dauvergne
532e61f488
authentic2: when provisionning one use do it synchronously ( #84815 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-12-18 18:56:44 +01:00
Benjamin Dauvergne
1a9dbed99e
provisionning: only send user to wcs, combo, chrono, lingo and fargo ( #82004 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-11-13 10:06:54 +01:00
Valentin Deniaud
1b3c26ba2a
misc: apply double-quote-string-fixer ( #79788 )
2023-08-16 10:01:25 +02:00
Paul Marillonnet
e407832d28
[wip] a2 agent: preconfigure SAML SP authn ( #80164 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-07-31 17:23:22 +02:00
Frédéric Péters
35179bd7d4
trivial: adjust for pylint ( #79712 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-07-17 12:06:19 +02:00
Paul Marillonnet
2ba5fa23f2
provisionning: revamp technical role naming exception rule ( #78555 )
...
gitea/hobo/pipeline/head This commit looks good
Details
Every role used to be provisionned except “technical” roles (whose
slug starts with an underscore). In order to work around this
exception and have provisionnable technical roles still, the
HOBO_PROVISION_ROLE_PREFIXES settings was added.
This unnecessary complexity can be replaced with a simpler
provisionning exception rule: only authentic's own technical roles
are excluded from the provisionning process (i.e. roles whose slug
starts with “_a2-”).
2023-06-26 17:18:47 +02:00
Valentin Deniaud
4c419c0695
misc: bump black version ( #75442 )
2023-03-29 14:49:55 +02:00
Paul Marillonnet
111591a0b0
user_name: fallback on default full name when var defined yet empty ( #74507 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-02-28 14:52:30 +01:00
Agate
6b76f3c3eb
user: allow customization of User.get_full_name() through templates ( #72945 )
2023-02-10 09:14:07 +01:00
Benjamin Dauvergne
ee9509b003
tests: simplify checks on roles for authentic's hobo-deploy ( #72354 )
...
We check the presence of loaded roles and for automatic we check a
mininal number of them are present.
2022-12-13 16:15:14 +01:00
Valentin Deniaud
02df3a7a81
test_authentic: restrict scope of import_template command test ( #71867 )
2022-11-30 11:00:27 +01:00
Valentin Deniaud
93fc9d9960
authentic2: remove remaining dependencies to RoleAttribute ( #71836 )
2022-11-29 16:28:40 +01:00
Paul Marillonnet
cd074bf66f
tests_authentic: add api clients manager role export data ( #71284 )
2022-11-28 09:18:00 +01:00
Valentin Deniaud
f3f20e8f6c
authentic2: use direct imports for rbac models ( #70963 )
2022-11-03 13:51:18 +01:00
Valentin Deniaud
ccbac9a310
tests_authentic: add authenticators manager role ( #70866 )
2022-10-31 18:58:01 +01:00
Paul Marillonnet
c13cbfb21d
profile: remove redundant mobile phone field ( #69228 )
2022-10-19 16:46:55 +02:00
Valentin Deniaud
a107b7ef0e
misc: apply pyupgrade ( #69708 )
2022-09-29 15:23:49 +02:00
Agate
5e5125c97d
tox: fixed inconsistent / obscure db names during tests ( #67933 )
2022-08-08 09:42:52 +02:00
Agate
274b6eabde
Reuse db schema instead of recreating it fro mscratch during tests ( #67914 )
2022-08-03 15:22:51 +02:00
Agate
d2b5a32997
Parallelize tests in CI ( #67911 )
2022-08-03 13:56:05 +02:00
Frédéric Péters
9877b65265
misc: remove usage of django.utils.six ( #63684 )
2022-04-15 18:28:51 +02:00
Benjamin Dauvergne
1f0d890048
tests_authentic: remove ou=None when creating a service ( #63719 )
...
To comply with changes in authentic from #63590 , commit:646a9fd5.
2022-04-08 11:26:39 +02:00
Emmanuel Cazenave
f8041c4457
hobo_deploy: handle url change on a service ( #58908 )
2022-03-31 15:20:01 +02:00
Emmanuel Cazenave
e0f7576d84
multitenant: give up 'unsecure' file mechanism ( #63119 )
2022-03-29 11:59:51 +02:00
Benjamin Dauvergne
c0780646e6
agent/authentic2: fix failure when notify_agents is never called ( #62480 )
2022-03-07 15:16:43 +01:00
Paul Marillonnet
ceac0b6892
profile: disable title (Civilité) default attribute ( #61301 )
2022-02-04 15:54:56 +01:00
Benjamin Dauvergne
c1820e1f64
agent/authentic: fix ou.base_url -> ou.home_url ( #61029 )
2022-01-28 14:55:27 +01:00
Emmanuel Cazenave
3c8927d8ee
agent/authentic: store portal-user url on correponding OU ( #61029 )
2022-01-28 13:34:39 +01:00
Paul Marillonnet
339ab63855
agent/authentic: use http provisionning by default ( #59312 )
2021-12-08 10:56:07 +01:00
Benjamin Dauvergne
9b46019149
rest_authentication: improve signature errors reporting ( #57450 )
2021-10-21 08:18:11 +02:00
Benjamin Dauvergne
96ce1fb02f
provisionning: add ?sync=1 parameter to /__provision__ API ( #56920 )
...
When used by the /api/provision API on authentic, it garantees the
provisionning is made synchronously.
2021-09-28 17:11:56 +02:00
Paul Marillonnet
dc69e1cfcf
profile: add support for "french phone number" attribute type ( #56541 )
2021-09-01 15:02:13 +02:00
Benjamin Dauvergne
0b3c8a03eb
agent/authentic: set required_on_login on Attribute ( #56502 )
2021-08-31 12:25:21 +02:00
Emmanuel Cazenave
cdfe73d441
agent/authentic2: add debug mode for provisionning ( #54637 )
gitea-wip/hobo/pipeline/head There was a failure building this commit
Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit
Details
2021-06-15 18:02:02 +02:00
Frédéric Péters
872f39774a
trivial: apply black
2021-05-14 18:40:09 +02:00
Frédéric Péters
13c83ff3ce
authentic: add API to force user provisionning ( #53059 )
2021-04-15 12:48:31 +02:00
Benjamin Dauvergne
9b5e4dde2e
agent/authentic2: batch the provisionning of agents ( #52620 )
2021-04-08 14:31:21 +02:00
Benjamin Dauvergne
1d712335ef
tests: truncate database name to 63 characters
2021-03-05 15:25:43 +01:00
Valentin Deniaud
126ad8c85b
authentic agent: include collectivity in secondary service label ( #51127 )
2021-02-15 16:48:22 +01:00
Emmanuel Cazenave
446788ece6
change command parser option or invocation ( #49283 )
...
To be compliant with https://code.djangoproject.com/ticket/27787 : parser arguments now gets introspected when using call_command.
2021-02-02 11:44:52 +01:00
Benjamin Dauvergne
44ed90ad84
agent: update user's attributes type in authentic ( #48743 )
2020-12-14 16:19:58 +01:00
Valentin Deniaud
62a63d3fcf
tests: fix authentic tests ( #48012 )
2020-10-27 19:05:38 +01:00
Frédéric Péters
6cf6d7fcf6
tests: adapt to change in authentic form field identifiers
2020-10-09 15:53:07 +02:00
Nicolas Roche
b063c9cc0f
tests: add manage authorizations to expected tests results ( #47120 )
2020-09-30 19:56:09 +02:00
Benjamin Dauvergne
afe4b98f64
debian: add debug log in /var/log/<app>/debug ( #29149 )
...
It's configured through the DEBUG_LOG settings:
* DEBUG_LOG = False, no debug log
* DEBUG_LOG = True, all debug log go to /var/log/<app>/debug
* DEBUG_LOG = app1,app2, only debug log of logger app1 and app2
go to /var/log/<app>/debug
/var/log/<app>/debug is emptied everyday at midnight.
2020-08-25 10:37:34 +02:00
Benjamin Dauvergne
0c023195ce
tests: sort None values as empty list ( #46007 )
2020-08-22 11:31:52 +02:00
Benjamin Dauvergne
29e398577d
tests: adapt to change in authentic default permissions ( #46007 )
2020-08-22 11:31:48 +02:00
Benjamin Dauvergne
90a954b45e
misc: provision user.is_active ( #44896 )
2020-07-10 21:01:34 +02:00
Benjamin Dauvergne
bad0618e16
tests_authentic2: verify calls to sleep() on redeploy ( #43035 )
2020-06-26 11:46:56 +02:00