Commit Graph

2598 Commits

Author SHA1 Message Date
Rsl1122
c011bb6be0 Fix empty config values from old config 2019-01-17 11:22:51 +02:00
Rsl1122
1273f26a64 [#877] Test for /player/uuid page 2019-01-17 11:14:15 +02:00
Rsl1122
96d6e301dd [#877] Made player pages accessible via UUIDs 2019-01-17 11:06:51 +02:00
Rsl1122
baca629857 Patch against bad AFKThreshold setting data
Patch that resets AFK time of sessions with afk time of length of
the session to 0.

This is a bug remedy patch that attempts to turn "bad" afk data to good.
In 4.5.2 there was a bug that caused some config setting defaults not
being copied, along those AFKThreshold setting,
which lead to AFK threshold being read as 0.
This in turn lead to full sessions being regarded as having been AFK.
2019-01-17 11:00:20 +02:00
Rsl1122
d6ef6ec566 [#861] server-network config system now stores last modified date instead
This prevents unnecessary config update after it is saved into the db
2019-01-17 10:44:44 +02:00
Rsl1122
88fd623718 Memory debug logging now based on config setting 2019-01-17 10:37:54 +02:00
Rsl1122
11dc8cab0d Updated AbstractPluginFramework to 3.4.1 2019-01-17 10:33:18 +02:00
Rsl1122
b9dd21609d Fixed Task related Exceptions on ShutdownHook 2019-01-14 18:19:54 +02:00
dependabot[bot]
b0562b5fb0
Bump nucleus-api from 1.8.1-S7.1 to 1.8.2-S7.1 in /PlanPluginBridge (#879) 2019-01-14 12:29:25 +00:00
Rsl1122
4767de6687 [#860] Fixed MySQL errno 150
Fixed by disabling foreign key checks before applying patches and
enabling afterwards.

Error was caused by re-creation of plan_sessions table during
plan_world_times creation (This was done by the database engine),
but plan_sessions was referenced by temp_world_times and so could not
be recreated as those references would become invalid.
2019-01-12 14:25:17 +02:00
Rsl1122
8edc621761 Task for network to update configs in database on boot 2019-01-12 13:25:01 +02:00
Rsl1122
c6c24f8c0f [#875] Fix gradle build encoding 2019-01-12 13:01:04 +02:00
Rsl1122
dbe54f918b Delayed database index creation by a minute
This is to prevent issues with possible patching that is going on.
2019-01-10 14:23:55 +02:00
Rsl1122
fd22735084 Started using index creation task 2019-01-10 14:21:33 +02:00
Rsl1122
84b723a44a Missing license to CreateIndexTask 2019-01-10 14:18:59 +02:00
Rsl1122
c8e98e6caa DB Index Creation Task + test (Not used yet) 2019-01-10 14:11:26 +02:00
Rsl1122
76068ea6f8 [#876] Corrected /planbungee setup message 2019-01-10 13:14:00 +02:00
Rsl1122
7a47da4319 Fixed SLF4J no-op logger not shading 2019-01-08 21:36:13 +02:00
Rsl1122
57ddf070d2 [#777] Fixed network-server config file updating
TimeUnit.MINUTES was used where MILLISECONDS was appropriate,
the task would have ran once every 1000 hours instead of 1 minute.
2019-01-08 21:31:10 +02:00
Rsl1122
5d0f03c4c1 Fixed javadoc compile errors 2019-01-08 17:55:15 +02:00
Rsl1122
70dca38281 Fixed an error causing typo in UserInfoTable 2019-01-08 17:46:53 +02:00
Rsl1122
e5138d8ec7 [#874] Fixed config read case when key is empty 2019-01-08 17:28:20 +02:00
Rsl1122
d9a994c8e8 Update PlanPluginBridge version 2019-01-08 14:25:04 +02:00
Rsl1122
c3534042dd [#841] Attempt to prevent NPE related to GriefPrevention 2019-01-08 14:20:45 +02:00
Rsl1122
193ed783ff More tests against config update issues 2019-01-08 13:58:48 +02:00
Rsl1122
f80faef760 Rename final artifact to 'Plan' instead of 'plugin' 2019-01-08 13:27:08 +02:00
Rsl1122
a59e5d65ea Fixed "async task can't be called from server thread"
This exception occurred at least on Bukkit.
2019-01-08 11:18:10 +02:00
Rsl1122
f05108fe63 Fixed NPE on PlayersPage if Export is enabled 2019-01-08 11:15:47 +02:00
Rsl1122
ab99ed1976 Fixed compile warning in PluginPlayersTable 2019-01-08 11:10:50 +02:00
Rsl1122
2b4281ee53 Fixed ConfigNode#remove ConcurrentModificationException 2019-01-08 11:06:36 +02:00
Rsl1122
c4a0e18dd9 Fixed ConcurrentModification on ConfigNode#remove 2019-01-06 21:42:07 +02:00
Rsl1122
517c7f4498 Missing license header to ConfigUpdaterTest 2019-01-06 13:54:04 +02:00
Rsl1122
e7b9147042 Removed uses of ThreadRunnableFactory in tests 2019-01-06 13:48:38 +02:00
Rsl1122
7b0a178f70 ConfigNode#remove now recursively removes the children
This is to avoid memory leaks from removals
2019-01-06 13:48:18 +02:00
Rsl1122
23c32d00b8 Test for ConfigUpdater regressions 2019-01-06 13:43:28 +02:00
Rsl1122
d0df3e3fcf Simplified ConfigNode#moveChild 2019-01-06 13:43:02 +02:00
Rsl1122
ed67e0763d Renamed DB Patch regression test classes 2019-01-06 13:04:51 +02:00
Rsl1122
9f387290ba Smell: unused method parameter 2019-01-06 12:48:49 +02:00
Rsl1122
ca5eed979a Smell: duplicated implementation 2019-01-06 12:47:32 +02:00
Rsl1122
4cac329733 Smell: accessible constructor 2019-01-06 12:46:56 +02:00
Rsl1122
697f385814 Smell: duplicated "signal" string literal 2019-01-06 12:45:38 +02:00
Rsl1122
6b7e9c1132 Closed some ConfigReaders appropriately 2019-01-06 12:32:06 +02:00
Rsl1122
55e123f309 More tests for ConfigNode#moveChild 2019-01-06 11:31:45 +02:00
Rsl1122
2ef83ad99e Cleaned up ConfigWriter code 2019-01-06 11:15:11 +02:00
Rsl1122
fdaefd7e64 Cleaned up ConfigReader code 2019-01-06 11:07:19 +02:00
Rsl1122
0dd3af9a68 ConfigNode copy now preserves the original properly
Fixed a possible future issue where tree up-traversal is broken
if a node in a tree is passed to a copy operation.
This was because the parent node was updated in the process of copy if
no old node was present.

Fixed by creating a new node when copying instead of reusing the
object being copied
2019-01-05 20:21:10 +02:00
Rsl1122
f6384a49a4 Fix typo in query 2019-01-05 18:26:34 +02:00
Rsl1122
ad85bc385a Rewrote foreign key drop code in Patch 2019-01-05 18:21:23 +02:00
Rsl1122
1669e5ca56 [#822] Flipped condition
- "Active Players might be running out of things to do" was flipped due
  to the condition being flipped.
2019-01-05 18:00:24 +02:00
Rsl1122
b1746c5dab [#483] 'Display_options.Open_player_links_in_new_tab'
- Added a config setting for /player links opening in new tab, defaults
  to false. Only exists in case someone wants to have previous behavior
- Changed Player table links to follow the setting, some plugin links
  may still use the "wrong" link
2019-01-05 12:08:26 +02:00