Commit Graph

57 Commits (9fdef6f2e53f6e9506cf848a2b1ee0ffac162029)

Author SHA1 Message Date
sfigato 9fdef6f2e5
Refactor web-related modules in subpackage 2022-02-03 12:59:52 +01:00
sfigato 593255e853
Rename Congregations to more meaningful Roles 2022-02-03 12:16:42 +01:00
sfigato ef08fe5997
Add session store and login endpoint and auth middleware 2022-02-03 00:46:45 +01:00
sfigato 7201d9a529
Complete CRUD UserView 2022-02-01 23:30:49 +01:00
sfigato 297b31ab90
Avoid unhandled exceptions 2022-02-01 23:30:26 +01:00
sfigato b704ea4d10
Clean unused code and improve logging 2022-02-01 23:29:48 +01:00
sfigato b0d2f759ea
Remove ldap3 from dependencies 2022-02-01 23:27:19 +01:00
sfigato d6aac65bba
fixup! Minor fixes 2022-01-26 16:20:30 +01:00
sfigato c0d835d8d1
fixup! Throw away previous async model implementation 2022-01-26 16:17:45 +01:00
sfigato 077c53c5be
Minor fixes 2022-01-25 23:46:45 +01:00
sfigato e6cee09429
Throw away previous async model implementation 2022-01-25 23:46:24 +01:00
sfigato c5a4b86349
Tons of new tests and new_model refinement 2020-12-27 19:48:57 +01:00
sfigato b400127cc6
Fix bugs (thanks to integration tests) 2020-11-30 19:16:36 +01:00
sfigato 95bc52ebd8
Add docs and clarify 2020-11-27 19:41:09 +01:00
sfigato ac0ab02d6e
Massive code update 2020-11-11 22:25:02 +01:00
sfigato 67c83975d1
Switch to mixins to build async_ldap model classes 2020-08-31 11:01:46 +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 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 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 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 2cf07d6732
Moved ldap async modules to dedicated subpkg. 2019-05-04 17:59:21 +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 4e2cadaa92
Extending model. 2019-05-01 15:34:26 +02:00
sfigato b1837f80e4
Adding AsyncClient. 2019-05-01 15:34:21 +02:00
sfigato b0f312284d
Change cli bool flag and fix ldap connection. 2019-04-28 12:26:20 +02:00
sfigato e67b97b214
Added async_model and tests. 2019-04-19 16:57:54 +02:00
sfigato c8eb5c2dd4
Typo. 2019-04-15 20:12:51 +02:00
sfigato 80fb51f7de
Refactor entrypoint to use click. 2019-04-15 18:27:22 +02:00
crudo 7029b88fa7 Remove unused file 2018-03-10 11:29:46 +01:00
crudo 597db33271 Add API tests 2017-12-27 11:02:38 +01:00