Commit Graph
92 Commits
Author SHA1 Message Date
Adam 1856a5f1a1 sessions: decrease session ping frequency 2018-03-12 08:12:10 -04:00
Adam 4c5c3d81f8 item controller: add method for bulk price lookups 2018-03-09 12:28:43 -05:00
Tomas Slusny 78728c471e Simplify RuneLite API world
- Use Lombok for World object

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-06 15:22:01 +01:00
Adam 4620de3ded item service: process pending lookups in order
I think the current system causes starvation for item checking
2018-03-04 17:09:01 -05:00
Adam d48876f77e http-service: queue item lookups from images 2018-03-04 09:56:40 -05:00
Lotto 3a78cf1e7b http-service: add feed api endpoint 2018-03-04 09:22:42 -05:00
Lotto 8259410178 http-service: add services for getting blog posts, tweets and osrs news 2018-03-04 09:22:41 -05:00
Adam f633ce604a http-service: add session service 2018-03-02 15:52:17 -05:00
Adam 80ebf7c184 Merge pull request #666 from HexRealm/updatecheckservice-fix
Use the address returned by the worldlist api instead of building our own
2018-02-24 11:07:16 -05:00
Adam c57987131c xtea service:try to fix query again 2018-02-23 17:49:01 -05:00
Adam a5c326e220 Revert "xtea service: fix get() query to join on id"
This reverts commit e7a1c59cdb10e6e5ab403f4c4557eeb5f1a62200.
2018-02-22 23:26:31 -05:00
Adam 65f3bae155 xtea service: fix get() query to join on id 2018-02-22 23:02:43 -05:00
Hexagon 4d4930abd2 Use the address returned by the worldlist api instead of building our own 2018-02-22 18:05:15 -03:00
Adam 1b960bf056 item service: change search to only search database
Add fulltext index to item.name and use in searches
2018-02-19 20:42:03 -05:00
Adam 77a3f48627 item service: always use last known price, and queue price updates instead 2018-02-16 23:28:37 -05:00
Adam 4bcfdc5360 item controller: cache empty price lookups 2018-02-16 23:28:37 -05:00
Adam 2125a02678 http-service: split itemservice into service and controller 2018-02-16 22:55:48 -05:00
Lotto aab82c53ff Change copyright header for UniquePassive to Lotto 2018-02-16 19:14:28 +01:00
Adam 98b8a3b76f http-service: try to release okhttp resources on shutdown 2018-02-12 18:59:30 -05:00
Adam d5f56f695e http service: change cache datasource to runelite-cache2 2018-02-03 19:24:37 -05:00
Adam cda04b7acd Split out cache updater into own project 2018-02-03 19:24:35 -05:00
Adam 8c678f69eb cache service: split up into cache controller and service 2018-02-03 19:24:33 -05:00
Adam b25c237e94 cache service: fix duplicating index to archive associations
It is unclear whether archives in an index can change without the index
crc or revision changing, so always create new indexes for each cache.
This is much simplier with not much more overhead.
2018-02-03 19:24:32 -05:00
Adam 3577d58679 xp tracker: don't add duplicate entries if nothing changes 2018-01-29 17:33:02 -05:00
Adam ff1c56812a cache service: fix findArchive to select distinct 2018-01-27 17:59:03 -05:00
UniquePassive 741d42ab49 http-service: fix exception on empty config setKey request body 2018-01-22 01:21:58 +01:00
Adam 7d5e0ff389 http-service: add beginning of xp tracker 2018-01-20 19:48:07 -05:00
Adam 4d2c02e81c http-service: split hiscore service from controller 2018-01-20 19:11:28 -05:00
Adam b7d8b75647 item service: set cache-control: public too 2018-01-19 19:39:24 -05:00
Adam 9aded64e04 cache service: remove unused import 2018-01-19 15:06:59 -05:00
Adam 8eb37bb3db Revert "cache service: move database updating to happen during download"
This reverts commit 018843f3a34f343c32c59db259aae317193f9fc8.
2018-01-19 14:13:02 -05:00
Adam 1eeab55b01 Revert "cache service: don't skip already up to date archives"
This reverts commit cb90940b54dc07dd2221d3169e569b08876a3265.
2018-01-19 14:12:50 -05:00
Adam 057327463e Revert "cache service: use an identity hashmap as equals checks archive contents"
This reverts commit 1b46911dea9e8362c16de89952c5c4becfdc4e43.
2018-01-19 14:12:40 -05:00
Adam 00480e6030 cache service: use an identity hashmap as equals checks archive contents 2018-01-19 11:10:35 -05:00
Adam 244cce506c cache service: don't skip already up to date archives 2018-01-19 10:31:53 -05:00
Adam 36acbebd1b cache service: move database updating to happen during download 2018-01-19 09:45:36 -05:00
Adam fff5f51077 cache service: skip loading filedata as it is not necessary for cache updater 2018-01-19 09:42:47 -05:00
Adam e1a6fb13a2 cache service: lazily load store 2018-01-18 17:08:18 -05:00
Adam c774784c4e http-service: change item price cache to 30 minutes 2018-01-10 17:23:41 -05:00
Adam 9021b9a600 http-service: add cache control to item price 2018-01-10 15:47:54 -05:00
Adam 0fda835422 http-service: disable default cache control provided by spring-security 2018-01-10 15:45:41 -05:00
Adam ad8b2e82d1 http-service: fix item price cache to use fetched time instead of price time
Reduce cache duration to 30 minutes
2018-01-10 11:44:56 -05:00
Adam 05dc2eb39e Consistently capitalize RuneLite 2018-01-07 17:25:48 -05:00
UniquePassive 5cf24a8f83 Add world types 2018-01-06 19:54:25 -05:00
Adam 82d277a8a5 cache: split cache client and server into their own projects
Split handshake and update protocol also into their own projects
2017-12-28 21:15:01 -05:00
Tomas Slusny 4660bb3739 Fix OkHttp connection leaks on connection error
When request fails, entire response needs to be wrapped in try with
resources in order to close the connection properly and not only
response body.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-22 02:05:28 +01:00
Adam 033cf3bb01 cache: split loading archive files from archive loading
Also no longer store archive contents in memory and instead read it from
storage on demand.
2017-12-17 18:36:05 -05:00
Adam 7b66528694 cache dao: fix findMostRecent() to sort by revision properly 2017-11-10 11:28:39 -05:00
Unknown 09f7cebedb http-service: Fix capturing the whole of dot-delimited keys 2017-10-15 00:04:33 +02:00
Adam 3414e27bd6 account service: use common gson 2017-09-28 22:59:49 -04:00