Commit Graph

3637 Commits

Author SHA1 Message Date
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
Risto Lahtela
799c26ba99
[Merge] Add support of 1.14 with ViaVersion extension. (#1031) 2019-05-07 18:16:14 +03:00
Aurélien
8dba6f6983 [Merge] Add support of 1.14 with ViaVersion extension. (#1031) 2019-05-07 09:01:44 +03:00
Rsl1122
c1b36adf76 Added support for URL parameters
This means that localhost:8804/server?name=Name of the server&etc=etc
is now supported.

This addition will be useful when adding data endpoints for JSON data.
2019-05-06 12:54:52 +03:00
dependabot[bot]
ede0175f84
Bump placeholderapi from 2.9.2 to 2.10.0 in /PlanPluginBridge (#1030) 2019-05-06 08:28:54 +00:00
Rsl1122
20e788d2c8 Add a test for Bungee enabling with MySQL 2019-05-05 17:11:55 +03:00
Rsl1122
2e22e4d18e Bump PlanPluginBridge to 4.8.2-R0.2 2019-05-05 17:03:57 +03:00
Rsl1122
2a2e0e57a9 [#1027] Patch broken 'plan_aac_hack_table's 2019-05-05 17:02:27 +03:00
Rsl1122
eb78468f01 [#1029] Move bukkit bStats registration to server thread 2019-05-05 16:40:47 +03:00
Rsl1122
d2391755df /server and /players pages back to tests 2019-05-03 17:48:41 +03:00
Rsl1122
71e21389fb Query for extension player values for player plugin table 2019-05-03 17:27:39 +03:00
Rsl1122
7510841ebd Fixed old code smells:
Bug:
- Unused result of orElseThrow in DataStoreQueries
- Missing synchronized keywords in ConfigChange
- PlanConfig#hashCode since equals exists

Blocker:
- Add assertion to BungeeSystemTest, SessionTest, CommonDBTest,
  LocaleSystemTest, FileWatcherTest
- Removed BungeeBukkitConnectionTest (Not executed)

Critical:
- Fix typo in ErrorPageLang.AUTHENTICATION_FAILED_401 name
- Duplicate Exception definition in ConfigValueParser

Major:
- Renamed 'name' to 'playerName' in BukkitImporter
- Non generic exceptions to Reflection
- Extracted tenary to if in TableContainer, ProviderInformation

And some minor smells
2019-05-03 15:11:56 +03:00
Rsl1122
83343471a6 Fixed new code smells:
- Unused method in PlayersTableJSONParser
- String duplication in PlayersTableJSONParser
- MethodWrapper Serializable (Used in an Exception)
- String duplication in DeleteIPHashesPatch
- Unused constructor parameter in ProviderValueGatherer
- Locale#equals
- Unused instance variable in WebServer
2019-05-03 14:25:08 +03:00
Rsl1122
c22d05ec1c Added missing license header 2019-05-03 14:15:27 +03:00
dependabot[bot]
ee9eaec9c1 Bump maven-compiler-plugin from 3.8.0 to 3.8.1 in /PlanPluginBridge (#1026)
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.8.0...maven-compiler-plugin-3.8.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-03 13:29:41 +03:00
yukieiji
b500f60bb1 Update locale_JA by yukieiji (#1025) 2019-05-02 17:25:35 +03:00
Rsl1122
3857822233 Fix incorrect not found error when a player was not found 2019-05-02 17:06:22 +03:00
Rsl1122
6e78e9e7ad Better exception handling for DataExtension gathering:
- Any method that causes an exception is temporarily disabled until
  next Plan reload
  - Gathering is attempted again for the rest of the methods of that
    extension
- Exceptions are properly logged instead of just names of the exceptions
2019-05-02 17:01:09 +03:00
dependabot[bot]
41720baf78 Bump net.ltgt.apt from 0.19 to 0.21 in /Plan (#1023)
Bumps net.ltgt.apt from 0.19 to 0.21.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 11:16:51 +03:00
dependabot[bot]
40b531b3da Bump com.jfrog.bintray from 1.8.1 to 1.8.4 in /Plan (#1024)
Bumps com.jfrog.bintray from 1.8.1 to 1.8.4.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 10:59:16 +03:00
dependabot[bot]
1fac64da27 Bump net.ltgt.apt-idea from 0.19 to 0.21 in /Plan (#1022)
Bumps net.ltgt.apt-idea from 0.19 to 0.21.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-01 10:58:35 +03:00
Rsl1122
b9853ac961 Updated bStats from 1.2 to 1.4 2019-04-30 19:12:41 +03:00
Rsl1122
9af59d4d2a Fixed new version of h2 not applying patches properly 2019-04-30 19:12:15 +03:00
Rsl1122
71250c3d65 JSON parser for player table data 2019-04-30 18:36:50 +03:00
Rsl1122
7b5739995e JSONResponse 2019-04-30 15:35:31 +03:00
dependabot[bot]
98cd6bc5e0 Bump mysql-connector-java from 8.0.15 to 8.0.16 in /Plan (#1016)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.15 to 8.0.16.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.15...8.0.16)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 11:08:46 +03:00
dependabot[bot]
5fd7deb389 Bump h2 from 1.4.196 to 1.4.199 in /Plan (#968)
Bumps h2 from 1.4.196 to 1.4.199.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-30 11:07:52 +03:00
Rsl1122
bf30f4b5be [#1019] Exporting of network page
- Exported on enable
- Exported when a server sends a /server page
2019-04-30 10:35:12 +03:00
Rsl1122
0b3dad1d40 Added settings for removal of TPS and Ping data. 2019-04-30 10:22:18 +03:00
Rsl1122
809e821b13 FR locale contributors 2019-04-29 21:12:33 +03:00
Rsl1122
5ccab0ba31 [#1015] Changed FR locale to fix issue 2019-04-29 21:11:04 +03:00
Rsl1122
1a3ca6a445 [#1013] Fix stack graph labels with ' in them 2019-04-29 20:50:58 +03:00