Commit Graph

3401 Commits

Author SHA1 Message Date
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
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