Commit Graph

20 Commits

Author SHA1 Message Date
Lotto
8259410178 http-service: add services for getting blog posts, tweets and osrs news 2018-03-04 09:22:41 -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
cda04b7acd Split out cache updater into own project 2018-02-03 19:24:35 -05: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
4d2c02e81c http-service: split hiscore service from controller 2018-01-20 19:11:28 -05:00
UniquePassive
5cf24a8f83 Add world types 2018-01-06 19:54:25 -05: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
94530bda30 http-service: add cache service 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
Adam
b6a7108ca5 http-service: switch to spring-web from sparkjava/guice 2017-08-10 17:56:03 -04:00
Adam
cae29ff754 http-service: set content-type to application/json in various responses 2017-06-12 19:11:15 -04:00
Adam
5250c4f1c3 http-service: remove old servicerunner test - does not anymore due to guice+JNDI 2017-05-15 20:45:47 -04:00
Adam
7bac276e25 http-service: add account api 2017-05-05 23:11:47 -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
ea9e17a472 http-service: fix test. irritatingly can't make slf4j-simple the only slf4j implementation during tests 2017-04-20 15:02:31 -04:00
Adam
19daaae739 http-service: use guice for dependency injection 2017-04-20 12:23:13 -04:00
Adam
db7737906f http service: fix test 2017-04-14 20:15:50 -04:00
Adam
ac0dda1f63 http service: add worlds api 2017-02-28 12:30:54 -05:00
Adam
32f0736d1f Initial work on web api, with a basic hiscore api 2017-02-12 15:01:09 -05:00