76 Commits
Author SHA1 Message Date
rmanach e7dff530a6 Merge branch 'release/v0.3.2' 2023-02-16 14:50:30 +00:00
rmanach c533870885 version number bumped 2023-02-16 14:50:17 +00:00
rmanach bdd34a3490 Merge branch 'feature/auth-refactor' into develop 2023-02-16 14:47:11 +00:00
rmanach d974cd718b take Cargo.lock updates 2023-02-16 14:46:57 +00:00
rmanach 734ec7901d add a message module holding struct to manager json response body + fix tests 2023-02-16 11:29:21 +00:00
rmanach f108c592a9 impl ValidationMessage using serde_json to build json response body 2023-02-16 11:00:11 +00:00
rmanach 530063f8ff format code 2023-02-16 10:46:30 +00:00
rmanach e992f7a3ce use serde_json to build http response with JWT json body 2023-02-16 10:45:50 +00:00
rmanach 3b6e208004 update is_auth trait + deserialize credentials with serde 2023-02-16 09:11:15 +00:00
rmanach 141a79c409 Merge branch 'feature/http-destructuration' into develop 2023-02-16 08:07:36 +00:00
rmanach 881bd2e24d update http lib + remove utils mod + remove lib prefix when calling functions 2023-02-15 16:59:28 +00:00
rmanach bfd539731d use full http lib + remove all http crate dependency 2023-02-15 16:42:02 +00:00
rmanach 75e7d63795 update http lib version number 2023-02-15 15:05:41 +00:00
rmanach 48fc5ce213 add http lib and remove http request mod 2023-02-15 14:45:58 +00:00
rmanach e1b8ff56a8 Merge tag 'v0.3.1' into develop
v0.3.1
2022-11-29 13:47:18 +00:00
rmanach 24447dff9d Merge branch 'release/v0.3.1' 2022-11-29 13:47:07 +00:00
rmanach e9a3b44d31 release: version number bumped 2022-11-29 13:46:57 +00:00
rmanach 78e06756e2 feat: #20 add email in JWT claims 2022-11-29 13:42:46 +00:00
rmanach 900dcebcad fix(tests): check if the fetch pubkey validates the JWT 2022-11-21 10:13:20 +00:00
rmanach 0cc5169664 Merge tag 'v0.3.0' into develop
v0.3.0
2022-11-21 08:20:04 +00:00
rmanach 02b6fb3b33 Merge branch 'release/v0.3.0' 2022-11-21 08:19:53 +00:00
rmanach b933853a13 release: version number bumped 2022-11-21 08:19:40 +00:00
rmanach 8d3651d6fc add http method validation on each route + add pubkey tests 2022-11-19 15:53:31 +00:00
rmanach 1d2924b7ef feat(log): display warning in log if body parsing failed 2022-11-19 14:52:59 +00:00
rmanach 91e80cfbf4 feat(jwt): #16 add a route to get the public key 2022-11-19 14:48:22 +00:00
rmanach b1cb4dec23 fix(tests): error message + tests server url 2022-11-19 14:16:44 +00:00
rmanach 5a638fd354 improv: fix doc in config.rs (#18) 2022-11-07 10:50:18 +00:00
rmanach 17a098ef89 improv: replace eprintln with logger (#18) + fix mod documentation 2022-11-07 10:47:45 +00:00
rmanach 45c9112af2 improv: add a logger (#18) + log client IP (#19) 2022-11-07 10:28:58 +00:00
rmanach 74e8d58b5c fix(tests): set URL default value if no one set 2022-10-14 15:29:44 +00:00
rmanach df321ec555 Merge tag 'v0.2.0' into develop
v0.2.0
2022-10-14 14:51:46 +00:00
rmanach a5986f1f28 Merge branch 'release/v0.2.0' 2022-10-14 14:51:26 +00:00
rmanach e02849ca8e release(v0.2.0): version number bumped 2022-10-14 14:50:21 +00:00
rmanach b73add00c5 feat: #13 impl the JWT validation + some fixes 2022-10-14 14:45:03 +00:00
rmanach 6c79c3d708 fix README 2022-10-14 11:29:26 +00:00
rmanach baa8595a4a fix doc + set route target in const 2022-10-14 10:45:32 +00:00
rmanach 7336933642 bug: #15 fix fragmented TCPStream + spawn a tokio task on each connection 2022-10-14 10:37:40 +00:00
rmanach 6166310283 refactor GET handler + impl JWTSigner 2022-10-13 16:06:27 +00:00
rmanach 7073a4b88e improve HTTPResponse to include custom HTTPMessage 2022-10-13 12:20:30 +00:00
rmanach 808cd3ee77 impl an HTTPMessage corresponding to the JSON response body 2022-10-13 10:33:11 +00:00
rmanach 88c2e99aa8 move Config into its own module
cargo-fmt
2022-10-13 08:57:57 +00:00
rmanach 0856b7b6b2 Merge tag 'release/impl-jwt' into develop
v0.1.0
2022-10-12 15:53:02 +00:00
rmanach cdfe53fcb2 Merge branch 'release/release/impl-jwt' 2022-10-12 15:52:14 +00:00
rmanach 8d448719da Merge branch 'feature/impl-jwt' into develop 2022-10-12 15:49:12 +00:00
rmanach 83791850ff feat: #11 update README 2022-10-12 15:47:57 +00:00
rmanach 075ffa6e3f feat: #11 update README 2022-10-12 15:43:19 +00:00
rmanach 55d524ea1b feat: #11 impl config (#9) + set JWT with asymmetric signatures 2022-10-12 14:51:24 +00:00
rmanach 72d1fba8f4 feat: #11 impl JWT + add associated tests 2022-10-10 17:22:36 +00:00
rmanach e22d289e0d Merge branch 'feature/impl-router-handler' into develop 2022-10-10 15:07:07 +00:00
rmanach 71e3db0857 feat: #12 add async block in handlers (more readable) + fix tests 2022-10-10 14:59:29 +00:00
rmanach 53b5c7a65f feat: #12 impl router for get target + clean the code 2022-10-07 15:57:51 +00:00
rmanach df38268566 feat: #12 start impl router 2022-10-06 16:51:51 +00:00
rmanach 495d57c403 feat: #12 remove rename handlers mod into http 2022-10-06 15:40:35 +00:00
rmanach 8049763b18 Merge branch 'feature/impl-credentials-store' into develop 2022-10-03 15:48:46 +00:00
rmanach 13b515c9c7 #8 update the doc 2022-10-03 15:34:37 +00:00
rmanach 384e868501 #8 return a 403 if credentials are invalid + adjust corresponding test 2022-10-03 15:09:44 +00:00
rmanach 73059c724f feat: #8 parse store file content and add test 2022-09-29 16:27:45 +00:00
rmanach 8bf503df14 feat: #8 impl a credentials store 2022-09-29 14:25:38 +00:00
rmanach 4d45992b84 update README.md 2022-09-21 09:56:30 +01:00
rmanach 2c7418f333 feat: #2 impl an HTTPResponse + update tests 2022-09-20 09:07:23 +00:00
rmanach 35cc483774 remove debug print + add print when server is ready 2022-09-19 15:20:04 +00:00
rmanach 61479517b5 add requirements.txt for pytest 2022-09-19 14:14:49 +00:00
rmanach 776b5094ee Merge branch 'feature/improve-tcpstream' into develop 2022-09-19 15:11:29 +01:00
rmanach 5321c06d24 improv: #5 add e2e tests 2022-09-19 14:10:03 +00:00
rmanach 65e188bcf8 improv: #5 accept http 1.0 request version 2022-09-19 14:10:28 +01:00
rmanach 617c084782 improv: #5 handle the request and return a response (useful for tests) 2022-09-19 10:51:30 +01:00
rmanach 0a76efdc64 improv: #5 use tokio crate to handle incoming conn async 2022-09-15 18:10:10 +01:00
rmanach 73f3e3ccec bug: #4 fix HTTP request parsing 2022-09-15 09:40:32 +01:00
rmanach 5fc2a07bce feat: #3 add a target and http version validator 2022-09-14 18:00:12 +01:00
rmanach 9f0dc6e6c5 feat: #3 add a method validator 2022-09-14 11:12:04 +01:00
rmanach 6e994f1b90 impl more robust test for HTTP Request 2022-09-13 17:17:09 +01:00
rmanach ce7e49af47 feat: #1 rework on http request parser and include HTTPBody in HTTPRequest 2022-09-09 16:58:10 +01:00
rmanach e0d72b08cf feat: #1 impl an http body parser 2022-09-09 14:02:16 +01:00
rmanach 3afe437143 feat: #1 add HTTPStartLine struct to parse request start line + some fixes 2022-09-09 11:08:35 +01:00
rmanach 81d9b0f38d add a request handler 2022-09-08 10:45:58 +01:00
rmanach f7a7cddde5 init repository 2022-09-08 08:42:26 +01:00