Commit graph

172 commits

Author SHA1 Message Date
Denise Bitca
4beee2adcb add(#1, #2, #4, #7): implemented registration within canaille 2023-05-29 15:58:30 +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
Éloi Rivard
2c2797fbad A populate command can be used to fill the database with random users generated with faker. 2023-02-26 19:48:07 +01:00
Éloi Rivard
7458868f77 Pre-consented clients are displayed in the user consent list, and their consents can be revoked. 2023-02-14 21:56:47 +01:00
Éloi Rivard
b6c8790df8 Fixes message on 'run.sh' 2023-02-14 17:58:42 +01:00
Éloi Rivard
a96518ef9c Display TOS and policy URI on the consent list page 2023-02-14 13:51:59 +01:00
Éloi Rivard
ea9f6ebe00 Use full ldap 'givenName' instead of 'gn' 2023-02-04 22:23:58 +01:00
Jesús Pérez Rey (Chuso)
21c497da54
Fix typos and grammar errors. 2023-01-14 20:16:01 +01:00
Éloi Rivard
12a93870fc unit tests: authorization denial 2022-12-11 14:43:21 +01:00
Éloi Rivard
c2e93b8773 unit tests: slapd initialization refactoring 2022-12-06 18:18:27 +01:00
Éloi Rivard
9bf9c43677 Demo displays user preferred locale 2022-12-04 11:53:37 +01:00
Éloi Rivard
b8634900e3 Demo displays user preferred usernames 2022-12-03 11:05:28 +01:00
Éloi Rivard
9e75ef3478 Users can choose their favourite display name 2022-12-02 18:48:21 +01:00
Éloi Rivard
bb0daf34d7 LDAP 'preferredLanguage' attribute support 2022-11-20 22:52:47 +01:00
Éloi Rivard
77ae9df2a9 Issuer 'ISS' configuration option is not mandatory anymore 2022-11-17 18:10:40 +01:00
Éloi Rivard
154ec9fcd2 FROM_ADDR configuration option is not mandatory anymore 2022-11-16 19:26:33 +01:00
Éloi Rivard
e3028f375c Dynamically generate the server metadata.
OAUTH2 and OIDC server metadata are now dynamically generated.
2022-11-16 10:20:32 +01:00
Éloi Rivard
c64395b980 Fixed Docker image memberof file path 2022-11-15 14:13:23 +01:00
Éloi Rivard
d559d8774a Refactored demo instanciation 2022-11-15 12:47:44 +01:00
Éloi Rivard
1946f283fc Added 'code_challenge_methods_supported' in well-known configuration 2022-11-06 17:13:12 +01:00
Éloi Rivard
4163d2eb13 Stop using the deprecated FLASK_ENV environment variable 2022-11-01 12:56:07 +01:00
Éloi Rivard
4f729caf2e Implemented dynamic client registration 2022-10-24 10:00:32 +02:00
Éloi Rivard
e86eab63cd Attempt to fix RTD compilation 2022-07-20 11:16:38 +02:00
Éloi Rivard
32268ecab5 Demo UI refresh fixes 2022-07-08 10:08:00 +02:00
Éloi Rivard
b51d9dd85f Demo UI refresh 2022-07-08 10:01:36 +02:00
Éloi Rivard
5b31da36ce Minor demo improvements 2022-07-07 16:24:42 +02:00
Éloi Rivard
c8281969d8 Added support for a postalAddress field 2022-07-07 14:46:02 +02:00
Éloi Rivard
95ec09fe54 Implemented RP-initiated logout 2022-06-02 17:56:10 +02:00
Éloi Rivard
8ee91e6d0f Added the audience in the demo data 2022-06-02 12:48:35 +02:00
Éloi Rivard
c86f62ad50 Demo minor variable renaming 2022-06-02 12:44:35 +02:00
Éloi Rivard
38401005e7 The demo now uses poetry 2022-05-13 16:47:48 +02:00
Éloi Rivard
a1c4f7a278 Bumped to authlib 1 2022-04-10 17:04:38 +02:00
Éloi Rivard
8217d423ad Added an option to disable self edition 2022-04-06 17:54:39 +02:00
Éloi Rivard
f496617f81 Fixed documentation about HIDE_INVALID_LOGINS 2022-04-06 17:34:30 +02:00
Éloi Rivard
b7b6040a3e Added an option to disable password recovery 2022-04-05 09:56:38 +02:00
emillumine
239fce706f make demo entirely runnable with docker-compose 2022-03-18 17:44:58 +01:00
Éloi Rivard
07d1826905 Fixed some packaging issues 2022-03-08 19:22:52 +01:00
Stéphane Blondon
1e2c879a82 find slapadd and ldapadd binaries on debian 11 2022-01-07 13:59:19 +01:00
Stéphane Blondon
d37c0611ee fix: use 'exit' to quit script 2022-01-04 19:23:06 +01:00
Camille
db1d011a3b invitations expire after 48h 2022-01-01 10:56:48 +00:00
Éloi Rivard
50af2e3e72 pre-commit tox test 2021-12-20 23:57:27 +01:00
Éloi Rivard
529b297e93 Manage user websites 2021-12-13 23:04:34 +01:00
Éloi Rivard
f4c04d9666 Default configuration and test client use user avatars 2021-12-13 22:50:53 +01:00
Éloi Rivard
951fce2725 JWT mapping use jinja 2021-12-12 16:17:13 +01:00
Éloi Rivard
18e4b0c42c Documentation improvements 2021-12-12 15:38:32 +01:00
Éloi Rivard
14480020cb Group description 2021-12-10 17:16:33 +01:00
Camille
cefeac4e5b customize jwt claims with format string in config file 2021-12-10 14:56:43 +00:00
Éloi Rivard
0053369604 jpegPhoto profile form 2021-12-09 18:26:11 +01:00
Éloi Rivard
41be09b865 Added configuration options to tune object IDs 2021-12-08 10:11:25 +01:00
Éloi Rivard
adda4832f0 Login placeholder depends on the USER_FILTER configuration attribute 2021-12-07 20:16:46 +01:00
Éloi Rivard
c8f33cd77a The default configuration has no SMTP server defined 2021-12-07 17:18:41 +01:00
Éloi Rivard
3645171dd8 Option to not use OIDC 2021-12-07 00:16:42 +01:00
Éloi Rivard
cad1b6c274 Escape filters 2021-12-06 15:48:30 +01:00
Éloi Rivard
860b1d3803 demo: fixed authorization boostrap 2021-12-03 16:01:39 +01:00
Éloi Rivard
d2611abadb Permissions overhaul 2021-12-03 14:37:24 +01:00
Éloi Rivard
033639a955 Logging is configurable 2021-10-31 14:40:12 +01:00
Eloi Rivard
c0f53c8e6e use flask-themer to allow theme customization 2021-10-29 17:05:32 +02:00
Camille
e9434e0e8c Fix demo ldif order 2021-10-28 15:34:20 +02:00
Éloi Rivard
5273ae1075 demo: python binary detection fix 2021-10-27 20:55:04 +02:00
Éloi Rivard
983873eaf3 demo run fix 2021-10-20 12:28:10 +02:00
Éloi Rivard
5863a38e40 doc: installation improvements 2021-10-12 18:14:09 +02:00
Eloi Rivard
f957401cd8 Updated 'groups' claims in openid-configuration.json examples 2021-09-24 12:08:49 +02:00
Éloi Rivard
a9e6661e87 Use own-shipped html5shiv 2021-09-17 11:51:08 +02:00
Éloi Rivard
6a16590915 Added introspection_endpoint to discovery configuration files 2021-09-15 19:08:59 +02:00
Éloi Rivard
bf258f67e4 demo: can force either native or docker slapd 2021-08-31 15:47:06 +02:00