Commit graph

1083 commits

Author SHA1 Message Date
dettlaff 0f422a6fc8 fix: dict check in _check_response_type_and_not_empty 2024-12-11 12:09:56 +04:00
dettlaff 3bff37cb79 fix: check none type in _check_response_type_and_not_empty 2024-12-11 11:51:22 +04:00
dettlaff c5ae43aab3 fix: return response_data 2024-12-11 07:35:20 +04:00
dettlaff 41ca72ae24 fix: add type debbug 2024-12-11 07:27:45 +04:00
dettlaff be9be5c975 fix: remove trash imports 2024-12-11 07:15:40 +04:00
dettlaff 27254dd014 feat: forbid modification of important user. 2024-12-11 07:13:02 +04:00
dettlaff 2db33a1688 feat: _check_response_type_and_not_empty 2024-12-11 06:35:17 +04:00
dettlaff 0700e2285f feat: add more errors processing 2024-12-11 06:00:14 +04:00
dettlaff cf3e6fe39e feat: add new errors processing 2024-12-11 05:48:30 +04:00
dettlaff fbb2a67979 feat: add new params to KanidmReturnUnknownResponseType 2024-12-11 05:41:44 +04:00
dettlaff 38b5dc19cb fix: move Exceptions to new file 2024-12-11 05:33:07 +04:00
dettlaff 63ea78b1ef fix: delete block try except in wrong place 2024-12-11 04:03:58 +04:00
dettlaff 62098493c4 fix: plugin error detect 2024-12-11 03:59:42 +04:00
dettlaff fb97714dd7 feat: plugin error check 2024-12-11 03:50:16 +04:00
dettlaff 17826e6437 fix: detect kanidm errors 2024-12-11 03:45:04 +04:00
dettlaff 245bd667f0 fix: add more debbug 2024-12-10 22:47:30 +04:00
dettlaff 752f887f00 fix: kanidm error check 2024-12-10 22:21:37 +04:00
dettlaff 3bf4cafb0a fix: kanidm errors comparison 2024-12-10 22:06:47 +04:00
dettlaff d4dada174a fix: try to except kanidm errors 2024-12-10 20:02:06 +04:00
dettlaff 51a663bc0a feat: detect more errors 2024-12-10 06:15:15 +04:00
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 fcf16a9059 fix: typing 100% 2024-12-09 12:48:05 +04:00
dettlaff 73ec9fab81 fix: typing 2024-12-09 12:44:58 +04:00
dettlaff 3c53251caa fix: typing 2024-12-09 12:37:57 +04:00
Houkime b7bf423b8f fix(backups): do not use post_restore on backup 2024-12-06 10:33:44 +00:00
dettlaff 63f0011da5 fix: typing, expect errors 2024-12-06 03:41:06 +04:00
dettlaff 3d3e5bc222 fix: rename error to message 2024-12-06 03:20:31 +04:00
dettlaff d427329e36 fix: delete return from None functions 2024-12-06 03:12:10 +04:00
dettlaff bd070a3c1d fix: from review and make new error messages 2024-12-06 03:05:28 +04:00
dettlaff 9de8822bd7 tests: import fix 2024-12-04 23:51:35 +04:00
def 6fa8adca7c Merge branch 'master' into def/add_users_repositories 2024-12-04 17:22:22 +02:00
dettlaff 9386fb7d49 fix: add None to UserDataUser 2024-12-04 19:15:03 +04:00
dettlaff 8a1c9d325b fix: not optional None 2024-12-04 19:01:56 +04:00
dettlaff 2a0ce65421 fix: add UserType(user.user_type.value) 2024-12-04 18:41:04 +04:00
dettlaff b8351d7151 fix: rename user_type 2024-12-04 18:10:14 +04:00
dettlaff 9429cbb3a6 fix: syntax error 2024-12-04 17:47:52 +04:00
dettlaff ecb3f36f96 fix: rename origin, add new mutation 2024-12-04 02:54:24 +04:00
dettlaff b662d0f243 fix: missing username 2024-12-03 22:06:12 +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
Alan Urmancheev 5a92ad0621 feat: NextCloud: add the enableImagemagick option 2024-11-29 15:41:57 +02: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 96016650c1 feat: mv temporary_env_var to utils 2024-11-27 16:52:39 +04:00
dettlaff 8eecf1f16b fix: add kanidm login -D idm_admin 2024-11-27 16:52:05 +04:00
Inex Code e2a0e4fc3d
fix: Fix user-facing SP API metadata 2024-11-27 14:08:26 +03:00
Inex Code d91d8d2fd9
chore: Bump version to 3.4.0 2024-11-27 13:35:33 +03:00
nhnn 5aa1a378ef fix: free unused journal.Reader instances (#158)
I'm a bit dumb and forgot to add code that frees journal.Reader instances from memory.

Co-authored-by: nhnn <nhnn@disroot.org>
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/158
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: nhnn <nhnn@noreply.git.selfprivacy.org>
Co-committed-by: nhnn <nhnn@noreply.git.selfprivacy.org>
2024-11-27 12:32:01 +02: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 34b603b76c fix: None password, fix fields 2024-11-15 04:53:20 +04:00
dettlaff 43c786dd79 fix: from typing import, in place of import typing 2024-11-15 04:35:07 +04:00
dettlaff 36ddf2b111 feat: update UserMutationInput 2024-11-15 04:19:24 +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
dettlaff 848befe3f1 feat: Use proper logging (#154)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/154
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-10-23 14:38:01 +03:00
dettlaff 03d751e591 feat: add caa record (#149)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/149
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-10-14 14:29:00 +03:00
dettlaff 11e020c0e1 fix: duplicate DNS records + add new test case 2024-10-04 14:27:40 +03:00
dettlaff 77eaa181ca feat: add _get_time_range 2024-10-02 15:35:05 +03:00
dettlaff 389ec2c81c feat: add swap usage query 2024-10-02 15:35:05 +03:00