Commit graph

200 commits

Author SHA1 Message Date
dettlaff 6440a4f5c9 feat: add KanidmCliSubprocessError and more descriptions 2024-12-11 15:16:14 +04:00
dettlaff eca12a3079 feat: delete RootIsNotAvailableForModification and PrimaryUserDeletionNotAllowed 2024-12-11 13:16:38 +04:00
dettlaff 65a2a59ff8 fix: add except UserNotFound:
in users.py
2024-12-11 12:46:54 +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 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 51a663bc0a feat: detect more errors 2024-12-10 06:15:15 +04:00
dettlaff 9f5ee494a6 fix: change default params 2024-12-10 04:52:13 +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
dettlaff 3d3e5bc222 fix: rename error to message 2024-12-06 03:20:31 +04:00
dettlaff bd070a3c1d fix: from review and make new error messages 2024-12-06 03:05:28 +04:00
def 6fa8adca7c Merge branch 'master' into def/add_users_repositories 2024-12-04 17:22:22 +02:00
dettlaff 2a0ce65421 fix: add UserType(user.user_type.value) 2024-12-04 18:41:04 +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 e546ef00e9 feat: add legacy support 2024-12-01 17:29:29 +04: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 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 1c3e2cc2e0 feat: update filds 2024-11-15 03:30:24 +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 fbc0ae61fb feat: removed unnecessary functionality from the repository 2024-11-03 03:15:51 +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 389ec2c81c feat: add swap usage query 2024-10-02 15:35:05 +03:00
Inex Code d3e7eb44ea chore: Linting 2024-09-13 12:11:56 +00:00
Houkime 408284a69f chore(backup): make a comment into a docstring 2024-09-13 12:11:56 +00:00
Houkime 5ea000baab feature(backups): manual autobackup -> total backup 2024-09-13 12:11:56 +00:00
Houkime b67777835d fix(backup): make last slice return a correct list 2024-09-13 12:11:56 +00:00
Houkime a5b52c8f75 feature(backup): endpoint to force autobackup 2024-09-13 12:11:56 +00:00
Houkime bb493e6b74 feature(backup): reload snapshots when migrating 2024-09-13 12:11:56 +00:00
Houkime a4a70c07d3 test(backup): migration test 2024-09-13 12:11:56 +00:00
Houkime bfb0442e94 feature(backup): query to see restored snapshots in advance 2024-09-13 12:11:56 +00:00
Houkime 5e07a9eaeb feature(backup): error handling for the full restore endpoint 2024-09-13 12:11:56 +00:00
Houkime d4998ded46 refactor(services): migrate service management to a special service 2024-09-13 12:11:56 +00:00
Houkime 2ef674a037 refactor(services): PARTIAL migrate get_all_services 2024-09-13 12:11:56 +00:00
Houkime f6151ee451 feature(backup): add migration specific endpoints 2024-09-13 12:11:56 +00:00
Inex Code e6b7a1c168 style: linting 2024-09-11 13:58:48 +03:00
Houkime 68d0ee8c5d test(system): dns migration 2024-09-11 13:58:48 +03:00
Houkime 77fb99d84e feature(system): dns migration 2024-09-11 13:58:48 +03:00
dettlaff 4cd90d0c93 feat: add Prometheus monitoring (#120)
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/120
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-07-30 16:55:57 +03:00
Inex Code 1259c081ef style: Reformat with new Black version 2024-07-26 22:59:44 +03:00
Inex Code 659cfca8a3 chore: Migrate to NixOS 24.05 2024-07-26 22:59:32 +03:00
Inex Code 9b93107b36 feat: Service configuration (#127)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/127
2024-07-26 18:33:04 +03:00