Commit graph

971 commits

Author SHA1 Message Date
Inex Code 0d5038cd41
fix not uploading database 2024-12-23 21:50:26 +03:00
Inex Code f9ba7e9ad1
moar logging 2024-12-23 21:46:20 +03:00
Inex Code a813f71fd3
fix: Static root for postgre dumps 2024-12-23 21:41:24 +03:00
Inex Code d5a3fb3928
fix: Add text description for the main stage of backup 2024-12-23 21:22:30 +03:00
Inex Code f8edc2d276
fix: properly remove folder 2024-12-23 21:16:03 +03:00
Inex Code fa4c66b8c7
fix db parsing 2024-12-23 21:02:10 +03:00
Inex Code 5e79840462
some debug logging 2024-12-23 20:58:00 +03:00
Inex Code 47d1bd39dd
refactor: Remove pleroma from hadcoded services 2024-12-23 20:53:10 +03:00
Inex Code 95056b44b5
fix circular import 2024-12-23 20:48:08 +03:00
Inex Code 60bf187f58
feat: PostgreSQL backups and restore 2024-12-23 20:42:16 +03:00
Inex Code 89278cffd7
chore: Remove debug logging 2024-12-21 22:14:00 +03:00
Inex Code fcc167fb33
fix: modified original lists, what a mistake 2024-12-21 22:03:50 +03:00
Inex Code 81b47bab03
moar logging 2024-12-21 21:58:01 +03:00
Inex Code 874b4bfe97
debug 2024-12-21 21:50:42 +03:00
Inex Code ccdd4d6644
debug prints 2024-12-21 21:34:34 +03:00
Inex Code 6ccdb27792
fixes 2024-12-21 21:18:09 +03:00
Inex Code e62bd2b2e7
fix: Didn't parse JSON 2024-12-21 21:11:43 +03:00
Inex Code ecd284fb9a
fix 2024-12-21 21:07:32 +03:00
Inex Code 5ca8f43a8e
fix: Make calls to redis synchronous 2024-12-21 21:04:59 +03:00
Inex Code b609bbc39d
feat: Call caching and remote module metadata loading 2024-12-21 21:01:45 +03:00
Inex Code 4cdc9f3e08
feat: Add support for service options weight 2024-12-21 17:46:28 +03:00
Inex Code 5218187d6d
fix: icon encoding 2024-12-21 17:30:21 +03:00
Inex Code f9f3868b5d
fix: owned_path recursion 2024-12-21 17:20:32 +03:00
Inex Code 8e7e1dd68e
feat: Dynamic templating prototype 2024-12-21 17:15:07 +03:00
Inex Code 4f4673cfb9
refactor: Remove unused get_logs method from a Service 2024-12-21 15:17:34 +03:00
Inex Code 7d9150a77a
refactor: Temporarily disable CAA records as clients are not ready 2024-12-15 16:30:35 +03:00
Inex Code 8a672bab07 fix: API backups didn't backup userdata (#164)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/164
2024-12-15 15:20:05 +02:00
Inex Code a66ef79c3c
refactor: Do not return URL for API itself 2024-12-14 22:49:27 +03:00
Houkime b7bf423b8f fix(backups): do not use post_restore on backup 2024-12-06 10:33:44 +00:00
Alan Urmancheev 5a92ad0621 feat: NextCloud: add the enableImagemagick option 2024-11-29 15:41:57 +02:00
Inex Code e2a0e4fc3d
fix: Fix user-facing SP API metadata 2024-11-27 14:08:26 +03:00
Inex Code d91d8d2fd9
chore: Bump version to 3.4.0 2024-11-27 13:35:33 +03:00
nhnn 5aa1a378ef fix: free unused journal.Reader instances (#158)
I'm a bit dumb and forgot to add code that frees journal.Reader instances from memory.

Co-authored-by: nhnn <nhnn@disroot.org>
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/158
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: nhnn <nhnn@noreply.git.selfprivacy.org>
Co-committed-by: nhnn <nhnn@noreply.git.selfprivacy.org>
2024-11-27 12:32:01 +02:00
dettlaff 848befe3f1 feat: Use proper logging (#154)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/154
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-10-23 14:38:01 +03:00
dettlaff 03d751e591 feat: add caa record (#149)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/149
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-10-14 14:29:00 +03:00
dettlaff 11e020c0e1 fix: duplicate DNS records + add new test case 2024-10-04 14:27:40 +03:00
dettlaff 77eaa181ca feat: add _get_time_range 2024-10-02 15:35:05 +03:00
dettlaff 389ec2c81c feat: add swap usage query 2024-10-02 15:35:05 +03:00
Houkime 2ee66d143c fix(backup): early abort and better error reporting for restore_all 2024-09-23 22:15:57 +03:00
Houkime 39312a0937 test(services): refactor dummy service creation so that we can test restores more easily 2024-09-23 22:15:57 +03:00
Houkime faa4402030 chore(block devices): edit comment to be more correct 2024-09-13 12:31:30 +00:00
Inex Code 6340ad348c chore: Recover fixes destroyed by force push
Please don't do this again
2024-09-13 12:11:56 +00:00
Inex Code 63bcfa3077 chroe: string casing 2024-09-13 12:11:56 +00:00
Inex Code d3e7eb44ea chore: Linting 2024-09-13 12:11:56 +00:00
Houkime 6eca44526a chore(services): clean up the config service 2024-09-13 12:11:56 +00:00
Houkime 408284a69f chore(backup): make a comment into a docstring 2024-09-13 12:11:56 +00:00
Houkime 5ea000baab feature(backups): manual autobackup -> total backup 2024-09-13 12:11:56 +00:00
Houkime ee06d68047 feature(backups): allow non-autobackup slices for full restoration 2024-09-13 12:11:56 +00:00
Houkime 1a9a381753 refactor(backups): handle the case when there is no snapshot to sync date with 2024-09-13 12:11:56 +00:00
Houkime 53c6bc1af7 refactor(backups): cleanup old config service code 2024-09-13 12:11:56 +00:00