Commit Graph
312 Commits
Author SHA1 Message Date
BemaniWitch 63cd59e10e idz: Add idz_my_chara table 2021-02-03 23:43:41 +00:00
BemaniWitch d19f1ac004 idz: Add idz_weekly_missions table 2021-02-03 23:43:41 +00:00
BemaniWitch c2fbb0ddff idz: Add stamps tables 2021-02-03 23:43:41 +00:00
BemaniWitch 48a9bcbdbd idz: Add idz_settings.driving_style column 2021-02-03 23:43:41 +00:00
Tau 9f6b0e59c8 idz: Explicitly split team msg encoders 2021-02-03 23:43:40 +00:00
Tau 435634a9b2 idz: Push story geometry down into codecs
Sparsify the data model returned from the repository layer. Different
versions of the game can have drastically different dimensions for the
story data grid, so handling those dimensions is best done in the
encoders themselves.
2021-02-03 23:43:40 +00:00
Tau 34f10d1fb9 idz: Add explicit CreateProfileResponse 2021-02-03 23:43:40 +00:00
Tau 303526e86a idz: Generalize msg00AD
The purpose of this request is unknown, but its message code
changed in idz2.
2021-02-03 23:43:40 +00:00
Tau efa38ad6ac idz: Combine loadConfig requests 2021-02-03 23:43:40 +00:00
Tau 44cd74ea86 idz: Dispatch on declared protocol version 2021-02-03 23:43:39 +00:00
Tau 93db3831be idz: Support multiple major versions
Doesn't actually add support for any additional versions, but it
does lay the groundwork.
2021-02-03 23:43:39 +00:00
Tau 4f7c0145a1 idz: Add type defs for common net comms context 2021-02-03 23:43:38 +00:00
Tau 9889b58b71 idz: Add implicit version field to requests 2021-02-03 23:43:38 +00:00
Tau e95071822a sql: Add "maintenance transaction" system
SQLite's ALTER TABLE functionality leaves a lot to be desired, so
in practice the way you alter SQLite schema is to create a new
table, migrate the data into it, then drop the old table. However,
this is potentially complicated by the presence of foreign key
constraints.

In order to resolve the foreign key constraint issue we add a
`maintenance()` method to the `DataSource` abstraction layer. This
operates similarly to the existing `transaction()` method, but the
SQLite implementation of this method defers enforcement of foreign
keys until the transaction is about to commit.
2021-02-03 23:43:38 +00:00
Tau c0516fdb33 sql: Drive-by method documentation 2021-02-03 23:43:38 +00:00
Tau cc2b816c3c sql: Throw conventionally... 2021-02-03 23:43:38 +00:00
Tau 2eb3a18b35 checkdb: Use single transaction 2021-02-03 23:43:38 +00:00
Tau 0d39147f26 idz: Prettier compliance 2021-02-03 23:43:38 +00:00
Tau 34ca9bc997 idz: Remove some dead code 2021-02-03 23:43:37 +00:00
Tau 3d0bdf25d4 idz: Use string I/O helpers 2021-02-03 23:43:37 +00:00
Tau 8291994c93 idz: Remove iffy redundant NUL termination op 2021-02-03 23:43:37 +00:00
Tau f5935fbf05 idz: Fix apparent buffer stride bug 2021-02-03 23:43:37 +00:00
Tau af31e46abd idz: Delete dead imports 2021-02-03 23:43:37 +00:00
Felix 872ee2d1f3 chunithm: stub GetUserFavoriteMusicApi 2020-12-15 22:59:23 +00:00
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