Graham
ddfc472c84
Switch to Ktor's Jetty backend
...
We've now found both the CIO and Netty backends to be problematic in
certain cases (CIO with lots of concurrent requests, Netty with
backpressure). Hopefully Jetty is a bit more battle-tested!
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
bf30f1e4a5
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
6c52f5f48f
Update Kotlinter
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
6d0f28d0fa
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5604811e8b
Update Kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c13f131c32
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d463ffa4d7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
962716524e
Fix lint error
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
7d51312e57
Revert "Enforce consistent version of Kotlin's stdlib across the whole project"
...
This reverts commit d837e72aee
.
I'm hoping that this is no longer necessary. It causes problems with
downstream projects.
2 years ago
Graham
54f2a44eab
Move assignment outside if
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
12eba96055
Update copyright year
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ba5c285a47
Remove defunct OpenOSRS key downloader and link
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ea9ec62e6e
Add support for fetching master index from the API
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
9d3282ca3a
Simplify reference counting in Js5Service
...
Spotted by Polar.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
62df015ad5
Always sort empty rows to the bottom of the table
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
55072a5102
Sort build column numerically
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
97ca5cbc2f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4ef349d0ac
Add CoroutineExceptionHandler to LoginChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
0814443bc5
Add total size of all caches to the caches page
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2d7b235f15
Add support for the new OSRS short code map format
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2c70a7c1ec
Add methods to allow reading files by group name and file ID
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c1704fc111
Exclude Logback from minimization
...
This prevents the LogbackServiceProvider class from being deleted.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
8f4d28393e
Download XTEA keys from HDOS
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
db1ecf3c00
Read after sending ExchangeSessionKey to the client
...
We're expecting GAMELOGIN to be sent after exchanging the session key.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
655b9c9cf7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ba0bd2ca3a
Use 4 space indents in .sql files
...
This reflects the current style.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
eebb54dd60
Disable formatting in all migrations
...
If the checksum changes in the future then the flyway_schema_history
table needs to be adjusted, which is awkward.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4ca7fab636
Add blank line between is blocks
...
Seems to be a recent change in the IDEA formatter.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c0056f9cb1
Update kotlinter
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d63af29679
Fix linter error
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
fd2545bc9d
Format OpenNxtStore
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
dc8fcd09f6
Flesh out LoginChannelHandler
...
This commit adds initial support for negotiating the ISAAC session key,
creating accounts, and checking world suitability.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
cf7c05441c
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
091c8ee1ca
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d0a46dc5e5
Removing loading requirements from the NXT downloader
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4cc83e6316
Mark all methods in a final class as non-final
...
Marking the individual methods as final is redundant and IDEA warns
about it.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
aff58e5e73
Split FinalTransformer into Final{Class,Method}Transformer
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
39d2f18cca
Add tool for unpacking OpenNXT caches
...
This is relatively easy as OpenNXT doesn't use the actual SQLite cache
format - it still uses JS5-compressed containers, rather than ZLIB.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
dbb30e0bd8
Disable fsync in FlatFileStore
...
This improves performance significantly.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4aa181b91a
Add support for disabling fsync in atomicWrite
...
Sometimes we want to ensure the write is atomic but don't care about
durability.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
4252bf0dbc
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
c3c240b4e6
Cache the /caches.json endpoint for 15 minutes
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
ef2919761d
Add method for peeking at the version trailer
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5ac5ae76f3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5e4305b0f3
Refactor more code
...
Mostly focused on refactoring more fields in types.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
d80de942e0
Fix womanWear1/2 naming
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
0d87057ae6
Rename more classes
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
3841d39fe8
Refactor more TextureOps
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
e2ceef0a32
Fix case
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
2abd1d7ea0
Fix CreateAccountCodec padding
...
The padding must be between 1 and 8 bytes inclusive, not 0 and 7.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago