57 Commits

Author SHA1 Message Date
b933853a13 release: version number bumped 2022-11-21 08:19:40 +00:00
8d3651d6fc add http method validation on each route + add pubkey tests 2022-11-19 15:53:31 +00:00
1d2924b7ef feat(log): display warning in log if body parsing failed 2022-11-19 14:52:59 +00:00
91e80cfbf4 feat(jwt): #16 add a route to get the public key 2022-11-19 14:48:22 +00:00
b1cb4dec23 fix(tests): error message + tests server url 2022-11-19 14:16:44 +00:00
5a638fd354 improv: fix doc in config.rs (#18) 2022-11-07 10:50:18 +00:00
17a098ef89 improv: replace eprintln with logger (#18) + fix mod documentation 2022-11-07 10:47:45 +00:00
45c9112af2 improv: add a logger (#18) + log client IP (#19) 2022-11-07 10:28:58 +00:00
74e8d58b5c fix(tests): set URL default value if no one set 2022-10-14 15:29:44 +00:00
df321ec555 Merge tag 'v0.2.0' into develop
v0.2.0
2022-10-14 14:51:46 +00:00
a5986f1f28 Merge branch 'release/v0.2.0' v0.2.0 2022-10-14 14:51:26 +00:00
e02849ca8e release(v0.2.0): version number bumped 2022-10-14 14:50:21 +00:00
b73add00c5 feat: #13 impl the JWT validation + some fixes 2022-10-14 14:45:03 +00:00
6c79c3d708 fix README 2022-10-14 11:29:26 +00:00
baa8595a4a fix doc + set route target in const 2022-10-14 10:45:32 +00:00
7336933642 bug: #15 fix fragmented TCPStream + spawn a tokio task on each connection 2022-10-14 10:37:40 +00:00
6166310283 refactor GET handler + impl JWTSigner 2022-10-13 16:06:27 +00:00
7073a4b88e improve HTTPResponse to include custom HTTPMessage 2022-10-13 12:20:30 +00:00
808cd3ee77 impl an HTTPMessage corresponding to the JSON response body 2022-10-13 10:33:11 +00:00
88c2e99aa8 move Config into its own module
cargo-fmt
2022-10-13 08:57:57 +00:00
0856b7b6b2 Merge tag 'release/impl-jwt' into develop
v0.1.0
2022-10-12 15:53:02 +00:00
cdfe53fcb2 Merge branch 'release/release/impl-jwt' v0.1.0 2022-10-12 15:52:14 +00:00
8d448719da Merge branch 'feature/impl-jwt' into develop 2022-10-12 15:49:12 +00:00
83791850ff feat: #11 update README 2022-10-12 15:47:57 +00:00
075ffa6e3f feat: #11 update README 2022-10-12 15:43:19 +00:00
55d524ea1b feat: #11 impl config (#9) + set JWT with asymmetric signatures 2022-10-12 14:51:24 +00:00
72d1fba8f4 feat: #11 impl JWT + add associated tests 2022-10-10 17:22:36 +00:00
e22d289e0d Merge branch 'feature/impl-router-handler' into develop 2022-10-10 15:07:07 +00:00
71e3db0857 feat: #12 add async block in handlers (more readable) + fix tests 2022-10-10 14:59:29 +00:00
53b5c7a65f feat: #12 impl router for get target + clean the code 2022-10-07 15:57:51 +00:00
df38268566 feat: #12 start impl router 2022-10-06 16:51:51 +00:00
495d57c403 feat: #12 remove rename handlers mod into http 2022-10-06 15:40:35 +00:00
8049763b18 Merge branch 'feature/impl-credentials-store' into develop 2022-10-03 15:48:46 +00:00
rmanach
97698ec207 update README (add doc part) 2022-10-03 17:43:59 +02:00
13b515c9c7 #8 update the doc 2022-10-03 15:34:37 +00:00
384e868501 #8 return a 403 if credentials are invalid + adjust corresponding test 2022-10-03 15:09:44 +00:00
73059c724f feat: #8 parse store file content and add test 2022-09-29 16:27:45 +00:00
8bf503df14 feat: #8 impl a credentials store 2022-09-29 14:25:38 +00:00
4d45992b84 update README.md 2022-09-21 09:56:30 +01:00
2c7418f333 feat: #2 impl an HTTPResponse + update tests 2022-09-20 09:07:23 +00:00
35cc483774 remove debug print + add print when server is ready 2022-09-19 15:20:04 +00:00
61479517b5 add requirements.txt for pytest 2022-09-19 14:14:49 +00:00
776b5094ee Merge branch 'feature/improve-tcpstream' into develop 2022-09-19 15:11:29 +01:00
5321c06d24 improv: #5 add e2e tests 2022-09-19 14:10:03 +00:00
65e188bcf8 improv: #5 accept http 1.0 request version 2022-09-19 14:10:28 +01:00
617c084782 improv: #5 handle the request and return a response (useful for tests) 2022-09-19 10:51:30 +01:00
0a76efdc64 improv: #5 use tokio crate to handle incoming conn async 2022-09-15 18:10:10 +01:00
73f3e3ccec bug: #4 fix HTTP request parsing 2022-09-15 09:40:32 +01:00
5fc2a07bce feat: #3 add a target and http version validator 2022-09-14 18:00:12 +01:00
9f0dc6e6c5 feat: #3 add a method validator 2022-09-14 11:12:04 +01:00