Commit Graph
317 Commits
Author SHA1 Message Date
Matt Bilker 649dbe8ee1 chuni: Enable all events 2020-03-22 23:15:00 +00:00
Matt Bilker 3b7f3ce8c6 chuni: Prevent recursive item calls if user has more than 600 items 2020-03-22 23:15:00 +00:00
Tau 6947912dfc sql: Add NULL support to database wrappers 2020-03-22 22:38:54 +00:00
NeumPhis 908ceaf378 chuni: Add the api endpoint use in older chunithm 2020-01-30 18:26:36 +00:00
NeumPhis a05f091915 chuni: lower max result per page to prevent game fail to read content. Fix #6 2020-01-30 16:52:31 +00:00
Tau 341b8379cc idz: Implement multi-page Garage fetch 2020-01-25 19:26:42 -05:00
Tau 374bab8ec6 Fix new DB initialization, AGAIN. 2020-01-05 10:45:40 -05:00
Tau b69f86f203 Switch to @decafcode/sqlite for database access 2020-01-05 10:00:12 -05:00
Tau faa02137c6 schema: Fix M0011 for newly-created databases 2019-12-09 23:06:20 -05:00
Tau 73d700cda3 npm audit 2019-12-09 22:55:25 -05:00
Tau 2c182661b7 idz: Un-hardcode result limit in repo layer
Minor design nit but I should probably take my own code review
advice.
2019-11-30 14:13:49 -05:00
Tau 0ac8cbad68 idz: Wire up TA topTen team results 2019-11-30 14:05:36 -05:00
Tau b258013e5f idz: Extend Time Attack topTen result set 2019-11-30 14:05:14 -05:00
Tau c37b2074f0 idz: Label additional team info in topTen response 2019-11-30 13:35:37 -05:00
NeumPhis afa02c0fc7 chuni: save and load user course result 2019-11-28 11:19:39 -05:00
Matt Bilker 0f2811197a chunithm: Save and load user duel list 2019-11-28 07:04:33 +00:00
Bemani Witch 87de57fe2f IDZ: Add support for player auras 2019-11-27 02:22:03 +00:00
NeumPhis c2c25149b3 chuni: Add recent rating response to fix rating calculation 2019-11-27 01:49:05 +00:00
Tau 60d2f7cfd3 Fix working directory issues in startup batch file v007 2019-11-09 14:03:16 -05:00
Tau 0ac8b44ce0 idz/sql/teamMember.ts: Fix another ignored result set
That should cover all the leftover uses of forUpdate() ...
2019-11-09 14:00:24 -05:00
Tau 59fec74d08 Add Project DIVA workaround to startup script 2019-11-09 13:42:40 -05:00
Tau 52f142a2b9 Bump deps so npm audit will shut up v006 2019-11-08 19:46:19 -05:00
Tau 3a7132d276 Drop ts-node
Stopped using it a while ago, `tsc --watch` is more convenient.
2019-11-08 19:43:59 -05:00
Tau 4f89894fd1 chunithm: Raise POST payload size limit 2019-11-08 19:39:03 -05:00
Tau c50a0093fd idz/sql/teamReservation.ts: Fix ignored result set
Apparently the latest SQLite driver doesn't like it if you do that.
v005
2019-11-06 17:29:07 -05:00
Tau 1b41b82745 Tiny cosmetic change 2019-11-06 17:29:07 -05:00
Tau d1d63e1ef9 chunithm: Initial implementation code drop
No cleaner development history than this exists. It's difficult to
methodically design something when you don't yet know what it is
you're designing.
2019-11-06 17:29:07 -05:00
Tau beb9144e9b sql/util.ts: Add a simple SQL record mapper
sql-bricks can write queries for us, and the mapper handles type
conversions to and from SQL-friendly strings.
2019-11-06 17:29:07 -05:00
Tau d58f4bed8f Add npm "snakeCase" dep 2019-11-06 17:29:07 -05:00
Tau 125e4d8ca7 sql/sqlite.ts: Fix NULL handling 2019-11-06 17:29:07 -05:00
Tau b096a79f95 Simplify aime_player schema 2019-11-06 17:29:07 -05:00
Tau 04b0ccfda3 Force UTC for all internal date processing 2019-11-06 17:29:07 -05:00
Tau 82bd9ad7bb Additional assorted layering cleanups 2019-11-06 17:29:07 -05:00
Tau 6a4ac795b2 Heal the layer break around the Id<> type 2019-11-06 17:29:07 -05:00
Tau 3a71f5054c Bump to Node v12
This is the LTS version now, might as well use it.
2019-11-06 17:29:07 -05:00
Tau 650e05310d Flip-flop on debug logging code style 2019-11-06 17:29:07 -05:00
Tau 3aee0f611c sql/sqlite.ts: Make FK constraints do something
They don't by default, because they didn't in older versions of
SQLite and some older applications might rely on that. You have to
send an explicit pragma prior to opening a transaction to make them
take effect.
2019-11-06 17:29:07 -05:00
Tau fa45169b96 Enhance vscode config files 2019-11-06 17:29:07 -05:00
Tau 07222c9ae9 Add stub README.md 2019-11-06 17:29:01 -05:00
Tau 38298a2840 Add Windows batch file to init and start the server 2019-11-06 17:28:31 -05:00
Tau 2440bedf4a Add Markdown to .editorconfig 2019-11-06 17:28:31 -05:00
Tau 9acc375d99 Tweak switchboard defaults 2019-11-06 17:28:31 -05:00
Tau 799ace06d7 Wire up schema automation 2019-11-06 17:28:31 -05:00
Tau 6d91659b24 Add automated schema management 2019-11-06 17:28:31 -05:00
Tau 151dd41e64 sql: Add db compaction method 2019-11-06 17:28:31 -05:00
Tau 13e234a68c sql: Add raw SQL interface method 2019-11-06 17:28:31 -05:00
Tau 839debca97 Bump declared TypeScript dep 2019-11-06 17:28:31 -05:00
Tau abda3d5279 Switch to npm from Yarn
Yarn is the better package manager IMO, but npm comes with node and
using it does make the end-user installation experience a little
simpler as a result.
2019-11-06 17:28:31 -05:00
Tau 44d8c0a824 Tweak package.json lifecycle scripts 2019-11-06 17:28:31 -05:00
Tau f348feff62 sql/sqlite.ts: Fix type check 2019-11-06 17:28:30 -05:00