Commit Graph

25 Commits

Author SHA1 Message Date
Sebastian H. Gabrielli
687ab16d14 Authorization fetches certs once if no matching cert is found 2024-01-01 14:07:47 +01:00
Sebastian H. Gabrielli
b5cbe304e5 Make authroization use shared state, giving ~200 speedup 2023-12-31 16:53:11 +01:00
Sebastian H. Gabrielli
a68730ac52 Authorization works 2023-12-31 15:28:35 +01:00
Sebastian H. Gabrielli
40714e4215 Add jwt_validation.rs from JWT validation test repo 2023-12-31 14:12:37 +01:00
Sebastian H. Gabrielli
c61692cc32 Fix issue where member last name became RFID card
When applying the JSON override fields the RFID card info was assigned
to the lastName field. this has been fixed.
2023-12-26 21:02:06 +01:00
Sebastian H. Gabrielli
e7cbe25602 Handle CORS 2023-12-26 21:01:36 +01:00
Sebastian H. Gabrielli
603b57b303 Implemented all RFID card functionality 2023-12-25 17:58:43 +01:00
Sebastian H. Gabrielli
053fc6a545 Implement all image preference functions 2023-12-25 17:06:51 +01:00
Sebastian H. Gabrielli
ac9d7b9946 Implement all balance functions 2023-12-25 16:57:57 +01:00
Sebastian H. Gabrielli
dddef4e80a Implemented update_member_by_id 2023-12-25 16:40:39 +01:00
Sebastian H. Gabrielli
cde27b56d9 Add serde renames and make structs use proper rust variable names 2023-12-25 15:58:18 +01:00
Sebastian H. Gabrielli
56f1a1375e Move index to main & make ErrorResponder public 2023-12-25 15:51:31 +01:00
Sebastian H. Gabrielli
5970760055 Add DB to readme file info 2023-12-25 15:49:43 +01:00
Sebastian H. Gabrielli
9d6e27415e Add README.md 2023-12-25 15:47:08 +01:00
Sebastian H. Gabrielli
57191c043e Split project into separate files 2023-12-25 15:40:00 +01:00
Sebastian H. Gabrielli
f5779ec55f Change the impl to the less scary looking entities::members::Model 2023-12-25 13:48:44 +01:00
Sebastian H. Gabrielli
8a3eb8027b Change add_member to use from and into functionality 2023-12-25 13:44:50 +01:00
Sebastian H. Gabrielli
3c6e6c8656 Simplify get_member_by_id with new from implementation 2023-12-25 13:19:58 +01:00
Sebastian H. Gabrielli
b038811b58 Implement rfid card lookup in get_members 2023-12-25 13:11:36 +01:00
Sebastian H. Gabrielli
8b704120d2 Implement get_members 2023-12-25 13:00:35 +01:00
Sebastian H. Gabrielli
bf84ff6e33 Implement functionality to check for existing member with NTNU username 2023-12-24 00:27:18 +01:00
Sebastian H. Gabrielli
48bb2ab839 Create and implement add_member function 2023-12-24 00:18:33 +01:00
Sebastian H. Gabrielli
35971d14d1 Rename get_member to get_member_by_id 2023-12-23 23:40:06 +01:00
Sebastian H. Gabrielli
72f73a89e1 Create database link and implement get_member 2023-12-23 23:39:23 +01:00
Sebastian H. Gabrielli
ab81d241df Initial commit 2023-12-23 12:00:10 +01:00