Commit Graph

109 Commits

Author SHA1 Message Date
Runelite auto updater
d6f7075870 [maven-release-plugin] prepare for next development iteration 2018-01-11 22:58:46 +00:00
Runelite auto updater
06a93ec072 [maven-release-plugin] prepare release runelite-parent-1.2.11 2018-01-11 22:58:43 +00: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
e53b33d4e8 http-service: remove junit/mockito dependencies since spring pulls them in 2018-01-10 15:44:35 -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
Runelite auto updater
75f69fdde2 [maven-release-plugin] prepare for next development iteration 2017-12-21 13:28:10 +00:00
Runelite auto updater
c674896a5a [maven-release-plugin] prepare release runelite-parent-1.2.10 2017-12-21 13:28:06 +00: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
Runelite auto updater
b811dd2c62 [maven-release-plugin] prepare for next development iteration 2017-11-30 13:32:24 +00:00
Runelite auto updater
4cfe7a9a6c [maven-release-plugin] prepare release runelite-parent-1.2.9 2017-11-30 13:32:20 +00:00
Runelite auto updater
75522cd758 [maven-release-plugin] prepare for next development iteration 2017-11-24 15:22:56 +00:00
Runelite auto updater
142c008165 [maven-release-plugin] prepare release runelite-parent-1.2.8 2017-11-24 15:22:53 +00:00
Runelite auto updater
5cf73f424d [maven-release-plugin] prepare for next development iteration 2017-11-16 17:24:29 +00:00
Runelite auto updater
230bdc4d1e [maven-release-plugin] prepare release runelite-parent-1.2.7 2017-11-16 17:24:26 +00:00
Adam
7b66528694 cache dao: fix findMostRecent() to sort by revision properly 2017-11-10 11:28:39 -05:00
Runelite auto updater
330f8071c3 [maven-release-plugin] prepare for next development iteration 2017-11-09 17:41:55 +00:00
Runelite auto updater
665f8fedb1 [maven-release-plugin] prepare release runelite-parent-1.2.6 2017-11-09 17:41:50 +00:00
Adam
32eeef4a3f Update guava to 23.2-jre, place under dependencyManagement
This is to fix guava #2152 which causes ClassPath to return an empty list when the path of the classloader contains special characters
2017-10-22 10:15:26 -04:00
Runelite auto updater
4ad762293a [maven-release-plugin] prepare for next development iteration 2017-10-19 12:13:38 +00:00
Runelite auto updater
2d6ad1da84 [maven-release-plugin] prepare release runelite-parent-1.2.5 2017-10-19 12:13:32 +00:00
Unknown
09f7cebedb http-service: Fix capturing the whole of dot-delimited keys 2017-10-15 00:04:33 +02:00
Runelite auto updater
917b0963b4 [maven-release-plugin] prepare for next development iteration 2017-10-07 14:23:08 +00:00
Runelite auto updater
0d1abe4b1b [maven-release-plugin] prepare release runelite-parent-1.2.4 2017-10-07 14:23:04 +00:00
Adam
3414e27bd6 account service: use common gson 2017-09-28 22:59:49 -04:00
Adam
58b34d0fc0 xtea: validate submitted keys and make them not unique per revision 2017-09-28 19:28:42 -04:00
Adam
f1bc016cf9 cache: use the most recent cache instead of the archive with the highest revision, which isn't always reliable 2017-09-28 19:22:56 -04:00
Adam
16aff43607 http-service: disable csrf protection which got enabled from the cache security manager 2017-09-28 19:22:08 -04:00
Adam
7ce893af7b cache: store index and archive crcs, and check them for updates too
Switch archive storage to CAS as sometimes archives change content without changing revision
2017-09-24 15:44:16 -04:00
Adam
714547e1bf cachedao: use prepared statement for finding files in archive 2017-09-21 18:00:21 -04:00
Adam
76b2d36704 cache: netty-ize client and server 2017-09-17 13:34:54 -04:00
Julian Nowaczek
b12bd04764 Hiscore feature expansion (#152)
* Add remaining Hiscore parameters to HiscoreSkill

* Add remaining Hiscore parameters to HiscoreResult

* Add remaining Hiscore parameters to HiscoreResultBuilder

* Add new Hiscore panel icons (from offical Hiscore website, so they don't match very well) and subpanel for Clue Scrolls, Bounty Hunter - Hunter, Bounty Hunter - Rogue, and Last Man Standing

* Add logic to catch unranked hiscores and display them properly. Not currently checking for combat level calculations, but other cases should be covered.

* Make HiscoreService and HiscoreClient aware of different hiscore endpoints

* Add Spring Editor to convert path variable String to enum, add pretty versions of HiscoreEndpoint names, add new icons for endpoint selection

* Fix HiscoreEndpoint.valueof failing silently and preventing lookup, update HiscoreService tests, add Hiscore endpoint selection buttons to HiscorePanel

* Replace HiscorePanel skill icons with smaller versions from the official hiscore website

* Fix details listing rank instead of experience

* Fix details listing rank instead of experience, fix skill panels not being cleared when selecting a different hiscore category, make HiscoreService respond 404  when a Hiscore entry is not found instead of 500.

* Fix skill panels not being cleared when selecting a different hiscore category, make HiscoreService respond 404  when a Hiscore entry is not found instead of 500.

* Revert changing RuneliteAPI base URL, those changes should not have been committed (local testing only)

* Add ClueScrollAll and ClueScrollMaster to HiscoreService tests.

* Style cleanup and relocate NotFoundException to http-service package

* Use relative path for small skill icons

* Move Jagex Hiscore urls from HiscoreService to HiscoreEndpoint

* Create new util package in http-service for common exceptions and Spring converters, clean up HiscoreService by streamlining error handling and removing methods for old unit test

* Change HiscoreService unit test to use new HiscoreTestService subclass which handles setting the test URL

* Change HiscoreEndpoint hiscoreUrls to HttpUrl instead of String

* Cleanup formatting, remove unused http-service exception

* http-api: cleanup HiscoreEndpoint
2017-09-16 16:41:11 -04:00
Adam
744f912d1a http-service: update cache storage 2017-09-11 17:08:43 -04:00
Adam
94530bda30 http-service: add cache service 2017-09-11 16:25:25 -04:00
Adam
a005ad0924 http-service: use gson for serialization, pretty print 2017-09-11 16:25:25 -04:00
Adam
2cc0eb4766 http-service: use spring externalized configuration for oauth id/secret 2017-09-10 13:20:54 -04:00
Runelite auto updater
e38ac2c52a [maven-release-plugin] prepare for next development iteration 2017-08-24 17:26:25 +00:00
Runelite auto updater
a93ffa730d [maven-release-plugin] prepare release runelite-parent-1.2.3 2017-08-24 17:26:21 +00:00
Runelite auto updater
9895bcbba5 [maven-release-plugin] prepare for next development iteration 2017-08-17 12:31:56 +00:00
Runelite auto updater
560830180d [maven-release-plugin] prepare release runelite-parent-1.2.2 2017-08-17 12:31:53 +00:00
Adam
68c9172af2 http-service: fix /account/callback 2017-08-14 07:55:59 -04:00
Adam
b6a7108ca5 http-service: switch to spring-web from sparkjava/guice 2017-08-10 17:56:03 -04:00
Runelite auto updater
a81935849d [maven-release-plugin] prepare for next development iteration 2017-08-07 22:02:50 +00:00
Runelite auto updater
bb008f01b8 [maven-release-plugin] prepare release runelite-parent-1.2.1 2017-08-07 22:02:47 +00:00
Runelite auto updater
13e4fc4117 [maven-release-plugin] prepare for next development iteration 2017-08-03 12:13:54 +00:00