Commit Graph

366 Commits

Author SHA1 Message Date
Tau
03d0e87b55 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
efcc1caa76 idz: Add explicit CreateProfileResponse 2021-02-03 23:43:40 +00:00
Tau
2a546c0d9d 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
63627eaf78 idz: Combine loadConfig requests 2021-02-03 23:43:40 +00:00
Tau
ed7c461fe1 idz: Dispatch on declared protocol version 2021-02-03 23:43:39 +00:00
Tau
75ac6e03f2 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
2f2dc82b5a idz: Add type defs for common net comms context 2021-02-03 23:43:38 +00:00
Tau
198256e6ff idz: Add implicit version field to requests 2021-02-03 23:43:38 +00:00
Tau
eb276128c2 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
6090a60467 sql: Drive-by method documentation 2021-02-03 23:43:38 +00:00
Tau
2099622b0f sql: Throw conventionally... 2021-02-03 23:43:38 +00:00
Tau
9494f3026b checkdb: Use single transaction 2021-02-03 23:43:38 +00:00
Tau
f7ceb6bcda idz: Prettier compliance 2021-02-03 23:43:38 +00:00
Tau
04dac7279e idz: Remove some dead code 2021-02-03 23:43:37 +00:00
Tau
8c164b6130 idz: Use string I/O helpers 2021-02-03 23:43:37 +00:00
Tau
27b229e1c2 idz: Remove iffy redundant NUL termination op 2021-02-03 23:43:37 +00:00
Tau
c877d9d214 idz: Fix apparent buffer stride bug 2021-02-03 23:43:37 +00:00
Tau
636789b8bf idz: Delete dead imports 2021-02-03 23:43:37 +00:00
Tau
48aeb1c9d2 types: Declare ON CONFLICT ... DO NOTHING clause 2021-02-03 23:43:36 +00:00
Tau
5f09c00eb4 Add explicit vscode formatter conf 2021-02-03 23:43:36 +00:00
Tau
bf28710000 v013 2020-12-15 18:05:28 -05:00
Tau
8c61bda865 Apply Prettier to CHANGELOG 2020-12-15 18:05:09 -05:00
Felix
1fa268e6ba chunithm: stub GetUserFavoriteMusicApi 2020-12-15 22:59:23 +00:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
4fe69077fc chuni: limit response size of getUserActivity 2020-11-08 23:54:28 -08:00
Tau
4f5eb97309 Fix npm audit noise 2020-09-01 01:10:32 +00:00
Tau
122c397b59 idz: Add utilities for binary I/O 2020-09-01 01:10:32 +00:00
Tau
d3984dcd5d idz: Use Switchboard config for some ports 2020-09-01 01:10:31 +00:00
Tau
4abc04e9f6 idz: Port userdb/ onto common/ 2020-09-01 01:10:31 +00:00
Tau
c01dbb50f7 idz: Factor out common TCP obfuscation 2020-09-01 01:10:31 +00:00
Tau
fa5ed284e1 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
76583f17ce idz: Fix userdb msg 00AD block alignment 2020-09-01 01:10:31 +00:00
Tau
f959993197 idz: Hoist userdb code 2020-09-01 01:10:31 +00:00
Tau
6dceb7c48a Fix CHANGELOG attribution 2020-08-19 18:44:29 -04:00
Tau
1869c37949 Add CHANGELOG up to v012 2020-08-17 21:26:40 -04:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
1d8fd582c9 chuni: sort user activity response 2020-08-17 21:11:00 -04:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
9b22318934 chuni: Fix upsert with an empty userRecentRating 2020-08-09 01:18:31 -07:00
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