Commit Graph

107 Commits

Author SHA1 Message Date
d9dd2a038b refactor(http): use Setting enum 2021-08-25 17:43:46 +03:00
f79b8287f5 update vergen 2021-07-26 15:25:30 +02:00
a71fa25ebe auth tests 2021-07-07 17:47:48 +02:00
83725a1330 fix search permissions 2021-07-07 10:39:04 +02:00
41e271974a add tests 2021-07-06 16:21:15 +02:00
9681ffca52 change index create http code 2021-07-05 16:31:51 +02:00
575ec2a06f refactor routes 2021-07-05 14:33:48 +02:00
2830853665 accept any content type as json 2021-06-30 17:05:59 +02:00
29bf6a8d42 run rustfmt one the whole project and add it to the CI 2021-06-29 15:25:18 +02:00
fe7640555d fix the content-type 2021-06-29 13:16:56 +02:00
1dc99ea451 accept no content-type as json 2021-06-29 11:59:25 +02:00
01b09c065b change route to service<resource> 2021-06-24 19:02:28 +02:00
79fc3bb84e fmt 2021-06-24 16:36:22 +02:00
8e4928c7ea fix tests 2021-06-24 16:36:22 +02:00
561596d8bc update stats routes 2021-06-24 16:36:18 +02:00
549b489c8a update settings routes 2021-06-24 16:35:48 +02:00
1e9f374ff8 update running route 2021-06-24 16:35:12 +02:00
817fcfdd88 update keys route 2021-06-24 16:35:12 +02:00
fab50256bc update index routes 2021-06-24 16:35:04 +02:00
b044608b25 update health route 2021-06-24 16:32:45 +02:00
ce4fb8ce20 update dump route 2021-06-24 16:32:43 +02:00
adf91d286b update documents and search routes 2021-06-24 16:32:15 +02:00
5b71751391 policies macros 2021-06-24 16:31:30 +02:00
12f6709e1c move authencation to extractor mod 2021-06-24 16:31:28 +02:00
5229f1e220 experimental auth extractor 2021-06-24 16:30:15 +02:00
ad8d9a97d6 debug the body of every http request 2021-06-24 11:22:11 +02:00
8638c9ab77 Merge #232
232: Fix payload size limit r=MarinPostma a=MarinPostma

Fix #223

This was due to the fact that Payload ignores the limit payload size limit. I fixed it by implementing my own `Payload` extractor that checks that the size of the payload is not too large.

I also refactored the `create_app` a bit.

Co-authored-by: marin postma <postma.marin@protonmail.com>
2021-06-23 16:06:08 +00:00
a838238a63 move payload to own module 2021-06-23 16:49:25 +02:00
834995b130 clippy + fmt 2021-06-23 16:49:23 +02:00
1c13100948 implement custom payload 2021-06-23 16:48:31 +02:00
71226feb74 refactor create_app macro 2021-06-23 16:47:15 +02:00
322d6b8cfe fix serialization bug in settings 2021-06-23 15:25:56 +02:00
6d24a4744f Roll back facetsDistribution 2021-06-23 10:04:01 +02:00
3456a78552 refactor formatter
share the analyzer instance between the formatter and the
compute_matches function
2021-06-22 18:28:20 +02:00
97ef4a6c22 implement matches 2021-06-22 18:12:52 +02:00
9cc31c2258 fix get search crop len 2021-06-22 16:01:40 +02:00
1e4592dd7e enable errors in updates 2021-06-21 18:42:47 +02:00
763ee521be fix rebase errors 2021-06-21 12:11:09 +02:00
02277ec2cf reintroduce anyhow 2021-06-21 12:11:06 +02:00
439db1aae0 enable response error for search routes 2021-06-21 11:00:14 +02:00
8afbb9c462 enable response error for documents routes 2021-06-21 10:59:41 +02:00
5c52a1393f enable response error for settings routes 2021-06-21 10:59:41 +02:00
d1550670a8 enable response error for index routes 2021-06-21 10:59:40 +02:00
58f9974be4 remove anyhow refs & implement missing errors 2021-06-21 10:59:38 +02:00
623b71e81e Fix clippy errors 2021-06-17 18:02:25 +02:00
dc5a3d4a62 Use BTreeSet instead of HashSet 2021-06-16 16:20:10 +02:00
65130d9ee7 Change crop_length type from Option(usize) to usize 2021-06-15 17:40:44 +02:00
0da8fa115e Add custom croplength for attributes to crop 2021-06-15 17:40:43 +02:00
a780cff8fd fix clippy warning 2021-06-14 14:53:47 +02:00
18d4d6097a implements the synonyms in transplant 2021-06-14 14:47:51 +02:00