Commit Graph

2705 Commits

Author SHA1 Message Date
Rsl1122
12272f3d25 [#773] TPS mutation methods:
- Average free disk space
- Max free disk space
- Min free disk space
2018-12-01 12:36:20 +02:00
Rsl1122
25342920e8 PlanPlugin mocking 2018-11-28 10:40:33 +02:00
Rsl1122
f0deb1ce20 Test clean-up with ComponentMocker class rules 2018-11-26 11:02:18 +02:00
Rsl1122
b9fa29544d [#820] Regression tests using Selenium
- Added Selenium test dependency
- Added Awaitility test dependency
- Added SeleniumDriver junit Rule that uses Chrome WebDriver
- Added all web files to Mocker in withPluginFiles()
- Added JSErrorRegressionTest
- Fixed Debug page error when testing
- Fixed BukkitTaskSystem error during tests
- Fixed missing demo.js from HtmlExport

These tests should prevent most issues of broken page in the future.
2018-11-25 19:11:24 +02:00
Rsl1122
7e2ff40898 [#820] Reverted plugin js changes done by IntelliJ IDEA 2018-11-25 09:20:42 +02:00
dependabot[bot]
059520795f
Bump mockito-core from 2.23.0 to 2.23.4 in /Plan (#819) 2018-11-21 13:12:51 +00:00
Rsl1122
7b58136714 [#745] Removed empty PluginData boxes
Empty box for some PluginData was displayed if only Player table values
were present (Plugins/Player Data tab)

This was because at some point there was confusion about the integration
not working as intended. If the confusion arises again, I'll figure
something else out, but it'll most likely mean adding values to empty
PluginData rather than displaying empty box.
2018-11-21 10:39:07 +02:00
Rsl1122
78297c1ab3 [#812] Fix SQL syntax error on standalone Bungee 2018-11-21 10:07:05 +02:00
Rsl1122
87a2d70aa9 [#815] Fix import system not being enabled 2018-11-21 10:02:57 +02:00
Rsl1122
9aa0f0865d Removed pluginbridge jar from the repository and travis scripts 2018-11-17 11:47:05 +02:00
Rsl1122
374d4fefaa [#764] Bintray for PlanPluginBridge hosting 2018-11-17 11:45:23 +02:00
Rsl1122
024c0ca9bb Distribution management for PlanPluginBridge 2018-11-17 11:42:01 +02:00
Risto Lahtela
abacdee688
settings.xml to .gitignore 2018-11-17 11:17:31 +02:00
Rsl1122
06565c0c83 Fixed some code smells:
- private constructor for DebugChannels, RedisCheck, VersionInfoLoader
- shortened RedisCheck code to use Check
- InfoRequests delegation instead of extension of HashMap to avoid
  serialization issues.
- Moved InfoRequestHandlerFactory inside InfoRequestFactory.Handlers
  to avoid duplicate constructor and variable pointers.
  - Removed Lazy call to itself from the constructor
- equals+hashcode to StackDataSet, ErrorResponse
- Refactored a while loop in VersionInfoLoader to not have two continue
  statements
2018-11-16 21:02:05 +02:00
Rsl1122
40585d70b2 Removed volatile from MySQL dataSource
Made getConnection synchronized on MySQL
2018-11-16 19:27:04 +02:00
Rsl1122
ffa04f1b9f Fixed various code smells
- Replaced all uses of boxed primitive type Suppliers with specialized
  suppliers Eg. Supplier<Integer> with IntSupplier
- Replaced uses of CharSet.forName("UTF-8") with StandardCharsets.UTF-8
- Removed Class.forName("org.h2.Driver") as this check is not required
  since JDBC drivers in the classpath are always loaded since JDK 6.
2018-11-16 19:24:19 +02:00
dependabot[bot]
4be6fec077
Bump maven-compiler-plugin from 3.7.0 to 3.8.0 in /PlanPluginBridge (#811) 2018-11-13 09:14:37 +00:00
Risto Lahtela
624dff6f95
Attempt to fix File exist detection 2018-11-12 21:48:33 +02:00
dependabot[bot]
8386ed37a6
Bump jacoco-maven-plugin from 0.7.9 to 0.8.2 in /PlanPluginBridge (#810) 2018-11-12 19:40:26 +00:00
Rsl1122
59dcbe3ad5 Update .travis.yml 2018-11-12 15:52:51 +02:00
Rsl1122
d805f5665a Run scripts using bash to avoid file permission issues 2018-11-12 15:51:00 +02:00
Rsl1122
ab3833df91 Travis configuration changes
Created bash scripts for different steps and added them as jobs for travis to execute.

Begun preparing system testing: Goal is enabling actual servers with the plugin to see if it enables
2018-11-12 15:46:41 +02:00
dependabot[bot]
a281d67fc2
Merge pull request #799 from Rsl1122/dependabot/maven/PlanPluginBridge/development/org.apache.commons-commons-text-1.6 2018-11-12 06:52:47 +00:00
dependabot[bot]
2056474c17
Merge pull request #809 from Rsl1122/dependabot/maven/Plan/bukkit/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:52:19 +00:00
dependabot[bot]
23226b8aff
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/bukkit
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 06:47:59 +00:00
dependabot[bot]
fd6fae091b
Merge pull request #800 from Rsl1122/dependabot/maven/Plan/development/org.apache.maven.plugins-maven-compiler-plugin-3.8.0 2018-11-12 06:46:08 +00:00
dependabot[bot]
f3cb6866fb
Merge pull request #801 from Rsl1122/dependabot/maven/Plan/development/org.jacoco-jacoco-maven-plugin-0.8.2 2018-11-12 06:45:20 +00:00
dependabot[bot]
007d5019e7
Merge pull request #802 from Rsl1122/dependabot/maven/Plan/development/org.apache.maven.plugins-maven-jar-plugin-3.1.0 2018-11-12 06:44:25 +00:00
dependabot[bot]
8bb1361bbc
Merge pull request #803 from Rsl1122/dependabot/maven/Plan/development/org.xerial-sqlite-jdbc-3.25.2 2018-11-12 06:43:54 +00:00
dependabot[bot]
3b7c4b7f07
Merge pull request #804 from Rsl1122/dependabot/maven/Plan/plugin/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:42:48 +00:00
dependabot[bot]
8ea1b36f0e
Merge pull request #805 from Rsl1122/dependabot/maven/Plan/common/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:42:02 +00:00
dependabot[bot]
0b7249b3be
Merge pull request #806 from Rsl1122/dependabot/maven/Plan/sponge/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:41:34 +00:00
dependabot[bot]
f07d1ddf40
Merge pull request #807 from Rsl1122/dependabot/maven/Plan/velocity/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:40:53 +00:00
dependabot[bot]
7ff547eedf
Merge pull request #808 from Rsl1122/dependabot/maven/Plan/bungeecord/development/org.apache.maven.plugins-maven-shade-plugin-3.2.1 2018-11-12 06:39:48 +00:00
dependabot[bot]
d924d2e65b
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/bungeecord
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 06:10:24 +00:00
dependabot[bot]
15f42a203e
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/velocity
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 06:09:17 +00:00
dependabot[bot]
52a2b5cdad
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/sponge
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 06:07:53 +00:00
dependabot[bot]
3abd2ef0b8
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/common
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 06:05:33 +00:00
dependabot[bot]
16cc098b2c
Bump maven-shade-plugin from 3.2.0 to 3.2.1 in /Plan/plugin
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.0...maven-shade-plugin-3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:48:50 +00:00
dependabot[bot]
ea2768a979
Bump sqlite-jdbc from 3.23.1 to 3.25.2 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.23.1 to 3.25.2.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.23.1...3.25.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:44:52 +00:00
dependabot[bot]
a1609df5df
Bump maven-jar-plugin from 3.0.2 to 3.1.0 in /Plan
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.0.2...maven-jar-plugin-3.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:44:46 +00:00
dependabot[bot]
fbc0cecba2
Bump jacoco-maven-plugin from 0.8.0 to 0.8.2 in /Plan
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.0 to 0.8.2.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.0...v0.8.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:38:33 +00:00
dependabot[bot]
07dda3c09d
Bump maven-compiler-plugin from 3.7.0 to 3.8.0 in /Plan
Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.7.0...maven-compiler-plugin-3.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:37:37 +00:00
dependabot[bot]
78ea829683
Bump commons-text from 1.3 to 1.6 in /PlanPluginBridge
Bumps commons-text from 1.3 to 1.6.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-12 05:36:00 +00:00
Rsl1122
95bd33e3c4 Commented on empty blocks 2018-11-11 21:38:27 +02:00
Rsl1122
61016e1fef DBType enum constant name format 2018-11-11 21:22:37 +02:00
Rsl1122
d9cc79814f Made PlanSponge use PluginLogger on enable 2018-11-11 21:19:15 +02:00
Rsl1122
bfd0cb4957 Removed duplicate class variable in ServerInfoSystem
logger is already defined in InfoSystem
2018-11-11 21:17:42 +02:00
Rsl1122
9801aa584b Simplified TPSBuilder
Removed nested classes that created an inheritance tree 9 deep.
2018-11-11 21:14:49 +02:00
Rsl1122
bdd4d4c333 Removed duplicated code: PlanProxyCommand
PlanBungeeCommand and PlanVelocityCommand were the same, and should
stay the same, with exception of the name.
So new module that defines the name of the main command was created and
now the duplicate code could be removed.
2018-11-11 21:09:22 +02:00