Commit Graph

330 Commits

Author SHA1 Message Date
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
71a7cd7eed chuni: Correctly implement recent rating requests 2020-08-02 12:22:01 -04:00
5ebef5658c5fcb6f5a62e75318bdc7fad90b21bc
6c22c4287e chuni: implement UserCharge APIs, add table for purchased tickets 2020-08-02 11:24:21 -04:00
5ebef5658c5fcb6f5a62e75318bdc7fad90b21bc
a8539b475e chuni: enable ticket system 2020-08-02 11:24:21 -04:00
340f81fd089d20627f63fce796e939b691538bc5
abcccfb9a0 chuni: add new felica lookup mode 2020-08-01 12:55:25 -04:00
643161de4220f1bc925fbb05bde805fd8ec95c63
b2288b9b8f idz: Fix team-leader, add leader name and shop name 2020-08-01 12:50:09 -04:00
cd6c1fd2d946dff292b101ca3305fc7f31d2dce5
e61b103221 chuni: Changes to make compatible with old CHUNITHM 2020-08-01 12:41:55 -04:00
Tau
94ed27503a Add tests to CI build 2020-08-01 12:38:47 -04:00
Tau
ad1b48c210 Fix? long-broken test 2020-08-01 12:38:47 -04:00
Tau
75b35e09e2 Add GitLab CI 2020-08-01 12:38:47 -04:00
cd6c1fd2d946dff292b101ca3305fc7f31d2dce5
834804b2ea chuni: fix lost scores for real 2020-04-19 23:03:31 +08:00
Matt Bilker
ac9cf50d28 chuni: Fix maintenance timer 2020-03-22 23:16:33 +00:00
Matt Bilker
cb4743f86f chuni: Add remaining Chunithm Amazon event IDs 2020-03-22 23:16:30 +00:00
Matt Bilker
cef7e99e46 chuni: Put event IDs in separate static file 2020-03-22 23:15:01 +00:00
Matt Bilker
4b007b446d chuni: Enable all events 2020-03-22 23:15:00 +00:00
Matt Bilker
4c5122d163 chuni: Prevent recursive item calls if user has more than 600 items 2020-03-22 23:15:00 +00:00
Tau
01198d546a sql: Add NULL support to database wrappers 2020-03-22 22:38:54 +00:00
07bea96aed831abce88a9591d3ff86af19babd79
bc5f26d768 chuni: Add the api endpoint use in older chunithm 2020-01-30 18:26:36 +00:00
07bea96aed831abce88a9591d3ff86af19babd79
9a652e1ace chuni: lower max result per page to prevent game fail to read content. Fix #6 2020-01-30 16:52:31 +00:00
Tau
7b21a0bdae idz: Implement multi-page Garage fetch 2020-01-25 19:26:42 -05:00
Tau
5311618d1d Fix new DB initialization, AGAIN. 2020-01-05 10:45:40 -05:00
Tau
37ce14dda7 Switch to @decafcode/sqlite for database access 2020-01-05 10:00:12 -05:00
Tau
0d8d5845c9 schema: Fix M0011 for newly-created databases 2019-12-09 23:06:20 -05:00
Tau
143f534ba1 npm audit 2019-12-09 22:55:25 -05:00
Tau
4db3d94ee8 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
e195cf77cd idz: Wire up TA topTen team results 2019-11-30 14:05:36 -05:00
Tau
ac9622f1bd idz: Extend Time Attack topTen result set 2019-11-30 14:05:14 -05:00
Tau
e8535b1a80 idz: Label additional team info in topTen response 2019-11-30 13:35:37 -05:00
07bea96aed831abce88a9591d3ff86af19babd79
d81b763d9b chuni: save and load user course result 2019-11-28 11:19:39 -05:00
Matt Bilker
1c5726be4c chunithm: Save and load user duel list 2019-11-28 07:04:33 +00:00
85be42b2ce67a8e34b32793360824b056c0c2444
6da5abcefc IDZ: Add support for player auras 2019-11-27 02:22:03 +00:00
07bea96aed831abce88a9591d3ff86af19babd79
c5e39f104f 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 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 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.
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