dettlaff
|
df211a9405
|
fix: modified list processing
|
2024-12-10 05:07:22 +04:00 |
|
dettlaff
|
9f5ee494a6
|
fix: change default params
|
2024-12-10 04:52:13 +04:00 |
|
dettlaff
|
d210f5b37f
|
fix: None check
|
2024-12-10 04:23:20 +04:00 |
|
dettlaff
|
3c53251caa
|
fix: typing
|
2024-12-09 12:37:57 +04:00 |
|
dettlaff
|
bd070a3c1d
|
fix: from review and make new error messages
|
2024-12-06 03:05:28 +04:00 |
|
dettlaff
|
ecb3f36f96
|
fix: rename origin, add new mutation
|
2024-12-04 02:54:24 +04:00 |
|
dettlaff
|
e546ef00e9
|
feat: add legacy support
|
2024-12-01 17:29:29 +04:00 |
|
dettlaff
|
8d4639fd78
|
fix: added a plug for ssh_keys
|
2024-11-29 19:54:20 +04:00 |
|
dettlaff
|
11d583bd92
|
fix: name of function
|
2024-11-29 19:37:31 +04:00 |
|
dettlaff
|
b8b2363f48
|
feat: add legacy code support
|
2024-11-29 19:32:02 +04:00 |
|
dettlaff
|
6b95d590aa
|
feat: add more debbug
|
2024-11-27 17:18:08 +04:00 |
|
dettlaff
|
cb9e5c1307
|
fix: subprocess.run
|
2024-11-27 17:13:20 +04:00 |
|
dettlaff
|
241aa4b0d6
|
fix: subprocess.run
|
2024-11-27 17:01:06 +04:00 |
|
dettlaff
|
8eecf1f16b
|
fix: add kanidm login -D idm_admin
|
2024-11-27 16:52:05 +04:00 |
|
dettlaff
|
5ded1f15a2
|
fix: delete decode
|
2024-11-25 19:15:14 +04:00 |
|
dettlaff
|
c608b136cc
|
feat: add more debbug
|
2024-11-25 15:24:05 +04:00 |
|
dettlaff
|
1a8b0a51eb
|
fix: add string parsing
|
2024-11-22 23:34:07 +04:00 |
|
dettlaff
|
798f1631af
|
fix: wrong kanidm command
|
2024-11-22 23:27:38 +04:00 |
|
dettlaff
|
7ade8f8d01
|
notfix: remove try
|
2024-11-22 23:18:33 +04:00 |
|
dettlaff
|
13dbfd7c02
|
fix: fox
|
2024-11-22 23:15:06 +04:00 |
|
dettlaff
|
fa17f18e0e
|
fix: add some debbug
|
2024-11-22 23:10:29 +04:00 |
|
dettlaff
|
833edab852
|
fix: re
|
2024-11-22 22:41:50 +04:00 |
|
dettlaff
|
8495c632d5
|
fix: re search
|
2024-11-21 22:05:07 +04:00 |
|
dettlaff
|
b9ee8fad91
|
fix: add more debug for subprocess.check_output
|
2024-11-21 21:20:29 +04:00 |
|
dettlaff
|
74b3046e5d
|
fix: replace json by re
|
2024-11-21 21:01:29 +04:00 |
|
dettlaff
|
ecbe52e22c
|
fix: reset_and_save_idm_admin_password remove jq from subprocess.check_output
|
2024-11-21 20:45:43 +04:00 |
|
dettlaff
|
7b81c47cee
|
fix: add more debug
|
2024-11-21 20:00:14 +04:00 |
|
dettlaff
|
d40cde9281
|
fix: use shell=True for testing
|
2024-11-21 19:42:02 +04:00 |
|
dettlaff
|
cf347a2dc3
|
fix: from kanidm to kanidmD
|
2024-11-20 21:30:56 +04:00 |
|
dettlaff
|
7e349536d6
|
fix: typo
|
2024-11-20 17:15:10 +04:00 |
|
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 |
|
Houkime
|
fda5d315a9
|
fix(tokens-repo): return device key instead of NewDeviceKey class
|
2022-12-16 13:04:51 +00:00 |
|
Houkime
|
13e84e2697
|
feat(tokens-repo): recovery key uses decrement
|
2022-12-16 13:04:47 +00:00 |
|
Houkime
|
eba1d01b3d
|
feat(tokens-repo): recovery key creation
|
2022-12-16 13:04:43 +00:00 |
|
Houkime
|
8dfb3eb936
|
feat(tokens-repo): fuller reset
|
2022-12-16 13:04:39 +00:00 |
|
Houkime
|
4579fec569
|
feat(tokens-repo): get recovery key
|
2022-12-16 13:04:35 +00:00 |
|
Houkime
|
257096084f
|
refactor(tokens-repo): split out date field detection
|
2022-12-16 13:04:26 +00:00 |
|
Houkime
|
bf6c230ae0
|
fix(tokens-repo): raise token not found when deleting nonexistent token
even if device name exists
|
2022-12-16 13:04:26 +00:00 |
|
Houkime
|
95e200bfc5
|
feat(tokens-repo): reset function
|
2022-12-16 13:04:19 +00:00 |
|
Houkime
|
9ffd67fa19
|
feat(tokens-repo): get new device key
|
2022-12-16 13:04:14 +00:00 |
|
Houkime
|
b98ccb88d1
|
refactor(tokens-repo): separate getting model dict
|
2022-12-16 13:04:04 +00:00 |
|
Houkime
|
3cb7f29593
|
refactor(tokens-repo): detach preparing a dict before a model cast
|
2022-12-16 13:03:57 +00:00 |
|
Houkime
|
647e02f25b
|
feat(tokens-repo): redis delete token
|
2022-12-16 13:03:46 +00:00 |
|
Houkime
|
ba6a5261fa
|
refactor(tokens-repo): redis token key func
|
2022-12-16 13:03:41 +00:00 |
|
Houkime
|
d8e3cd67e0
|
feat(tokens-repo): redis store token
|
2022-12-16 13:03:36 +00:00 |
|
Houkime
|
256c16fa9f
|
feat(tokens-repo): redis get tokens
|
2022-12-16 13:03:27 +00:00 |
|
Houkime
|
f2fa47466b
|
feat(tokens-repo):empty implementation of redis token repo
But it initializes and fails tests!
|
2022-12-16 13:03:27 +00:00 |
|
Houkime
|
ca822cdf6f
|
refactor(tokens-repository): move use_mnemonic_new_device_key() to abstract class
|
2022-12-16 13:03:27 +00:00 |
|
Houkime
|
2797c6f88f
|
fix(tokens-repository): use_mnemonic_new_device_key() now stores a token
|
2022-12-16 13:03:27 +00:00 |
|
Houkime
|
4498003aca
|
refactor(tokens-repository): dissect use_mnemonic_new_device_key()
|
2022-12-16 13:03:27 +00:00 |
|
Houkime
|
772c0dfc64
|
refactor(tokens-repository): move use_mnemonic_recovery_key() to abstract class
|
2022-12-16 13:03:27 +00:00 |
|