Commit Graph

61 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 c64eaf2ff5
Merge branch 'revamp-errors' into develop 2021-08-29 19:56:04 +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 b61b329996
Merge branch 'develop' into revamp-errors 2021-08-28 21:16:44 +02:00
Jef Roosens 7d11d4ad17
Merge branch 'makefile' into develop 2021-08-28 21:15:53 +02:00
Jef Roosens de8be87036
Added some comments 2021-08-28 16:37:32 +02:00
Jef Roosens 055d1f9e8d
Added dumb-init; changed some stuff 2021-08-28 14:20:51 +02:00
Jef Roosens 85cfe6290c
Almost working libpq 2021-08-28 13:53:13 +02:00
Jef Roosens c912c0aa0b
Beginning of Makefile 2021-08-28 12:41:43 +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 b4fc6fe2c0
Small changes 2021-08-22 22:01:27 +02:00
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