Commit graph

738 commits

Author SHA1 Message Date
Éloi Rivard
d597baa415 for better readability, set the flask aborts in their own conditionnal block 2022-04-04 17:52:05 +02:00
Éloi Rivard
2b3f912798 Merge branch 'update-doc' into 'master'
Update install doc

See merge request yaal/canaille!44
2022-04-04 15:21:37 +00:00
Éloi Rivard
5cb759f3b6 Removed .ignore file 2022-04-04 17:00:44 +02:00
Éloi Rivard
791aadb310 Merge branch 'docker' into 'master'
make demo entirely runnable with docker-compose

See merge request yaal/canaille!45
2022-04-04 13:29:11 +00:00
Limezy
9932ee442a Update install.rst 2022-03-19 18:49:34 +07:00
Limezy
bf2b8eb091 Update install.rst 2022-03-19 18:19:48 +07:00
emillumine
239fce706f make demo entirely runnable with docker-compose 2022-03-18 17:44:58 +01:00
emillumine
f6680ee1fd Bumped to 0.0.8: fixed dependencies by pinning them to 'less than next major version'
currently authlib 1.0.0 released today break tests
2022-03-15 14:42:32 +01:00
emillumine
093cee8946 Bumped to 0.0.7 2022-03-15 12:15:18 +01:00
Camille
a446915f1b Merge branch 'issue-93-cn-and-dn-special-cases' into 'master'
fix cn/dn when user has no given name

Closes #93

See merge request yaal/canaille!43
2022-03-14 09:26:04 +00:00
emillumine
f95bffadd6 remove 'available_groups' Group classmethod (replaced by already existing 'all' LDAPObject method) 2022-03-14 10:14:02 +01:00
emillumine
ffd85e5ee0 remove commented code 2022-03-14 10:03:05 +01:00
emillumine
8d804616fd add a 'all' utility class method to LDAPObject to retrieve all class instances 2022-03-14 10:03:05 +01:00
emillumine
da1b911172 set User.object_class and Group.object_class based on config when setting ldap models
permit filtering with object_class by default in User.filter() and Group.filter()
avoid having user/group base root in default filter results
2022-03-14 10:03:05 +01:00
emillumine
3c9f618564 fix automatic cleaning of consents in tests 2022-03-14 10:03:05 +01:00
emillumine
87d2fa8641 fix tests by automatically cleaning up users and groups in test teardown 2022-03-14 10:03:05 +01:00
emillumine
653e79d7a8 fix dn in case of leading space or special char in id attribute
according to openldap doc, the default is to silently  eliminate  spaces  around  AVA  separators, RDN component separators and RDN separators
https://www.openldap.org/software/man.cgi?query=ldap_str2dn
2022-03-14 10:03:05 +01:00
emillumine
cd1d106248 set cn without leading space when user is created without given name 2022-03-14 10:03:05 +01:00
Éloi Rivard
50ab1f7ccf Bumped to 0.0.6 2022-03-08 19:44:26 +01:00
Éloi Rivard
ebb4bf3508 Changelog 2022-03-08 19:43:18 +01:00
Éloi Rivard
5ba102abd5 Merge branch 'packaging' into 'master'
Fixed some packaging issues

See merge request yaal/canaille!42
2022-03-08 18:25:21 +00:00
Éloi Rivard
07d1826905 Fixed some packaging issues 2022-03-08 19:22:52 +01:00
Éloi Rivard
650a9ab99d Forgotten environment dependency 2022-03-04 20:04:21 +01:00
Éloi Rivard
3f07d7a065 Merge branch 'issue-92-jwt-access-token' into 'master'
JWT access token

Closes #92

See merge request yaal/canaille!38
2022-03-04 19:00:48 +00:00
Éloi Rivard
dc835cc149 access token is a jwt 2022-03-04 19:58:10 +01:00
Éloi Rivard
d15a8cdc74 Improved refresh token tests, again 2022-03-04 19:58:00 +01:00
Éloi Rivard
db2e11c16e Improved refresh token tests 2022-03-04 19:07:52 +01:00
Camille
7769e40981 Merge branch 'group-persisted-in-invitation' into 'master'
fix: groups are saved even when invited user does not have read permission on groups

See merge request yaal/canaille!41
2022-03-04 17:18:51 +00:00
Camille
0db07fa36f fix: groups are saved even when invited user does not have read permission on groups 2022-03-04 18:13:57 +01:00
Éloi Rivard
80906a1cc6 Bumped to 0.0.5 2022-03-03 10:58:25 +01:00
Camille
a3c4db7a53 fix: handle token not found in token view 2022-03-03 10:05:14 +01:00
Éloi Rivard
386b23cbd4 Merge branch 'sblondon-master-patch-55303' into 'master'
Fix: spellcheck configuration key

See merge request yaal/canaille!40
2022-03-01 18:58:52 +00:00
sblondon
3016f2504b Fix: spellcheck configuration key 2022-03-01 18:55:02 +00:00
Éloi Rivard
98a4fef62a Merge branch 'master' into 'master'
Fix: better consistency of admin dropdown menu

See merge request yaal/canaille!39
2022-02-27 11:08:08 +00:00
Stéphane Blondon
3f6be51dae fix: tox complains about new-line at end-of-file 2022-02-25 14:11:35 +01:00
Stéphane Blondon
803fadd0e9 fix: better consistency of admin dropdown menu
The dropdown was not always displayed due to lack of 'menuitem' parameter on some calls.
The 'active' and 'dropdown' classes from fomanticUI clash so the dropdown is not displayed when both are added to the `div` tag. As workaround, 'active' class is replaced by a custom 'dropdown-active' class.
2022-02-25 13:58:35 +01:00
Éloi Rivard
b4544ebc54 Updated French translation 2022-02-23 11:00:27 +01:00
Éloi Rivard
a36dfb21fb Removed an useless test 2022-02-23 10:49:49 +01:00
Éloi Rivard
3411e27c85 Improved admin token list and code list templates 2022-02-19 17:53:05 +01:00
Éloi Rivard
5746224218 Removed the latest googleapis request laying around 2022-02-18 11:09:24 +01:00
Éloi Rivard
e96e9b03bb Improved installation documentation 2022-02-17 17:26:15 +01:00
Éloi Rivard
5ac6dff790 Merge branch 'issue-92-jwt-access-token' into 'master'
AuthorizationCode and Token have a new id parameter

See merge request yaal/canaille!37
2022-02-17 13:45:00 +00:00
Éloi Rivard
07faedc539 Bumped to 0.0.4 2022-02-16 19:41:17 +01:00
Éloi Rivard
a74d68aee1 AuthorizationCode and Token have a new id parameter 2022-02-16 18:00:30 +01:00
Éloi Rivard
88c9547cc4 Use a custom method to generate access tokens 2022-02-13 18:18:25 +01:00
Éloi Rivard
6e01baf3b0 improved token admin page template, again 2022-02-03 10:04:14 +01:00
Éloi Rivard
7851e8e31f improved token admin page template 2022-02-03 09:51:04 +01:00
Éloi Rivard
7f1f36bbd7 Merge branch 'sblondon-master-patch-55930' into 'master'
Spellcheck a word in french translation

See merge request yaal/canaille!36
2022-02-02 09:01:46 +00:00
sblondon
7c7b0988b8 Spellcheck a word in french translation 2022-02-01 17:41:52 +00:00
Éloi Rivard
9d4bc2d68f mail recipient bugfix 2022-02-01 17:28:11 +01:00