Commit Graph

4306 Commits

Author SHA1 Message Date
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
Risto Lahtela
b62bdf2ca3
Chinese locale update by shaokeyibb (#1441) 2020-05-13 10:54:51 +03:00
Saph1s
b304eed197
Update locale_RU.txt (#1442)
Minor changes for better understanding.
2020-05-13 10:54:11 +03:00
Risto Lahtela
2fca94d7bb Increased server list max-height to 85%
Affects issues:
- Possibly fixed #1433
2020-05-13 10:52:53 +03:00
Risto Lahtela
788e6dc195 HEAD response no longer sends response body
Affects issues:
- Fixed #1431
2020-05-13 10:48:03 +03:00
Risto Lahtela
bc7e84677f More socket leak prevention measures just in case 2020-05-13 10:38:06 +03:00
Risto Lahtela
1159f67f28 Decreased default log-file cleanup threshold 2020-05-13 10:32:36 +03:00
Risto Lahtela
235c3d9f54 Implemented cookie expiry in the backend. 2020-05-13 10:30:49 +03:00
Risto Lahtela
99406b961f Manually decode URI parameters
Affects issues:
- Fixed #1444
2020-05-13 10:23:11 +03:00
Risto Lahtela
84b5117e7b Fixed ping graph colors 2020-05-13 10:13:08 +03:00
dependabot-preview[bot]
73147b5f8a Bump HikariCP from 3.4.4 to 3.4.5 in /Plan
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.4 to 3.4.5.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.4...HikariCP-3.4.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 06:00:16 +00:00
Saph1s
0c7510b179 Russian locale by Saph1s (#1440) 2020-05-10 10:15:06 +03:00
Risto Lahtela
f89b4dcf28
Added MySQL to Github Actions (#1438)
- Uses MariaDB setup from https://firefart.at/post/using-mysql-service-with-github-actions/
- Adds optional MYSQL_PORT env variable to test setup
2020-05-09 10:16:05 +03:00
Risto Lahtela
08ea042144 Fixed checkstyle & activity index precision on SQLite 2020-05-09 09:38:43 +03:00
Risto Lahtela
b375661047 Fixed inconsistency issues related to activity index SQL
- Subquery was not returning rows for active playtime of 0, fix: COALESCE
- Union was removing duplicate 0s, replaced with UNION ALL
- Query did not use floating point for calculation

Affects issues:
- Fixed #1388
2020-05-08 20:53:52 +03:00
Risto Lahtela
6ee06d1cf8 Update activity index tests 2020-05-08 18:59:19 +03:00
dependabot-preview[bot]
5ad3511230 Bump HikariCP from 3.4.3 to 3.4.4 in /Plan
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.3 to 3.4.4.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases)
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES)
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.3...HikariCP-3.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-08 05:36:27 +00:00
yukieiji
043edcdfc0
Update locale_JA.txt (#1432)
Improved Japanese translation
2020-05-07 13:54:18 +03:00
Risto Lahtela
5b7687fbc8
Update versions.txt 2020-05-07 11:40:16 +03:00
Risto Lahtela
bf43c7922a Log out user when their user is deleted 2020-05-07 11:32:29 +03:00
Risto Lahtela
1bb3510e4c Fixed teal color not being applied to some table rows when highlighted 2020-05-07 11:31:29 +03:00
Risto Lahtela
a6b98e658e Fixed ${navPluginsTabs} getting replaced with a locale
- Makes plugin tabs accessible again when using locale
- Fixed players.html and error.html for the new sb-admin-2.js behavior
  (tabs need id)

Affects issues:
- Fixed #1409
2020-05-07 11:16:26 +03:00
Risto Lahtela
6b4db32244 Fixed issues in Litebans extension
- Fixed softdepend on Spigot
- Fixed #1355, did not prevent further mistakes like this.
2020-05-07 10:58:45 +03:00
Risto Lahtela
048fa559ff Fixed Average -> Median on player.html 2020-05-06 18:04:54 +03:00
Risto Lahtela
87e82720c2
Chinese locale update by qsefthuopq (#1428) 2020-05-06 17:13:58 +03:00
Risto Lahtela
c8b9a17b0c
Update versions.txt 2020-05-05 13:19:27 +03:00
Risto Lahtela
6da5650b98 Night mode improvements for login page 2020-05-05 11:30:07 +03:00
Risto Lahtela
16adccbba8 Accordions now striped, HighCharts background transparent 2020-05-05 10:57:41 +03:00
Risto Lahtela
8d6302e879 Accordions now striped, HighCharts background transparent 2020-05-05 10:54:52 +03:00
Risto Lahtela
95cd4acb7d Test case against ShutdownSave doing the bad save in #1424
- Rules out ShutdownSave code from the cause of the bug.
2020-05-05 10:23:53 +03:00
Risto Lahtela
b7e1261597 Added a special error case for Brave browser
Affects issues:
- Notifies of #1406 #1425
2020-05-05 10:05:58 +03:00
dependabot-preview[bot]
45d95ad2f3 Bump sqlite-jdbc from 3.30.1 to 3.31.1 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.30.1 to 3.31.1.
- [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.30.1...3.31.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 05:35:20 +00:00
Risto Lahtela
18e8ccca95 Test against one suspected case of #1424 2020-05-04 20:10:02 +03:00
Risto Lahtela
5570a2b938 /plan unregister command
- Fixed tests and other queries not using new web user format.
2020-05-04 11:16:07 +03:00
Risto Lahtela
ea2ae5d3e1 Linked web users to players or console
PageExtension API:
- Added WebUser#getUsername
- Changed WebUser#getName to return player's name or 'console'
- API version 5.1-R0.4
2020-05-03 23:26:01 +03:00
Risto Lahtela
2f282dc7cc Handled unhandled deadlock case for MySQL
Affects issues:
- Fixed #1383
2020-05-03 19:02:54 +03:00
Risto Lahtela
4fc565913c Changed player page session average to median
Affects issues:
- Close #1234
2020-05-03 18:49:20 +03:00