Commit Graph

228 Commits (master)

Author SHA1 Message Date
maru b1e67634df
Fix generated token size 2023-12-29 15:01:04 -05:00
maru 575167f0f9
Simplify error return in GetUsernameFromToken 2023-12-29 14:38:12 -05:00
maru d533eeee5f
Add more CORS headers 2023-12-29 14:34:58 -05:00
maru 955359c3b1
Use Set instead of Add for CORS header 2023-12-29 14:33:11 -05:00
maru 1dee0cbc3a
Add debug mode bool 2023-12-29 14:30:47 -05:00
maru cd2118dfec
Use localhost for dbaddr default 2023-12-28 22:18:57 -05:00
maru e8fc5aad13
Edit comment for addr flag 2023-12-28 22:16:47 -05:00
maru b64ae0bf47
Rename address flag to addr 2023-12-28 22:11:16 -05:00
maru 40c2b50f91
Rename network flag to proto 2023-12-28 22:08:50 -05:00
Flashfyre 9ef76f1064 Fix account session insert query typo 2023-12-28 21:37:04 -05:00
Flashfyre 9d9a24fb96 Merge branch 'master' of https://github.com/Flashfyre/pokerogue-server 2023-12-28 21:32:11 -05:00
Flashfyre 688b435bd1 Rename key column to hash 2023-12-28 21:32:03 -05:00
maru 9a8b816b1b
More verbose error response in register endpoint 2023-12-28 21:22:07 -05:00
maru ee0326da0e
Fix minimum username length 2023-12-28 21:20:46 -05:00
maru 020c4d05bf
Fix calls to isValidUsername 2023-12-28 21:17:09 -05:00
Flashfyre b4be49bf80 Fix query keyword conflict by using alias 2023-12-28 21:13:21 -05:00
maru f5d9cc6760
Workaround for column name 2023-12-28 21:09:15 -05:00
maru 8337f8021d
Add extra error in account info handler 2023-12-28 20:11:54 -05:00
maru 0e6b2bbf5c
Fix query in GetUsernameFromToken 2023-12-28 20:09:50 -05:00
maru 9ccfbd7acb
Change default database name 2023-12-28 20:08:58 -05:00
maru 445bc42e6f
Drop /api prefix from endpoints 2023-12-28 20:08:11 -05:00
maru f215a31e92
Use chmod on socket file 2023-12-28 20:06:06 -05:00
maru 28713ec9db
Delete old socket file if it exists 2023-12-28 20:01:55 -05:00
maru 8d3d24a58a
Add mysql driver 2023-12-28 19:58:54 -05:00
maru 4600b7b024
More changes 2023-12-28 19:53:59 -05:00
maru f690c53607
Add changes so far 2023-12-05 13:28:08 -05:00
maru 4bb225a945
Create go.mod 2023-11-30 13:04:27 -05:00
Samuel H c5fa89b061
Initial commit 2023-11-30 12:59:31 -05:00