Commit Graph

141 Commits

Author SHA1 Message Date
shockrah
b52de76a66 removed old migratiions from unsed internal library 2020-02-05 17:48:57 -08:00
shockrah
d2c45761dd invites usage route '/invite/<hash>' now usable 2020-02-05 17:45:12 -08:00
shockrah
da0af22ee5 removed pointless function 2020-02-05 16:31:35 -08:00
shockrah
1e1b9d4f72 changed model fields to pub
struct Invite now insertable
2020-02-05 16:31:26 -08:00
shockrah
c5461f16ad main now matches against dotenv return val
main also returns a Result<(), i32>
2020-02-05 16:30:50 -08:00
shockrah
03b111c4dd working route for generating invite links
return value may need to change slightly however
2020-02-05 16:30:09 -08:00
shockrah
fa58724533 update db url from rocket config 2020-02-05 16:29:42 -08:00
shockrah
8978b92efd models module 2020-02-05 15:11:56 -08:00
shockrah
f08d256f4e migrations reflecting previous commit's schema 2020-02-05 14:17:25 -08:00
shockrah
12b666518c schema(rust) first pass 2020-02-05 14:17:07 -08:00
shockrah
7c3420287e fixed incorrect dep from diesel_sqlite_pool to diesel_mysql_pool 2020-02-05 13:32:36 -08:00
shockrah
7ea474f044 sample db things and updated invites table structure to allow for greater entropy pools 2020-02-04 00:44:55 -08:00
shockrah
7b8d849758 simpler users table for now 2020-02-04 00:36:41 -08:00
shockrah
f3e0570182 removing sub library and moving this code into our master codebase 2020-02-04 00:30:58 -08:00
shockrah
b2ef7fd6d1 simple sql connection script: just to reduce typing 2020-02-04 00:26:44 -08:00
shockrah
d54913a26a registering routes for generating/usig invites 2020-02-04 00:25:59 -08:00
shockrah
6634641937 commiting old but nearly done work before goal shifting 2020-02-04 00:25:27 -08:00
shockrah
4c1820f910 reset scripts now in place 2020-02-04 00:21:58 -08:00
shockrah
abf573812f new struct for invites 2020-01-31 00:16:22 -08:00
shockrah
6584b50d49 dev files for this lib 2020-01-31 00:00:39 -08:00
shockrah
716f7e4cef removed fluff env file 2020-01-30 23:55:25 -08:00
shockrah
4309f9890e poc api code for generating invites 2020-01-30 23:54:53 -08:00
shockrah
ecc08cc3f1 invites added to schemas rust code 2020-01-30 23:54:18 -08:00
shockrah
b0ab68c134 basic invites migrations ready 2020-01-30 23:52:06 -08:00
shockrah
a1e6d6131d print flag now lets us control println output in test code 2020-01-30 17:30:27 -08:00
shockrah
b3bd800455 new deps 2020-01-30 17:30:00 -08:00
shockrah
0518a896d6 first steps into an invite system 2020-01-30 00:04:03 -08:00
shockrah
113aff4955 removed fluff modules 2020-01-30 00:03:51 -08:00
shockrah
289ab5c829 using .env config for now 2020-01-29 23:26:46 -08:00
shockrah
a3519e32a6 config issues are being ignored for now there are bigger things to deal with 2020-01-29 23:25:37 -08:00
shockrah
e0ede8d96b defaults are coded directly into templates 2020-01-29 23:25:18 -08:00
shockrah
857885789f removed old fluff 2020-01-29 22:40:57 -08:00
shockrah
320310e680 header using new config vars 2020-01-29 20:18:05 -08:00
shockrah
5dcc6b2096 its ugly but way more safe and uses the config properly 2020-01-29 20:16:50 -08:00
shockrah
955331323b new/simplified default website config 2020-01-29 20:16:20 -08:00
shockrah
42090cd6b1 removed unwanted/needed stuff 2020-01-29 20:15:36 -08:00
shockrah
10e4986ef2 beginning of change to new config for website 2020-01-29 16:41:46 -08:00
shockrah
5f281e587b support for configs now there but requries docs 2020-01-04 18:15:37 -08:00
shockrah
c4b1b20187 toml format on configs from now on 2020-01-04 16:26:01 -08:00
shockrah
a142ea435b ready to ready toml in ./configs/ for website at least 2020-01-04 16:25:18 -08:00
shockrah
6c88b04d6a removed unsed struct which was moved to website.rs anyway 2020-01-04 01:35:56 -08:00
shockrah
52f66c00b0 example config for the website 2020-01-03 21:50:03 -08:00
shockrah
670d2ddf5d todo things 2019-12-15 16:25:00 -08:00
shockrah
c9ce8618cd new tables included with passing build 2019-12-08 23:34:37 -08:00
shockrah
5803fc4c53 passing all tests ready for wrapper implementation 2019-12-08 23:34:21 -08:00
shockrah
9b035f07a2 sample env file nothing exciting yet 2019-12-08 23:33:49 -08:00
shockrah
a05cc2b53a switching deps to mysql 2019-12-08 23:28:41 -08:00
shockrah
a6a597cc0c channels alongside users table 2019-12-08 23:28:20 -08:00
shockrah
e588d81383 building smarter 2019-12-08 23:27:59 -08:00
shockrah
a40321962f Merge branch 'master' of gitlab.com:shockrah/freechat 2019-12-08 21:28:45 -08:00