Commit Graph

77 Commits

Author SHA1 Message Date
ac0ab02d6e
Massive code update 2020-11-11 22:25:02 +01:00
d024232d66
Add logs target in openldap Makefile 2020-11-11 22:24:11 +01:00
166b542846
Set 88 chars per line 2020-11-11 22:23:30 +01:00
d87c89a075
Update Pipfile 2020-11-11 22:23:10 +01:00
b7316ff513
Refactor helper script 2020-08-31 11:02:03 +02:00
67c83975d1
Switch to mixins to build async_ldap model classes 2020-08-31 11:01:46 +02:00
205c87dc49
Update setup.py and Pipfile 2020-08-31 10:11:20 +02:00
c05b023bdb
Use async model in api 2020-08-29 20:15:02 +02:00
1b97d6d7ca
Refactor describe func in model 2020-08-29 20:14:20 +02:00
b979002f78
Black'd 2020-08-29 20:13:14 +02:00
e41e03f464
Move singleton logic in function 2020-08-29 20:10:56 +02:00
d9a6db63d7
Add description 2020-08-29 20:07:56 +02:00
6fea75022f
Refactor config logic for bools
If a config paramenter is a boolean, the resulting configuration is the
logic and of all those given (including defaults). BEWARE in future
config implementations!
2020-08-29 20:06:08 +02:00
12f37b3a55
Move custom exceptions in own module 2020-08-29 20:05:15 +02:00
a0cf7e9603
Silence mypy 2020-08-29 20:03:59 +02:00
8779db9ca0
Stub methods in async client 2020-08-29 19:42:24 +02:00
e454fbd84a
Add sync method and method stubs to Service 2020-08-29 19:41:34 +02:00
66885641c4
Add test and stub test 2020-08-29 19:40:06 +02:00
a22f459915
Clean harder 2020-08-23 21:32:20 +02:00
08c45b54f2 Do not verify cert in dev container 2020-08-23 21:31:23 +02:00
2bc7f0b75f
Improve error verification in async_model tests. 2019-07-19 14:29:46 +02:00
d9e8eb23e3
Tests for Service create method. 2019-07-18 18:15:43 +02:00
ce4c085e3f
User modify_password and verify_password. Failing Service tests. 2019-07-13 16:13:50 +02:00
7634f0f530
Better logging style and improved tests. 2019-07-13 11:40:35 +02:00
79f682cbb7
Password now hashed in app. 2019-07-13 11:39:06 +02:00
2b46eb0353
Renamed exceptions. 2019-07-13 11:35:03 +02:00
fed48022af
Improve tests and added tests for sync, modify and remove. 2019-07-06 21:27:00 +02:00
3454c194b1
Test for create_new_. 2019-07-06 21:26:21 +02:00
f05fe8a0d5
Improve User remove. 2019-07-06 21:25:23 +02:00
ec472218c4
Manage append and replace User modify. 2019-07-06 21:25:01 +02:00
79d7dcc653
Improve User sync. 2019-07-06 21:16:06 +02:00
fe3450b886
Tests for name property. 2019-07-01 22:48:04 +02:00
f558492975
Improved singletonic models. 2019-07-01 22:37:56 +02:00
706f109faf
Create, sync, modify and remove User. 2019-06-30 21:26:27 +02:00
0f7882a387
Search user by attr and by uid. 2019-06-30 21:24:55 +02:00
1be1aac9d0
Hacker, Robots, Congregations now singletons. 2019-06-30 21:23:11 +02:00
7e6b757e3a
Style. 2019-06-30 21:19:04 +02:00
ed8af40392
Tests on async part moved. 2019-06-30 21:16:48 +02:00
2cf07d6732
Moved ldap async modules to dedicated subpkg. 2019-05-04 17:59:21 +02:00
8dce6566ee
Tests for full coverage of async_model. 2019-05-01 15:34:52 +02:00
b466bf8ed2
Leafs are singletons, bound to the client object. 2019-05-01 15:34:46 +02:00
d0cba75ee0
Entry and OU are async iterators that do not deplete. 2019-05-01 15:34:41 +02:00
fd729170d3
Entry and OU shall not be singletons. 2019-05-01 15:34:36 +02:00
c4046a83ff
Adding auxiliary test module. 2019-05-01 15:34:31 +02:00
4e2cadaa92
Extending model. 2019-05-01 15:34:26 +02:00
b1837f80e4
Adding AsyncClient. 2019-05-01 15:34:21 +02:00
27fc927254
Make the init.ldif more sound to the real use case. 2019-04-28 12:31:52 +02:00
a434ff9b4c
Adding bonsai==1.1.0 2019-04-28 12:31:19 +02:00
422d238fc1
Ignore cpy* venv. 2019-04-28 12:30:17 +02:00
b0f312284d
Change cli bool flag and fix ldap connection. 2019-04-28 12:26:20 +02:00