Commit graph

578 commits

Author SHA1 Message Date
Inex Code c20b0c94f4 Update strawberry patch 2022-06-24 16:17:18 +03:00
Inex Code 992a7837d4 Update strawberry patch to remove backport 2022-06-24 16:12:56 +03:00
Inex Code 99beee40d6 Add integration with flask 2022-06-24 16:05:18 +03:00
inexcode 75e3143c82 strawberry init 2022-06-24 15:26:51 +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 c0c9c1e89e Merge pull request 'nix-channel-migration' (#11) from nix-channel-migration into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/11
2022-05-02 11:02:37 +03:00
Inex Code 3044557963 Fix formatting 2022-05-02 10:59:04 +03:00
Inex Code f31b1173a2 add migration to init 2022-04-29 14:27:13 +03:00
Inex Code ac220c6968 some logging 2022-04-29 14:24:25 +03:00
Inex Code f2c73853bc Add migration to selfprivacy nix channel 2022-04-28 16:22:13 +03:00
Inex Code 874acb1343 Merge pull request 'Fix pull system tests for non-nixos systems' (#10) from NaiJi/selfprivacy-rest-api:chdir-mock into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/10
2022-04-05 17:11:08 +03:00
NaiJi 035796ecc7 Fix pull system tests for non-nixos systems 2022-04-03 22:04:49 +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
Inex Code 72a9b11541 Merge pull request 'API 1.2.0' (#9) from authorization_tokens into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/9
2022-02-16 16:13:37 +02:00
Inex Code 2ba3777713 Merge branch 'master' into authorization_tokens 2022-02-16 16:12:05 +02:00
inexcode 250677f97d formatting 2022-02-16 17:10:45 +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 6fbfee5b1b App pylint to shell.nix 2022-01-27 14:13:00 +02:00
Inex Code fbb82c87e8 Add new device token deletion endpoint 2022-01-27 14:12:49 +02:00
Inex Code 4f30017132 Merge pull request 'Migration module' (#8) from migrations-branch-fix into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/8
2022-01-26 16:58:20 +02:00
Inex Code 40501401b4 More auth tests 2022-01-24 22:01:37 +02:00
Inex Code 08c7f62e93 Add nix shell 2022-01-24 21:56:48 +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 fe86382819 Fix migration to run 2022-01-14 09:24:33 +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 aa76f87828 Allow user to disable all migrations entirely 2022-01-11 08:57:14 +03:00
Inex Code 6c0af38e27 Move is_migration_needed call under try block too 2022-01-11 08:54:57 +03:00
Inex Code 355fc68232 Fix newline 2022-01-11 08:52:43 +03:00
Inex Code 07cf926e79 Fix migration crashes. 2022-01-11 08:52:15 +03:00
Inex Code 650032bdab Formatting 2022-01-11 08:41:25 +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
Illia Chub 030a655c39 Trigger CI/CD hook 2021-12-13 10:46:59 +02:00
inex 0d92be8fb7 Merge pull request 'API 1.1.0 relaese' (#6) from system-configuration into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/6
2021-12-09 15:24:25 +02:00
Inex Code f235819a1c Merge branch 'system-configuration' of git.selfprivacy.org:SelfPrivacy/selfprivacy-rest-api into system-configuration 2021-12-08 07:45:57 +03:00
Inex Code f24323606f Fix restic to hide files instead of deleting 2021-12-08 07:45:27 +03:00
Illia Chub 0e8e78de08 Fixed identation 2021-12-06 21:12:30 +02:00
Illia Chub 3cb6b769df Added CI/CD integration 2021-12-06 21:11:04 +02:00