Commit Graph

250 Commits

Author SHA1 Message Date
Adam
c3360640b3 account service: publish login responses to redis too 2018-12-29 17:56:33 -05:00
Adam
1af1601b3e loot tracker service: remove type argument from delete
The client does not track type and eventId so it cannot use it
2018-12-28 18:18:37 -05:00
Adam
15985db678 loot tracker service: expose method to delete loot records 2018-12-27 20:57:48 -05:00
Adam
b6406c30a5 xtea service: split into xtea controller and service 2018-12-23 21:08:49 -05:00
Adam
067c9aa2db xtea service: add cache for recently tried keys 2018-12-23 21:08:48 -05:00
Adam
d9fb3a99da loot tracker service: fix getting loot records 2018-12-23 14:18:47 -05:00
Adam
dc5f9fe264 account service: readd wscount endpoint 2018-12-23 10:26:52 -05:00
Adam
3d9c962c6f Remove old session service and replace usages with new one
The new service was split off into a separate repository
2018-12-22 14:31:18 -05:00
Adam
3a6756d391 xp tracker: add index on xp.time
[ci skip]
2018-12-21 10:01:02 -05:00
Adam
989c2880f0 xp tracker: clean up imports 2018-12-20 14:23:45 -05:00
Adam
1001ddf11b xp tracker: limit lookups to most 1 per 3 seconds
Drop the rest to prevent backlogging. The hiscore API throttling is
fairly strict.
2018-12-20 14:04:15 -05:00
Adam
0148a3f7cd http service: add endpoint for websocket session count 2018-12-18 17:42:27 -05:00
Adam
682bf8d77d http api: add loot tracker service and client
Co-authored-by: TheStonedTurtle <29030969+TheStonedTurtle@users.noreply.github.com>
2018-12-14 18:19:16 -05:00
Adam
e3c84db8aa Increase session ping time to 10 minutes 2018-12-09 20:59:11 -05:00
Adam
2f122e19df sesssion controller: create sessions when pinging unknown sessions 2018-12-09 20:58:47 -05:00
Adam
3470cdbb9c Merge pull request #6881 from Nightfirecat/add-dmmt-worldtypes
Add DMMT world types, handle them in plugins, update SDMM teleblock timers
2018-12-09 12:19:43 -05:00
Adam
5dce23a9cc http-service: set kc table engine to MEMORY 2018-12-08 22:42:21 -05:00
Adam
f702a0a4a5 http-service: set session table engine to MEMORY 2018-12-08 22:37:53 -05:00
Adam
5e25397fc6 http service: optimize session queries 2018-12-08 21:25:49 -05:00
Jordan Atwood
716144ff87 Add DMM Tournament world type 2018-12-08 18:03:43 -08:00
Adam
aaa00d0200 Remove update check service and client 2018-11-22 19:08:30 -05:00
Adam
2ac1ab544e http service: use jav_config for determining revision
The handshakes are now ambigious due to having to support multiple
client releases
2018-11-15 18:48:13 -05:00
Magic fTail
803a019a27 http api/service: update Jagex hiscore API 2018-10-31 19:10:19 -04:00
Adam
47cf5e543f http api/service: map .js to application/json and use in http clients
This is to trick the CDN into caching responses
2018-10-29 15:26:48 -04:00
Adam
71f398de5c feed controller: add cache control for feed result 2018-10-28 23:49:17 -04:00
Adam
7adca5bda2 http-api: modify ItemPrice to contain id/name instead of Item 2018-10-07 12:43:22 -04:00
Adam
7223d3436d http service: return item names in price lookup 2018-10-07 12:00:55 -04:00
Adam
d4cbe0e730 feed controller: move feed result fetch to spring scheduler
memoizeWithExpiration will block threads if one is waiting on a result, or crashes when getting the result
2018-10-04 09:32:23 -04:00
Adam
e5c13eff74 xp tracker: limit to one update per 5 minutes 2018-09-26 19:06:46 -04:00
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