Commit Graph

45 Commits (548dd0d022da69667111d3c89be2fe1c3348ada0)

Author SHA1 Message Date
Jef Roosens 548dd0d022
Tried to add MirageJS but failed 2021-09-23 15:30:39 +02:00
Jef Roosens 6d83c18036
Documented entire db section 2021-09-15 11:36:40 +02:00
Jef Roosens 3e7612a9a8
Added create section endpoint 2021-09-13 22:15:38 +02:00
Jef Roosens 8534090f0f
Wrote some database boilerplate 2021-09-13 17:35:06 +02:00
Jef Roosens 211e31a008
Wrote first draft of sections database scheme 2021-09-13 17:18:33 +02:00
Jef Roosens a295237863
Some random stuff tbh 2021-09-05 09:59:16 +02:00
Jef Roosens a6b1b0ff76
Added mimalloc as allocator 2021-09-03 16:31:06 +02:00
Jef Roosens 505907d3a1
Default catcher now returns json 2021-09-01 17:29:39 +02:00
Jef Roosens f50008ff99
Fixed guard still using env var for jwt key 2021-09-01 16:18:48 +02:00
Jef Roosens fb2a6126fe
Moved all database code to db module 2021-09-01 12:53:00 +02:00
Jef Roosens 2cc4d53961
Moved JWT config to config file 2021-08-30 15:28:47 +02:00
Jef Roosens 3cf7661faf
Switched to yaml-based config 2021-08-30 14:27:54 +02:00
Jef Roosens 02011e04ce
Moved some JWT db commands to db 2021-08-29 21:15:10 +02:00
Jef Roosens 1378219fe5
Moved admin functions to correct module 2021-08-29 20:41:03 +02:00
Jef Roosens 87d8d8ff0c
Switched to binary-only project 2021-08-29 20:30:33 +02:00
Jef Roosens 27b904b3f5
Pleased the linters 2021-08-29 19:07:36 +02:00
Jef Roosens 6858e9da62
Restructured auth 2021-08-29 19:04:06 +02:00
Jef Roosens dd51d107e3
Renamed errors; changed Responser implementation 2021-08-28 22:06:09 +02:00
Jef Roosens a100ea52a0
First draft stuff 2021-08-27 08:50:48 +02:00
Jef Roosens 1ee9b78d81
Merge branch 'develop' of git.hackbever.be:Chewing_Bever/rusty-bever into develop 2021-08-23 12:01:26 +02:00
Jef Roosens a8cd8618a3
Added lifetime thingy 2021-08-23 12:01:04 +02:00
Jef Roosens 456c947ecd
Added a single lifetime parameter 2021-08-23 08:17:06 +02:00
Jef Roosens 159da81b8d
Started on user management routes 2021-08-22 22:35:07 +02:00
Jef Roosens 16ddc9aecd
Configured Rustfmt 2021-08-22 16:45:01 +02:00
Jef Roosens b13b760e2f
Completely restructured codebase 2021-08-22 16:24:59 +02:00
Jef Roosens b45c93cdc9
Added admin users route 2021-08-22 15:50:58 +02:00
Jef Roosens d7333373bb
Token refresh works! 2021-08-22 13:41:03 +02:00
Jef Roosens 7dffbb9597
First draft of token refresh 2021-08-22 10:42:58 +02:00
Jef Roosens cc7a668ab0
Further split guards 2021-08-21 23:02:17 +02:00
Jef Roosens dab90bc4a9
Separated JWT header into own guard 2021-08-21 22:21:42 +02:00
Jef Roosens 35fb38de9e
Added Admin & User guards 2021-08-21 21:42:36 +02:00
Jef Roosens 210eeee7b6
Added default values to admin password 2021-08-21 20:22:19 +02:00
Jef Roosens 13259249fd
First successful JWT token request achieved 2021-08-21 18:51:29 +02:00
Jef Roosens 0d4d96d761
Added very basic admin user creation 2021-08-21 18:05:16 +02:00
Jef Roosens ac762a3c31
Mounted auth routes 2021-08-21 17:03:10 +02:00
Jef Roosens 9309ec77fb
First JWT login implementation 2021-08-21 16:45:41 +02:00
Jef Roosens 7a97b99bd6
Added some basic error handling 2021-08-21 15:58:51 +02:00
Jef Roosens 6782fecc0d
Started JWT token generation 2021-08-21 13:46:41 +02:00
Jef Roosens d90dbcdc2a
Some broken shit 2021-08-20 23:09:22 +02:00
Jef Roosens 1c524f181f
Removed role system 2021-08-20 22:25:21 +02:00
Jef Roosens 5e86133651
Started some auth stuff 2021-08-20 16:55:56 +02:00
Jef Roosens 4ccee64323
Started writing auth sql schema 2021-08-20 14:06:01 +02:00
Jef Roosens fcd31fd6a8
Setup Rocket entrypoint 2021-08-19 22:46:50 +02:00
Jef Roosens 48fdc460ad
Organized Rust project in library & binary 2021-08-18 22:06:37 +02:00
Jef Roosens 3415ce7329
Initialized Rust backend 2021-08-18 21:54:49 +02:00