Commit Graph

4125 Commits

Author SHA1 Message Date
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
Risto Lahtela
6339696b58 Fixed script regex for Locale
Affects issues:
- Fixed #1372, Fixed #1373
2020-03-26 11:13:56 +02:00
Risto Lahtela
96d6f7fa31 Fixed ViaVersion Extension registering listeners disabled 2020-03-24 21:27:23 +02:00
dependabot-preview[bot]
bf45977de4 Bump junit-jupiter-params from 5.6.0 to 5.6.1 in /Plan
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 06:16:00 +00:00
dependabot-preview[bot]
6d8fb9ff90 Bump junit-jupiter-engine from 5.6.0 to 5.6.1 in /Plan
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 06:07:21 +00:00
dependabot-preview[bot]
31f3747ad2 Bump junit-jupiter-api from 5.6.0 to 5.6.1 in /Plan
Bumps [junit-jupiter-api](https://github.com/junit-team/junit5) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 05:59:39 +00:00
Risto Lahtela
194d07a9b7
Update versions.txt 2020-03-21 16:37:54 +02:00
Risto Lahtela
6470832ef6 Fixed ResourceSvc file write if no directory exists 2020-03-21 16:01:15 +02:00
Risto Lahtela
b7c84980e3 Bump API version, add Capabilities:
- PAGE_EXTENSION_RESOLVERS
- PAGE_EXTENSION_RESOURCES
2020-03-20 22:26:03 +02:00
Risto Lahtela
38bb2ce61c Added ResponseBuilder#setContent(WebResource) 2020-03-20 22:26:03 +02:00
Risto Lahtela
4fd19bbc5e Removed PlanFiles#getCustomizableResourceOrDefault 2020-03-20 22:26:03 +02:00
Risto Lahtela
ff6f960a84 Renamed Resource snippet Positions 2020-03-20 22:26:03 +02:00
Risto Lahtela
7860557a2d Changed resource settings to not use dot 2020-03-20 22:26:02 +02:00
Risto Lahtela
dae96ef53d Implemented ResourceSvc
- Customizable resources
- Snippets
- Fixed issue with a web resource being fetched on enable (favicon in ResponseResolver)
- Fixed some issues with Config#addNode used in an orElse block of Optional
- Deprecated PlanFiles#getCustomizableResourceOrDefault
2020-03-20 22:26:02 +02:00
Risto Lahtela
f2ba301880 Made CapabilityService more resilient
Affects issues:
- Fixed #1356
2020-03-20 22:26:02 +02:00
Risto Lahtela
648cdb1a0c Added a ResourceService
- Allows customizable files
- Allows js and css addition to html files
2020-03-20 22:26:02 +02:00
dependabot-preview[bot]
a0a6710ad3 Bump dagger from 2.26 to 2.27 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.26 to 2.27.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.26...dagger-2.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 05:39:46 +00:00
dependabot-preview[bot]
f741d4bc85 Bump dagger-compiler from 2.26 to 2.27 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.26 to 2.27.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.26...dagger-2.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 05:31:21 +00:00
Risto Lahtela
4087909355
Update plugin_request.md 2020-03-16 18:27:46 +02:00
Risto Lahtela
178480a104
Update bug_report.md 2020-03-16 18:26:54 +02:00
Risto Lahtela
dd78ed734d
Update versions.txt 2020-03-14 13:15:28 +02:00
dependabot-preview[bot]
421d8cd2c4 Bump mockito-junit-jupiter from 3.3.0 to 3.3.3 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.3.0 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-14 10:58:26 +00:00
dependabot-preview[bot]
e60e025870 Bump mockito-core from 3.3.0 to 3.3.3 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.3.0 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-14 10:50:15 +00:00
Risto Lahtela
d6f35a6fc4 Fixed db test running BeforeEach method multiple times 2020-03-14 12:40:29 +02:00
Risto Lahtela
bf7e47eb4c Fixed DBPatchMySQLRegressionTest using wrong database 2020-03-14 12:40:28 +02:00
Risto Lahtela
e2e86cadc3 Extension RemoveEverythingTransaction test 2020-03-14 12:40:28 +02:00
Risto Lahtela
3e1f8e3c47 Split even more queries from DatabaseTest:
- Backup tests
- Nickname tests
- Ping tests (new tests)
- Server tests
- TPS tests
- World name tests
- UserInfo & BaseUser tests
- RemoveEverythingTransaction tests to each query test
2020-03-14 12:40:28 +02:00
Risto Lahtela
463b2edb02 Split more queries from DatabaseTest:
- WebUserQueriesTest for WebUser related queries
- More Session related queries
- Reduced checkstyle file length 1750 -> 1000
- Reduced checkstyle class fanout complexity 87 -> 60
- Reduced checkstyle cyclomatic complexity 18 -> 17
2020-03-14 12:40:27 +02:00
Risto Lahtela
fd6877dcad Split Session related queries to own test class:
- Added a lot of new utility methods to RandomData
- Fixed a bug where duplicate PlayerKills were queried
  This bug was discovered by accident when PlayerKill saving was randomized
  for the tests.
- Testing constant REGISTER_TIME extracted
- String truncation constant extracted for KillsTable
  This was causing some Session equals issues due to truncated weapon names
- Session now sorts PlayerKill list as this was assumed in some places.
2020-03-14 12:40:27 +02:00
Risto Lahtela
b49baa1275 Split Geolocation related queries to own test 2020-03-14 12:40:26 +02:00
Rsl1122
952cac1fbf Split ActivityIndexQueries to own Test class 2020-03-14 12:40:25 +02:00
Risto Lahtela
ea209aceb3 Split database tests to 2 classes 2020-03-14 12:40:25 +02:00
Risto Lahtela
b339800650 Removed JUnit 4 2020-03-14 12:40:23 +02:00
Risto Lahtela
aca9d22e1f Applied theme to pages properly
New utility UnaryChain:
- Allows writing nested modifications as a chain
2020-03-14 12:40:23 +02:00
Risto Lahtela
77d33c991a Moved NotFoundException to API 2020-03-14 12:40:22 +02:00