Commit graph

864 commits

Author SHA1 Message Date
Illia Chub 205908b46c Merge branch 'master' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api 2021-11-25 12:32:24 +02:00
Illia Chub 9a87fa43eb Added backup restoration endpoint 2021-11-25 12:31:18 +02:00
Illia Chub b201cd6ca2
Changed backup protocol to rclone 2021-11-24 07:59:55 +02:00
Inex Code b185724000 Move SSH key validation to utils 2021-11-23 20:32:51 +02:00
Inex Code ec7ff62d59 Add SSH and system settings endpoints 2021-11-22 18:50:50 +02:00
Inex Code eb4f25285d Merge branch 'master' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api 2021-11-18 20:55:14 +02:00
Inex Code e00aaf7118 Hotfix: user and ssh key creation when no were defined 2021-11-18 20:54:45 +02:00
inex fb8066a2f5 Add a license 2021-11-18 10:05:04 +02:00
Inex Code 1432671cbe API version endpoint 2021-11-18 09:35:50 +02:00
Inex Code ec76484857 Add API version endpoint 2021-11-18 09:25:33 +02:00
Inex Code dc56b6f4ad Use systemd units for system rebuilds 2021-11-17 12:36:26 +02:00
Inex Code c910b761d1 Changed /system/upgrade to /system/configuration/upgrade 2021-11-17 11:36:39 +02:00
Inex Code 8700642260 Hotfix: ssh root key adding 2021-11-17 11:18:17 +02:00
inex 82b7f97dce Merge pull request 'Input sanitization, added swagger' (#5) from more-RESTful-api into master
Reviewed-on: https://git.selfprivacy.org/ilchub/selfprivacy-rest-api/pulls/5
2021-11-17 10:27:37 +02:00
Inex Code 6df4204ca1 Hotfix: imports in services module 2021-11-16 18:19:31 +02:00
Inex Code 447cc5ff55 Input sanitization, added swagger 2021-11-16 18:14:01 +02:00
Illia Chub 48da8c2228 Merge pull request 'Add basic API auth' (#4) from inex/selfprivacy-rest-api:json-manipulations into master
Reviewed-on: https://git.selfprivacy.org/ilchub/selfprivacy-rest-api/pulls/4
2021-11-16 12:35:53 +02:00
Illia Chub af4907dda5
Fixed pipe path 2021-11-16 12:33:17 +02:00
Inex Code 6c3609f590 Add basic API auth 2021-11-16 12:32:10 +02:00
Illia Chub 59d251bb77
Optimized memory objects usage for status check endpoint 2021-11-16 12:06:36 +02:00
Illia Chub 5c4d871bcd
Added backup process status check endpoint 2021-11-16 12:02:36 +02:00
Illia Chub a1e6c77cc1
Added backup creation message 2021-11-16 10:25:44 +02:00
Illia Chub a86f2fe2bb Merge pull request 'Move to JSON controlled server settings' (#3) from inex/selfprivacy-rest-api:json-manipulations into master
Reviewed-on: https://git.selfprivacy.org/ilchub/selfprivacy-rest-api/pulls/3
2021-11-16 09:42:52 +02:00
Inex Code 767c504a1d Move to JSON controlled server settings 2021-11-15 15:49:06 +02:00
Illia Chub dbb4c10956 Merge pull request 'Decomposition' (#2) from inex/selfprivacy-rest-api:master into master
Reviewed-on: https://git.selfprivacy.org/ilchub/selfprivacy-rest-api/pulls/2
2021-11-12 11:22:22 +02:00
Inex Code af059c2efd Remove wrong import 2021-11-11 20:50:00 +02:00
Inex Code 26b054760c Merge remote-tracking branch 'upstream/master' 2021-11-11 20:49:31 +02:00
Inex Code 2f03cb0756 Fix ssh key add 2021-11-11 20:45:57 +02:00
Inex Code 09f319d683 Decomposition 2021-11-11 20:31:28 +02:00
Illia Chub 5612ff5373
Made asyncronyous backup creation request 2021-11-11 11:49:12 +02:00
Illia Chub ba2d785ada Update 'main.py' 2021-10-27 13:30:24 +03:00
Illia Chub 1bf4a779af Update 'main.py' 2021-10-27 13:23:06 +03:00
Illia Chub f46e1ba134 Update 'main.py' 2021-10-27 12:51:34 +03:00
Illia Chub 37bb014994 Update 'main.py' 2021-10-27 12:49:29 +03:00
Illia Chub c1c9f18521 Fixed identation 2021-10-27 12:45:03 +03:00
Illia Chub 956336da4b Changed the way command passed to the Flask endpoint 2021-10-27 12:24:46 +03:00
Illia Chub 376e38942b
Changed command shell routing parameters 2021-10-25 21:26:52 +03:00
Illia Chub 82821603f1
Fixed restic entrypoint command 2021-10-25 21:23:42 +03:00
Illia Chub 4b39d6e4f9
Changed command shell routing parameters 2021-10-25 21:21:55 +03:00
Illia Chub b7c8bade4c
Fixed Popen communication 2021-10-25 21:18:52 +03:00
Illia Chub e6ef9be267 Added Restic-related functionality 2021-10-25 15:22:13 +03:00
Illia Chub 568add06c6 Removed odd spaces at the end of hash 2021-10-12 13:44:06 +03:00
Illia Chub 2f526c7bcd Fixed '{' parsing 2021-10-12 13:34:37 +03:00
Illia Chub 7c144332cf Fixed spacing 2021-10-12 13:31:37 +03:00
Illia Chub 16b6a15d0c Implemented server-side password hashing 2021-10-12 13:27:58 +03:00
Illia Chub 8580c047d3 Fixed class declaration 2021-10-12 13:00:45 +03:00
Illia Chub b63a4c3b39 Fixed syntax issues 2021-10-12 11:42:45 +03:00
Illia Chub 2ae6925d61 Fixed syntax issues 2021-10-12 11:33:14 +03:00
Illia Chub 4c63004954 Fixed syntax issues 2021-10-12 11:31:01 +03:00
Illia Chub ef79004f19 Fixed syntac issues 2021-10-12 11:27:03 +03:00