freechat/server/src
shockrah 99507302f9 Removing api tests form members mod as those are done with curl in tests/
Base member creation being added in this commit notes to follow

struct Member has had its field types changed to db_types::* types
Member::to_json was added to support simple json serialization into responses
struct InsertableMember added because `id` is generated by SQL for us
- this means we have to do two queries 1 to insert and 2 to fetch
- mysql_async does not provide an inlined way of fetching a recently added row

func general_new_user is only checking for a `name`parameter
- falls back to a basic default name for those that don't set a name on jooin
- handles its  own sub errors so the main dispatcher doesn't care about after move
2020-07-13 21:59:28 -07:00
..
auth.rs channels list route passing proper input pass 2020-07-13 20:35:04 -07:00
channels.rs channels list route passing proper input pass 2020-07-13 20:35:04 -07:00
db_types.rs removing fluff module and adding sensible database type aliases 2020-07-13 19:40:37 -07:00
http_params.rs making auth wall a little bit more lenient for now until testing has some reasonable methodology 2020-07-13 19:40:13 -07:00
invites.rs converting route_join_invite_code to use new json Value types 2020-06-18 22:04:45 -07:00
main.rs logging bad auth requests 2020-07-13 21:47:00 -07:00
members.rs Removing api tests form members mod as those are done with curl in tests/ 2020-07-13 21:59:28 -07:00
messages.rs removed unused struct MsgParam 2020-07-10 19:54:41 -07:00
models.rs Moved VOICE_CHANNEL & TEXT_CHANNEL const's to channels module 2020-05-27 21:29:27 -07:00
payload.rs dumy commit as work will continue on new async branch 2020-05-05 17:09:18 -07:00
perms.rs container module for later permission flags 2020-07-12 22:27:20 -07:00
routes.rs defaults for Dynamic routes in case thigns don't go well 2020-07-13 19:42:59 -07:00
schema.rs auth::create_new_session_key => impl not tested 2020-05-19 20:13:56 -07:00
utils.rs new test for encode params 2020-05-20 02:05:43 -07:00