Commit Graph

121 Commits

Author SHA1 Message Date
Tomas Slusny
89b8bc52ca Make HiscoreClient call the OSRS hiscore API directly 2018-09-14 15:31:50 -04:00
Adam
9906f3120d http-service: add caching for hiscore lookups 2018-09-12 07:50:38 -04:00
Adam
2602e70f51 http service: improve update detection logic
Check the next revision is "outdated" in the event multiple revisions are valid.
2018-08-23 16:11:58 -04:00
Adam
26c6e252da world controller: fix caching, move to scheduled method
Guava memorize will block threads waiting for a new result
2018-08-13 09:37:30 -04:00
Adam
40ff55558f world service: split controller from service and add cache 2018-08-12 09:15:03 -04:00
Jordan Atwood
547f037330 Remove unused @Slf4j annotations and imports 2018-08-05 10:27:01 -07:00
Adam
8610c488ba config service: update key name too when setting config
The collation is case insensitive but the client properties are case sensitive. If the case of a key changes, the client will attempt to update it in the config, but will instead overwrite the old one in the service.
2018-08-05 11:47:38 -04:00
Tomas Slusny
027c3ce843 Add Tournament world type
Fixes #4682

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-08-03 22:26:34 +02:00
Adam
80fe6d4788 Add killcount command 2018-07-08 16:47:12 -04:00
Adam
b2a616aac5 http-service: switch json serializer to jackson
This also changes it to minify json by default
2018-06-19 14:07:42 -04:00
Adam
7f25ec8238 http-service: crawl tradable item prices instead of queueing on demand 2018-06-18 09:35:11 -04:00
AeonLucid
abcc733c9e ge plugin: add OSB actively traded price 2018-06-15 17:33:30 -04:00
Adam
430719cb87 item controller: expose bulk item prices 2018-06-12 19:16:09 -04:00
Adam
aa35b2c218 http-service: lombok item api 2018-05-13 08:42:00 -04:00
Adam
274c79a7ba http-service: optimize bulk item price lookup 2018-05-13 08:39:20 -04:00
Adam
ede2041a61 item controller: don't return duplicate items in bulk lookup 2018-05-13 08:14:12 -04:00
Adam
2d7adb248a http-service: fix sql2o statement leak
commit() will call closeJdbcConnection() which does not clean up statements and causes the later close() to noop
2018-04-30 10:33:59 -04:00
Adam
6c6f795ef4 account service: fix not setting autoincrement on user id
Fixes 82ffa4457c9b63794ce820c02a888f0de655a8db
2018-04-29 13:40:15 -04:00
Adam
b43ebd82ea ws service: optimize session storage
This also removes tracking sessions with no id
2018-04-27 19:45:17 -04:00
Adam
6c699cc54f item service: move overflow of pending lookups log message to debug 2018-04-27 11:15:45 -04:00
Adam
9de803fb7a item controller: remove all synchronous fetching 2018-04-27 11:02:35 -04:00
Adam
607c465101 update check: set read timeout on socket, move off of request thread
Update check was hung on read(), which holds a lock causing all other requests for update status to wait
2018-04-26 13:04:13 -04:00
Adam
b0225770ac xp tracker service: fix deadlock acquiring connections 2018-04-25 15:31:09 -04:00
Adam
05883a6a2f update check service: set a lower connect timeout 2018-04-23 10:02:10 -04:00
Adam
b7176f16b2 wsservice: move log messages to debug 2018-04-13 22:29:38 -04:00
Adam
8da1bb8d7d wsservice: remove sessions on close or error 2018-03-25 17:01:24 -04:00
Adam
53d8286db8 examine service: correct type column enum 2018-03-17 22:21:20 -04:00
Adam
86578fcc12 cache controller: expose item sprites 2018-03-17 21:40:21 -04:00
Adam
e82e404c6e http-service: add sprite service 2018-03-13 14:21:18 -04:00
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