Commit Graph

5049 Commits

Author SHA1 Message Date
Risto Lahtela
6a199d3f1f Move export system startup query to async task 2021-07-11 11:41:40 +03:00
Risto Lahtela
78209e99a6
Sonar cleanup for new smells (#1996)
* Rename "byKey" which hides the field declared at line 36.
* Define a constant instead of duplicating this literal "isStopped" 3 times.
* Remove this assignment of "pingMethodAvailable".
* Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.
* Rename "getHandleMethod" which hides the field declared at line 36.

Make the enclosing method "static" or remove this set.
* Refactored some ping method things
* Rename "files" which hides the field declared at line 41.
* Add at least one assertion to this test case.
2021-07-10 14:52:24 +03:00
dependabot[bot]
3805c85e39
Bump placeholderapi from 2.10.9 to 2.10.10 in /Plan (#1994)
Bumps placeholderapi from 2.10.9 to 2.10.10.

---
updated-dependencies:
- dependency-name: me.clip:placeholderapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-10 12:09:34 +03:00
Risto Lahtela
637351b858
Update versions.txt 2021-07-10 10:26:15 +03:00
Risto Lahtela
53b6812e2b Added container-fluid on login and register since it looked too wide 2021-07-10 09:57:51 +03:00
Risto Lahtela
9944bb8ff3 Add new issue forms 2021-07-10 09:47:24 +03:00
Risto Lahtela
c523e40b7f Refactored the request body PR stuff
- Made sure to not break compatibility with discord bots that use the old
  authentication via query parameters
- Query parameters now accept no-value keys
- Added access control checks for the errors endpoints
2021-07-10 09:11:39 +03:00
Risto Lahtela
a3f5298617 Update Floodgate Extension to 2.0-R0.1 2021-07-10 08:41:38 +03:00
Risto Lahtela
8e299e4531 Update Logblock Extension to R0.4 2021-07-10 08:21:05 +03:00
Emilia Dreamer
7a51ad9f15
Use POST method in requests such as login (#1988)
- Adds Request#getRequestBody method to the API
- Moves login and register parameters to request body

Co-authored-by: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com>
Co-authored-by: Henri S <vankka.main@gmail.com>
2021-07-09 20:31:04 +03:00
Risto Lahtela
28d35e0fed Remove debug exception logging calls 2021-07-09 08:07:05 +03:00
Antti Koponen
f62feae6a6
Fix registration finish modal not displaying (#1985) 2021-07-07 07:40:57 +03:00
Antti Koponen
7b45d6c3a5
Bump caffeine from 2.8.0 to 2.9.2 (#1986) 2021-07-07 07:39:44 +03:00
Emilia Dreamer
d265d5b586
Use globally unique plugin ID for plugin cards with tabs (#1983)
Affects issues:
- Fixed #1982
2021-07-06 20:08:21 +03:00
Risto Lahtela
c4e5e3f1c7 Updated ProtectionStones Extension
- Kopo fixed a chunk loading thing #1980
2021-07-05 22:34:47 +03:00
Risto Lahtela
640198a47f
Update versions.txt 2021-07-04 19:49:10 +03:00
Risto Lahtela
356ab4bffd Fixed container fluid padding missing, causing odd feeling
The page felt like something was "off" and the missing padding caused that.
2021-07-04 11:12:58 +03:00
Risto Lahtela
f5a2067b6a Stop using Collections.emptylist in errors json
Affects issues:
- Fixed #1978
2021-07-04 11:03:11 +03:00
Risto Lahtela
f32cf95fc1 Fixed bukkit shutdown detection
Affects issues:
- Fixed #1970
2021-07-04 11:00:52 +03:00
Risto Lahtela
d05a887878 Update FactionsUUID Extension
- mbax Fixes incompatibility with new FactionsUUID
- Added mbax as Code contributor

Affects issues:
- Fixed https://github.com/drtshock/Factions/issues/1429
2021-07-03 22:47:30 +03:00
Risto Lahtela
b968ab3c43 Hide performance graph labels when window is not wide enough
Affects issues:
- Fixed #1959
2021-07-03 10:34:16 +03:00
Risto Lahtela
806a1faf78 Prevent players without UUIDs getting extension method updates
Affects issues:
- Fixed #1958
2021-07-03 10:12:41 +03:00
Risto Lahtela
826b6da133 Put latency where it's supposed to be 2021-07-03 10:08:34 +03:00
Risto Lahtela
db0d3ff6ac Implemented more ways to get Ping on bukkit
Affects issues:
- Close #1962
2021-07-03 10:05:34 +03:00
Risto Lahtela
170add8989 lowercase loadServerPie in javascript to prevent locale replacement
Affects issues:
- Fixed #1954
2021-07-03 08:46:30 +03:00
Risto Lahtela
94efea263c Wrote more timezone tests for sql 2021-07-02 21:19:53 +03:00
Risto Lahtela
4c5d96a3e5 Fixed null serialization for the manual json creation 2021-07-02 21:07:22 +03:00
Risto Lahtela
8d445aaccc Serialize Sessions into json without Gson during shutdown
Affects issues:
- Fixed #1970
2021-07-02 17:59:25 +03:00
Risto Lahtela
b3200d1734
Update wiki_edit.md 2021-07-02 17:05:12 +03:00
dependabot[bot]
0dada50ac5
Bump sqlite-jdbc from 3.36.0 to 3.36.0.1 in /Plan (#1967)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.36.0 to 3.36.0.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.36.0...3.36.0.1)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-02 08:00:41 +03:00
dependabot-preview[bot]
b2a121723b
Upgrade to GitHub-native Dependabot (#1874)
* Upgrade to GitHub-native Dependabot

* Update dependabot.yml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2021-07-01 20:50:07 +03:00
Antti Koponen
6b54efef3c
Velocity 3.0.0 support by Kopo (#1961)
* Add Velocity 3.0.0 support

- Switched `VelocityCommand` implementation to `SimpleCommand` subinterface
- Removed old & deprecated `text` component handling API in favor of Adventure components

* Fix hover & click events not working
2021-06-29 23:29:59 +03:00
dependabot-preview[bot]
90f646bd1d Bump sqlite-jdbc from 3.34.0 to 3.36.0 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.34.0 to 3.36.0.
- [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.34.0...3.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-28 05:28:32 +00:00
Antti Koponen
72d998e000
Bump Blossom to 1.3.0 & fix build error (#1955) 2021-06-24 22:40:17 +03:00
Risto Lahtela
ca25570e88
Update plugin_request.md 2021-06-22 18:41:21 +03:00
dependabot-preview[bot]
4db83b4a9d Bump mockito-core from 3.11.1 to 3.11.2 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.1...v3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-22 05:40:42 +00:00
dependabot-preview[bot]
08dda0c7fd Bump mockito-junit-jupiter from 3.11.1 to 3.11.2 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.1...v3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-22 05:31:10 +00:00
dependabot-preview[bot]
bc43d95dc6 Bump slf4jVersion from 1.7.30 to 1.7.31 in /Plan
Bumps `slf4jVersion` from 1.7.30 to 1.7.31.

Updates `slf4j-nop` from 1.7.30 to 1.7.31
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

Updates `slf4j-api` from 1.7.30 to 1.7.31
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-21 05:24:57 +00:00
Risto Lahtela
4ea7a7b815
Update versions.txt 2021-06-20 08:49:39 +03:00
Antti Koponen
f83cbad2b9
Update to Bootstrap 5 by Kopo (#1832)
* Initial update to Bootstrap v5.0.0-beta3
* Add Bootstrap CSS to webpages & export lists
* Begin porting SB Admin 2's changes to a separate file

Due to Bootstrap 5 introducing calculated paddings and margins (gutters) to multiple parts of the grid system (containers, rows, columns etc.), all SBA2 changes involving grid classes and paddings/margins will be left out for now. If custom margins/paddings are needed, BS5 utility classes can be used.

* Bootstrap v5.0.0-alpha1: First changes

- Removed x-ua-compatible header
- Fixed .bg-gradient overlap
- .form-group replaced with margin utilities
- .input-group-append removed
- Changed small.form-text.text-muted to div.form-text
- Minor CSS changes

* v5.0.0-alpha1: Components

- Fixed badges to use bg-* for color

* v5.0.0-alpha2: Components & misc. fixes

- Modal close buttons use .btn-close instead of .close and use a background image instead of a &times icon
- Added .btn-close-white for dark mode close buttons

* v5.0.0-alpha3: Buttons & text utilities

- .btn-block replaced with .w-100 for individual "block buttons"
- .font-weight-* renamed to .fw-*

* v5.0.0-beta1: Change .float-right to .float-end

* v5.0.0-beta1: Change .ml-* and .mr-* to .ms-* and .me-*

* v5.0.0-beta1: Namespace all HTML data attributes to data-bs-*

* v5.0.0-beta1: Namespace data-dismiss to data-bs-dismiss

* Refactor query page to pad & wrap things correctly

- Changed & corrected classes per Bootstrap 5's changes (.input-row isn't used anywhere)
- Significantly increases support for devices with smaller screens, input elements are now correctly padded & wrapped with breakpoints

* Bump Bootstrap from 5.0.0-beta3 to 5.0.0-dist

* Replace .card-columns with Masonry grid

* Update Datatables to BS5 styling

* Remove scrollbar & unnecessary HTML elements from data tables

* Bump DataTables from 1.10.24 to 1.10.25

Bump DataTables-Responsive from 2.2.7 to 2.2.9

* Move Bootstrap to CDN-based distribution

Update Bootstrap to 5.0.1-dist

* Change jQuery CDN to jsDelivr

* Center query page date selector

* Apply final BS5 changes

* Apply dark theme to table when rendering query results

Affects issues:
- Fixes 1947
2021-06-20 08:46:12 +03:00
Risto Lahtela
90e5863be0 Increase navbar collapse z-index
Affects issues:
- Fixed #1942
2021-06-18 17:20:09 +03:00
Risto Lahtela
c5b7a1eddd Update DiscordSRV Extension 2021-06-14 19:44:42 +03:00
dependabot-preview[bot]
bf9dfe4035 Bump mockito-core from 3.11.0 to 3.11.1 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-14 05:59:22 +00:00
dependabot-preview[bot]
0202aa30b9 Bump mockito-junit-jupiter from 3.11.0 to 3.11.1 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-14 05:49:59 +00:00
Hasan Demirtaş
41e844cca1
Fix two sonarcloud issues. (#1936)
- Field can be static
- Unused import
2021-06-14 08:42:10 +03:00
Hasan Demirtaş
2fbfdfa0e9
Fix checkstyle. (#1937) 2021-06-14 08:39:47 +03:00
Risto Lahtela
cd5590bb32 Added /errors page for reading error logs 2021-06-13 11:25:15 +03:00
Risto Lahtela
429207d82f Added /v1/errors for reading error files 2021-06-13 10:41:29 +03:00
Risto Lahtela
9affbda220 Split plugin tab icon and title in the code
Affects issues:
- Fixed #1933
2021-06-13 09:11:18 +03:00
Risto Lahtela
b8b24c07c6 Remove exclusion of sqlite jdbc3 drivers
Affects issues:
- Fixed #1935
2021-06-13 09:03:55 +03:00