Houkime
e1db00e509
test(ssh): add one more root key
2024-01-08 13:12:27 +00:00
Houkime
90c0c34a8d
test(ssh): add root key when none
2024-01-08 13:12:27 +00:00
Houkime
60c7e9a7e2
test(ssh): full ssh enablement-via-gql readwrite testing
2024-01-08 13:12:27 +00:00
Houkime
ed4f6bfe32
test(ssh): add test for unauthorized settings getting
2024-01-08 13:12:27 +00:00
Houkime
b644208c29
test(ssh): cleanup
2024-01-08 13:12:27 +00:00
Houkime
1bb24b5f93
test(ssh): test idempotency of enablement
2024-01-08 13:12:27 +00:00
Houkime
4e730f015a
test(ssh): test that query is in sync
2024-01-08 13:12:27 +00:00
Houkime
7c382c4779
test(ssh): flip flop ssh
2024-01-08 13:12:27 +00:00
Houkime
f179cff0b4
test(ssh): try disabling ssh
2024-01-08 13:12:27 +00:00
Houkime
66561308bf
test(ssh): add graphql ssh status query test
2024-01-08 13:12:27 +00:00
Houkime
1b520a8093
feature(ssh): change ssh settings from graphql
2024-01-08 13:12:27 +00:00
Inex Code
829aca14be
Merge branch 'master' into redis/connection-pool
2023-10-24 19:25:36 +03:00
Inex Code
c6919293b6
refactor(api): Group mutations
...
I've learned that there is no problem in grouping mutations like we do with queries.
This is a big mistake from my side, now we have legacy not so conveniently placed endpoints.
I've grouped all mutations, left the copies of old ones flattened in the root for backwards compatibility.
We will migrate to mutation groups on client side, and backups now only use grouped mutations.
Tests are updated.
2023-06-21 06:46:56 +03:00
Houkime
d09cd1bbe1
test(tokens-repo): use assert_empty consistently
2023-06-14 14:02:22 +03:00
Inex Code
7935de0fe1
Migrate to FastAPI ( #13 )
...
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/13
2022-08-25 20:03:56 +03:00
def
337cf29884
Add GraphQJ user and ssh management ( #12 )
...
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/12
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2022-08-01 13:40:40 +03:00