Commit Graph
288 Commits
Author SHA1 Message Date
seika1 87d83c5cee chuni: limit response size of getUserActivity 2020-11-08 23:54:28 -08:00
Tau 6fdfd7e847 idz: Add utilities for binary I/O 2020-09-01 01:10:32 +00:00
Tau 587f73518d idz: Use Switchboard config for some ports 2020-09-01 01:10:31 +00:00
Tau 941f858b15 idz: Port userdb/ onto common/ 2020-09-01 01:10:31 +00:00
Tau 2dfeeaa8bd idz: Factor out common TCP obfuscation 2020-09-01 01:10:31 +00:00
Tau 01128979db util: Add promise-based stream wrapper
You'd think something like this would exist on npm somewhere.
2020-09-01 01:10:31 +00:00
Tau ef10c1c191 idz: Fix userdb msg 00AD block alignment 2020-09-01 01:10:31 +00:00
Tau d3ca8f80b7 idz: Hoist userdb code 2020-09-01 01:10:31 +00:00
seika1 5c7c0b1f23 chuni: sort user activity response 2020-08-17 21:11:00 -04:00
seika1 1e3e65bf48 chuni: Fix upsert with an empty userRecentRating 2020-08-09 01:18:31 -07:00
seika1 cdae32ae64 chuni: Correctly implement recent rating requests 2020-08-02 12:22:01 -04:00
Rob f8a5a9d7a4 chuni: implement UserCharge APIs, add table for purchased tickets 2020-08-02 11:24:21 -04:00
Rob 074aa1f3eb chuni: enable ticket system 2020-08-02 11:24:21 -04:00
cxm e90068f325 chuni: add new felica lookup mode 2020-08-01 12:55:25 -04:00
Emi Midnight 7854f9f3df idz: Fix team-leader, add leader name and shop name 2020-08-01 12:50:09 -04:00
esterTion 8d2b11fb07 chuni: Changes to make compatible with old CHUNITHM 2020-08-01 12:41:55 -04:00
Tau f98c190ef0 Fix? long-broken test 2020-08-01 12:38:47 -04:00
esterTion b989ad22a2 chuni: fix lost scores for real 2020-04-19 23:03:31 +08:00
Matt Bilker 74997786cc chuni: Fix maintenance timer 2020-03-22 23:16:33 +00:00
Matt Bilker e53edc299a chuni: Add remaining Chunithm Amazon event IDs 2020-03-22 23:16:30 +00:00
Matt Bilker a1cf5f608a chuni: Put event IDs in separate static file 2020-03-22 23:15:01 +00:00
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 b69f86f203 Switch to @decafcode/sqlite for database access 2020-01-05 10:00:12 -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 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 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 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 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 9acc375d99 Tweak switchboard defaults 2019-11-06 17:28:31 -05:00