Commit graph

268 commits

Author SHA1 Message Date
EETagent
e2e9546120 fix: fix tests, same APPLICATION_ID for all test cases 2022-11-16 20:29:59 +01:00
EETagent
5431335a2a feat: add serial macro for tests, add more tests 2022-11-16 20:22:43 +01:00
EETagent
ee12ad3925 refactor: refactor write tests 2022-11-16 17:45:12 +01:00
EETagent
b9f842f258 feat: init file write tests 2022-11-16 17:08:53 +01:00
EETagent
e4dda4581d feat: specify file root dir in env 2022-11-16 16:56:16 +01:00
EETagent
eb5fc405e2 refactor: are_candidate_details_complete name 2022-11-16 16:42:18 +01:00
EETagent
8560c0b3a6 fix: do not remove cache dir completely 2022-11-16 16:39:24 +01:00
EETagent
fc614eadb8 feat: add cache validation functions 2022-11-16 16:38:23 +01:00
EETagent
e9f3a8042c refactor: refactor is_portfolio_prepared 2022-11-16 16:26:42 +01:00
EETagent
530994f33d feat: load cache into memory before deleting 2022-11-16 16:21:03 +01:00
EETagent
7e00d302d2 fix: correct error for incomplete portfolio 2022-11-16 16:09:28 +01:00
EETagent
20028846bb fix: delete only on critical error 2022-11-16 16:09:05 +01:00
EETagent
a93549c906 fix: portfolio cleanup after unsuccessful request 2022-11-16 15:35:49 +01:00
EETagent
5821c7c190 fix: remove unwrap 2022-11-16 15:35:13 +01:00
EETagent
abfcf9f3eb refactor: refactor routes and function names 2022-11-16 14:35:36 +01:00
EETagent
62e341c26e feat: add is_submitted 2022-11-16 14:21:29 +01:00
EETagent
f475af0eec feat: submit endpoint 2022-11-16 14:11:26 +01:00
EETagent
5bac182f83 fix: portfolio submit fix 2022-11-16 14:11:10 +01:00
EETagent
39aa1f0ad6 fix: possible crypto file write fixes 2022-11-16 14:11:01 +01:00
Vojtěch Jungmann
efac2e1965
Merge pull request #38 from EETagent/finish_file_upload
File upload & Candidate folder
2022-11-14 23:30:46 +01:00
Sebastian Pravda
8579cc9987
feat: move 'get_sqlite_conn' to util.rs 2022-11-14 23:14:55 +01:00
Sebastian Pravda
f1692df760
refactor: use '? ' as much as possible 2022-11-14 23:04:46 +01:00
EETagent
b0e2129cf4 fix: rebasing fixes 2022-11-14 22:02:11 +01:00
EETagent
ad63cc2ff5 fix: mapp_err refactor & error fix 2022-11-14 21:55:51 +01:00
EETagent
c352dc0212 feat: decrypt portfolio 2022-11-14 21:55:51 +01:00
EETagent
6d386e90a4 feat: portfolio encryption 2022-11-14 21:55:51 +01:00
EETagent
c20f07e268 feat: submit portfolio 2022-11-14 21:55:51 +01:00
EETagent
836146eeb7 feat: add async_zip 2022-11-14 21:55:29 +01:00
EETagent
91125ce7f1 feat: check if portfolio is complete 2022-11-14 21:55:29 +01:00
EETagent
4a8c520cae feat: implement folder & file creation 2022-11-14 21:55:29 +01:00
Vojtěch Jungmann
6054eb7fd4
Merge pull request #43 from EETagent/thiserror
Thiserror
2022-11-14 21:48:55 +01:00
EETagent
7e3b96e41c refactor: refactor errors, define only codes 2022-11-14 20:58:38 +01:00
EETagent
54e88de2a9 refactor: remove some unwraps from crypto 2022-11-14 14:20:31 +01:00
EETagent
e1ee5b796a feat: convert crypto to our service error 2022-11-14 14:06:48 +01:00
EETagent
98c59694a7 feat: thiserror PoC 2022-11-14 13:47:14 +01:00
Sebastian Pravda
72ae61637f
Merge pull request #40 from EETagent/parent_details
Parent details, massive refactoring
2022-11-12 11:50:38 +01:00
Sebastian Pravda
3bef8d9534
fix: create candidate error 2022-11-12 11:42:39 +01:00
Sebastian Pravda
2d9b755e5a
feat: async create candidate, async add details 2022-11-12 11:38:56 +01:00
Sebastian Pravda
c238b8ec45
feat: candidate fk on parent 2022-11-12 11:27:13 +01:00
Sebastian Pravda
12d25c9ffc
refactor: rename to aplication details 2022-11-12 00:13:32 +01:00
Sebastian Pravda
ef2cca94ea
refactor: decrypt private key method 2022-11-12 00:11:16 +01:00
Sebastian Pravda
97b087f4c2
refactor: application service 2022-11-11 23:59:16 +01:00
Sebastian Pravda
9e1ba16ef6
feat: parent details 2022-11-11 23:29:09 +01:00
Vojtěch Jungmann
ee3d3cfcb1
Merge pull request #22 from EETagent/recovery_cli 2022-11-11 21:28:50 +01:00
EETagent
9c9cc5a73a fix: correct argument names 2022-11-11 20:48:14 +01:00
EETagent
cb4b3ff08a refactor: rename to portfolio-cl 2022-11-11 20:47:19 +01:00
EETagent
f220e133c5 refactor: remove debug print 2022-11-11 20:42:11 +01:00
EETagent
1039b80518 feat: add asymetric & fix default value for decrypt flags 2022-11-11 20:41:40 +01:00
EETagent
693426f041 feat: add useful utilities 2022-11-11 20:20:48 +01:00
EETagent
ee4d137a7d refactor: require URL instead 2022-11-11 20:01:21 +01:00