Commit Graph

254 Commits

Author SHA1 Message Date
dekvall
976ecd8f6b hiscores: add nightmare boss 2020-02-13 07:13:12 +01:00
Adam
9cf95ef324 http-service: increase ge history retention to 90 days 2020-02-11 17:30:21 -05:00
Adam
4d5857214e loot tracker: add pickpocket events
Co-authored-by: Daniel Cimento <daniel.cimento@mail.mcgill.ca>
2020-02-10 18:27:01 -05:00
Adam
2310349a44 loot controller: publish loot to redis 2020-01-18 21:56:56 -05:00
Adam
97b4f0d56f loot tracker: store aggregated drops
This modifies both the service and the client plugin to no longer store
loot per-kill, with the exception of the current sessions kill log. The
amount of loot data returned now from the service defaults to the last
1024 unique events
2020-01-18 21:56:56 -05:00
Adam
faacbc4160 feed controller: catch any exception when fetching newes sources 2020-01-09 10:32:50 -05:00
Hydrox6
90ce907ade hiscore api: add Callisto and Cerberus 2020-01-06 13:52:43 +00:00
Adam
9ae4e772a4 http-api: update for boss hiscores
This leaves Callisto and Cerberus commented out as they are currently
not being returned by the hiscores
2019-12-08 20:43:48 -05:00
Adam
c117bc9bd5 chat controller: limit layouts to 16 rooms 2019-11-25 13:07:22 -05:00
Adam
7463d2de1a api: add league world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:15 -05:00
Adam
fab50b1725 http api: update hiscore for leagues
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:12 -05:00
Adam
bcf89dce92 Remove DEADMAN_TOURNAMENT world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:29:09 -05:00
Adam
71d2e74732 Remove SEASONAL_DEADMAN world type
Co-authored-by: Hydrox6 <ikada@protonmail.ch>
2019-11-15 10:28:59 -05:00
Adam
6d34e2b2f3 Merge pull request #10155 from Adam-/layout
Add layout chat command
2019-11-08 11:32:18 -05:00
Adam
bbe38dae95 osb exchange service: validate price averages
After an update they get reset to 0 for a time and it is overwriting our
price cache
2019-10-31 18:27:35 -04:00
Adam
f3a52b1113 Add layout chat command 2019-10-28 20:10:35 -04:00
Adam
423d16fa8e http-service: make mongo database configurable 2019-10-26 21:58:50 -04:00
Lotto
541af9084c feed: use RuneLiteClient's Twitter list 2019-10-20 15:16:26 +02:00
Adam
cade74c18c feed controller: add etag 2019-10-02 15:59:53 -04:00
Adam
1e58a77683 item controller: add etag to bulk prices 2019-10-02 15:59:53 -04:00
Adam
c8ffa3994d loot tracker: batch loot submissions 2019-08-19 12:15:00 -04:00
Adam
bd0badf7fc authfilter: cache sessions 2019-08-19 11:56:57 -04:00
Adam
d77134893a osbuddy client: set UA to RuneLite 2019-08-12 17:05:40 -04:00
Adam
86f0c5ebd2 osbuddy client: update exchange summary location 2019-08-12 17:05:33 -04:00
Adam
c6e24b832d http-service: remove inferred destroy method on mongo client bean
It is important that the client isn't closed when using the jndi
provided client as it is a singleton and is reused.
2019-08-09 10:43:55 -04:00
Adam
277a3ccd35 http-service: use jndi provided mongo 2019-08-08 19:29:51 -04:00
Adam
edfd52af23 config service: validate config values 2019-08-08 17:31:12 -04:00
Adam
4286c680f2 config service: add test for parseJsonString 2019-08-08 17:31:12 -04:00
Adam
730ad1c3c6 config service: return status based on whether set/unset were successful 2019-08-08 17:31:11 -04:00
Jordan Atwood
41968c725f Remove unused Slf4j annotations and imports 2019-07-11 00:33:00 -07:00
Robert Alexander
8ee3e483f4 chat commands: add duel arena chat command 2019-06-27 21:38:55 -04:00
Jacob McElroy
8757d25bd3 chat commands: add ba high gamble command 2019-06-27 17:27:09 -04:00
William Collishaw
f1c8f380d9 Replace redundant StringBuilder append String.subString with append CharSequence 2019-06-01 13:46:56 -06:00
Adam
4f82be9691 xtea service: fix bulk query returning duplicates
Some rows have backfilled times that are duplicates, causing the join to
join multiple rows. Assume ids only increment and fetch the row with the
highest id instead, and join on id.
2019-05-25 18:02:56 -04:00
Jordan Atwood
5bebd34bbf WorldType: Fix HIGH_RISK world type name
This world type is not specifically a PVP world type; at the time of
this commit, world 365 is a non-PVP high-risk world, where the world is
the same as a regular members' world, except that the Protect Item
prayer is disabled.
2019-04-23 13:03:41 -07:00
Adam
412505a10f config service: fix not upserting documents when setting config keys 2019-04-14 18:09:44 -04:00
Adam
dd766b8700 config service: remove writing to sql 2019-04-13 11:32:09 -04:00
Adam
ee216e0c43 http api: update for beginner clues
Co-authored-by: Robin Rijkeboer <robin.rijkeboer@itonomy.nl>
2019-04-11 20:54:39 -04:00
Adam
69c3341467 http-service: update mysql driver to mariadb 2.2.3 2019-03-24 11:44:54 -04:00
Tomas Slusny
d3c12157b0 Add development configuration for Spring http-service
- Remove spring boot test (no longer necessary)
- Move test development configuration to main package

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-24 11:44:54 -04:00
Tomas Slusny
b367e34202 Migrate OAuth callback to Spring configuration property
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-24 11:44:54 -04:00
Adam
b50b3fc07b config service: return an empty config if no config is found
Returning an empty body breaks the client as it deserializes the
response to null.
2019-03-21 21:27:07 -04:00
Adam
4ccefd23a4 config service: convert backing database to use mongodb
This is a much more natural fit for the config service which is really a
key value store, and has been abusing SQL. This will let us expand the
config stuff later to support profiles and per-account config values.

I have left in the SQL code for now so config changes are still being
sent there in the event of catastrophic mongodb failure.
2019-03-20 18:45:31 -04:00
Nathaniel Ngo
84009901cb Log whole HTTP response instead of just message (#8126)
Response message is usually either empty or not useful.

Closes #8042
2019-03-19 01:58:46 +01:00
Adam
11993150b3 news service: load news over https
https was not supported before, but it seems to be working now.
2019-03-17 15:33:51 -04:00
Adam
5ba8f71b48 Merge pull request #7847 from deathbeam/swagger-static
Add Swagger static document generation
2019-03-14 16:07:17 -04:00
Lotto
046bdcc3e3 http-service: fix twitter feed links not working with newer theme
When using Twitter's new theme, https://twitter.com/statuses/[tweet_id] style links don't redirect to the tweet in question.

Urls before this change:
https://twitter.com/statuses/1102962117509087234

After this change:
https://twitter.com/OldSchoolRS/status/1102962117509087234
2019-03-05 18:59:04 +01:00
chivesrs
2427f61f37 Enable checkstyle on test sources 2019-03-04 14:56:46 -05:00
Tomas Slusny
f91412b33e Migrate Spring unit tests to spring profiles
Instead of replacing configuration with test configuration on classpath,
create test profile and use that.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-04 19:25:54 +01:00
Tomas Slusny
52a862c43b Migrate SpringBootWebApplicationTest to spring profiles
- Instead of replacing configuration with dev configuration on classpath,
create dev profile and use that
- Move common properties to application.yaml

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-04 19:25:23 +01:00