shockrah
|
50cd718e8a
|
more robust test to deal with invite generation
|
2020-03-08 23:01:41 -07:00 |
|
shockrah
|
12dd244f9c
|
serde json used for testing purposes mainly
|
2020-03-08 22:53:43 -07:00 |
|
shockrah
|
e38f8a0a2b
|
silly test
|
2020-03-08 20:20:57 -07:00 |
|
shockrah
|
e4f03b951e
|
invites:
handling result from diesel
generally:
fixed pub/private issue in modles module
renamed rand_utils functions to be snake case
|
2020-03-08 20:07:26 -07:00 |
|
shockrah
|
89836449a1
|
createNewUser now returns a User(not payload::NewUser)
|
2020-03-08 19:50:47 -07:00 |
|
shockrah
|
d9e892b1e0
|
Updated blanknewUser macro
use_invite now returns a Json<User>
|
2020-03-08 19:50:17 -07:00 |
|
shockrah
|
d7c70afd68
|
rust code to go along with lack of optional fields
|
2020-03-08 19:49:36 -07:00 |
|
shockrah
|
50c2c1da0e
|
removed optional fields
|
2020-03-08 19:49:22 -07:00 |
|
shockrah
|
b39a95f3a3
|
rand utils no longer using payload User struct
|
2020-03-08 19:49:10 -07:00 |
|
shockrah
|
8cbfa9520e
|
new users no longer contain optional fields
only using completely necessary information
|
2020-03-08 19:20:08 -07:00 |
|
shockrah
|
23166a9e99
|
bcrypt used to hash user passes
|
2020-03-08 19:13:47 -07:00 |
|
shockrah
|
e9a880f6a9
|
user generation added
randomness is generated via /dev/urandom thru getrandom crate
|
2020-03-08 19:13:24 -07:00 |
|
shockrah
|
ec88a08391
|
new simplified users schema
|
2020-03-07 22:06:03 -08:00 |
|
shockrah
|
316c409796
|
new models for users table interface
|
2020-03-07 22:05:46 -08:00 |
|
shockrah
|
54f5b1bbe1
|
new route to create users
still requires some kind of auth however
|
2020-03-07 21:51:54 -08:00 |
|
shockrah
|
2fe1bb878e
|
get random being used for crypto rng
|
2020-03-07 21:51:16 -08:00 |
|
shockrah
|
8220f1f745
|
depracation of website module
|
2020-03-07 20:52:41 -08:00 |
|
shockrah
|
f5264fbff7
|
goals for the invites module
|
2020-03-07 20:51:58 -08:00 |
|
shockrah
|
8abb8ca29c
|
depracating the website module
|
2020-03-07 20:50:58 -08:00 |
|
shockrah
|
62fd63d3b5
|
invite generation cleaned and working
added a basic test for the fixed invite generation
|
2020-03-07 18:54:46 -08:00 |
|
shockrah
|
58fcb99e03
|
Rocket config changed to match the .env
build-sass configuration chanced from using sass to sassc
|
2020-03-07 18:50:48 -08:00 |
|
shockrah
|
b29cbed17c
|
print things out when testing
|
2020-03-07 18:50:03 -08:00 |
|
shockrah
|
3a995fa469
|
removing users module for now because invites are getting reworked
a lot of structural changes are coming to how users are dealt with
|
2020-03-07 16:51:22 -08:00 |
|
shockrah
|
0a587da14c
|
goals
|
2020-03-07 16:08:18 -08:00 |
|
shockrah
|
35a85be578
|
minor config change for development
|
2020-03-07 16:07:26 -08:00 |
|
shockrah
|
64f20f01ec
|
structures for authentication payloads
added new temporary goal
slowly integrating payload module into invites and users modules
|
2020-02-13 17:13:41 -08:00 |
|
shockrah
|
6c10c2160b
|
newuser structure for those that use an invite link
|
2020-02-08 16:49:18 -08:00 |
|
shockrah
|
57db968568
|
new_users fields are more explicit
also easier to work with given current goals
|
2020-02-07 15:43:46 -08:00 |
|
shockrah
|
c2c82aec9b
|
new_users cache table
reset sql added for dev purposes
|
2020-02-07 15:23:05 -08:00 |
|
shockrah
|
3d7547007a
|
updated table description
|
2020-02-07 15:17:28 -08:00 |
|
shockrah
|
dd3acb5abe
|
Basic new user route with a sample test
Creating a payloads module as well
|
2020-02-07 14:57:44 -08:00 |
|
shockrah
|
6dd002171c
|
pottentially depracating web routes soon
|
2020-02-05 17:50:45 -08:00 |
|
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 |
|