Commit Graph

3468 Commits

Author SHA1 Message Date
Rsl1122
e5a336a249 Create new file on export if not exists
- Added folder creation to SpecificExport#exportPlayersTableJSON
  in case the folder doesn't exist
- Added StandardOpenOption.CREATE to file write, so that the file
  will be created if it doesn't exist

Affects issues: #1066
2019-06-22 09:11:45 +03:00
dependabot-preview[bot]
654a018d3d Bump dagger from 2.23.1 to 2.23.2 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.23.1 to 2.23.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23.1...dagger-2.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 06:29:32 +00:00
dependabot-preview[bot]
8840ca170c Bump dagger-compiler from 2.23.1 to 2.23.2 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.23.1 to 2.23.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23.1...dagger-2.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 06:11:21 +00:00
dependabot-preview[bot]
602947ae08 Bump dagger from 2.23.1 to 2.23.2 in /PlanPluginBridge
Bumps [dagger](https://github.com/google/dagger) from 2.23.1 to 2.23.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23.1...dagger-2.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-20 06:03:35 +00:00
dependabot-preview[bot]
555cd1db26 Bump guava from 26.0-jre to 28.0-jre in /Plan
Bumps [guava](https://github.com/google/guava) from 26.0-jre to 28.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 08:18:57 +00:00
dependabot-preview[bot]
273d49b6f8 Bump httpclient from 4.5.8 to 4.5.9 in /Plan
Bumps httpclient from 4.5.8 to 4.5.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 08:13:07 +00:00
Risto Lahtela
8f69adcb66
[Merge] Add support of 1.14.1/2 with ViaVersion extension (#1061) 2019-06-01 20:21:55 +03:00
Aurélien
dd5d8af946
Add support of 1.14.1/2 with ViaVersion extension. 2019-05-31 15:52:53 +02:00
dependabot-preview[bot]
c68cd57b03 Bump dagger-compiler from 2.23 to 2.23.1 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.23 to 2.23.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23...dagger-2.23.1)
2019-05-31 08:06:09 +00:00
dependabot-preview[bot]
e289df368d Bump dagger from 2.23 to 2.23.1 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.23 to 2.23.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23...dagger-2.23.1)
2019-05-31 07:49:16 +00:00
dependabot-preview[bot]
70c3ee45e6 Bump dagger from 2.23 to 2.23.1 in /PlanPluginBridge
Bumps [dagger](https://github.com/google/dagger) from 2.23 to 2.23.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.23...dagger-2.23.1)
2019-05-31 07:34:29 +00:00
dependabot-preview[bot]
a2a01116b8 Bump mockito-junit-jupiter from 2.27.0 to 2.28.2 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 2.27.0 to 2.28.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.27.0...v2.28.2)
2019-05-30 08:26:08 +00:00
dependabot-preview[bot]
1aaae4189b Bump dagger from 2.22.1 to 2.23 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.22.1 to 2.23.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.22.1...dagger-2.23)
2019-05-30 08:14:36 +00:00
dependabot-preview[bot]
8460888964 Bump mockito-core from 2.27.0 to 2.28.2 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 2.27.0 to 2.28.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v2.27.0...v2.28.2)
2019-05-30 08:00:40 +00:00
dependabot-preview[bot]
42f31e1467 Bump dagger-compiler from 2.22.1 to 2.23 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.22.1 to 2.23.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.22.1...dagger-2.23)
2019-05-30 07:54:09 +00:00
dependabot-preview[bot]
7d67d1e3b2 Bump dagger from 2.22.1 to 2.23 in /PlanPluginBridge
Bumps [dagger](https://github.com/google/dagger) from 2.22.1 to 2.23.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.22.1...dagger-2.23)
2019-05-30 07:33:02 +00:00
Risto Lahtela
01c5c5dc65
Update versions.txt 2019-05-28 20:32:56 +03:00
Risto Lahtela
e8a9ecfd49
[Merge] Version 4.8.5 (#1051)
PR for 4.8.5
2019-05-28 20:31:22 +03:00
Rsl1122
70b9c4d8e6 Bump version to 4.8.5 2019-05-28 20:22:12 +03:00
Rsl1122
2dc8978940 Removed broken test 2019-05-28 20:20:56 +03:00
Rsl1122
9718ffe5ac [#1041] Fixed CapabilityService initialization 2019-05-28 20:19:21 +03:00
Rsl1122
c28da3d6f4 v4.8.4: Fixed NotReadyException catching 2019-05-14 19:52:42 +03:00
Risto Lahtela
de2bd5790b
Update versions.txt 2019-05-12 19:46:51 +03:00
Risto Lahtela
a537be8761
[Merge] Version 4.8.3 (#1040) 2019-05-12 19:46:24 +03:00
Rsl1122
a0e8c5c3ff Bump version to 4.8.3 2019-05-12 19:37:22 +03:00
Rsl1122
f118456257 transaction debug logs set to dev mode 2019-05-12 19:36:52 +03:00
Rsl1122
a2554d2dbc Test against duplicate columns in players table 2019-05-12 19:36:23 +03:00
Rsl1122
91895f9a84 Implemented 'showInPlayerTable' for Providers
- Added the boolean to ProviderInformation
- Added a column to plan_extension_providers
- Added a patch to add the column to old databases
- Added value for the column to the provider store transactions
- Changed ServerPlayerDataTableQuery to only include showInPlayerTable
  = true providers
- Changed test to take changes into account
2019-05-12 13:45:25 +03:00
Rsl1122
ef35312844 Fixed extension column appearing multiple times 2019-05-12 13:23:40 +03:00
Rsl1122
ad48a016a3 [#1039] Added session_end to GROUP BY 2019-05-12 13:09:59 +03:00
Rsl1122
31a7c6d115 Updated Extensions to new versions
Changes:
- DiscordSRV exception issue solved
- mcMMO (old version) issue solved
- Vault shaded in other plugins issue solved #1038
2019-05-12 12:54:06 +03:00
Rsl1122
45da64e88f 'showInPlayerTable' parameter for Providers
for BooleanProvider, DoubleProvider, PercentageProvider, NumberProvider,
StringProvider annotations.
When the parameter is set to 'true' the value from the Provider is shown
on a table alongside players.

Capability DATA_EXTENSION_SHOW_IN_PLAYER_TABLE added
2019-05-12 11:13:39 +03:00
Rsl1122
6d788ba61a Added NotReadyException to DataExtension API (0.0.5) 2019-05-10 14:21:52 +03:00
Risto Lahtela
51dcba13b5
Update versions.txt 2019-05-10 09:46:36 +03:00
Risto Lahtela
b0717f7ff0
[Merge] Version 4.8.2 (#1036) 2019-05-10 09:45:49 +03:00
Rsl1122
9e62c0eba6 Bump version to 4.8.2 2019-05-10 09:04:18 +03:00
Rsl1122
75e5e1f0e4 Updated bootstrap and jquery-datatables 2019-05-09 20:34:07 +03:00
Rsl1122
517167f4fd Update PluginBridge viaversion/protocolsupport version protocol 2019-05-09 20:19:02 +03:00
Risto Lahtela
7b20d772a3
Update versions.txt 2019-05-09 15:52:30 +03:00
Rsl1122
d81a2932ec [#1034] Setting for ping gathering 2019-05-09 15:41:33 +03:00
Rsl1122
4d261ce6e8 [#1034] sane handling of large delay options 2019-05-09 15:39:22 +03:00
Rsl1122
290cb4d66b Export of server players_table.json
Breaks viewing of exported html without a webserver.
This is due to XMLHTTPRequests not working well with file:// protocol.
2019-05-09 15:29:38 +03:00
Rsl1122
344fb2a7ca Removal of 'InvalidateMethod' TableProvider data 2019-05-09 15:00:08 +03:00
Rsl1122
15535e2469 Fixed some code smells 2019-05-09 14:53:24 +03:00
Rsl1122
3e5a1ce793 Registered metrics on bukkit (forgot) 2019-05-09 14:53:24 +03:00
dependabot[bot]
b6c9cb56a0
Bump placeholderapi from 2.10.0 to 2.10.1 in /PlanPluginBridge (#1033) 2019-05-08 08:23:24 +00:00
Rsl1122
b2d5c01175 Fixed incorrect test assertion 2019-05-08 11:08:47 +03:00
Rsl1122
77885704ca Players table now served via JSON. 2019-05-07 20:20:24 +03:00
Rsl1122
e035dc67fc /server Players table data JSON response
Data access points at
- /json/players?serverName=Name of the server (Preferred)
- /json/players?serverUUID=UUID of the server (Avoid)

Data format (JSON):
{columns: [{title}, ...], data: [[...rows for columns], [...row2], ...]}

This access point should not be considered an API.

serverUUID parameter should be avoided until Server-Bungee connection
system has been removed due to possible XSS Attack
https://github.com/plan-player-analytics/Plan/issues/840
2019-05-07 18:16:48 +03:00
Rsl1122
ebb4314ab9 URL parameters now work 2019-05-07 18:16:48 +03:00