Commit Graph

2572 Commits

Author SHA1 Message Date
Rsl1122
a44335709d WorldsTable table structure optimization
- Replaced server_id with server_uuid
2018-12-13 18:38:25 +02:00
Rsl1122
b4089cff28 WorldTimesTable table structure optimization
- Replaced user_id with uuid
- Replaced server_id with server_uuid
2018-12-12 20:57:16 +02:00
Rsl1122
e3b0d8efa8 File watching utility 2018-12-10 19:50:18 +02:00
Rsl1122
858f197e58 Removed original settings sending on /plan m setup 2018-12-10 19:49:15 +02:00
Rsl1122
00a28e283b [#836] Added import command user feedback 2018-12-09 14:20:55 +02:00
Rsl1122
d7dce0ac34 [#834] RegisterCommand error no longer logged
- Added missing rethrow clause to RegisterCommand that caused error meant
  to the user being logged instead.
- Fixed username placeholder replacement to success message
2018-12-09 14:16:21 +02:00
Rsl1122
3f5551ffaa [#837] Prevent NPE related to Processing
Fixed NPE when a null runnable was given to Processing.

This occurs when Geolocation gathering is off and register processing
adds a null instead of the IP processor.
2018-12-09 14:10:04 +02:00
Rsl1122
8161488747 [#777] Configuration format change
- Added a new config updater that can move and remove config values
- Updated the config format to be easier to understand and read.
- Made config updater update old configs to the new format
- Removed Settings enum
- Added generics to Setting, changed from interface to a class
- Created new classes that hold static Setting objects
- Added generics to PlanConfig
- Added PlanConfig#get for getting Setting with generic types.
- Moved config calls made during object initialization,
  possibly eliminating bugs that ignored config settings on first boot
- Added more export settings
- Added JSON Export (#700)
- Fixed Buycraft graph not following Locale setting for timestamps
- Extracted PluginBridge Bridge interface for mocking during tests
2018-12-08 11:44:10 +02:00
dependabot[bot]
82b8cc09df
Bump nucleus-api from 1.6.3-S7.1 to 1.7.0-S7.1 in /PlanPluginBridge (#832) 2018-12-04 13:14:33 +00:00
Risto Lahtela
4c95f695a9
[Merge] Removed dependency on javax.xml.bind.Datatypeconverter (#830) by Miclebrick 2018-12-03 15:11:29 +02:00
miclebrick
adb57c0179 Removed dependency on javax.xml.bind.Datatypeconverter for Base64
javax.xml was removed in recent Java versions, so depending on it breaks
compatibility with servers running on them. The Base64 class is the way
to use Base64 serialization.
2018-12-03 07:43:03 -05:00
Risto Lahtela
33da458a0f
Update versions.txt 2018-12-02 19:33:26 +02:00
Risto Lahtela
2416ce6fee
[Merge] 4.5.2 (#828) 2018-12-02 19:21:40 +02:00
Rsl1122
70753e659f Version bump to 4.5.2 2018-12-02 19:15:22 +02:00
Rsl1122
845b8add38 Improved tps related stat display when not avialable 2018-12-01 13:19:40 +02:00
Rsl1122
4ed65c33d5 [#773] Placeholders to server.html
- freeDiskMinimumDay _Week _Month
- freeDiskMaximumDay _Week _Month
2018-12-01 13:06:01 +02:00
Rsl1122
e9aaab608b [#773] Disk stat placeholders:
- freeDiskAverageDay _Week _Month
- freeDiskMinimumDay _Week _Month
- freeDiskMaximumDay _Week _Month
2018-12-01 12:59:37 +02:00
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