Commit graph

1490 commits

Author SHA1 Message Date
Houkime
28fdf8fb49 refactor(service_mover): decompose the giant move_service 2024-03-06 18:39:27 +03:00
def
18327ffa85 test: remove unused mocks, fix tests naming 2024-03-06 18:39:27 +03:00
def
b5183948af fix: service tests 2024-03-06 18:39:27 +03:00
def
e01b8ed8f0 add test_api_services.py 2024-03-06 18:39:27 +03:00
def
5cd1e28632 add storage tests 2024-03-06 18:39:27 +03:00
Inex Code
f895f2a38b refactor: Return last 10 log lines when system rebuild failed 2024-03-06 18:33:55 +03:00
Inex Code
8a607b9609 Merge pull request 'def_tests_reworked' () from def_tests_reworked into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/88
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-03-05 16:40:15 +02:00
Inex Code
c733cfeb9e Merge remote-tracking branch 'origin/system-rebuild-tracking' into system-rebuild-tracking 2024-03-05 14:41:43 +03:00
Inex Code
71433da424 refactor: move systemd functions to utils 2024-03-05 11:55:52 +03:00
Houkime
ee7c41e0c2 test(services): clean up tests 2024-03-04 17:37:26 +00:00
Houkime
1bed9d87ca doc(services): explain the Owned Path reason d'etre after trying to remove it 2024-03-04 17:16:08 +00:00
Houkime
2c1c783b5e fix(services): fix merge bug 2024-03-04 14:26:26 +00:00
Houkime
8402f66a33 refactor(services): remove too many imports and cleanup 2024-03-04 14:12:44 +00:00
Houkime
1599f601a2 refactor(services): introduce Bind class and test moving deeper 2024-03-04 14:12:44 +00:00
Houkime
0068272382 feature(backups): intermittent commit for binds, to be replaced 2024-03-04 14:12:43 +00:00
Houkime
18934a53e6 refactor(services): break out location construction when moving 2024-03-04 14:12:43 +00:00
Houkime
baaf3299ce refactor(services): fix type annotation 2024-03-04 14:12:43 +00:00
Houkime
f059c83b57 fix(services): check for possible None progress when moving folders 2024-03-04 14:12:43 +00:00
Houkime
fb41c092f1 feature(services): check before moving task and before move itself 2024-03-04 14:12:37 +00:00
Houkime
c947922a5d refactor(services): make moving a part of generic service functionality 2024-03-04 13:30:03 +00:00
Houkime
b22dfc0469 fix(services): a better error message 2024-03-04 13:30:03 +00:00
Houkime
b3c7e2fa9e test(services): remove unused json 2024-03-04 13:30:03 +00:00
Houkime
6cd1d27902 test(services): merge def and current service tests 2024-03-04 13:30:03 +00:00
Houkime
e42da357fb fix(services): report moving errors fully 2024-03-04 13:30:03 +00:00
Houkime
2863dd9763 refactor(service_mover): decompose the giant move_service 2024-03-04 13:30:03 +00:00
def
0309e6b76e test: remove unused mocks, fix tests naming 2024-03-04 13:30:03 +00:00
def
f4739d4539 fix: service tests 2024-03-04 13:30:03 +00:00
def
20c089154d add test_api_services.py 2024-03-04 13:30:03 +00:00
def
e703206e9d add storage tests 2024-03-04 13:30:03 +00:00
Inex Code
96f8aad146 Merge branch 'master' into system-rebuild-tracking 2024-03-04 10:54:43 +02:00
Inex Code
0e94590420 Merge pull request 'simplify autobackups tasking to avoid deadlocks' () from fix-autobackup-typing into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/97
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-03-03 23:46:15 +02:00
Inex Code
36d026a8ca style: Formatting 2024-03-04 00:45:45 +03:00
Inex Code
8cb812be56 chore: Remove debug leftover 2024-03-03 12:00:07 +03:00
Houkime
7ccf495958 refactor(backups): remove excessive format-strings 2024-03-01 13:59:43 +00:00
Houkime
f840a6e204 feature(devshell): add pyflakes to catch missing imports 2024-03-01 13:55:02 +00:00
Houkime
f5d7666614 refactor(backups): remove excessive imports 2024-03-01 13:54:10 +00:00
Houkime
76f5b57c86 refactor(jobs): add explicit return statements 2024-03-01 12:44:08 +00:00
Houkime
bf33fff20d fix(backups): finish the autobackup job 2024-03-01 12:44:08 +00:00
Houkime
742bb239e7 fix(backups): simplify autobackups to avoid deadlocks 2024-03-01 12:44:08 +00:00
Inex Code
e16f4499f8 Merge pull request 'fix(dns): Ignore link-local IPv6 address' () from inex/fix-linklocal-ipv6 into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/99
2024-03-01 14:13:15 +02:00
Inex Code
5616dbe77a style: rename ip6 addresses variable 2024-03-01 15:06:32 +03:00
Inex Code
bbec9d9d33 refactor: use ipaddress library for ip validation 2024-03-01 14:58:28 +03:00
Inex Code
a4327fa669 fix(dns): Ignore link-local IPv6 address 2024-03-01 03:21:31 +03:00
Inex Code
2443ae0144 chore: Remove version flavor 2024-02-26 22:51:31 +03:00
Inex Code
c63552241c tests: Cover upgrade and rebuild task 2024-02-26 22:49:32 +03:00
Inex Code
d8666fa179 Merge commit '4757bedc4ec62d3577fd1f259abbe34ba6dce893' into system-rebuild-tracking 2024-02-26 18:27:54 +03:00
Inex Code
3965203d28 chore: Bump version to 3.0.1 2024-02-23 20:19:08 +03:00
Inex Code
88b3a1e368 Merge pull request 'fix(backups): fix wrong typing in autobackups' () from fix-autobackup-typing into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/96
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-02-23 18:53:26 +02:00
Houkime
52f8e283be fix(backups): fix wrong typing in autobackups 2024-02-23 16:45:59 +00:00
Houkime
4757bedc4e test(backup): add tests for cache reloads 2024-02-13 14:12:41 +02:00