É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
d0f6c341f3
LDAPObject refactoring
2023-03-09 01:14:07 +01: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
d345218557
Updated to flask-babel 3
2023-03-01 15:32:40 +01:00
Éloi Rivard
a57c86cc2c
SMTP SSL fixes
2023-02-28 10:07:08 +01:00
Wang Wenlin
4fa09b3a70
Enable SSL SMTP
2023-02-28 08:53:47 +00:00
Éloi Rivard
b9704ce8f1
Split populate logics in its own file
2023-02-26 22:21:55 +01:00
Jesús Pérez Rey (Chuso)
dbddfae33b
Add Galician datatables translation.
...
Signed-off-by: Jesús Pérez Rey (Chuso) <git@chuso.net>
2023-02-26 21:22:17 +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
b5b6331aea
i18n refactorization
2023-02-26 18:21:06 +01:00
Jesús P Rey
f7dc7b1186
Translated using Weblate (Galician)
...
Currently translated at 100.0% (290 of 290 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/gl/
2023-02-19 23:35:58 +01:00
Jesús P Rey
38ae55a00d
Translated using Weblate (Galician)
...
Currently translated at 100.0% (290 of 290 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/gl/
2023-02-18 23:08:29 +01:00
Jesús P Rey
537d42d73d
Added translation using Weblate (Galician)
2023-02-18 21:24:23 +01:00
Éloi Rivard
ceeb6c1393
Translated using Weblate (French)
...
Currently translated at 100.0% (290 of 290 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-02-16 15:37:39 +01:00
gallegonovato
907175717e
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (290 of 290 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-02-16 15:37:39 +01:00
Éloi Rivard
8b4d5eb247
This is too soon for the walrus operator
2023-02-14 22:06:03 +01:00
Éloi Rivard
c51022d383
Updated translation files
2023-02-14 22:04:59 +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
d551b1ab35
Revoked consents can be restored
2023-02-14 19:05:43 +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
896e9cca03
Translated using Weblate (French)
...
Currently translated at 100.0% (288 of 288 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-02-11 15:35:33 +01:00
gallegonovato
51bb584d55
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (280 of 280 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-02-11 15:35:32 +01:00
Éloi Rivard
daffdc03b1
Translated using Weblate (French)
...
Currently translated at 100.0% (269 of 269 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-02-10 09:54:04 +01:00
Éloi Rivard
f43575206a
Use unicode suspension points
2023-02-10 09:53:26 +01:00
Éloi Rivard
2eb777a3ca
Implements admin token deletion
2023-02-04 19:00:16 +01:00
Éloi Rivard
ddea98bff9
Translated using Weblate (French)
...
Currently translated at 100.0% (275 of 275 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-02-04 18:53:26 +01:00
gallegonovato
ef98cb52a8
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (275 of 275 strings)
Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-02-04 18:53:25 +01:00
Éloi Rivard
3359b51d9b
Implements admin token deletion
2023-02-04 18:41:49 +01:00
Éloi Rivard
3ac7a8013f
Punctuation uniformization
2023-02-03 18:49:44 +01:00