Graham
dfb1f3c0e6
Skip containers that already exist during import
...
I'm hoping this will speed up importing large RS3 caches.
Signed-off-by: Graham <gpe@openrs2.org>
1 year ago
Graham
28a9667471
Add support for resolving files/groups between old and new engine caches
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
97b53c5695
Remove use of wildcard import
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
a5dfbdd691
Remove PolarKeyDownloader
...
Polar's site no longer hosts XTEA keys.
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
5b8cd2964f
Download names from Pazaz's repository
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
8cd73a926b
Remove redundant type parameter
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
69ea1ac7ab
Add beta HTTP js5 endpoint
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
9463a70520
Catch KeyDownloader::getMissingUrls exceptions
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
33ecd68654
Simplify CORS handling
...
This makes caching simpler to reason about (no Vary header) and more
efficient (also because there is no Vary header).
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
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