Commit graph

335 commits

Author SHA1 Message Date
Sorrel Bri
16adb58cb0 add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-02-05 16:45:09 -08:00
Sorrel Bri
007a5c96d6 serve room with message data from api/v1/rooms/:id 2020-02-05 16:45:09 -08:00
Sorrel Bri
b3d05639ad serve room with joined game data from api/v1/rooms/:id 2020-02-05 16:45:09 -08:00
Sorrel Bri
5867c0ddd9 stub room socket connection (client + server) 2020-02-05 16:45:09 -08:00
Sorrel Bri
603201d45c add message table with migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
33141284eb add move table with migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
3f8d898f43 add game table with seed and migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
99a616fe37 add time_setting table with seed and migration 2020-02-05 16:45:09 -08:00
Sorrel Bri
5addf9ace0 patch remove unnecessary socket.io cookie 2020-02-05 16:45:09 -08:00
Sorrel Bri
8aa84d4abe Merge branch 'gameroom_endpoint' 2020-02-05 16:45:09 -08:00
Sorrel Bri
d3b3028adf patch https cookies in production 2020-02-05 16:45:09 -08:00
Sorrel Bri
9729d15ff2 patch https cookies in production 2020-02-05 16:45:08 -08:00
Sorrel Bri
cba61a78e9 hook SET_ROOMS into rooms Service 2020-02-05 16:45:08 -08:00
Sorrel Bri
5a7f3bc177 add SET_ROOMS dispatch 2020-02-05 16:45:08 -08:00
Sorrel Bri
36eeb8202b serve all public rooms at rooms index 2020-02-05 16:45:08 -08:00
Sorrel Bri
acbc9c901b stub rooms index route and controller 2020-02-05 16:45:08 -08:00
Sorrel Bri
a30d4f3a45 add room migration and simple seeds 2020-02-05 16:45:08 -08:00
Sorrel Bri
8bd52fd993 serve basic page at api endpoint to redirect user 2020-02-05 16:45:08 -08:00
Sorrel Bri
8933e25156 patch component references in pages/ 2020-02-05 16:45:08 -08:00
Sorrel Bri
2dc17a9588 patch reference to MainWrapper component 2020-02-05 16:45:08 -08:00
Sorrel Bri
230dadd3d2 rename RoomArchive components to differentiate from NewsArchive 2020-02-05 16:45:07 -08:00
Sorrel Bri
101531e727 stub home and rooms sidebar components 2020-02-05 16:45:07 -08:00
Sorrel Bri
c0aff888f5 patch to hide password input on login form 2020-02-05 16:45:07 -08:00
Sorrel Bri
68fedb4d2f patch frontend api endpoint in config 2020-02-05 16:45:07 -08:00
Sorrel Bri
b69edb9182 add manual set Access Control Allow Origin header 2020-02-05 16:45:07 -08:00
Sorrel Bri
ca43baf181 patch CORS 2020-02-05 16:45:07 -08:00
Sorrel Bri
3cbba5d072 patch config for production 2020-02-05 16:45:07 -08:00
Sorrel Bri
b1cf43d84b patch config for production 2020-02-05 16:45:07 -08:00
Sorrel Bri
d20c070c02 add login hook to frontend 2020-02-05 16:45:07 -08:00
Sorrel Bri
3b868cec4e add validation for username and email on signup 2020-02-05 16:45:06 -08:00
Sorrel Bri
5fbfc28024 add client side password confirmation check 2020-02-05 16:45:06 -08:00
Sorrel Bri
e90abc283a refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:06 -08:00
Sorrel Bri
5c8da62edb refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:06 -08:00
Sorrel Bri
d77216d762 refactor to fetch to ensure proper cookie storage 2020-02-05 16:45:06 -08:00
Sorrel Bri
1ee4c28d4c serve user from verified jwt 2020-02-05 16:45:06 -08:00
Sorrel Bri
c2a0ad2ff2 add FormError component to display auth errors 2020-02-05 16:45:06 -08:00
Sorrel Bri
8c6e38ec66 hook reducer into signup post response 2020-02-05 16:45:05 -08:00
Sorrel Bri
c905dd05b8 patch server production env allowed origin 2020-02-05 16:45:05 -08:00
Sorrel Bri
e0a336bd35 patch signup post for existing user to return 409 2020-02-05 16:45:05 -08:00
Sorrel Bri
0e2fe08666 hook reducer into auth/signup request service 2020-02-05 16:45:05 -08:00
Sorrel Bri
9d10ed4fe2 stub styling of side and main content 2020-02-05 16:45:05 -08:00
Sorrel Bri
3068b94c5b stub sidebar component to display auth form 2020-02-05 16:45:05 -08:00
Sorrel Bri
8d3991ef55 stub tests for page components 2020-02-05 16:45:05 -08:00
Sorrel Bri
16d5c97e3f debug password hashing function 2020-02-05 16:45:05 -08:00
Sorrel Bri
fea8c9035f stub frontend requests to auth endpoints 2020-02-05 16:45:04 -08:00
Sorrel Bri
02d408adba add validation and sanitization for auth/. posts 2020-02-05 16:45:04 -08:00
Sorrel Bri
add9e49bb6 patch to remove timeout from login test 2020-02-05 16:45:04 -08:00
Sorrel Bri
6033a99223 add login verification of user 2020-02-05 16:45:04 -08:00
Sorrel Bri
c480d986d2 patch knexfile name to run migrations 2020-02-05 16:45:04 -08:00
Sorrel Bri
52b31b7fe2 add password hash to new user 2020-02-05 16:45:04 -08:00