Commit Graph

4387 Commits

Author SHA1 Message Date
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
Rsl1122
19c904d047 Fix navigation menu buttons changing tab
Better fix

Affects:
- Note #1617
2020-10-20 16:43:26 +03:00
Rsl1122
f46418d1f9 Fix navigation menu buttons changing tab
Affects:
- Note #1617
2020-10-20 16:32:52 +03:00
Anton Lazarev
8e1f79f537
Remove special error case for Brave browser (#1618)
Reverts b7e1261597
2020-10-20 08:37:02 +03:00
dependabot-preview[bot]
fb21124c9e Bump mockito-junit-jupiter from 3.5.13 to 3.5.15 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.5.13 to 3.5.15.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.13...v3.5.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 05:32:37 +00:00
dependabot-preview[bot]
55de713814 Bump mockito-core from 3.5.13 to 3.5.15 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.5.13 to 3.5.15.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.13...v3.5.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 05:24:05 +00:00
FluxCapacitor
5ab0e8ffdb
Prevent adding new history entries when switching tabs. (#1617)
Affects issues:
- Close #1318
2020-10-19 21:49:38 +03:00
FluxCapacitor
d0491a0dec
Allow setting night mode (and other themes) by default in theme.yml (#1612)
- Also fixes default color not being applied from theme.yml

Affects issues:
- Close  #1274
2020-10-19 09:03:32 +03:00
dependabot-preview[bot]
8565578a88 Bump mysql-connector-java from 8.0.21 to 8.0.22 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.21 to 8.0.22.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 05:28:10 +00:00
FluxCapacitor
7569e417ab
Update to FullCalendar 5 (#1611) 2020-10-17 14:27:16 +03:00
Risto Lahtela
1a19a6b042 Updated mcMMO extension
Affects issues:
- Close #1242
2020-10-15 22:10:08 +03:00
Risto Lahtela
64b005ccc8 Registered Floodgate extension
Affects issues:
- #1590
2020-10-15 22:06:42 +03:00
FluxCapacitor
0ac5ad6f23
Send no response body when the response status code is 204. (#1610)
Affects issues:
- Fixed #1605
2020-10-15 21:03:13 +03:00
dependabot-preview[bot]
f6b4c29589 Bump geoip2 from 2.14.0 to 2.15.0 in /Plan
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.14.0...v2.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 05:25:28 +00:00
Henri S
69181272a9
Fix use of appendLegacy not working on 1.8 (#1603)
Closes https://github.com/plan-player-analytics/Plan/issues/1600
2020-10-12 21:38:25 +03:00
FluxCapacitor
01217e43ea
Disallow robots on Plan pages by FluxCapacitor2 (#1601)
Add robots.txt, X-Robots-Tag header, and <meta> tags disallowing spiders from indexing Plan pages.

Affects issues:
- Close #1575
2020-10-12 19:51:25 +03:00
Risto Lahtela
1f5ec9ee75
Update versions.txt 2020-10-12 10:52:58 +03:00
Risto Lahtela
eedd432994 Relocated apache packages later
Affects issues:
- Fixed #1598
2020-10-12 10:36:15 +03:00
Risto Lahtela
006b74e7fc
Update versions.txt 2020-10-11 16:18:17 +03:00
Risto Lahtela
20f7007615 Added 'Enter' keydown listener to login page
Affects issues:
- Close #1557
2020-10-11 15:25:34 +03:00
Risto Lahtela
579d99bc6c Removed IP2C Geolocator that has not worked for a long time 2020-10-11 15:14:17 +03:00
Risto Lahtela
12a264b1ea Made API Services volatile to avoid thread visibility issues 2020-10-11 15:12:26 +03:00
Risto Lahtela
96b9ad8f9b
Merge pull request #1596 from plan-player-analytics/command-ux
Affects issues:
- Close #1427
2020-10-11 15:07:28 +03:00
Risto Lahtela
4f839b913c Fixed checkstyle error 2020-10-11 15:05:46 +03:00
Risto Lahtela
fa3a42aba8 Refresh locale files 2020-10-11 15:04:10 +03:00
Risto Lahtela
58e674badb Fixed velocity builder using wrong method for appending 2020-10-11 14:53:21 +03:00
Risto Lahtela
5a64799e5e Fixed a bunch of formatting issues 2020-10-11 14:31:37 +03:00
dependabot-preview[bot]
7a50436997 Bump com.github.johnrengelman.shadow from 6.0.0 to 6.1.0 in /Plan
Bumps com.github.johnrengelman.shadow from 6.0.0 to 6.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 05:25:44 +00:00
dependabot-preview[bot]
bb16844f46 Bump httpclient from 4.5.12 to 4.5.13 in /Plan
Bumps httpclient from 4.5.12 to 4.5.13.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 05:25:32 +00:00