Commit graph

62 commits

Author SHA1 Message Date
Houkime cf2935938d test(ssh): get root key when none 2024-01-08 13:12:27 +00:00
Houkime 7f1fcd66e3 test(ssh): get root key 2024-01-08 13:12:27 +00:00
Houkime 641959a083 test(ssh): adding same key 2024-01-08 13:12:27 +00:00
Houkime 4b51f42e1b test(ssh): remove corresponding rest test 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 ee854aad1a test(ssh): delete rest test of undefined root key deletion 2024-01-08 13:12:27 +00:00
Houkime a2065b87b7 test(ssh): delete undefined root keys 2024-01-08 13:12:27 +00:00
Houkime 0b90e3d20f test(ssh): remove rest ssh enablement tests 2024-01-08 13:12:27 +00:00
Houkime 9822d42dac test(ssh): remove rest enablement tests 2024-01-08 13:12:27 +00:00
Houkime 6c0d4ab42a test(ssh): remove basic unauthorized tests from rest ssh tests 2024-01-08 13:12:27 +00:00
Houkime 5651dcd94e test(ssh): remove rest tests for undefined ssh settings 2024-01-08 13:12:27 +00:00
Houkime 980d3622e8 test(services): remove redundant legacy bad-ssh-key test from rest-enfpo 2024-01-08 13:12:27 +00:00
Houkime 125d221442 test(services): untie dkim-related service tests from rest 2024-01-08 13:12:27 +00:00
Houkime 80e00740fb test(services): remove legacy restic test data 2024-01-08 13:12:27 +00:00
Houkime 113f512565 test(services): remove redundant pleroma tests 2024-01-08 13:12:27 +00:00
Houkime 15eafbb524 test(services): remove redundant ocserv tests 2024-01-08 13:12:27 +00:00
Houkime e63acc6d56 test(services): remove redundant nextcloud tests 2024-01-08 13:12:27 +00:00
Houkime 9f04729296 test(services, system): untie dkim tests from rest 2024-01-08 13:12:27 +00:00
Houkime 7038d69069 test(services): remove redundant gitea tests 2024-01-08 13:12:27 +00:00
Houkime 2987065231 test(services): remove bitwarden tests because redundant 2024-01-08 13:12:27 +00:00
Houkime 23cc33b9d9 test(services): delete redundant rest tests from bitwarden 2024-01-08 13:12:27 +00:00
Houkime d34b98e27b test(rest-dismantling): remove user tests with gql counterparts 2024-01-08 13:12:27 +00:00
Houkime 7c8ea19608 test(rest-dismantling): remove system tests with gql counterparts 2024-01-08 13:12:27 +00:00
Houkime cda8d70bd9 test(rest-dismantling): remove auth tests after confirming gql counterparts exist 2024-01-08 13:12:27 +00:00
Houkime e414f3b8fd fix(auth): fix timezone issues with recovery tokens 2023-11-13 09:15:12 -07:00
Houkime dd6f37a17d feature(auth): tz_aware recovery 2023-11-10 17:10:01 +00:00
Houkime a66ee2d3e5 test(auth): fix future expiring too fast 2023-11-01 16:46:36 +00:00
Inex Code 829aca14be Merge branch 'master' into redis/connection-pool 2023-10-24 19:25:36 +03:00
Inex Code b01247bc55 refactor: remove legacy backups implementations 2023-07-20 20:11:42 +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
Houkime 6cb9cc6d03 test(tokens-repo): use assert recent 2023-06-14 14:02:23 +03:00
Houkime f5faf84a2b test(tokens-repo): move timewarping to test commons 2023-06-14 14:02:22 +03:00
Houkime 2f707cc0cc test(tokens-repo): delete extraneous test token content copies 2023-06-14 14:02:22 +03:00
Houkime 8f645113e2 test(tokens-repo): new assert_original(), no more json 2023-06-14 14:02:22 +03:00
Houkime f45567b87b fix(tokens-repo): readd gitkeep to services data folder after rebase 2023-06-14 14:02:22 +03:00
Houkime e55a55ef6f test(tokens-repo): beautify test_auth.py 2023-06-14 14:02:22 +03:00
Houkime 02bfffa75f test(tokens-repo): refactor the rest of auth tests 2023-06-14 14:02:22 +03:00
Houkime 42fa5fe524 test(tokens-repo): allow ading uses in a helper recovery function 2023-06-14 14:02:22 +03:00
Houkime 3aa3d197e2 test(tokens-repo): use mock time for recovery tokens expiration test 2023-06-14 14:02:22 +03:00
Houkime e0bd6efcb2 test(tokens-repo): use new recovery functions 2023-06-14 14:02:22 +03:00
Houkime 203940096c test(tokens-repo): break out recovery token use 2023-06-14 14:02:22 +03:00
Houkime ac4d4e0127 test(tokens-repo): break out recovery time operations 2023-06-14 14:02:22 +03:00
Houkime 548f47963a test(tokens-repo): break out obtaining recovery tokens 2023-06-14 14:02:22 +03:00
Houkime 0239f3174e test(tokens-repo): do not read json in generate recovery test 2023-06-14 14:02:22 +03:00
Houkime 74777c4343 test(tokens-repo): fix typo in contets 2023-06-14 14:02:22 +03:00
Houkime 0bf18603d4 test(tokens-repo): travel in time to check expiration 2023-06-14 14:02:22 +03:00
Houkime 458c4fd28a test(tokens-repo): make new device tests a bit more readable 2023-06-14 14:02:22 +03:00
Houkime bfcec3d51d test(tokens-repo): break out checking token validity 2023-06-14 14:02:22 +03:00
Houkime 179078aed2 test(tokens-repo): break out getting new device token 2023-06-14 14:02:22 +03:00
Houkime 1d6275b75b test(tokens-repo): delete standalone get new device test
At rest api level, we can only check the existence of new device token
by using it, and this test already exists.
2023-06-14 14:02:22 +03:00