Commit graph

135 commits

Author SHA1 Message Date
Éloi Rivard
fd66f86a72 USER_FILTER is parsed with jinja 2023-07-04 18:34:16 +02:00
Éloi Rivard
10a0ecc090 Added an option to disable javascript 2023-07-03 23:26:39 +02:00
Éloi Rivard
4f42798e39 Refactored keypair management 2023-07-01 19:06:26 +02:00
Éloi Rivard
f504bb3a66 Implements a flask User converter 2023-06-29 15:55:39 +02:00
Éloi Rivard
e4e49da44a Renamed configuration entries
- USER_ID_ATTRIBUTE is now USER_RDN
- GROUP_ID_ATTRIBUTE is now GROUP_RDN
2023-06-29 15:55:39 +02:00
Éloi Rivard
57af18d557 Use a unique identifier to indentify users in URLS
Previously we used the uid since we supposed this value was always
valid, but some users user the mail attribute as the User RDN in their
OpenLDAP installation, and do not have a uuid.
2023-06-29 15:55:39 +02:00
Éloi Rivard
7b9e97f5e4 Defer and clean up JS scripts 2023-06-26 18:00:58 +02:00
Éloi Rivard
c091ca19cf Removed html5shiv 2023-06-26 17:48:25 +02:00
Éloi Rivard
bb95978376 Boosts webpages with HTMX
Fixes #144
Fixes #145
2023-06-26 17:17:07 +02:00
Éloi Rivard
c12ceca741 Forgotten phone_number plurals in configuration 2023-06-22 15:45:24 +02:00
Éloi Rivard
361fda0386 Renamed User.phone_number in User.phone_numbers 2023-06-22 15:33:03 +02:00
Éloi Rivard
b5bd497d0e Implemented User.preferred_email 2023-06-22 15:24:13 +02:00
Éloi Rivard
371f806695 Renamed User.email in User.emails 2023-06-22 15:15:46 +02:00
Éloi Rivard
c7f23e845c datetime-local input fields are transformed in UTC server-side 2023-06-01 13:53:32 +02:00
Éloi Rivard
17c2f7a5cd Implemented LDAP ppolicy support. 2023-05-26 15:23:43 +02:00
Éloi Rivard
ca8374acf4 demo ldap checks if schemas exist before loading them 2023-05-24 17:06:13 +02:00
Éloi Rivard
3d3858b317 docker demo flask process reloads on configuration changes 2023-05-24 17:04:42 +02:00
Éloi Rivard
033d436878 Moved LDAP schema installation in the ldap backend module 2023-05-20 20:04:23 +02:00
Éloi Rivard
c1d1706007 Moved every model import to canaille.models 2023-05-20 20:02:00 +02:00
Éloi Rivard
3ec92fc54f Fixes demo auto-reloading conflicts 2023-05-20 18:20:48 +02:00
Éloi Rivard
6f637b8129 Refactored the unit test backend fixtures 2023-05-20 17:17:46 +02:00
Éloi Rivard
30282e633b The LDAP Backend is now a class 2023-05-20 12:08:04 +02:00
Éloi Rivard
b9931da33d Populate the database when running a demo 2023-05-19 15:57:54 +02:00
Éloi Rivard
0992bec5b1 docker demo initial data pythonic loading 2023-05-19 15:53:56 +02:00
Éloi Rivard
4f0381e9e8 Remove remaining time.sleep while launching the demo 2023-05-19 15:09:01 +02:00
Éloi Rivard
4a1b815dab demo initial data pythonic loading 2023-05-19 12:01:13 +02:00
Éloi Rivard
71da8eb504 Split memberof and refint config to fix the docker-compose demo environment 2023-05-04 17:10:49 +02:00
Éloi Rivard
e8e6060c74 ACL group filter can be simple group name instead of full dn 2023-05-02 16:25:00 +02:00
Éloi Rivard
fa62c16768 Moved canaille.ldap_backend to canaille.backends.ldap 2023-04-18 20:22:55 +02:00
Éloi Rivard
c4676ec572 Update User group when save is called 2023-04-17 18:43:43 +02:00
Éloi Rivard
0c4deaeb19 demo: fix deprecated refint overlay configuration 2023-04-17 18:07:36 +02:00
Éloi Rivard
972b986ea4 Enables refint openldap overlay 2023-04-16 19:40:16 +02:00
Éloi Rivard
571c04de66 Fixed toml inline tables 2023-04-15 13:08:24 +02:00
Éloi Rivard
edb64cbfe1 ACL filters are no more LDAP filters but user attribute mappings. 2023-04-14 19:53:16 +02:00
loanR
3292ca8427 Use iso environment in local and container
Poetry installed environment have same groups for run.sh and Dockerfile-canaille
2023-04-12 18:05:16 +02:00
loanR
23b4ff0800 Force docker compose demo poetry environment
Install base dependencies and force optional demo ones
2023-04-12 17:00:18 +02:00
loanR
68ec7b9bf0 Fix docker compose demo poetry environment
Main dependencies where missing, chose poetry install excluding doc and dev packages
2023-04-12 15:57:06 +02:00
Éloi Rivard
e2b96af1ee Moved LDAP configuration entry to BACKENDS.LDAP 2023-04-10 20:31:54 +02:00
Éloi Rivard
cc45ed4be9 OIDC.JWT.MAPPING configuration option is really optional 2023-04-10 20:09:47 +02:00
Éloi Rivard
61f5d25f2f Creates a OIDC configuration section for all the OIDC related entries 2023-04-10 16:24:43 +02:00
Éloi Rivard
db3a4a74ff Renamed user attributes to match SCIM naming convention 2023-04-07 20:12:24 +02:00
Éloi Rivard
6729cc9113 Fixed demo/run.sh exit commands 2023-03-20 09:56:14 +01:00
Éloi Rivard
8e84b016da Organization field support 2023-03-17 17:36:23 +01:00
Éloi Rivard
5fc4ad9ac9 Improved the 'CONTRIBUTING' documentation 2023-03-12 00:45:57 +01:00
Éloi Rivard
fab9f3938f demo and dependencies cleanups 2023-03-12 00:13:09 +01:00
Éloi Rivard
7122323b5a demo configuration uniformization 2023-03-11 23:55:56 +01:00
Éloi Rivard
2c4c3fb37e Title edition support 2023-03-11 22:34:29 +01:00
Éloi Rivard
4170242073 Address edition support (but not in the OIDC claims yet) 2023-03-11 20:12:50 +01:00
Éloi Rivard
402e60325c departmentNumber edition support #129 2023-03-11 12:55:03 +01:00
Éloi Rivard
a57c86cc2c SMTP SSL fixes 2023-02-28 10:07:08 +01:00