Commit Graph

  • 66480c9904 Merge pull request 'Implement redis token repository' (#26) from redis/token-repo into redis/connection-pool houkime 2022-12-21 19:39:14 +0200
  • 5a1f64b1e7 refactor(tokens-repo): delete is_name_exists() from auth utils Houkime 2022-12-21 17:09:49 +0000
  • 22a309466e fix(tokens-repo): fix is_name_exists() being fallible Houkime 2022-12-21 17:04:18 +0000
  • 2a239e35ad refactor(tokens-repo): delete is_token_name_pair_valid from auth Houkime 2022-12-21 16:17:56 +0000
  • 20410ec790 fix(tokens-repo): fix name pair validation being able to raise a notfound error Houkime 2022-12-21 16:10:41 +0000
  • 3021584adc refactor(tokens-repo): delete refresh_token() from auth Houkime 2022-12-21 15:23:42 +0000
  • 16f71b0b09 refactor(tokens-repo): use tokens-repo to create recovery token Houkime 2022-12-21 13:51:39 +0000
  • 39277419ac refactor(tokens-repo): use tokens-repo to refresh tokens Houkime 2022-12-21 13:09:51 +0000
  • d3bf867bb5 fix(tokens-repo): do not change the date on token refresh Houkime 2022-12-21 13:05:00 +0000
  • 009a89fa02 refactor(tokens-repo): use token repo for graphql use_recovery_api_key Houkime 2022-12-21 10:24:32 +0000
  • a97705ef25 fix(tokens-repository): fix getting and setting recovery token expiration date Houkime 2022-12-19 17:37:44 +0000
  • ab70687c61 fix(tokens-repository) :make NONE-uses-left eternally valid and test for it Houkime 2022-12-19 12:57:32 +0000
  • 5a25e2a270 feat(tokens-repo): getting stored device key Houkime 2022-12-14 18:55:26 +0000
  • 0ae7c43ebf refactor(tokens-repo): break out generic hash_as_model casting Houkime 2022-12-14 18:45:12 +0000
  • 6f6a9f5ef0 test(tokens-repo): do not require order in test_delete_not_found_token Houkime 2022-12-14 18:34:12 +0000
  • fda5d315a9 fix(tokens-repo): return device key instead of NewDeviceKey class Houkime 2022-12-14 18:27:58 +0000
  • 13e84e2697 feat(tokens-repo): recovery key uses decrement Houkime 2022-12-14 18:22:19 +0000
  • eba1d01b3d feat(tokens-repo): recovery key creation Houkime 2022-12-14 18:10:48 +0000
  • 8dfb3eb936 feat(tokens-repo): fuller reset Houkime 2022-12-14 18:06:11 +0000
  • 4579fec569 feat(tokens-repo): get recovery key Houkime 2022-12-14 18:01:34 +0000
  • 257096084f refactor(tokens-repo): split out date field detection Houkime 2022-12-14 17:51:51 +0000
  • bf6c230ae0 fix(tokens-repo): raise token not found when deleting nonexistent token Houkime 2022-12-14 17:41:47 +0000
  • 95e200bfc5 feat(tokens-repo): reset function Houkime 2022-12-14 17:31:32 +0000
  • 9ffd67fa19 feat(tokens-repo): get new device key Houkime 2022-12-14 17:20:09 +0000
  • b98ccb88d1 refactor(tokens-repo): separate getting model dict Houkime 2022-12-14 17:10:32 +0000
  • 3cb7f29593 refactor(tokens-repo): detach preparing a dict before a model cast Houkime 2022-12-14 17:03:22 +0000
  • e504585437 test(tokens-repo): do not require order Houkime 2022-12-14 16:29:38 +0000
  • 647e02f25b feat(tokens-repo): redis delete token Houkime 2022-12-14 16:16:55 +0000
  • ba6a5261fa refactor(tokens-repo): redis token key func Houkime 2022-12-14 15:34:25 +0000
  • d8e3cd67e0 feat(tokens-repo): redis store token Houkime 2022-12-14 15:21:32 +0000
  • 256c16fa9f feat(tokens-repo): redis get tokens Houkime 2022-12-14 14:48:43 +0000
  • f2fa47466b feat(tokens-repo):empty implementation of redis token repo Houkime 2022-12-14 14:29:19 +0000
  • ca822cdf6f refactor(tokens-repository): move use_mnemonic_new_device_key() to abstract class Houkime 2022-12-12 15:43:58 +0000
  • 2797c6f88f fix(tokens-repository): use_mnemonic_new_device_key() now stores a token Houkime 2022-12-12 15:36:38 +0000
  • 4498003aca refactor(tokens-repository): dissect use_mnemonic_new_device_key() Houkime 2022-12-12 15:19:00 +0000
  • 772c0dfc64 refactor(tokens-repository): move use_mnemonic_recovery_key() to abstract class Houkime 2022-12-12 14:22:36 +0000
  • 671203e990 refactor(tokens-repository): dissect use_mnemonic_recovery_key() Houkime 2022-12-12 14:06:24 +0000
  • 9a49067e53 refactor(tokens-repo): move token refreshing to parent class Houkime 2022-12-12 11:55:49 +0000
  • 682cd4ae87 refactor(tokens-repo): move create_token to abstract class Houkime 2022-12-12 11:50:04 +0000
  • 572ec75c39 refactor(tokens-repo): rewrite token refresh Houkime 2022-12-12 11:15:25 +0000
  • 27a7c24bc3 refactor(tokens-repo): separate token storing Houkime 2022-12-12 10:42:16 +0000
  • 4e60d1d37a refactor(tokens-repo): move token getters to abstract class Houkime 2022-12-12 10:15:33 +0000
  • ff264ec808 refactor(tokens-repo): simplify getting tokens Houkime 2022-12-12 10:06:31 +0000
  • b856a2aad3 test(tokens-repo): re-add delete token test Houkime 2022-12-09 12:25:20 +0000
  • 0d748d7ab1 test(tokens-repo): move original token content to json tests Houkime 2022-12-09 12:23:36 +0000
  • c12dca9d9b refactor(tokens-repo): delete unused timezone import Houkime 2022-12-09 11:56:47 +0000
  • 4492bbe995 test(tokens-repo): move null keys and tokens fixtures to json tests Houkime 2022-12-09 11:48:11 +0000
  • 84bfa333fa test(tokens-repo): move new device key null test to json tests Houkime 2022-12-09 11:35:29 +0000
  • be13d6163e test(tokens-repo): use a mnemonic device key on an empty repo Houkime 2022-12-09 11:30:33 +0000
  • ce411e9291 test(tokens-repo): using a mnemonic device key Houkime 2022-12-09 11:28:07 +0000
  • cf7b7eb8a7 test(tokens-repo): notfound mnemonic new device key Houkime 2022-12-09 10:57:11 +0000
  • 3feebd5290 test(tokens-repo): invalid mnemonic new device key Houkime 2022-12-09 10:51:32 +0000
  • 73584872f0 test(tokens-repo): agnosticise simple new device key tests Houkime 2022-12-09 10:41:22 +0000
  • dc778b545e test(tokens-repo): get new device key Houkime 2022-12-09 10:12:52 +0000
  • f96d8b7d7c test(tokens-repo): make another mock token generator agnostic Houkime 2022-12-09 10:06:12 +0000
  • dd525fe723 test(tokens-repo): agnostic use recovery token Houkime 2022-12-07 17:30:31 +0000
  • b9c570720b test(tokens-repo): move null recovery token test to json tests Houkime 2022-12-07 17:07:17 +0000
  • 732e72d414 test(tokens-repo): mnemonic non-null invalid Houkime 2022-12-07 16:54:47 +0000
  • 6f400911fc test(tokens-repo): agnostic recovery keys testing Houkime 2022-12-07 16:12:35 +0000
  • c86eb8b786 test(tokens-repo): agnostic refresh token nonexistent Houkime 2022-12-07 15:35:29 +0000
  • fa54220327 test(tokens-repo): agnostic refresh token Houkime 2022-12-07 15:00:35 +0000
  • b43c4014e2 test(tokens-repo): agnostic delete not found Houkime 2022-12-07 14:56:54 +0000
  • db55685488 test(tokens-repo): use 'repo' for consistency Houkime 2022-12-07 14:51:28 +0000
  • 3921d9fe4c test(tokens-repo): agnostic token creation test Houkime 2022-12-07 14:48:33 +0000
  • 2e2d344f43 test(tokens-repo): get_tokens metaproperties test Houkime 2022-12-07 13:03:48 +0000
  • 55ad2484b8 test(tokens-repo): agnostic test for getting by name Houkime 2022-12-07 12:10:50 +0000
  • 8a05a55b80 test(tokens-repo): parameterized fixture Houkime 2022-12-07 12:02:33 +0000
  • 4cfe0515ea test(tokens-repo): split between abstract api and backend-specific tests Houkime 2022-12-07 12:01:39 +0000
  • 16e0bd56ce refactor(repository): Tokens repository JSON backend (#18) def 2022-11-16 19:12:38 +0200
  • 9cf4d46c50 redis/jobs-coverage (#24) Inex Code 2022-12-02 13:01:09 +0200
  • d47368cbe9 Jobs: test get_job() return values Houkime 2022-11-30 17:26:38 +0000
  • 063dfafc19 Jobs: fix return value of remove_by_uid Houkime 2022-11-30 17:06:43 +0000
  • 5c86706f4b Jobs: fix value access in is_busy() Houkime 2022-11-30 16:41:20 +0000
  • 14c4ae26ab explicitly mark helper functions private Houkime 2022-11-30 16:22:46 +0000
  • f0132266e9 Merge pull request 'bind nix-shell's redis to localhost' (#23) from redis/nixshell-redis-bindlocal into redis/connection-pool Inex Code 2022-11-30 17:52:29 +0200
  • 870d2c408d jobs: test nofail at nonexistent update Houkime 2022-11-30 15:37:59 +0000
  • f51e378ff0 jobs: test updating more fields Houkime 2022-11-30 15:21:57 +0000
  • 7acbba9960 jobs: minimal update test Houkime 2022-11-30 15:12:42 +0000
  • 106a083ca2 jobs: simplify reset Houkime 2022-11-30 14:47:56 +0000
  • b6eeec23cc jobs: singlejob fixture Houkime 2022-11-30 14:31:37 +0000
  • c21b6cb071 jobs: dedicated reset test Houkime 2022-11-30 14:17:53 +0000
  • 144f95fb34 bind nix-shell's redis to localhost Houkime 2022-11-30 11:20:08 +0000
  • 60919b88b9 Merge pull request 'Autostart a redis instance in nix shell.' (#22) from redis/nixshell-redis-autostart into redis/connection-pool Inex Code 2022-11-28 14:50:57 +0200
  • 57794c9535 style(graphql): Add missing comma Inex Code 2022-11-28 15:49:48 +0300
  • 2e9cdf15ab Autostart a redis instance in nix shell. Houkime 2022-11-28 11:33:28 +0000
  • 3ce71b0993 Merge pull request 'migrate Jobs to redis' (#20) from redis/jobs into redis/connection-pool Inex Code 2022-11-28 14:37:45 +0200
  • d6ef01c0c7 Add TTL to storage of finished or failed jobs Houkime 2022-11-23 16:29:50 +0000
  • 244851c7cc jobs: remove 'jobs' list, and use 'jobs:' prefix Houkime 2022-11-23 15:04:39 +0000
  • 5afa2338ca Migrate Jobs to redis Houkime 2022-11-23 12:32:46 +0000
  • e130d37033 refactor(repository): Tokens repository JSON backend (#18) def 2022-11-16 19:12:38 +0200
  • f7b7e5a0be migrate Jobs to redis Houkime 2022-11-16 13:54:54 +0000
  • 9ee0240bbd Merge pull request 'houkime-providers-api' (#19) from houkime/selfprivacy-rest-api:houkime-providers-api into redis/connection-pool Inex Code 2022-11-02 17:35:58 +0200
  • 41e5f89b7b migrate backblaze settings to new json format houkime-providers-api Houkime 2022-10-31 13:32:17 +0000
  • 07af2e59be tests: fix backblaze bucket Houkime 2022-10-31 10:59:46 +0000
  • a723311b36 reroute system provider query Houkime 2022-10-31 10:52:38 +0000
  • 589093b853 delete old cloudflare field Houkime 2022-10-31 10:13:53 +0000
  • 6c6f45781c add new fields to the rest of the test jsons. Missed some Houkime 2022-10-28 13:32:33 +0000
  • 2d7bc0f154 remove cloudflare tokens from the rest of the test jsons. nobody seems to care Houkime 2022-10-28 13:08:22 +0000
  • 5efa85f877 add provider fields to the rest of test jsons Houkime 2022-10-28 13:03:07 +0000
  • f4a7986cfa Remove old cloudflare apiKey field from system test jsons Houkime 2022-10-28 12:54:48 +0000