Commit Graph

163 Commits

Author SHA1 Message Date
Adam
a952ea3bae item service: detect new items when price scraping 2019-01-17 19:28:17 -05:00
Adam
050160686b http service: remove unused import 2019-01-15 10:24:12 -05:00
Adam
c50023eb89 http service: replace JedisPool with own pool implementation
JedisPool appears to not work correctly and is losing connections.
2019-01-15 09:40:29 -05:00
Adam
1beeadf87a http service: fix servlet not starting 2019-01-12 12:25:33 -05:00
Adam
47fc4ad60a account service: default last_used to current time 2019-01-12 11:40:20 -05:00
Adam
f99775aaad loot tracker service: correct kill expiry query to use idx_time propertly 2019-01-12 11:36:21 -05:00
Adam
67e397a2b0 http service: disable logback packaging data 2019-01-12 11:36:20 -05:00
Adam
b65018ae84 Add qp to chat service 2019-01-05 18:03:23 -05:00
Adam
5192a28cec http service: rename kc to chat 2019-01-05 18:03:22 -05:00
Adam
598480dfe4 kc: change to use redis for storage 2019-01-05 18:03:20 -05:00
Adam
ce18860d10 http service: use jedis connection pool 2019-01-05 12:55:01 -05:00
Adam
a5179402b3 xp tracker: reduce hiscore lookup delay to 1 second 2019-01-04 16:49:02 -05:00
Adam
d03dc8914d xp tracker: try to not look up the same user too frequently 2019-01-04 16:49:02 -05:00
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