Commit Graph

107 Commits

Author SHA1 Message Date
Nathaniel Tampus
3e3b18b493 add install scripts for separate deployments 2023-07-27 17:33:27 +08:00
Nathaniel Tampus
2238038c95 update eslint configs 2023-07-27 15:02:34 +08:00
Nathaniel Tampus
a87cf86239 update deps 2023-07-27 14:53:25 +08:00
Nathaniel Tampus
0d9cfd8f61 update default session secret 2023-07-01 19:50:27 +08:00
Nathaniel Tampus
70637a384d add cleanup comment 2023-07-01 19:49:19 +08:00
Nathaniel Tampus
88c86025f4 update deps 2023-07-01 19:39:28 +08:00
Nathaniel Tampus
cf63f73280 fix registration for empty email 2023-06-19 21:57:03 +08:00
Nathaniel Tampus
dd48e3a890 update deps 2023-06-19 21:56:15 +08:00
Nathaniel Tampus
ad7bf5a989 update deps 2023-06-13 11:21:02 +08:00
Nathaniel Tampus
22f6bddd6a update deps 2023-05-19 19:58:40 +08:00
Nathaniel Tampus
c71ee3056d fix eslint config 2023-05-12 19:23:00 +08:00
Nathaniel Tampus
ace693044c update deps 2023-05-12 19:20:47 +08:00
Nathaniel Tampus
ee5c5d37a4 remove unused update query from game model 2023-05-06 20:23:58 +08:00
Nathaniel Tampus
3a03c37e1d cleanup 2023-05-06 20:19:53 +08:00
Nathaniel Tampus
08f004d5e9 update deps 2023-05-06 19:47:15 +08:00
Nathaniel Tampus
da7f88e790 remove log when joining nonexistent lobby 2023-05-01 21:08:51 +08:00
Nathaniel Tampus
da7b4c40a3 organize imports 2023-05-01 15:15:49 +08:00
Nathaniel Tampus
e38420c390 update deps 2023-05-01 15:01:24 +08:00
Nathaniel Tampus
6a0f2db718 use double quotes for tsc-watch onSuccess 2023-04-22 12:42:13 +08:00
Nathaniel Tampus
28152de22e replace ts-node with tsc-watch for server dev 2023-04-21 22:20:59 +08:00
Nathaniel Tampus
5cda61ede8 update deps 2023-04-21 21:45:42 +08:00
Nathaniel Tampus
24861fec36 remove game from activeGames immediately on end 2023-04-09 02:41:46 +08:00
Nathaniel Tampus
32e5226829 update deps 2023-04-09 01:23:55 +08:00
Nathaniel Tampus
2feec2de02 fix id number checks for archived games api 2023-04-07 12:25:40 +08:00
Nathaniel Tampus
bdc8dab1ad api for fetching user profile 2023-04-05 22:29:54 +08:00
Nathaniel Tampus
bec764dcee improve id checks for getting finished games 2023-04-05 22:17:25 +08:00
Nathaniel Tampus
b448ded981 update log message 2023-04-05 21:52:22 +08:00
Nathaniel Tampus
3f851602ea add started & ended timestamps to game table 2023-04-05 21:50:34 +08:00
Nathaniel Tampus
2fadce8ae1 improve checks for update user api 2023-04-05 21:02:49 +08:00
Nathaniel Tampus
577cba6ff4 count game history stats for users 2023-04-02 18:24:21 +08:00
Nathaniel Tampus
ec05a7405f update game queries 2023-04-02 17:37:02 +08:00
Nathaniel Tampus
651cfb9d2a emit receivedMove first before gameOver 2023-04-02 15:01:52 +08:00
Nathaniel Tampus
fc2f61446d remove code from game db 2023-04-02 15:01:30 +08:00
Nathaniel Tampus
f18d6d1e8c update game queries 2023-04-02 15:01:11 +08:00
Nathaniel Tampus
75eb21c337 save finished games to db 2023-04-02 00:00:09 +08:00
Nathaniel Tampus
5088e25769 route for fetching finished games 2023-04-01 23:42:33 +08:00
Nathaniel Tampus
710955b741 return null if no user found 2023-04-01 23:41:47 +08:00
Nathaniel Tampus
af25b4ff20 update db models 2023-04-01 23:15:54 +08:00
Nathaniel Tampus
97b750fec4 es6-string-html extension highlighting 2023-04-01 22:49:33 +08:00
Nathaniel Tampus
a4d73b3d68 update deps 2023-04-01 20:59:51 +08:00
Nathaniel Tampus
a8bfe0abdc store winner side only, remove redundant reference 2023-04-01 20:59:25 +08:00
Nathaniel Tampus
8d19c88c83 rename reason to endReason 2023-04-01 20:58:29 +08:00
Nathaniel Tampus
d469cdff56 allow player to claim win/draw for abandoned games 2023-03-25 19:18:01 +08:00
Nathaniel Tampus
10ed00ebc0 update game model & types 2023-03-25 19:17:49 +08:00
Nathaniel Tampus
ee8f9a58fd use default import for user model 2023-03-25 19:13:00 +08:00
Nathaniel Tampus
19909d74b9 update deps 2023-03-25 11:12:00 +08:00
Nathaniel Tampus
86f4f9d42f Merge branch 'main' into auth 2023-03-20 18:53:35 +08:00
Nathaniel Tampus
17a0befae3 use 204 status to avoid logging 404 to console 2023-03-20 18:22:26 +08:00
Nathaniel Tampus
151e0b331a update deps 2023-03-20 18:01:50 +08:00
Nathaniel Tampus
8a80d6e9fd remove extra imports (finallyyyy)
just went crazy fixing merge conflicts lol
2023-03-19 21:53:08 +08:00