Commit Graph

77 Commits (ac0ab02d6e98c4e741a0db782e2fb8d6a0aae7da)

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