Commit Graph

242 Commits

Author SHA1 Message Date
Nathaniel Tampus
c7f3abf29c util functions for fetching archived games 2023-04-02 12:36:48 +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
86f880c181 remove dependabot updates 2023-04-01 20:43:37 +08:00
Nathaniel Tampus
7a4f719c96 update readme 2023-03-26 01:18:01 +08:00
Nathaniel Tampus
ae86dbbc77 center elements for claiming abandoned game 2023-03-26 01:13:50 +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
4af8dc6d13 square button for refresh public games 2023-03-25 11:13:06 +08:00
Nathaniel Tampus
19909d74b9 update deps 2023-03-25 11:12:00 +08:00
Nathaniel Tampus
626fc9afca use normal button size for join 2023-03-22 15:50:04 +08:00
Nathaniel Tampus
3981ac4dc3 Merge branch 'main' into auth 2023-03-22 15:43:11 +08:00
Nathaniel Tampus
3a059d8874 fix for joining links with no http/https 2023-03-22 15:40:10 +08:00
Nathaniel Tampus
e03052b00e fix join game from url 2023-03-22 14:58:42 +08:00
Nathaniel Tampus
30977baa5b fix join game from url 2023-03-22 14:57:40 +08:00
Nathaniel Tampus
5e2d676450 update auth tab styles for better contrast 2023-03-20 19:18:30 +08:00
Nathaniel Tampus
86f4f9d42f Merge branch 'main' into auth 2023-03-20 18:53:35 +08:00
Nathaniel Tampus
4c18beeb3b accessibility & seo improvements 2023-03-20 18:41:24 +08:00
Nathaniel Tampus
272cd52ee2 add robots.txt 2023-03-20 18:29:52 +08:00
Nathaniel Tampus
17a0befae3 use 204 status to avoid logging 404 to console 2023-03-20 18:22:26 +08:00
Nathaniel Tampus
b364c69633 update readme 2023-03-20 18:02:12 +08:00
Nathaniel Tampus
151e0b331a update deps 2023-03-20 18:01:50 +08:00
Nathaniel Tampus
bf61d1dad6 update readme 2023-03-20 16:05:44 +08:00
Nathaniel Tampus
8a80d6e9fd remove extra imports (finallyyyy)
just went crazy fixing merge conflicts lol
2023-03-19 21:53:08 +08:00
Nathaniel Tampus
6250d90192 Merge branch 'main' into auth 2023-03-19 21:51:22 +08:00
Nathaniel Tampus
9d4198d918 remove extra imports 2023-03-19 21:50:21 +08:00
Nathaniel Tampus
c6bd485d61 update game data on when updating guest names 2023-03-19 21:49:48 +08:00
Nathaniel Tampus
a76f5b3839 remove extra imports 2023-03-19 21:45:43 +08:00
Nathaniel Tampus
496914e14e update game data on when updating guest names 2023-03-19 21:45:15 +08:00
Nathaniel Tampus
2990388247 update deps 2023-03-19 21:45:15 +08:00
Nathaniel Tampus
2921bce6f8 update game data on when updating guest names 2023-03-19 21:43:22 +08:00
Nathaniel Tampus
53dbb4550b update deps 2023-03-19 21:43:22 +08:00
Nathaniel Tampus
59dba43257 remove extra imports 2023-03-19 21:41:19 +08:00
Nathaniel Tampus
fcb0fd26fd update game data on when updating guest names 2023-03-19 21:39:51 +08:00
Nathaniel Tampus
76c1e82b90 update readme 2023-03-19 21:25:18 +08:00
Nathaniel Tampus
dc2f218115 disallow underscores for names 2023-03-19 21:24:41 +08:00
Nathaniel Tampus
9ae628c592 update game data on when updating guest names 2023-03-19 21:23:15 +08:00
Nathaniel Tampus
b6df2c0df1 sync user info in games, adjust game timeout 2023-03-19 21:19:09 +08:00
Nathaniel Tampus
802a03fa11 use .after FEN for move navigation 2023-03-19 21:18:16 +08:00
Nathaniel Tampus
4ee0cd2280 update deps 2023-03-19 21:14:06 +08:00
Nathaniel Tampus
f564298c93 login and register tabs, initial user dashboard 2023-03-19 20:53:59 +08:00
Nathaniel Tampus
20b26448ae add auth api routes 2023-03-19 20:53:43 +08:00
Nathaniel Tampus
1fab992f53 add auth controllers & validation improvements 2023-03-19 20:52:58 +08:00