Commit Graph

4359 Commits

Author SHA1 Message Date
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
dependabot-preview[bot]
6a07cd5cc9 Bump commons-lang3 from 3.9 to 3.10 in /Plan
Bumps commons-lang3 from 3.9 to 3.10.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 06:04:17 +00:00
Risto Lahtela
e62d190c50
Update versions.txt 2020-03-28 13:39:49 +02:00
Risto Lahtela
4beea6c50f Fixed unfinished RedisBungee setup causing NPE 2020-03-28 13:27:32 +02:00
Risto Lahtela
c96b6c0733 Fixed checkstyle error 2020-03-28 13:24:44 +02:00
Risto Lahtela
8203e85f77 Fixed Customized resource lookup
The method was not looking at the right directory

Affects issues:
- Fixed #1379
2020-03-28 13:16:17 +02:00
Risto Lahtela
74bec0c25f Fail safely on BuyCraft error
Affects issues:
- Fixed #1377
2020-03-28 13:05:53 +02:00
Risto Lahtela
2b0fa41963 Resolved missing placeholders for plugin tabs
Affects issues:
- Fixed #1376
2020-03-28 13:03:17 +02:00
Risto Lahtela
45d6bfb840 Made resource resolution more flexible
- API 5.1-R0.2: Added ResolverService#getResolvers method
- /players/ now redirects to /players
- All error pages now have proper css

Affects issues:
- Fixed #1378
2020-03-28 13:00:34 +02:00
Risto Lahtela
24fc3f665f Fixed /server/Server <bungee id> not redirecting to /network 2020-03-28 12:00:44 +02:00
Risto Lahtela
081f378135 Refactored Address based rules to a class
Affects issues:
- Fixed #1380
2020-03-28 11:51:11 +02:00
Risto Lahtela
278602db36 Made Server identifier query more flexible
Affects issues:
- Possibly fixed #1381
2020-03-28 10:28:13 +02:00
Risto Lahtela
975bb64c4c Added concurrency sort support to ConfigNode
Affects issues:
- Fixed #1382
2020-03-28 10:13:11 +02:00
Risto Lahtela
5bdb49007b
Update versions.txt 2020-03-26 12:51:36 +02:00
Risto Lahtela
0db997c13f Fixed extra plugin tabs not appearing if Overview was unavailable
Affects issues:
- Fixed #1260
2020-03-26 12:34:35 +02:00
Risto Lahtela
43c3596cde Fixed Plan thinking Buycraft Extension was disabled
- Due to assumption that Enabled field existed Buycraft was left disabled

Affects issues:
- Fixed #1351
2020-03-26 12:02:33 +02:00
Risto Lahtela
99885d2381 Fixed ExportPaths concurrency issue with Network exporter 2020-03-26 11:53:33 +02:00
Risto Lahtela
0f8d39d6a2 Caught SQL exception on duplicate insert of user
- Does not treat the root cause, which is two servers not syncronizing for the insert.
- Prevents the error, since the intended SQL has already been executed

Affects issues:
- Fixed #1281
2020-03-26 11:29:52 +02:00
Risto Lahtela
1c1c9fc406 Updated Tebex extension
- Updates the used API URL and Request property name

Affects issues:
- Fixed #1351
2020-03-26 11:22:41 +02:00
Risto Lahtela
6936b6cb54 Fixed backButton placeholder for plugins tabs 2020-03-26 11:15:45 +02:00