Commit Graph

342 Commits

Author SHA1 Message Date
Adam
2211aadd51 http-api: add session client 2018-03-02 15:52:17 -05:00
Lotto
aab82c53ff Change copyright header for UniquePassive to Lotto 2018-02-16 19:14:28 +01:00
Adam
3577d58679 xp tracker: don't add duplicate entries if nothing changes 2018-01-29 17:33:02 -05:00
Adam
7d5e0ff389 http-service: add beginning of xp tracker 2018-01-20 19:48:07 -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
UniquePassive
31c86ac816 Add a world list lookup client 2018-01-06 19:54:24 -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
38a9ccc976 Update checkstyle to version 8.3 2017-10-20 20:03:35 -04:00
Adam
a8ecde7913 xtea client: fix checkstyle violation 2017-09-28 22:40:05 -04:00
Adam
72ee72d38e xteakeymanager: load keys from api 2017-09-28 22:34:07 -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
ea7a9257b3 http-api: add cache pojos 2017-09-11 16:25:25 -04:00
Adam
1caf515377 runelite-client: improve hiscore plugin
Shows total level and combat level, as well as letting you view
experience/rank etc. Mostly from @jnowaczek in #139
2017-08-15 18:17:40 -04:00
Adam
8b5f22106e http-service: add single skill hiscore lookup 2017-07-21 18:15:10 -04:00
Adam
43f8c58d5a runelite-client: add !price command 2017-07-16 13:49:17 -04:00
Adam
9734ded390 http-service: add item search 2017-07-14 18:34:34 -04:00
Adam
77c9f40e35 runelite-client: add examine plugin to submit examines 2017-07-08 13:36:18 -04:00
Adam
9b89d169e5 http-api: add item client 2017-06-13 19:34:59 -04:00
Adam
a67fb38d27 http-service: add item price api 2017-06-13 18:20:24 -04:00
Adam
2c6a19c434 http-service: add item api 2017-06-12 18:35:21 -04:00
Adam
b8242eeed1 runelite-client: load vanilla client if an update has occured 2017-05-20 15:42:01 -04:00
Adam
39430395ef runelite-client: check saved session validity 2017-05-20 11:49:24 -04:00
Adam
f92da7b9b1 http-service: add session check call to check session validity 2017-05-20 11:37:49 -04:00
Adam
fcbb405449 runelite-client: destroy session on logout 2017-05-17 13:54:40 -04:00
Adam
7e0cc60097 http-api: fix building config requests 2017-05-16 19:24:00 -04:00
Adam
c32782a233 http-api: catch and rethrown json exceptions as ioexceptions - we don't check return code from the http response.. 2017-05-16 19:23:48 -04:00
Adam
45640a34be http-service: add config service 2017-05-16 16:24:50 -04:00
Adam
58292794f3 http-api: share a common gson instance 2017-05-15 19:36:57 -04:00
Adam
38823d1afa http-api: share a common http client 2017-05-15 19:07:56 -04:00
Adam
cf4e9fab1d Add account plugin, and support for acquiring a session with the account webservice 2017-05-14 19:23:44 -04:00
Adam
cb0417cc9f http-api: Remove unused exception thrown from hiscore client 2017-05-14 18:36:52 -04:00
Adam
4769728aca Add websocket server and client, for use later 2017-05-08 19:29:00 -04:00
Adam
7bac276e25 http-service: add account api 2017-05-05 23:11:47 -04:00
Adam
b0135776f8 http service: close response body 2017-05-02 08:12:12 -04:00
Adam
1ffb146474 http api/service: switch to okhttp
okhttp has websocket support and http/2 support
2017-05-01 19:30:56 -04:00
Adam
913e430047 Add update-check http api call to see if client is outdated 2017-04-19 20:40:36 -04:00
Adam
4157fef61e http api: fix spelling of submit 2017-04-14 21:42:53 -04:00
Adam
93588bda35 http service: add xtea service for storing xtea keys 2017-04-14 19:41:31 -04:00
Adam
ac0dda1f63 http service: add worlds api 2017-02-28 12:30:54 -05:00
Adam
1cb085af13 http api: use a filtered properties file to get version instead, which seems to work more reliably 2017-02-13 19:30:17 -05:00
Adam
32f0736d1f Initial work on web api, with a basic hiscore api 2017-02-12 15:01:09 -05:00