Commit graph

60 commits

Author SHA1 Message Date
Inex Code 503a39f390 API keys graphql tests 2022-06-29 20:39:46 +03:00
Inex Code 80e5550f7d add basic system getters 2022-06-24 21:14:20 +03:00
Inex Code 517a769e5b add auth check 2022-06-24 20:08:58 +03:00
Inex Code 9b25bc0d53 Add api status resolvers 2022-06-24 19:17:03 +03:00
Inex Code 28db251f1f rollback the rename 2022-06-24 18:13:54 +03:00
Inex Code a6ad9aaf90 rename folder 2022-06-24 18:02:40 +03:00
Inex Code 99beee40d6 Add integration with flask 2022-06-24 16:05:18 +03:00
Inex Code c30e062210 Fix date formats 2022-05-31 11:46:58 +03:00
Inex Code 401dff23fb bitwarden_rs -> vaultwarden 2022-05-26 18:40:07 +03:00
Inex Code 1ac5f72433 Fix API to allow returning user list with the master user 2022-05-12 18:55:57 +03:00
Inex Code 36bf1a80bf Fix username length check 2022-05-02 14:48:55 +03:00
Inex Code f2c73853bc Add migration to selfprivacy nix channel 2022-04-28 16:22:13 +03:00
Inex Code 6cd896f977 Delete rootKeys field instead of adding empty element 2022-03-20 19:48:00 +03:00
Inex Code 4cbb08cb6e Fix root key deletion to not make system rebuild unpossible 2022-03-20 19:32:31 +03:00
inexcode 50a82a065e Cover the case when uses is less than 1 2022-02-16 17:10:29 +03:00
inexcode c22fe9e8bd Linting 2022-02-16 16:03:38 +03:00
inexcode f228db5b29 Bump version to 1.2.0 2022-02-16 15:50:12 +03:00
inexcode 2235358827 Auth module coverage and bug fixes 2022-02-16 15:49:10 +03:00
inexcode 98e60abe74 When returning the list of tokens, indicate which one is caller's 2022-02-16 09:40:31 +03:00
Inex Code 2ec9c8a441 Mark field as required in swagger docs 2022-02-02 14:51:48 +02:00
Inex Code fbb82c87e8 Add new device token deletion endpoint 2022-01-27 14:12:49 +02:00
Inex Code 40501401b4 More auth tests 2022-01-24 22:01:37 +02:00
Inex Code 5140081cdb Some test and bupfixes 2022-01-18 17:20:47 +02:00
Inex Code 759e90f734 Formatting and fix swagger test 2022-01-17 13:29:54 +02:00
Inex Code ade7c77754 Fix bugs 2022-01-17 13:28:17 +02:00
Inex Code d7fe7097e6 Remove redundant security strings from swagger 2022-01-14 10:08:41 +03:00
Inex Code ea696d0f0e Inital auth work, untested 2022-01-14 08:38:53 +03:00
Inex Code 0c61c1abb5 Migrations mechanism and fix to the nixos-config branch 2022-01-11 08:36:11 +03:00
Inex Code 13cef67204 More unit tests and bugfixes (#7)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/7
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Co-committed-by: Inex Code <inex.code@selfprivacy.org>
2022-01-10 22:35:00 +02:00
Inex Code f68bd88a31 Restic controller 2021-12-06 09:48:29 +03:00
Inex Code dc4c9a89e1 Make list backups init backups 2021-12-02 23:08:25 +03:00
Inex Code 71fc93914a Update backup endpoints 2021-12-02 18:06:23 +03:00
Inex Code c53cab7b88 Move PullRepositoryChanges to system resource 2021-12-01 17:51:55 +03:00
Inex Code 077c886f40 Add endpoint to update b2 keys 2021-12-01 17:51:38 +03:00
Inex Code 69eb91a1ea Reformat code with Black 2021-12-01 00:53:39 +03:00
Inex Code 8e0a5f5ec0 Merge branch 'master' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api into system-configuration 2021-11-30 23:30:26 +03:00
Illia Chub 1385835a7f Removed useless imports from update module 2021-11-30 07:12:04 +02:00
Illia Chub d1fdaf186d Mitigated possible directory escape scenario 2021-11-30 07:10:00 +02:00
Illia Chub fb98fd1e60 Implemented update check endpoint 2021-11-30 07:04:06 +02:00
Inex Code 245964c998 First wave of unit tests, and bugfixes caused by them 2021-11-29 22:16:08 +03:00
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 e00aaf7118 Hotfix: user and ssh key creation when no were defined 2021-11-18 20:54:45 +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