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
- 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
- Added a back link /server -> /network if on a network
- Added a back link /player -> /server if on a server
- Added a back link /player -> /network if on a network
During testing it was found that:
- MySQL patches are still failing if they failed before (test_sessions
has foreign keys)
- Time.Thresholds.AFK_threshold was empty on fresh install (Leading to
NPE that was prevented)
* Patch#dropTable no longer swallows exceptions
* Made TestRunnableFactory not run anything
* Drop some foreign keys during WorldsOptimization and SessionsOptimization patches (This is the fix)
* Added MySQL to PluginComponentMocker DBSystem
* Enabled the full system on MySQLPatchRegressionTest
* Dropped the database on for each mysql test class to make the
tests independent on each other
Added permissions for the chrome folders in an attempt to fix
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally
Test was failing because travis runs MySQL on 3306 port with root user,
these were default Plan settings. Fixed by removing message expectation
on travis
The tests were failing due to missing Session in the database.
The foreign key checks were not enforced on SQLite so the session was
not being saved previously.
- Session now saved in the 3 tests dependending on it
- Removed empty ignored test method
- Flipped an equals in WorldTimes