Commit graph

509 commits

Author SHA1 Message Date
Sorrel Bri
6467004a89 refactor services and reducers to parse JSON before data hits dispatch 2020-02-05 16:45:23 -08:00
Sorrel Bri
83d3abf188 add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-02-05 16:45:23 -08:00
Sorrel Bri
661fc74df2 serve room with message data from api/v1/rooms/:id 2020-02-05 16:45:23 -08:00
Sorrel Bri
aa0c850aab serve room with joined game data from api/v1/rooms/:id 2020-02-05 16:45:23 -08:00
Sorrel Bri
c001b939d1 stub room socket connection (client + server) 2020-02-05 16:45:23 -08:00
Sorrel Bri
e8867b9634 add message table with migration 2020-02-05 16:45:23 -08:00
Sorrel Bri
464a8ffbf4 add move table with migration 2020-02-05 16:45:22 -08:00
Sorrel Bri
f3d21e0444 add game table with seed and migration 2020-02-05 16:45:22 -08:00
Sorrel Bri
522782e3a5 add time_setting table with seed and migration 2020-02-05 16:45:22 -08:00
Sorrel Bri
d9edea315a patch remove unnecessary socket.io cookie 2020-02-05 16:45:22 -08:00
Sorrel Bri
3e8e99a816 Merge branch 'gameroom_endpoint' 2020-02-05 16:45:22 -08:00
Sorrel Bri
1ef3adc3d7 patch https cookies in production 2020-02-05 16:45:22 -08:00
Sorrel Bri
0fb6a7bfb8 patch https cookies in production 2020-02-05 16:45:22 -08:00
Sorrel Bri
05b7f338ff hook SET_ROOMS into rooms Service 2020-02-05 16:45:22 -08:00
Sorrel Bri
8ad488c3ce add SET_ROOMS dispatch 2020-02-05 16:45:22 -08:00
Sorrel Bri
6114c20e2c serve all public rooms at rooms index 2020-02-05 16:45:22 -08:00
Sorrel Bri
762c4d93a8 stub rooms index route and controller 2020-02-05 16:45:22 -08:00
Sorrel Bri
47856773eb add room migration and simple seeds 2020-02-05 16:45:21 -08:00
Sorrel Bri
d706a9d137 serve basic page at api endpoint to redirect user 2020-02-05 16:45:21 -08:00
Sorrel Bri
6669d3f16b patch component references in pages/ 2020-02-05 16:45:21 -08:00
Sorrel Bri
cb3fb31b24 patch reference to MainWrapper component 2020-02-05 16:45:21 -08:00
Sorrel Bri
b06b490d6f rename RoomArchive components to differentiate from NewsArchive 2020-02-05 16:45:21 -08:00
Sorrel Bri
9dc91de5ed stub home and rooms sidebar components 2020-02-05 16:45:21 -08:00
Sorrel Bri
54abeb65fc patch to hide password input on login form 2020-02-05 16:45:21 -08:00
Sorrel Bri
00757ac2d2 patch frontend api endpoint in config 2020-02-05 16:45:21 -08:00
Sorrel Bri
2f9cb987ba add manual set Access Control Allow Origin header 2020-02-05 16:45:21 -08:00
Sorrel Bri
891ba5ab2f patch CORS 2020-02-05 16:45:21 -08:00
Sorrel Bri
188cd0b966 patch config for production 2020-02-05 16:45:20 -08:00
Sorrel Bri
6f86007632 patch config for production 2020-02-05 16:45:20 -08:00
Sorrel Bri
a9a10c1adb add login hook to frontend 2020-02-05 16:45:20 -08:00
Sorrel Bri
18d351d698 add validation for username and email on signup 2020-02-05 16:45:20 -08:00
Sorrel Bri
2c9aca4856 add client side password confirmation check 2020-02-05 16:45:20 -08:00
Sorrel Bri
b8b7890e4f refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:20 -08:00
Sorrel Bri
465a3342f2 refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:20 -08:00
Sorrel Bri
5fa43f8b7e refactor to fetch to ensure proper cookie storage 2020-02-05 16:45:20 -08:00
Sorrel Bri
080ab8a994 serve user from verified jwt 2020-02-05 16:45:20 -08:00
Sorrel Bri
97efe2314b add FormError component to display auth errors 2020-02-05 16:45:19 -08:00
Sorrel Bri
969e44e8e5 hook reducer into signup post response 2020-02-05 16:45:19 -08:00
Sorrel Bri
e4d4652d1b patch server production env allowed origin 2020-02-05 16:45:19 -08:00
Sorrel Bri
42d10a55cd patch signup post for existing user to return 409 2020-02-05 16:45:19 -08:00
Sorrel Bri
9b02705a91 hook reducer into auth/signup request service 2020-02-05 16:45:19 -08:00
Sorrel Bri
78ba0a035e stub styling of side and main content 2020-02-05 16:45:19 -08:00
Sorrel Bri
9014564180 stub sidebar component to display auth form 2020-02-05 16:45:19 -08:00
Sorrel Bri
fee04ec269 stub tests for page components 2020-02-05 16:45:18 -08:00
Sorrel Bri
34959d8e44 debug password hashing function 2020-02-05 16:45:18 -08:00
Sorrel Bri
36c75e9126 stub frontend requests to auth endpoints 2020-02-05 16:45:18 -08:00
Sorrel Bri
1e706fe20f add validation and sanitization for auth/. posts 2020-02-05 16:45:18 -08:00
Sorrel Bri
f35bc165fd patch to remove timeout from login test 2020-02-05 16:45:18 -08:00
Sorrel Bri
98fdf6926c add login verification of user 2020-02-05 16:45:17 -08:00
Sorrel Bri
30c0f9ad97 patch knexfile name to run migrations 2020-02-05 16:45:17 -08:00