Commit graph

32 commits

Author SHA1 Message Date
Inex Code 413911849d refactor(backups): remove calls of legacy backups API 2023-07-20 20:06:39 +03:00
inexcode 32278e9063 Bind to 127.0.0.1 instead of 0.0.0.0 2022-08-26 21:01:14 +04:00
Inex Code 7935de0fe1 Migrate to FastAPI (#13)
Co-authored-by: inexcode <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/13
2022-08-25 20:03:56 +03:00
def 337cf29884 Add GraphQJ user and ssh management (#12)
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/12
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2022-08-01 13:40:40 +03:00
Inex Code 80e5550f7d add basic system getters 2022-06-24 21:14:20 +03:00
Inex Code c6a3588e33 add CORS 2022-06-24 20:25:49 +03:00
Inex Code 07e723dec8 more precise permission control 2022-06-24 20:12:32 +03:00
Inex Code 517a769e5b add auth check 2022-06-24 20:08:58 +03:00
Inex Code 6ca723867e once again 2022-06-24 19:28:58 +03:00
Inex Code 17b8334c6e typo 2022-06-24 18:23:09 +03:00
Inex Code 01dea50c1f tmp allow access to graphql without auth 2022-06-24 18:21:13 +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 f228db5b29 Bump version to 1.2.0 2022-02-16 15:50:12 +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 71fc93914a Update backup endpoints 2021-12-02 18:06:23 +03:00
Inex Code 245964c998 First wave of unit tests, and bugfixes caused by them 2021-11-29 22:16:08 +03:00
Inex Code ec7ff62d59 Add SSH and system settings endpoints 2021-11-22 18:50:50 +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 447cc5ff55 Input sanitization, added swagger 2021-11-16 18:14:01 +02:00
Inex Code 6c3609f590 Add basic API auth 2021-11-16 12:32:10 +02:00
Inex Code 09f319d683 Decomposition 2021-11-11 20:31:28 +02:00