Commit Graph

80 Commits (e2003442e2037ba85d14c2b942db63b451c4dc9f)

Author SHA1 Message Date
Jef Roosens 7afdd02712
Cleaned up Cargo.toml 2021-08-22 18:57:47 +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 badf68e579
Merge branch 'develop' of git.hackbever.be:Chewing_Bever/rusty-bever into develop 2021-08-21 23:02:50 +02:00
Jef Roosens cc7a668ab0
Further split guards 2021-08-21 23:02:17 +02:00
Jef Roosens 89851a2018
Further split guards 2021-08-21 22:41:38 +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 eefaf7acaa
First draft of refresh_tokens table 2021-08-20 14:46:19 +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 c0db4991c3
Set up Diesel 2021-08-19 22:39:14 +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
Jef Roosens 33768dc065
Initialized frontend 2021-08-16 21:08:16 +02:00
Jef Roosens dcdb5b2b2a
Updated README 2021-08-16 16:22:13 +02:00
Jef Roosens 7c7c76853c Initial commit 2021-08-16 16:11:12 +02:00