Commit Graph

1369 Commits

Author SHA1 Message Date
dettlaff 03e6d45279 fix: final typos fix 2023-11-15 16:47:04 +04:00
Inex Code 113bcf4c29 Merge pull request 'fix(backups): do not infinitely retry automatic backup if it errors out' (#69) from autobackup-errors into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/69
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-11-15 13:20:43 +02:00
Inex Code c3cec36ad4 style: formatting 2023-11-13 19:36:12 +03:00
Houkime e414f3b8fd fix(auth): fix timezone issues with recovery tokens 2023-11-13 09:15:12 -07:00
dettlaff 3be5816f51 fix: del unused return from parse line 2023-11-12 01:38:31 +04:00
dettlaff d31ad487eb fix: corrected from comment from pr 2023-11-12 01:16:04 +04:00
dettlaff 9114bc6ae0 fix: remove unused imports 2023-11-12 01:13:14 +04:00
Houkime 1bbb804919 test(auth): token tests clearer about timezone assumptions 2023-11-10 17:40:52 +00:00
Houkime dd6f37a17d feature(auth): tz_aware recovery 2023-11-10 17:10:01 +00:00
Houkime 8badb9aaaf refactor(auth): tz_aware expiration comparison 2023-11-10 13:31:12 +00:00
Houkime 8453f62c74 refactor(time): more time functions 2023-11-10 13:05:38 +00:00
Houkime e78bcca9f2 test(auth): forced utc in recovery tests 2023-11-10 12:49:30 +00:00
Houkime 4d893d56b2 test(common): add forced utc times for tests 2023-11-10 12:38:12 +00:00
Houkime 73a847f288 feature(time): timestamp parsers 2023-11-10 12:19:32 +00:00
Houkime b545a400c3 doc(jobs): document that we are tz-naive when storing jobs 2023-11-10 11:47:48 +00:00
Houkime 8caf7e1b24 fix(backups): do not infinitely retry automatic backup if it errors out 2023-11-10 10:20:27 +00:00
Inex Code bc98e41be8 Merge pull request 'feat: Use redis as a data storage for auth data' (#68) from redis/connection-pool-merged into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/68
2023-11-10 10:57:59 +02:00
Houkime a66ee2d3e5 test(auth): fix future expiring too fast 2023-11-01 16:46:36 +00:00
Houkime 3deaeb28c5 test(auth): fix assert_ok's wrt nested structure 2023-11-01 15:30:29 +00:00
Houkime b7cd703eaa fix(tokens): missing timezone import 2023-10-25 14:53:18 +00:00
Inex Code 829aca14be Merge branch 'master' into redis/connection-pool 2023-10-24 19:25:36 +03:00
dettlaff c0f8b9026b fix: corrected from comment from pr 2023-10-16 20:39:58 +04:00
dettlaff eda5923cc6 tests: fix query 2023-10-12 02:59:31 +04:00
dettlaff 98eef8d08e fix: tests, jobs.error return 2023-10-12 02:40:47 +04:00
dettlaff 70a498d0e5 fix: missclick with Job jobs 2023-10-12 02:26:27 +04:00
dettlaff f2ead0c77d fix: typos 2023-10-12 02:18:29 +04:00
dettlaff 0503db9856 Merge branch 'def/nix-collect-garbage-endpoint' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api into def/nix-collect-garbage-endpoint 2023-10-12 02:09:46 +04:00
dettlaff 3fbc93c998 tests: fix rename 2023-10-12 02:09:13 +04:00
dettlaff 5c42d7a907 refactor: problems from pr 2023-10-12 02:01:31 +04:00
Inex Code badd619dd0 Merge pull request 'autobackup-job-ttl' (#62) from autobackup-job-ttl into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/62
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-10-10 20:25:30 +03:00
Houkime ece3258c78 test(jobs): test out setting ttl 2023-10-10 20:25:14 +03:00
Houkime 26c0a8fafe feature(jobs): set 1 hour ttl for successful autobackup jobs 2023-10-10 20:25:14 +03:00
Houkime 0912ac1831 feature(jobs): set ttl via method 2023-10-10 20:25:14 +03:00
Inex Code 07aaa21602 chore: bump version 2023-10-09 12:45:22 +03:00
Inex Code 2a03d3962f Merge pull request 'feat(ssh): Add support for ecdsa keys' (#64) from ecdsa-keys into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/64
Reviewed-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
2023-10-09 12:44:33 +03:00
Inex Code cebb71ff4a feat(ssh): Add support for ecdsa keys 2023-10-03 16:51:06 +03:00
Inex Code 62d5de0dd6 refactor(ssh): Remove unused add_root_ssh_key function 2023-10-03 16:41:09 +03:00
Inex Code 86f9451b9b Merge pull request 'fix(backups): expose snapshot reason and set the default value' (#59) from backup-reason-fix into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/59
2023-09-09 09:56:09 +03:00
Inex Code 8b840d4c2c fix(backups): expose snapshot reason and set the default value 2023-09-09 09:52:20 +03:00
Inex Code 6b106cbcf3 Merge pull request 'quotas for autobackups' (#56) from quotas into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/56
2023-09-09 03:50:18 +03:00
Inex Code 39baa3725b Merge remote-tracking branch 'origin/master' into quotas 2023-09-09 03:36:17 +03:00
Inex Code 450a998ea6 chore:bump version 2023-09-09 03:32:57 +03:00
Inex Code dedd6a9cc9 refactor(backups): use restic-like rotation policy 2023-09-09 03:26:41 +03:00
Houkime 56be3d9c31 fix(backup): trim auto-snapshots on setting the quotas 2023-09-08 16:22:53 +00:00
dettlaff ec404464d8 Merge branch 'master' into def/nix-collect-garbage-endpoint 2023-09-01 19:21:31 +04:00
houkime dd8fa4cf20 Merge pull request 'feature(backups): a task to autorefresh cache. Redis expiry abolished' (#58) from recache-task into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/58
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-09-01 14:32:32 +03:00
Houkime 0dfb41a689 feature(backups): a task to autorefresh cache. Redis expiry abolished 2023-09-01 10:41:27 +00:00
Inex Code ad9384c850 fix(graphql): backup quotas field typing 2023-08-30 12:03:19 +03:00
Houkime 9fdc536f9f BROKEN(backups): hooking up quotas to API fails. AutobackupQuotas needs to be an input type, but if input type, it fails because it needs to be an Output type, which is not documented 2023-08-28 18:24:29 +00:00
Houkime 0c04975ea4 flx(backups): commit forgotten time.py 2023-08-28 17:24:20 +00:00