Commit Graph

3224 Commits

Author SHA1 Message Date
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
Rsl1122
27a8ce0052 [#1013] Fix stack graph labels with ' in them 2019-04-29 15:28:39 +03:00
Risto Lahtela
3e8427994d
Update chrome driver version (#1018) 2019-04-29 15:23:56 +03:00
Rsl1122
61f3b81451 Added missing license header 2019-04-29 15:08:15 +03:00
Rsl1122
de8870032e [#1017] Number aggregate query now uses double 2019-04-29 15:08:15 +03:00
Risto Lahtela
0ca4057039
[Merge] French (FR) locale (#1013) by Aurelien
French Translation.
2019-04-25 17:56:45 +03:00
Aurélien
318633a459
Version 1.0.4 of French Translation.
I'm very sorry for all these commits but i'm quite tired and deconcentrated :/
2019-04-25 00:50:58 +02:00
Aurélien
372052613d
Version 1.0.2 of French Translation.
Some corrections...
2019-04-25 00:38:57 +02:00
Aurélien
6a533eaf7e
Version 1.0.1 of French Translation.
Some corrections of plurals.
2019-04-25 00:16:07 +02:00
Aurélien
253187a6d2
Version 1.0 of French Translation.
This translation has been done by adapting the syntax to French language, so, the word order is sometimes different, it's "normal" that translations don't mean anything. Although I have worked for several weeks to adap to French as better as possible, it's possible that there are some mistakes made by me and I apologize for them. If that is the case, I'll correct them as soon as possible. Have a good time :)
2019-04-25 00:08:34 +02:00
Rsl1122
bbb1152cd5 [#1012] Removed ServerProperties#getServerId 2019-04-24 22:16:04 +03:00
Risto Lahtela
1b994a3575
Update versions.txt 2019-04-23 20:00:39 +03:00
Rsl1122
23485310d1 Fixed wrong webserver address in db after enable 2019-04-23 19:51:07 +03:00
Rsl1122
24342947e3 Removed IP Hashes from database 2019-04-23 19:15:55 +03:00