b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
8ada783f7c
idz: Add stamps tables
2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
f79c4a4370
idz: Add idz_settings.driving_style column
2021-02-03 23:43:41 +00:00
Tau
f3be39823a
idz: Explicitly split team msg encoders
2021-02-03 23:43:40 +00:00
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
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
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
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
643161de4220f1bc925fbb05bde805fd8ec95c63
b2288b9b8f
idz: Fix team-leader, add leader name and shop name
2020-08-01 12:50:09 -04:00
Tau
01198d546a
sql: Add NULL support to database wrappers
2020-03-22 22:38:54 +00:00
Tau
7b21a0bdae
idz: Implement multi-page Garage fetch
2020-01-25 19:26:42 -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
85be42b2ce67a8e34b32793360824b056c0c2444
6da5abcefc
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