Commit Graph

4962 Commits

Author SHA1 Message Date
Antti Koponen
aa1a35f794
Add a list of servers to the navbar (#1805)
Affects issues:
- Close #1790
2021-03-19 12:25:55 +02:00
Antti Koponen
428331de5b
Fixed URL hash handling with graph tabs (#1803)
Affects issues:
- Fixed 1736
2021-03-19 09:48:42 +02:00
Risto Lahtela
3ca98bb634 Enabled ExtensionsDatabaseTest again
Might hang in Github Actions, but remains to be seen if changes to
testing environment have fixed the test hanging
2021-03-18 11:27:45 +02:00
Risto Lahtela
7906126b5e Made fetchUserInformationOfUser return a Set instead of List
Fixes tests where there was some order-dependent stuff.
2021-03-18 10:15:39 +02:00
Antti Koponen
477c547c51
Fix page loader centering (#1802)
Affects issues:
- Fixed #1783
2021-03-18 09:25:50 +02:00
Risto Lahtela
aa25f2ff07 Fix issues caused by lowercasing of the join addresses 2021-03-17 16:19:26 +02:00
Risto Lahtela
ff679d626d Lowercase join addresses in the pie 2021-03-17 16:15:00 +02:00
Risto Lahtela
36bb989d7c Fixed network join address pie having duplicated address numbers
This would happen if player joined two game servers on a network
2021-03-17 16:11:15 +02:00
Risto Lahtela
7f2b23e711
Update versions.txt 2021-03-17 13:26:58 +02:00
Risto Lahtela
2f240bd7d9 Moved join address pie further down on server page 2021-03-17 11:42:26 +02:00
Risto Lahtela
0e8b8315a2 Use last index of : instead of first to remove port 2021-03-17 11:31:57 +02:00
Risto Lahtela
2bc15db6d0 Sort out player join address things
Applied some thought to how this stuff should work.
- nulls now possible in the column when value is not available
- Called "Join addresses" instead of hostnames
- Remove bogus data with a patch

- Proper hostname method for spigot
- Removed method calls from nukkit since there was nothing that sounded
  proper

Affects:
- Close #1798 (Copied all code over)
2021-03-17 11:31:27 +02:00
Risto Lahtela
443cb65274
Update versions.txt 2021-03-16 19:06:12 +02:00
Risto Lahtela
3711f0ca60 Fixed stackoverflow error 2021-03-16 18:30:12 +02:00
Risto Lahtela
62da72e6f1 Use paper method when available for hostname 2021-03-16 17:47:26 +02:00
Risto Lahtela
0ba6ff3d70 Update Host name every time player logs in 2021-03-16 17:40:48 +02:00
Risto Lahtela
316c973114
Fix html updating 2021-03-16 13:23:12 +02:00
Risto Lahtela
df50c10758
Update versions.txt 2021-03-16 13:19:52 +02:00
Risto Lahtela
2e753516e2 Revert changes to URIPathTest.java 2021-03-16 11:36:45 +02:00
Risto Lahtela
1c8fa4c18e Removed parameterized test names 2021-03-16 11:29:55 +02:00
Risto Lahtela
ebffd886fe Fixed parameterized test errors 2021-03-16 10:51:46 +02:00
Risto Lahtela
baab6e5f88 Fixing sonarcloud bugs and smells
Bugs fixed:
- LinkCommands: The return value of "orElseThrow" must be used.
- RegistrationCommands: Optional isPresent not same instance as Optional get

Smells fixed:
- Plan: "logger" is the name of a field in "JavaPlugin"
- PlayersTableJSONCreator: Reduce the total number of break and continue statements in this loop to use at most one.
- BukkitAFKListener, SpongeAFKListener, NukkitAFKListener, PlanAPI, CapabilityService: match the regular expression '^[a-z][a-zA-Z0-9]*$'
- TaskSystem: Reorder the modifiers to comply with the Java Language Specification.
- EntityNameFormatter: StringUtils.removeAll moved to RegExUtils.removeAll
- FiltersJSONResolver: fulfill compareTo contract
- ExportTask: Removed duplicate string literal
- FinishedSession.Id: Rename field "id"
2021-03-16 10:41:17 +02:00
Risto Lahtela
c54c3ce88b Fixed test compilation 2021-03-16 09:42:50 +02:00
Risto Lahtela
2e01758fd6 Fixed lag from host name lookup 2021-03-16 09:02:30 +02:00
Risto Lahtela
cf3fe26b8a
Update versions.txt 2021-03-15 18:34:39 +02:00
Risto Lahtela
e66900117c Replace jcenter with mavenCentral since it is sunset 2021-03-15 18:26:57 +02:00
Risto Lahtela
2767c0ff65 Remove duplicate mysql relocation line 2021-03-15 18:25:16 +02:00
Risto Lahtela
7e08ea8245 Fixed plugin not enabling on Sponge or nukkit
- Removed module-info.class that came from asm
- Don't relocate SQLite since the NativeDB class is not relocated properly
2021-03-15 18:24:40 +02:00
Risto Lahtela
ac526e7542 Fixed hostname pie for export 2021-03-15 17:34:32 +02:00
Risto Lahtela
f1cb5ed071 Added hostname pie to server pages 2021-03-15 17:29:10 +02:00
Risto Lahtela
ccd3a32bf5 Wrote more tests for the new shutdown storage procedure 2021-03-15 17:23:47 +02:00
Risto Lahtela
e1dae855d9 Bump Extension-McMMO to 2.1.149-R1.5 2021-03-15 17:08:02 +02:00
Risto Lahtela
bfcb7eea85
Dependency downloading (#1795)
Affects issues:
- Fix #1759
2021-03-15 15:28:36 +02:00
Risto Lahtela
42ecfa7298 Removed unnecessary libraries from the jar
- Removed http client dependency
- Removed html compressor dependency

- No longer shadowing http client from geolite2 dependencies
2021-03-15 13:56:36 +02:00
Risto Lahtela
c15793cd44
Fix html copying 2021-03-13 11:25:49 +02:00
Risto Lahtela
c6cdf98468
Update versions.txt 2021-03-13 11:24:37 +02:00
Risto Lahtela
87a70d4745 Update BanManagerExtension
- Made Sponge scope provided
2021-03-13 11:14:21 +02:00
Risto Lahtela
e6299d6dd6 Removed failing test 2021-03-13 10:21:58 +02:00
Risto Lahtela
a9ce521c0c Made shutdown session save less disruptive
- Session save is now properly waited for when plugin disables
    The session save attempt times out after 4 seconds instead of
    waiting forever
- If shutdown save is not performed, instead of attempting again on JVM death,
  the sessions are placed into a file that is read next time the plugin
  enables.

Affects issues:
- Fixed #1770
2021-03-13 10:15:29 +02:00
Risto Lahtela
4f411e648b Updated mcMMO Extension
- Disabled potential offline database calls

Affects issues:
- Fixed #1791
2021-03-13 08:12:55 +02:00
Risto Lahtela
8f85c23c2f Refactoring: ActiveSession, FinishedSession and ServerUUID
- Split Session into ActiveSession and FinishedSession, replaced their usage
- Replaced UUID with ServerUUID when the data type

Affects issues:
- Close #1746
2021-03-12 18:03:12 +02:00
Risto Lahtela
009ac2ad57
Update FUNDING.yml 2021-03-11 20:21:00 +02:00
Risto Lahtela
8149fc39b9 Updated javadocs front-page style 2021-03-11 16:31:17 +02:00
Risto Lahtela
0ca3e7f060 Stop checking package-info for licenses 2021-03-11 16:18:59 +02:00
Risto Lahtela
bdcd84749b Added some package-info files for javadocs 2021-03-10 11:38:48 +02:00
Risto Lahtela
3daf54edc8
Cleanup (#1789)
* Delete Jenkinsfile
* Delete .travis.yml
* Delete sonar.sh
* Delete updateJavadocs.sh
* Delete runTests.sh
* Delete runCheckstyle.sh
* Delete prepareServerJars.sh
* Delete eula.txt
* Delete release-drafter.yml
2021-03-10 10:39:59 +02:00
Risto Lahtela
55f3e3526e
Create html.yml 2021-03-10 10:33:42 +02:00
Risto Lahtela
4c3b531cb0 Added javadocs index page back 2021-03-10 10:15:35 +02:00
Risto Lahtela
a4e2c24dae
Create javadocs.yml 2021-03-10 10:08:21 +02:00
Risto Lahtela
4e3c901e59 Reversed regular->inactive metric dates
The dates were calculating the metric wrong way around,
- the first index was for current time
  - Regulars
- the second index was for 30 days ago
  - Inactive
So it was calculating inactive->regular instead

Affects issues:
- Fixed #1775
2021-03-10 09:57:25 +02:00