Commit graph

78 commits

Author SHA1 Message Date
dettlaff 31cb627db6 fix: change old class name 2024-11-20 17:07:42 +04:00
dettlaff 9ac4ddc63f feat: add kanidm token manager 2024-11-19 21:50:43 +04:00
dettlaff 2dc34d6d0e refactor: mv hash_password to repository 2024-11-15 18:30:51 +04:00
dettlaff d3f24d958d fix: change password to hashed_password 2024-11-15 03:52:27 +04:00
dettlaff 1c3e2cc2e0 feat: update filds 2024-11-15 03:30:24 +04:00
dettlaff d171961ef9 fix: change name to username 2024-11-11 21:49:51 +04:00
dettlaff e16f538c30 fix: types UserDataUser 2024-11-11 21:47:31 +04:00
dettlaff 6fcb47348f fix: missing _send_query 2024-11-11 21:41:44 +04:00
dettlaff 9fdb5b06df fix: user types 2024-11-11 21:37:17 +04:00
dettlaff 0f92452ee8 fix: change return type 2024-11-11 21:09:14 +04:00
dettlaff 997b88d4c8 fix: remove double https 2024-11-11 20:50:52 +04:00
dettlaff a308b3afd7 fix: remove ssl check 2024-11-11 20:45:28 +04:00
dettlaff b1619097ff fix: change canidm url 2024-11-11 20:40:41 +04:00
dettlaff 239c47964c fix: add endpoint debug 2024-11-11 20:36:16 +04:00
dettlaff c056540578 fix: error exception 2024-11-11 20:07:34 +04:00
dettlaff b6a4758c9b feat: add check response error text 2024-11-11 13:04:35 +04:00
dettlaff a1f77918de test: commit will be removed 2024-11-11 12:41:30 +04:00
dettlaff d7bbb64034 feat: UserRepositoryError 2024-11-11 04:51:42 +04:00
dettlaff 06db9b2201 test: change ACTIVE_USERS_PROVIDER (this commit will be deleted) 2024-11-11 04:40:10 +04:00
dettlaff 4eb2678c14 fix: create user, add test token 2024-11-11 04:33:17 +04:00
dettlaff fbc0ae61fb feat: removed unnecessary functionality from the repository 2024-11-03 03:15:51 +04:00
dettlaff 516cb781dc feat: add canidm repo 2024-10-29 01:57:23 +04:00
dettlaff a144c91113 refactor: moved json user management to a separate repository 2024-10-26 22:22:31 +04:00
Inex Code 1259c081ef style: Reformat with new Black version 2024-07-26 22:59:44 +03:00
Inex Code bda21b7507 fix: Mark md5 as not used for security 2024-03-15 16:14:31 +04:00
Inex Code b6f436d8b3 refactor: Adapt API to the NixOS configuration changes 2024-01-10 15:05:10 +02:00
Houkime b7cd703eaa fix(tokens): missing timezone import 2023-10-25 14:53:18 +00:00
Inex Code 829aca14be Merge branch 'master' into redis/connection-pool 2023-10-24 19:25:36 +03:00
Inex Code e0a5ecdd9d style: reformat 2023-07-20 19:37:01 +03:00
Inex Code 0245d629fd refactor(backups): linting 2023-07-20 18:24:26 +03:00
Houkime 6ca68fae17 fix(tokens-repo): persistent hashing 2023-06-23 11:54:40 +00:00
Houkime 5be3c83952 fix(tokens-repo): persistent hashing 2023-06-21 12:15:33 +00:00
Houkime 5fbfaa73ea feat(tokens-repo): add clone() method 2023-06-14 14:02:23 +03:00
Houkime d0a17d7b7a fix(tokens-repo): make json _get_stored_new_device_key return tz-aware keys 2023-06-14 14:02:23 +03:00
Houkime da19cc8c0e refactor(tokens-repo): move create recovery key to abstract token repository 2023-06-14 14:02:23 +03:00
Houkime 817f414dd9 refactor(tokens-repo): break out storing recovery keys 2023-06-14 14:02:23 +03:00
Houkime baf72b730b refactor(tokens-repo): move reset to AbstractTokensRepo 2023-06-14 14:02:23 +03:00
Houkime 158c1f13a6 refactor(tokens-repo): switch token backend to redis
And use timezone-aware comparisons for expiry checks
2023-06-14 14:02:23 +03:00
Inex Code cb403a94bd fix: typing 2022-12-30 21:06:16 +03:00
Houkime 450ff41ebd feat(tokens-repo): make device names unique before storage 2022-12-26 15:51:12 +00:00
Houkime 7d9bccf4ec fix(tokens-repo): make is_token_valid infallible 2022-12-26 15:18:02 +00:00
Houkime 5d4ed73435 fix(tokens-repo): properly expire new device keys 2022-12-26 14:01:36 +00:00
Houkime c037a12f4d refactor(tokens-repo): break out _store_new_device_key() 2022-12-26 12:31:09 +00:00
Houkime 22a309466e fix(tokens-repo): fix is_name_exists() being fallible 2022-12-21 17:04:18 +00:00
Houkime 20410ec790 fix(tokens-repo): fix name pair validation being able to raise a notfound error 2022-12-21 16:10:41 +00:00
Houkime d3bf867bb5 fix(tokens-repo): do not change the date on token refresh 2022-12-21 13:05:00 +00:00
Houkime a97705ef25 fix(tokens-repository): fix getting and setting recovery token expiration date 2022-12-21 10:24:05 +00:00
Houkime ab70687c61 fix(tokens-repository) :make NONE-uses-left eternally valid and test for it 2022-12-19 12:57:32 +00:00
Houkime 5a25e2a270 feat(tokens-repo): getting stored device key 2022-12-16 13:05:06 +00:00
Houkime 0ae7c43ebf refactor(tokens-repo): break out generic hash_as_model casting 2022-12-16 13:05:00 +00:00