Commit Graph

4128 Commits

Author SHA1 Message Date
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
Risto Lahtela
a44c711ed8 Added Active & AFK time to /plan qinspect command
Affects issues:
- Close #1384
2020-05-03 18:37:26 +03:00
Risto Lahtela
dff96b1728 Implemented session playtime to Query API.
CommonQueries#fetchCurrentSessionPlaytime,
requires Capability#QUERY_API_ACTIVE_SESSION_PLAYTIME

API version increased to v5.1-R0.3

Affects issues:
- #1384
2020-05-03 18:32:55 +03:00
Risto Lahtela
4cca2251a8 Optimized query for activity group graphs
- Removed 5-way union
- Removed 2 nested queries
- Calculated groups with java code from the queried activity index values.

Affects issues:
- Improvement for #1329
2020-05-03 15:18:46 +03:00
Risto Lahtela
68fba31303 Gracefully fail on all buycraft api connection errors
Affects issues:
- Fixed #1410
2020-05-03 12:10:37 +03:00
Risto Lahtela
8f51992d70 Fixed plan_sessions_recent_peak_date placeholder
Affects issues:
- Fixed #1408
2020-05-03 12:04:53 +03:00
Risto Lahtela
fa8e8673b0 Cleaned up sb-admin-2.js code
- Removed redundant for-i loops for readability
- Renamed some variables to be easier to read.
- Removed jquery-easing
- Removed sb-admin-2.min.js (not up to date)
- Fixed an issue with network/server plugins-overview tab id with no data.
- Fixed an issue with player plugins tab id with no data.

Affects issues:
- Fixed #1409
2020-05-03 12:02:17 +03:00
Risto Lahtela
053e497fb5 Fixed build errors:
- Fixed PlaceholderAPI requirement for Bukkit
- Fixed Checkstyle errors
- Commented out some tests that were flaky
2020-05-03 10:12:11 +03:00
Risto Lahtela
3903a266a3
Added Login & Registration pages (#1422)
- Added login.html and register.html
- Added .bg-gradient
- Added logonsine.js for a decoration.
- Added /login, /register, /auth/login, /auth/logout and /auth/register endpoints
- Redirects to /login if cookie not present with auth enabled.
- Basic login functionality using cookies
- Registration page allows new kind of registration that doesn't log passwords on console.
- Fixes a bug with stippets that blocked any cross-plugin modifications (PageExtension API)
- Fixes a typo with css snippet code that made the css not apply (PageExtension API)
2020-05-02 23:31:29 +03:00
Risto Lahtela
3d85a23eb3 Added Creeperface01 as contributor 2020-05-01 10:52:54 +03:00
Risto Lahtela
24af980d39 More cleanup on placeholder classes 2020-05-01 10:49:55 +03:00
Risto Lahtela
4371595ccf Removed static usage from placeholders
- Dagger used to reduce the amount of method parameters.

Affects:
- #1404
2020-05-01 10:49:55 +03:00
Creeperface01
0066813c28 Refactor placeholders and add support for nukkit PlaceholderAPI (#1404)
by Creeperface01
2020-05-01 10:49:54 +03:00
dependabot-preview[bot]
4d09187a66 Bump junit-jupiter-api from 5.6.1 to 5.6.2 in /Plan
Bumps [junit-jupiter-api](https://github.com/junit-team/junit5) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.1...r5.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 05:59:16 +00:00
dependabot-preview[bot]
4e60bb710a Bump junit-jupiter-engine from 5.6.1 to 5.6.2 in /Plan
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.1...r5.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 05:51:03 +00:00
dependabot-preview[bot]
83d071eed5 Bump junit-jupiter-params from 5.6.1 to 5.6.2 in /Plan
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.1...r5.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-01 05:43:10 +00:00
Risto Lahtela
b23a649de7 Spanish locale by Catalina 2020-04-30 22:30:58 +03:00
Risto Lahtela
0405c7b6d0 Outlines & added developStorm as contributor.
- bg-color-outline css classes
- night mode modification for the outline classes
- Removed night mode check from sessionAccordion.js

Affects:
- #1398
2020-04-30 17:01:25 +03:00
Raymond Nook
36a556ce06
Use different color for online/offline sessions (#1398)
* Use different color for online/offline sessions
* Compatible with night mode
2020-04-30 15:09:31 +03:00
dependabot-preview[bot]
4be9cea58b Bump HikariCP from 3.4.2 to 3.4.3 in /Plan
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 3.4.2 to 3.4.3.
- [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.2...HikariCP-3.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 06:12:30 +00:00
dependabot-preview[bot]
9e9fbcb31c Bump mysql-connector-java from 8.0.19 to 8.0.20 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.19 to 8.0.20.
- [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-04-27 06:04:21 +00:00
Risto Lahtela
17029ce1b7
Create question.md 2020-04-21 09:47:49 +03:00
Risto Lahtela
854345654f
Update versions.txt 2020-04-19 12:02:41 +03:00
Risto Lahtela
65ca05a18e Tests to try reproduce #1396 #1388
- Reproduces activity index difference issue
  on H2 randomly.
2020-04-18 10:35:08 +03:00
Risto Lahtela
cbd6d5577a Check if user logged in when resetting bruteforce guard.
Affects issues:
- Fixed #1402
2020-04-14 12:26:37 +03:00
Risto Lahtela
baf6fd1075 Added ISO code for 'Czechia'
Affects issues:
- Fixed #1397
2020-04-13 18:01:36 +03:00
Risto Lahtela
90064d3f33 Stop brute force counter increase on no user/pass
Also removed RequestInternal from use.

Affects issues:
- Fixed #1393
- Fixes random issue where 403 is shown after
  one bad password input and successful login.
2020-04-13 17:53:30 +03:00
Risto Lahtela
d6a7a43428 Made CPU, RAM and Disk gathering async
Affects issues:
- Fixed #1364
2020-04-12 14:26:30 +03:00
dependabot-preview[bot]
d976d9dd10 Bump com.jfrog.bintray from 1.8.4 to 1.8.5 in /Plan
Bumps com.jfrog.bintray from 1.8.4 to 1.8.5.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 05:39:49 +00:00