Commit Graph

4365 Commits

Author SHA1 Message Date
Risto Lahtela
47633cad37 Updated javadoc for database Patches 2021-01-01 11:31:40 +02:00
Risto Lahtela
9b692480da Patch proxy server detection
- Added a field is_proxy to plan_servers
  - Patch to populate the new field
  - Field is set to true when proxy enables to fix any broken data
  - Allows any name for a proxy
- Updated server save queries
- Changed isProxy method in Server.java to match the change
- Changed query for fetching the proxy server

Affects issues:
- Close #1678
2021-01-01 11:26:07 +02:00
Risto Lahtela
7f8fd7d235 Bump version to 5.2 2021-01-01 10:24:10 +02:00
Risto Lahtela
49868ee590 Added SQLite support for Nukkit
Affects issues:
- Close #1472
2021-01-01 10:22:50 +02:00
Risto Lahtela
3ce068e332 Removed unused WebUserComparator 2021-01-01 10:00:38 +02:00
Risto Lahtela
c8fb39ada5 Replaced TaskSystem implementations with dagger modules
- Removes the need for duplicate code in 5 places in charge of registering
  the tasks for different platforms, as all the delays were the same too.

Affects issues:
- Close #1387
2021-01-01 10:00:38 +02:00
Risto Lahtela
68ce65b4d5 Moved some abstraction of ImporterSystem to Dagger
Removes 2 unnecessary classes
2021-01-01 10:00:37 +02:00
Risto Lahtela
a6a606494d PlayerKill now supports killer UUID 2021-01-01 10:00:36 +02:00
Risto Lahtela
6292ef5f4d Extracted TestSettings utility 2021-01-01 10:00:36 +02:00
Risto Lahtela
d402b1c832 Refactored table html rendering classes away from TableContainer
TableContainer is deprecated and this has been on the todo list for a while
2021-01-01 10:00:35 +02:00
Risto Lahtela
35ca5a8560 Add possibility to query directly via service 2021-01-01 10:00:35 +02:00
Risto Lahtela
24b6669c7d DataService implementation from another branch 2021-01-01 10:00:34 +02:00
Risto Lahtela
fc543e165c
Removed email for a deleted account 2020-12-22 11:40:16 +02:00
dependabot-preview[bot]
a1ec0f2ac5 Bump sqlite-jdbc from 3.32.3.3 to 3.34.0 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.32.3.3 to 3.34.0.
- [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.32.3.3...3.34.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-11 05:24:25 +00:00
dependabot-preview[bot]
94a9994f03 Bump sqlite-jdbc from 3.32.3.2 to 3.32.3.3 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.32.3.2 to 3.32.3.3.
- [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.32.3.2...3.32.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 05:26:50 +00:00
Risto Lahtela
d7fbe37cef
Korean Locale by Guinness_Akihiko (#1668)
* Add files via upload
* Update LangCode.java
* Update Contributors.java
2020-12-08 18:03:03 +02:00
dependabot-preview[bot]
6e80bb6e7d Bump mockito-core from 3.6.0 to 3.6.28 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.6.0 to 3.6.28.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 05:35:46 +00:00
dependabot-preview[bot]
7be4fd5d61 Bump mockito-junit-jupiter from 3.6.0 to 3.6.28 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.6.0 to 3.6.28.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 05:26:36 +00:00
dependabot-preview[bot]
d6b5cd04d2 Bump dagger-compiler from 2.30 to 2.30.1 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.30 to 2.30.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.30...dagger-2.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 05:35:59 +00:00
dependabot-preview[bot]
cb00f20249 Bump dagger from 2.30 to 2.30.1 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.30 to 2.30.1.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.30...dagger-2.30.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 05:26:16 +00:00
dependabot-preview[bot]
46304e9258 Bump dagger-compiler from 2.29.1 to 2.30 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.29.1 to 2.30.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 05:48:54 +00:00
dependabot-preview[bot]
774faf1397 Bump dagger from 2.29.1 to 2.30 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.29.1 to 2.30.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.29.1...dagger-2.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 05:38:59 +00:00
Risto Lahtela
d06a8845ae
Update versions.txt 2020-11-18 09:36:56 +02:00
Risto Lahtela
87fd3b0762 Fixed Server ID not being stored in ServerInfoFile.yml 2020-11-18 09:19:46 +02:00
yukieiji
9eb641b5ef
Update locale_JA.txt (#1647)
Co-authored-by: yukieiji <yukieiji@users.noreply.github.com>
2020-11-18 09:08:06 +02:00
Risto Lahtela
c77c3558f5
Update versions.txt 2020-11-17 21:11:59 +02:00
Risto Lahtela
efe605b8a5 Fixed Plan not enabling on proxies on 2nd enable 2020-11-17 21:00:41 +02:00
Risto Lahtela
a078609dc1
Update versions.txt 2020-11-17 15:49:15 +02:00
Risto Lahtela
b6fc4817f5 Fixed the tests 2020-11-17 15:23:25 +02:00
Rsl1122
6effdbec39 Full System no longer required for database tests
- Extracted ErrorLogger interface
- Created a new Component for Database tests
- Added TestAPFModule and TestSystemObjectBindingModule
- Database tests no longer enable the full system

Affects issues:
- Close #1401
2020-11-08 11:46:44 +02:00
Rsl1122
c8f1585ee1 Removed PlanPlugin dependency from PlanFiles
Small steps to construct smaller parts of
PlanSystem in tests.
2020-11-07 13:51:25 +02:00
Rsl1122
912850f1ab Fixed in-game links not working in 1.8 2020-11-07 13:25:15 +02:00
Risto Lahtela
a9fa739c2a Fix checkstyle errors 2020-11-06 11:25:01 +02:00
Risto Lahtela
596efd6294 Updated mcMMO extension 2020-11-06 11:18:56 +02:00
Risto Lahtela
67b1b64076 Updated Floodgate Extension
Affects issues:
- Fixed #1630
2020-11-06 10:40:35 +02:00
Risto Lahtela
572cf0cb6d Wrote a compatibility method for 1.8
Affects issues:
- Fixed #1600
2020-11-06 10:32:33 +02:00
Risto Lahtela
7420e46df2 Fixed SonarCloud code smells
- Redundancies:
  - MySQLDB: Removed null check
  - DeathEventListener: Removed warning suppression
  - several Test classes: Removed public class identifier
  - Unused private fields
- Constructors of abstract classes should be protected x31
- Added missing Parameterized types x2
- "throws" declerations for runtime EnableException
- Prevented Boxed Boolean from causing NPE in the future x15
- Renamed lesser scope variables that were hiding variables x12

- Some smaller ones that I was too tired to write down
2020-11-05 23:16:01 +02:00
Risto Lahtela
e6f879783d Made a bunch of API holders use AtomicReference 2020-11-05 21:58:31 +02:00
Risto Lahtela
12971b30ba Fixed /help causing NPE on Sponge
Affects issues:
- Fixed #1639
2020-11-05 20:21:20 +02:00
Risto Lahtela
7fb9691bf8 Fixed /help causing NPE on Sponge
Affects issues:
- Fixed #1639
2020-11-05 20:20:43 +02:00
Risto Lahtela
e13516b43c Rewrote the way server information is loaded on enable
- The UUID of the server (and other info) is stored in a file
  on Proxy servers as well to speed up loading time.
- The information is stored in two places, with preference for the info in
  the file. The information is updated after the plugin has enabled.

This opens a possibility for a bug, where user changes UUID inside
Bungee file, leading to the Bungee storing a second BungeeCord entry to
the database. This can lead to issues. If this comes up the file
can be changed to different format (to deter users from modifying it manually)

Affects issues:
- Close #1247
  - Fixed #1478
  - Fixed #1496
  - Fixed #1637
2020-11-05 20:17:48 +02:00
Shadowhacker
0e4529dcd6
Update locale_CS.txt (#1633)
Update and some changes
2020-11-02 13:33:23 +02:00
Risto Lahtela
5e506db183
Update versions.txt 2020-10-27 09:33:53 +02:00
dependabot-preview[bot]
1acf524b99 Bump mockito-junit-jupiter from 3.5.15 to 3.6.0 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.5.15 to 3.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.15...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 05:35:54 +00:00
dependabot-preview[bot]
3bdd41a7c9 Bump mockito-core from 3.5.15 to 3.6.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.5.15 to 3.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.15...v3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 05:26:48 +00:00
Risto Lahtela
e8a9fb0c03 Changed error message for failed registration 2020-10-25 21:43:08 +02:00
Risto Lahtela
fedf8a953a Fixed db move command clearing the wrong database
Affects issues:
- Fixed #1602
2020-10-25 21:40:11 +02:00
Risto Lahtela
89abdae4c8 Added SameSite policy Lax and Secure to all cookies
Affects issues:
- Close #1609
2020-10-25 21:38:17 +02:00
Risto Lahtela
e2043715d2 Fix String replacement for player links inside exported JSON
Issue was the JSON escape adding \/ so the replacer did not find
../player as it was ..\/player instead

Affects issues:
- Fixed #1593
2020-10-25 21:33:15 +02:00
Risto Lahtela
b37edf78fc Removed scroll to top button
Affects issues:
- Close #1621 (Buggy button removed)
2020-10-25 21:22:28 +02:00