shockrah
afdeef0a49
More warning removals and more db-lib result wrapping
...
This should be everything now
2021-03-30 23:00:50 -07:00
shockrah
988aa9f155
Removal of chrono and async_trait as dependancy in db-lib
...
Removig chrono from api code as well
Removing chrono as dep in api code
+ Using Content-Type for /message/send content type
Updating cargo lists for removal of fluff deps
Removal of more fluff
Addking makefile to avoid compiling debug builds by accident while developing
2021-03-20 14:59:06 -07:00
shockrah
05acbfa94e
Passing tests for invite routes
2021-02-25 16:05:46 -08:00
shockrah
212173f543
Fixing /join route, time check was backwards oops and it was set to GET not post
2021-02-25 15:31:45 -08:00
shockrah
16276c97e0
Moving option parameters to the query string
...
Large payloads will remain the body as those are typically required for post endpoints such as /message/send
2021-02-10 23:18:24 -08:00
shockrah
3369b4ec48
- Removing unused code 'process_expires_parameter' function
...
* Switching to qs_param in only a few cases for now
2021-02-05 16:28:47 -08:00
shockrah
c1ef4c6336
-Removed _most_ direct sql manipulation for invite creation
...
- Removed unused/irrelevant unit tests, which now have to be rebuilt for the new codebase
2021-02-03 21:26:26 -08:00
shockrah
9fac3aa117
* /join route handler now uses hashmaps among and returns more sensible http codes
2021-02-03 21:09:12 -08:00
shockrah
98803eec26
First pass of using hashmaps in /invite/create handler
...
+ Adding allowed_perm_invite, a helper function pulling permissions form the database to check if the user can make invites
2021-02-03 20:50:06 -08:00
shockrah
b67bb6105f
Renaming project to json-api for clarity sake
2021-01-24 13:34:17 -08:00