Commit Graph

480 Commits

Author SHA1 Message Date
Adam
3c1da4bb1e http service: disable spring jmx
Multiple api deployments is causing Spring to try to register the
datasources multiple times and is erroring
2019-02-21 08:51:39 -05:00
Runelite auto updater
18167a7782 [maven-release-plugin] prepare for next development iteration 2019-02-21 12:11:57 +00:00
Runelite auto updater
ccaa955572 [maven-release-plugin] prepare release runelite-parent-1.5.13 2019-02-21 12:11:50 +00:00
Adam
6186314dbc http service: fix overwriting all default message converters
The previous change to try and force GSON for serialization broke
default message converters such as text/plain. Change to use
extendMessageConverters and remove the Jackson converter instead.
2019-02-18 16:39:34 -05:00
Adam
f62e7e3f14 config controller: add test 2019-02-18 16:39:01 -05:00
Adam
aa5789b843 config service: split into service and controller 2019-02-18 16:38:36 -05:00
Adam
c379e631d5 Merge branch 'spring-datasource' 2019-02-17 18:01:27 -05:00
Adam
38cdbfcb6b http service: use http-api gson instance 2019-02-17 17:59:54 -05:00
Adam
c55491cc11 http service: add loottracker controller test 2019-02-17 17:59:54 -05:00
Adam
2a41d88c29 http service: use spring datasource configuration 2019-02-17 17:59:53 -05:00
Tomas Slusny
a3d461c516 Merge pull request #7876 from deathbeam/twitter-service-no-not-throw
Log only exception message on feed lookup failures
2019-02-17 03:11:29 +00:00
Adam
fe2eba06a7 http service: use gson instead of jackson for json serialization
This fixes deserailization of the loot timestamps for the loot tracker,
and maybe other things. Note this does not use the same Gson instance as
http-api as Spring creates its own Gson, however they are both default
Gson instances.
2019-02-16 21:14:17 -05:00
Adam
b855371d8b xptracker: treat players with rank -1 as unranked 2019-02-16 19:02:50 -05:00
Adam
5a6485326a Merge pull request #7886 from Adam-/xptracker-limit
xptracker: limit how often the same players are looked up
2019-02-16 17:51:33 -05:00
Tomas Slusny
e8019d0517 Null-check cache when getting items in http service
It is not very useful exception and cache entry is null-checked
everywhere else. Replace the exception with simple warning in logs.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-16 05:52:04 +01:00
Tomas Slusny
60e17c2ac1 Log only exception message on feed lookup failures
Seeing same exceptions over and over again is not very useful, mainly
when their stacktraces are not useful too.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-16 04:43:03 +01:00
Adam
bc0ec093dc xptracker: limit how often the same players are looked up
Use player rank to set how often the same player is allowed to be looked
up. Replace the ConcurrentLinkedDeque with a synchronized ArrayDeque
which has a constant time size().
2019-02-15 21:04:42 -05:00
Runelite auto updater
1b50e24738 [maven-release-plugin] prepare for next development iteration 2019-02-14 11:54:18 +00:00
Runelite auto updater
c012db502e [maven-release-plugin] prepare release runelite-parent-1.5.12 2019-02-14 11:54:12 +00:00
Tomas Slusny
0529d5d144 loottracker service: include time in loot record
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-13 23:51:36 +01:00
Adam
b008cf33a6 Merge pull request #7834 from deathbeam/add-loot-tracker-offset
Add offset to loot tracker API
2019-02-12 18:01:14 -05:00
Adam
b8866c01d8 Merge pull request #7773 from Adam-/ge2
Add GE history tracker
2019-02-12 18:00:44 -05:00
Adam
da67381ba7 Add GE history tracker
Add http service to log completed trades, and submit trades when
completed.
2019-02-12 17:51:59 -05:00
Tomas Slusny
d2713c2138 Add offset to loot tracker API
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-12 22:49:01 +01:00
Tomas Slusny
5b03cf3a68 Fix unmapped target property "time" warning
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-02-12 08:54:58 +01:00
Adam
55395b6708 loottracker service: correct kills foreign key 2019-02-10 11:26:47 -05:00
Adam
860aa89a4d http api: rename OSB ge classes with OSB prefix 2019-02-09 11:41:30 -05:00
Runelite auto updater
f2e9ad048a [maven-release-plugin] prepare for next development iteration 2019-02-07 12:46:40 +00:00
Runelite auto updater
a1dae72ed0 [maven-release-plugin] prepare release runelite-parent-1.5.11 2019-02-07 12:46:34 +00:00
Adam
22963c72b1 chat controller/service: add boss to pb 2019-02-01 22:29:45 -05:00
Adam
c62941855d Use existing sessionid on login if available 2019-01-31 19:47:56 -05:00
Runelite auto updater
3d85d378fb [maven-release-plugin] prepare for next development iteration 2019-01-31 12:21:54 +00:00
Runelite auto updater
84bfc2c45a [maven-release-plugin] prepare release runelite-parent-1.5.10 2019-01-31 12:21:46 +00:00
Adam
9d5dad5cad Add !pb chat command 2019-01-26 15:58:35 -05:00
Adam
9c4df28f2b chat controller: fix method name of getQp 2019-01-26 15:58:18 -05:00
Runelite auto updater
eacc548a74 [maven-release-plugin] prepare for next development iteration 2019-01-24 12:32:35 +00:00
Runelite auto updater
6cb7eee390 [maven-release-plugin] prepare release runelite-parent-1.5.9 2019-01-24 12:32:29 +00:00
Adam
41ae79437e Add task chat command
Co-authored-by: Spedwards <improbablepuzzle@gmail.com>
2019-01-22 19:13:32 -05:00
Adam
af32db0f3c Merge pull request #7457 from deathbeam/xp-tracker-do-not-discard
Do not discard 1 second requests in Xp tracker
2019-01-22 17:15:51 -05:00
Adam
86b3ee6a8d examine service: use item descriptions from item service if available 2019-01-20 16:17:05 -05:00
Adam
5389bbe66d examine service: split into controller and service 2019-01-20 16:17:05 -05:00
Tomas Slusny
a39441fff0 Change xp tracker filter clean to 3 hours
Change xp tracker username filter cleanup from 1 hour to 3 hours.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 04:39:41 +01:00
Tomas Slusny
f8844d65a3 Do not discard 1 second requests in Xp tracker
Do not discard all requests excpect last one in 1 second internal in XP
tracker.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-01-20 04:32:37 +01:00
Adam
a952ea3bae item service: detect new items when price scraping 2019-01-17 19:28:17 -05:00
Runelite auto updater
0d2c32c093 [maven-release-plugin] prepare for next development iteration 2019-01-17 11:55:43 +00:00
Runelite auto updater
6df69cb415 [maven-release-plugin] prepare release runelite-parent-1.5.8 2019-01-17 11:55:36 +00: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