Commit Graph
188 Commits
Author SHA1 Message Date
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 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
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 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
Emi Midnight 7854f9f3df idz: Fix team-leader, add leader name and shop name 2020-08-01 12:50:09 -04:00
Tau 6947912dfc sql: Add NULL support to database wrappers 2020-03-22 22:38:54 +00:00
Tau 341b8379cc idz: Implement multi-page Garage fetch 2020-01-25 19:26:42 -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
Bemani Witch 87de57fe2f IDZ: Add support for player auras 2019-11-27 02:22:03 +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 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 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 f9970fa81c Force explicit conversion of rows fetched from SQL DB
Everything is a scalar value now, and while this does involve more
boilerplate it will also catch type conversion issues like
"1" + 0 === "10" in the future.
2019-11-06 17:28:30 -05:00
Tau 30d42bd832 Store array colums as CSV text
This is in preparation for a transition to SQLite, which sadly does
not support array-valued columns (or indeed have much of a type
system in general).
2019-11-06 17:28:30 -05:00
Tau 3e6b4f4798 Add an SQL DB abstraction layer
Because what self-respecting Enterprise(R) project doesn't have
one of those?
2019-11-06 17:28:30 -05:00
Tau 4dd3f39472 Fix sql-bricks import style 2019-11-06 17:28:30 -05:00
Tau 6ab2112ea9 Stop using SQL namespaces ("schemas")
This is in preparation for a transition to SQLite. SQLite does have
a similar concept called "attached databases", but it's kind of a
pain to deal with if you're casually browsing a database from the
`sqlite3` CLI so we'll just use some slightly uglier explicitly
namespaced table name identifiers instead.
2019-11-06 17:28:30 -05:00
Tau 9697b4b06e Use debug package for logging 2019-11-06 17:28:30 -05:00
Tau db260d5f2f idz/decoder: Drop RequestCode typedef
This is just boilerplate for its own sake.
2019-11-06 17:28:30 -05:00
Tau 3f62f1683b idz/handler/createTeam.ts: Fix incomplete refactor
This looks like duplicated code that wasn't deleted after being
factored out into a helper proc.
2019-11-06 17:28:30 -05:00
Tau 7118a72b3b Use esModuleInterop 2019-11-06 17:28:30 -05:00
Tau a5256c97d3 Fix SQL column capitalization 2019-11-06 17:28:30 -05:00
Tau 355f20c50b Add host/port "switchboard" module
Centrally list all hostnames and port numbers here. Need to push
this into IDZ further but I'm a bit short on time (so what else is
new).
2019-11-06 17:28:30 -05:00
Tau 2478bc5ceb idz: Implement team leadership transfer 2019-11-06 17:28:30 -05:00
Tau 3bee10d948 idz: Implement team member add/remove 2019-11-06 17:28:30 -05:00
Tau 2bd9ce919a idz: Implement saveTeamBanner 2019-11-06 17:28:30 -05:00
Tau a3df4df277 idz: Wire up team create and load 2019-11-06 17:28:30 -05:00
Tau ec214d5beb idz: Add team "reservation" repository
This is a hack necessary to support certain quirks of the
Initial D Zero profile creation process.
2019-11-06 17:28:30 -05:00
Tau a5dbdef33f idz: Add TeamAutoRepository 2019-11-06 17:28:30 -05:00
Tau be48619a4a idz: Add TeamMemberRepository 2019-11-06 17:28:30 -05:00
Tau c6a67bd647 idz: Add TeamRepository 2019-11-06 17:28:30 -05:00
Tau f874f56816 idz: Expose some row mappers 2019-11-06 17:28:30 -05:00
Tau 4f044de9fb idz: Add "Auto team" data model
New players get packed into automatically-created teams whose
names follow an automated pattern. Add data models to support this.
2019-11-06 17:28:30 -05:00