Commit graph

1274 commits

Author SHA1 Message Date
Inex Code
591138c353 Merge pull request 'fix(backups): hopefully clearer errors on backup' () from backup-errorhandling into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/87
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-01-26 15:15:47 +02:00
houkime
9e8326bbcf Merge pull request 'feature(backups): remove all json logic' () from do-not-load-backup-provider-from-json into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/86
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-01-26 12:35:48 +02:00
Houkime
eaf29178fe fix(backups): hopefully clearer errors on backup 2024-01-24 16:41:49 +00:00
Inex Code
23adf95898 style: Remove unused import 2024-01-24 19:31:56 +04:00
Houkime
e13ad71a93 feature(backups): remove all json logic 2024-01-24 14:36:44 +00:00
houkime
e3761a200c Merge pull request 'not-autobackup-disabled' () from not-autobackup-disabled into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/82
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-01-15 12:12:31 +02:00
Houkime
c38e066507 test(backups): separate autobackup tests to a file (was a bit of a mess) 2024-01-12 14:43:54 +00:00
Houkime
7ec62a8f79 fix(backups): do not autobackup disabled services 2024-01-12 14:35:15 +00:00
Inex Code
0ccb85d5cc Merge pull request 'Adapt API to the NixOS configuration changes' () from remove-rest-flaked into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/79
2024-01-10 16:53:12 +02:00
Inex Code
e588bef597 docs: Add a note about how to use experimental nix features 2024-01-10 17:17:36 +03:00
Inex Code
a0eb5d572f fix(graphql): Typing of the deprecated move_service function 2024-01-10 15:05:10 +02:00
Inex Code
b6f436d8b3 refactor: Adapt API to the NixOS configuration changes 2024-01-10 15:05:10 +02:00
Inex Code
1e9744227b refactor: Move from nix-shell to nix flake 2024-01-10 15:05:10 +02:00
Inex Code
6b4920a0e7 Merge pull request 'Dismantle REST API' () from remove-rest into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/55
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-01-09 20:58:51 +02:00
Houkime
2b21df9ad3 chore(version): bump version to 3.0, no Rest API 2024-01-08 13:14:50 +00:00
Houkime
8e21e6d378 feature(services): introduce 'modules' field in userdata and group services settings there 2024-01-08 13:12:27 +00:00
Houkime
8e551a8fe0 refactor(services): use generic code for enabling and disabling 2024-01-08 13:12:27 +00:00
Houkime
b8d02231cf fix(services): handle the async nature of moving. 2024-01-08 13:12:27 +00:00
Houkime
3080f5a18b feature(rest): remove rest 2024-01-08 13:12:27 +00:00
Houkime
02b10b5078 feature(auth): remove rest auth code 2024-01-08 13:12:27 +00:00
Houkime
3e1fbdd4aa feature(services): remove rest services code 2024-01-08 13:12:27 +00:00
Houkime
41cd876f57 feature(users): remove rest users code 2024-01-08 13:12:27 +00:00
Houkime
43d9d47aed feature(system): remove rest system code 2024-01-08 13:12:27 +00:00
Houkime
d96739c9ae test(system): remove rest system tests 2024-01-08 13:12:27 +00:00
Houkime
46cc3171ab test(system): test generic shell calls 2024-01-08 13:12:27 +00:00
Houkime
4a580e9b7b feature(system): better error handling for shell calls 2024-01-08 13:12:27 +00:00
Houkime
dcf6dd9ac5 test(users): delete rest user tests 2024-01-08 13:12:27 +00:00
Houkime
ab081f6fbc test(users): delete redundant rest admin deletion tests 2024-01-08 13:12:27 +00:00
Houkime
e7c89e3e3f test(users): delete a user and CHECK that it was deleted 2024-01-08 13:12:27 +00:00
Houkime
2e775dad90 fix(users): handle no admin name defined when adding a user 2024-01-08 13:12:27 +00:00
Houkime
c470ec45e8 test(users): test invalid usernames (and delete it from rest) 2024-01-08 13:12:27 +00:00
Houkime
2669e17c91 test(users): test adding users with missing (not just empty) fields 2024-01-08 13:12:27 +00:00
Houkime
e835173fea fix(users): handle no admin case 2024-01-08 13:12:27 +00:00
Houkime
adcdbfb368 test(services): test mailserver dkim quirk 2024-01-08 13:12:27 +00:00
Houkime
fb15ef9388 test(service): rename service systemctl calltests 2024-01-08 13:12:27 +00:00
Houkime
6ade95bbf1 test(service): refactor systemctl calltests 2024-01-08 13:12:27 +00:00
Houkime
4b2eda25f6 test(service, backup): move dummy service fixtures to conftest.py 2024-01-08 13:12:27 +00:00
Houkime
bcbe1ff50c refactor(dkim): do not use popen 2024-01-08 13:12:27 +00:00
Houkime
2f25329c43 refactor(backup): remove a redundant constant 2024-01-08 13:12:27 +00:00
Houkime
04e3ee821f test(ssh): remove the rest of rest ssh tests bc redundant 2024-01-08 13:12:27 +00:00
Houkime
03feab76b0 test(ssh): user key storage test: removing user keys on undefined 2024-01-08 13:12:27 +00:00
Houkime
7377c6375a test(ssh): user key storage test: removing 2024-01-08 13:12:27 +00:00
Houkime
0669dc117b test(ssh): user key storage test: adding 2024-01-08 13:12:27 +00:00
Houkime
bc45a48af3 test(ssh): json storage of user keys : reading 2024-01-08 13:12:27 +00:00
Houkime
c5bb18215b test(ssh): delete redundant ssh tests 2024-01-08 13:12:27 +00:00
Houkime
b120858fa1 test(ssh): parametrized removing keys 2024-01-08 13:12:27 +00:00
Houkime
ca4b3c972d test(ssh): regular users 2024-01-08 13:12:27 +00:00
Houkime
946413615b test(ssh): dealing with undefined users 2024-01-08 13:12:27 +00:00
Houkime
42d96bcd6d test(ssh): remove rest user getting tests (they are covered by users tests 2024-01-08 13:12:27 +00:00
Houkime
16c2598e9b test(ssh): parametrized testing of ssh key addition, existing and invalid 2024-01-08 13:12:27 +00:00