Commit graph

1142 commits

Author SHA1 Message Date
Éloi Rivard
7c01158e44 More LDAP syntax definitions 2023-03-11 12:54:27 +01:00
Éloi Rivard
3406428f13 Renamed group attributes to match SCIM naming convention 2023-03-11 12:54:27 +01:00
gallegonovato
41edb53ff4
Translated using Weblate (Spanish)
Currently translated at 100.0% (299 of 299 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-03-11 11:37:34 +01:00
Éloi Rivard
971cf317c9 Used 'id' instead of 'dn' 2023-03-10 18:14:15 +01:00
Éloi Rivard
f6447e5d76 Contribution page 2023-03-10 09:24:16 +01:00
Éloi Rivard
fafe47e69d Page titles 2023-03-10 01:02:36 +01:00
Éloi Rivard
31111b64e2 Dash in the title 2023-03-10 00:48:40 +01:00
Éloi Rivard
7918641e22 Consent cn alias, again 2023-03-10 00:40:16 +01:00
Éloi Rivard
e802e3d5e2 Consent cn alias 2023-03-10 00:38:16 +01:00
Éloi Rivard
0e81177151 Table search button partially reloads the table 2023-03-09 23:11:39 +01:00
Éloi Rivard
b29d125f09 Fixed client edition page 2023-03-09 23:09:44 +01:00
Éloi Rivard
f5b97ddbca
Translated using Weblate (French)
Currently translated at 100.0% (299 of 299 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-03-09 23:06:10 +01:00
Éloi Rivard
ff69d9ddb2 Updated language catalogs 2023-03-09 21:01:29 +01:00
Éloi Rivard
3d37073f18 Fixed unit tests 2023-03-09 20:58:45 +01:00
Éloi Rivard
a32e92d3d9 Added headers to tables 2023-03-09 20:34:57 +01:00
Éloi Rivard
7a9062caba Merge branch 'issue-114-server-side-pagination' into 'main'
Server-side pagination and search

Closes #114

See merge request yaal/canaille!111
2023-03-09 19:02:45 +00:00
Éloi Rivard
246d0d25e5 Translatable strings extraction 2023-03-09 19:33:28 +01:00
Éloi Rivard
39a9410a45 CHANGELOG 2023-03-09 19:31:59 +01:00
Éloi Rivard
cf9b5c11a3 Dynamic tables with htmx
- Search is triggered with user inputs
- Page changes are triggered with clicks
2023-03-09 19:31:59 +01:00
Éloi Rivard
2d0c58c3e3 Added htmx dependency 2023-03-09 19:31:59 +01:00
Éloi Rivard
46a346a0d0 Table search implementation 2023-03-09 19:31:59 +01:00
Éloi Rivard
fbf449edd6 LDAPObject fuzzy search 2023-03-09 19:31:59 +01:00
Éloi Rivard
091270df53 LDAPObject pagination performance improvements
Creates a LDAPObjectQuery class that is returned by LDAPObject.filter
This avoids to create objects for each ldap result, but only for the
asked slice. It also store the whole results length so `len` calls are
a bit faster.
2023-03-09 19:31:59 +01:00
Éloi Rivard
e5d968d4f5 Every list of items is paginated server-side. 2023-03-09 19:31:59 +01:00
Éloi Rivard
480b085db3 User list template refactoring 2023-03-09 19:31:59 +01:00
Éloi Rivard
5549558366 Removed datatables 2023-03-09 19:31:59 +01:00
Éloi Rivard
52e0cd3615 Translatable strings extraction 2023-03-09 19:31:51 +01:00
Éloi Rivard
cfb67ed89b Add HTML table tags 2023-03-09 18:34:36 +01:00
Éloi Rivard
36cc47e40d Moved jinja macros in their own directory 2023-03-09 18:10:28 +01:00
Éloi Rivard
681c311d05 Forgotten password test improvement
Search for error messages in flashes instead of directly in the HTML.
2023-03-09 18:10:28 +01:00
Éloi Rivard
8b3781f73f Fixed missing HTML translation 2023-03-09 17:28:09 +01:00
Éloi Rivard
990c624c32 Save one LDAP connection when calling save() 2023-03-09 13:00:17 +01:00
Éloi Rivard
087ada53d1 Do not directly save objects in Group.all/remove_member 2023-03-09 10:50:05 +01:00
Éloi Rivard
21ab633b2f Consent list: fixed display for locales with long translations 2023-03-09 09:29:04 +01:00
Éloi Rivard
8ee31a3e99 Typo 2023-03-09 01:24:46 +01:00
Éloi Rivard
7f234c9746 Fixed GHA 2023-03-09 01:23:26 +01:00
Éloi Rivard
d0f6c341f3 LDAPObject refactoring 2023-03-09 01:14:07 +01:00
Éloi Rivard
9ca1ad5f5d Ignore profiling files 2023-03-09 01:07:43 +01:00
Éloi Rivard
3c2c5bf515 Merge branch 'ldapobject-refactoring' into 'main'
Ldapobject refactoring

See merge request yaal/canaille!109
2023-03-08 23:01:59 +00:00
Éloi Rivard
53581404ab LDAPObject dn attributes are automatically initialized 2023-03-08 23:53:53 +01:00
Éloi Rivard
d201d6f617 Lazy conversion of LDAP to python format for LDAPObject attributes 2023-03-08 18:54:27 +01:00
Éloi Rivard
0eaa5e1319 LDAPObject.query can take non string values 2023-03-08 18:50:34 +01:00
Éloi Rivard
7e42467bfc Renamed LDAPObject.rdn in LDAPObject.rdn_attribute 2023-03-08 18:50:33 +01:00
Éloi Rivard
5d9a41f18b Delayed LDAPObject may and must initialization 2023-03-08 00:53:27 +01:00
Éloi Rivard
edd7873cea Fixed unit tests coverage 2023-03-07 20:10:21 +01:00
Éloi Rivard
84c10f8205 update_ldap_attributes is a classmethod 2023-03-07 18:05:00 +01:00
Éloi Rivard
c5b11d2fb3 Merge LDAPObject.all and LDAPObject.filter in LDAPObject.query 2023-03-07 17:58:27 +01:00
Éloi Rivard
cc65d78719 Renames LDAPObject.ldap in LDAPObject.ldap_connection 2023-03-07 17:55:32 +01:00
Éloi Rivard
333cbec201 LDAPObject __eq__ method checks if attributes exist 2023-03-07 17:42:46 +01:00
Éloi Rivard
a368b36d9c Better populate test cleaning 2023-03-07 17:27:31 +01:00