shockrah
d91666658b
Added trait to interact with database
...
something which any database related type should implement soon
2020-09-02 20:13:36 -07:00
shockrah
31e011ac49
async_trait crate added
2020-09-02 19:12:20 -07:00
shockrah
89b042ba9e
Using async_trait crate to let us create asynchronous trait functions
...
this is only temporary until the rust standard changes
2020-09-02 19:12:05 -07:00
shockrah
2981cbc30b
deps for db interface
2020-09-02 17:00:21 -07:00
shockrah
f05f3160d6
updated cargo deps to include the soon coming db interface
2020-08-29 22:09:33 -07:00
shockrah
eae2677765
temporary sketch patch for the following routse
...
*SET_PERMS_BY_ADMIN
*NEW_ADMIN
NOTE: this patch blows since its coming right before another large redesign
that redesign is the integration of a proper databse interface
2020-08-29 21:02:57 -07:00
shockrah
d40eb24072
removing unused route SERVER_META
2020-08-28 18:34:36 -07:00
shockrah
7607d067a2
new admin module handling the first of many new admin only routes
2020-08-28 18:34:20 -07:00
shockrah
5365e583e5
removing unused sessions table
2020-08-28 16:25:40 -07:00
shockrah
73f050be62
+helper function to process the expires flag in params
...
+can now verify if a user is allowed to use perma invites
- still need to generatre appropos 400 for those with no permisions at all
2020-08-26 20:35:44 -07:00
shockrah
9eff4284a9
+ checkin mod::auth for valid permissions
...
+ helper function for getting a permission mask from permissions module
2020-08-25 23:27:41 -07:00
shockrah
ef5b7a13f9
flattening code
2020-08-23 21:41:18 -07:00
shockrah
12ce5a2c5a
new set of permissions to be used
2020-08-23 21:39:46 -07:00
shockrah
797042b97a
Merge branch 'testing' into master
2020-08-22 15:58:13 -07:00
shockrah
0822be3d20
renamed server/ to api/ since this is really only the api portion of the typical fc server
2020-08-22 15:52:37 -07:00