Commit Graph

4142 Commits

Author SHA1 Message Date
Risto Lahtela
f62e76bcf5 Fix plan unregister permission check
- If the permission check was false, due to && the deletion would complete.
  This seems like a thought error when trying to figure out the condition
  for this if clause.

The confusing use of negation was replaced with a more readable
if clause that clearly signifies intent of the check.

Affects issues:
- Fixed #1487
2020-06-19 16:44:00 +03:00
Risto Lahtela
47ef46eb97 Handle null player for PlaceholderAPI
Affects issues:
- Fixed #1493
2020-06-19 16:38:23 +03:00
Risto Lahtela
e0946ebc9d Added missing return statement to InspectCommand
Affects issues:
- Fixed #1494
2020-06-19 16:36:09 +03:00
Risto Lahtela
c5ecc4fbbd Added serverTimezone to default MySQL Launch Options
Affects issues:
- Close #1495
2020-06-19 16:31:42 +03:00
Risto Lahtela
2fa98b4967 Updated error hashing function
- Reduces memory usage by creating a single int instead of StringBuilder.
- Reduces memory usage by reducing new object allocations when building
  readable stacktrace

Affects issues:
- Fixed #1491 (Root cause unknown)
2020-06-19 16:29:53 +03:00
dependabot-preview[bot]
dd99c7cac3 Bump geoip2 from 2.13.1 to 2.14.0 in /Plan
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java) from 2.13.1 to 2.14.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.13.1...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 05:39:07 +00:00
dependabot-preview[bot]
3c5fd14baa Bump com.github.johnrengelman.shadow from 5.2.0 to 6.0.0 in /Plan
Bumps com.github.johnrengelman.shadow from 5.2.0 to 6.0.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 05:38:31 +00:00
Risto Lahtela
7d114d21ce
Removed update notifications for builds 565-600
This is due to issues in the error handling code that could lead to server crashes.
2020-06-14 22:14:36 +03:00
MastoryMd5
9861eadbc9
Updated Italian locale by MastoryMd5 (#1486) 2020-06-07 20:32:45 +03:00
Risto Lahtela
cadcda54d0
Spanish locale update by Elguerrero (#1483, #1484, #1485)
* Update locale_ES.txt (#1483)

I have improved the translation, fixing some small bugs and removing points that did not look good visually.

* Elquerro to contributors (#1484)

* Update Contributors.java

* Update LangCode.java

Co-authored-by: Elguerrero11 <37558093+Elguerrero11@users.noreply.github.com>

* Update LangCode.java

Co-authored-by: Elguerrero11 <37558093+Elguerrero11@users.noreply.github.com>
2020-06-07 14:19:28 +03:00
Risto Lahtela
f76fb73ede
Create PULL_REQUEST_TEMPLATE.md 2020-06-07 13:58:52 +03:00
Risto Lahtela
db6a86a357
Update versions.txt 2020-06-07 13:40:42 +03:00
Risto Lahtela
5894b65280 Fixed a H2 test 2020-06-07 13:35:11 +03:00
Risto Lahtela
9af7d689b2 H2 user and pass field. Deprecated warning.
- Fixes move from h2 to mysql

Affects issues:
- #1472
- Fixed #1111
2020-06-07 13:14:56 +03:00
Risto Lahtela
0186f448c9 Removed some whitespace from SessionPlaceholders.java 2020-06-07 12:55:00 +03:00
Risto Lahtela
9289d78345 Specified driver className
This might solve issues with wrong MySQL driver being used
2020-06-07 12:42:11 +03:00
Risto Lahtela
396b51873c Moved timezone set statement to connection init sql
Affects issues:
- Possibly fixed #1482
2020-06-07 12:41:37 +03:00
Risto Lahtela
fa7827d956 Made after-login redirect relative
Affects issues:
- Fixed #1479
2020-06-07 12:32:25 +03:00
Risto Lahtela
5749f6e7c2 Made logout urls relative
Affects issues:
- #1479
2020-06-07 12:22:58 +03:00
Risto Lahtela
5c2418dae2 Added %plan_sessions_unique_players_today%
Affects issues:
- Fixed #1480
2020-06-07 12:19:20 +03:00
Risto Lahtela
32ace71130 Extension service no longer tries again
Affects issues:
- Fixed #1475
2020-06-07 12:10:35 +03:00
Risto Lahtela
aae8dab7c3 Removed hashing from stacktrace deduplication
Affects issues:
- #1475
2020-06-07 12:09:15 +03:00
Kevin
fe66c2dd63
Update locale_DE.txt (#1477) 2020-06-02 20:01:38 +03:00
dependabot-preview[bot]
7e49fb341e Bump org.sonarqube from 2.8 to 3.0 in /Plan
Bumps org.sonarqube from 2.8 to 3.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 06:12:45 +00:00
Risto Lahtela
6edb52d341 Attempt to fix sonarcloud test coverage 2020-05-30 10:28:08 +03:00
enterih
0410cd126d
More Translation (Update locale_DE) (#1471) 2020-05-30 09:55:51 +03:00
Risto Lahtela
212e9b6bfd
Update versions.txt 2020-05-29 21:22:30 +03:00
Risto Lahtela
29fb686a50 Commented out a test that hung Github Actions for 6h 2020-05-29 20:59:57 +03:00
Risto Lahtela
00d48a7d20 Rename enable0 -> checkForUpdates 2020-05-29 20:49:26 +03:00
Karlatemp
75847e2a0c
Async Version Checking (#1470) 2020-05-29 20:43:05 +03:00
Karlatemp
f6e6cfcb98
Locale patches by Karlatemp (#1468)
* Fix links getting translated.
* Updated translation of CN locale
* Fix translation of `Plan Wiki, Tutorials & Documentation` not working
* Update contributors
* Nothing wrong?

Affects issues:
- Fixed #1463
2020-05-29 20:39:57 +03:00
Karlatemp
2eb99166ac
Security: PRs should not run SonarCloud (#1469) 2020-05-29 11:45:54 +03:00
dependabot-preview[bot]
b24a55efae Bump dagger-compiler from 2.27 to 2.28 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.27 to 2.28.
- [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.27...dagger-2.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 05:53:27 +00:00
dependabot-preview[bot]
8c7611ea1f Bump dagger from 2.27 to 2.28 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.27 to 2.28.
- [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.27...dagger-2.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 05:45:09 +00:00
Risto Lahtela
b9befd66e6
PRs should run Github actions 2020-05-23 21:00:39 +03:00
Risto Lahtela
add1500881 Fixed missing comma in Contributors.java 2020-05-23 20:55:47 +03:00
Kevin
7878392de0
Deutsch locale update by hallo1142 (#1457) 2020-05-23 19:12:00 +03:00
Bill
7210862787
Chinese locale update by Fur_xia (#1456) 2020-05-23 16:40:28 +03:00
Risto Lahtela
a3a023786d
Update versions.txt 2020-05-23 12:53:25 +03:00
Risto Lahtela
2e162aedb0 Added hash to Error files, reduced duplicate lines 2020-05-23 12:13:46 +03:00
Risto Lahtela
15e7d38043 Better method disabling for DataExtension API 2020-05-23 12:13:46 +03:00
Adam Morris
e725cc2086
Fix typo in DefaultServerInfoFile.yml (#1453)
Fix typo
`thread with caution`
to
`tread with caution`
in DefaultServerInfoFile.yml
2020-05-18 17:46:19 +03:00
Risto Lahtela
9572f4492f Remove given register information after 15 min
of closing the page

Affects issues:
- #1446
2020-05-16 09:13:22 +03:00
Risto Lahtela
fb2bf97cc6 Implemented a Hour by Hour graph
- Unique players, New players per hour

Affects issues:
- #1232
2020-05-15 21:48:35 +03:00
Risto Lahtela
93dc1bbb9e
Added more context to errors (#1450)
* Improved Extension errors
* Removed scary reflective operation exception
* Additional context to SQL Exceptions
* Added error context to Listeners
* Added error context to most error logging places
* Ignore cyclomatic complexity of DBOpException

Adds context to almost all error logging situations, except those where it is unknown, or to commands that are being refactored on another branch.

Close #1245
2020-05-15 12:20:29 +03:00
Itaquito
9cd0bcd369
Update locale_ES.txt (#1449) 2020-05-14 17:00:12 +03:00
Risto Lahtela
e53b9f1602 Replace ErrorHandler usage with ErrorLogger
This was done to get deprecation to show up where context is not
given to the error logger.
2020-05-14 16:57:29 +03:00
Risto Lahtela
d09a4016d3 Rewrote error logging code
- The new error logging only creates one log per error and has context
with the error if specified.
- Any duplicate lines in error stacktrace are not taken into account
when hashing to avoid recursive function errors being logged in different
files

Affects issues:
- Close #1246
2020-05-14 12:18:12 +03:00
Risto Lahtela
5fc9980419
Spanish locale update by itaquito (#1447)
Co-authored-by: Itaquito <ichilaquiles@gmail.com>
2020-05-14 10:45:16 +03:00
Risto Lahtela
1a64550b5d
Update versions.txt 2020-05-13 17:38:42 +03:00