Commit Graph

1470 Commits

Author SHA1 Message Date
Ben Woo
5d6edc7b82
Merge pull request #2885 from Multiverse/MV5 2023-03-04 10:09:46 +08:00
Ben Woo
3f6c3047d8
fix: Restore locales setup method (#2881) 2023-03-03 22:23:39 +08:00
Jeremy Wood
e4fd23709f
Merge pull request #2882 from Multiverse/dumptruckman/fix_mock_bukkit
Downgrade MockBukkit to 2.141.0.
2023-03-03 08:29:57 -05:00
Jeremy Wood
a255f55b6f
Downgrade MockBukkit to 2.141.0. 2023-03-03 08:27:12 -05:00
Jeremy Wood
e0e2a0f0c2
Merge pull request #2879 from Multiverse/dumptruckman/new_tests
Add new test module using Kotlin and JUnit 5.
2023-03-02 08:56:39 -05:00
Jeremy Wood
a4e84ad581
Use ServerMock instead of Server. 2023-03-02 08:36:43 -05:00
Jeremy Wood
65cb3f7037
Put test method after tearDown. 2023-03-02 08:35:52 -05:00
Jeremy Wood
fc7509cca6
Use a better test method name. 2023-03-02 08:35:30 -05:00
Jeremy Wood
eebb4a4a6d
Implement initial test using MockBukkit. 2023-03-02 02:22:47 -05:00
Jeremy Wood
698d1c7954
Switch to JUnit 5 for new tests. 2023-03-02 02:10:36 -05:00
Jeremy Wood
ed73fd059e
Add Kotlin dependency for tests only. 2023-03-02 02:07:38 -05:00
Jeremy Wood
87225b1c65
Move old tests to old-test. 2023-03-02 01:20:38 -05:00
Jeremy Wood
6362d9fb17
Merge pull request #2878 from Multiverse/dumptruckman/merge_main
Merge main branch into MV5
2023-03-02 00:58:37 -05:00
Jeremy Wood
d5ba55716b
Merge remote-tracking branch 'origin/main' into dumptruckman/merge_main
# Conflicts:
#	build.gradle
2023-03-02 00:56:34 -05:00
Jeremy Wood
4eca331430
Merge pull request #2877 from Multiverse/dumptruckman/separate_test_deps
Use a separate API version for running tests.
2023-03-02 00:53:24 -05:00
Jeremy Wood
b6574245b8
Remove junit exclusion from compileOnly bukkit. 2023-03-02 00:48:54 -05:00
Jeremy Wood
85d744d79f
Run tests against spigot-api 1.19.3. 2023-03-02 00:44:32 -05:00
Jeremy Wood
e536dff1a8
Use a separate bukkit dependency for tests. 2023-03-02 00:37:30 -05:00
Jeremy Wood
39287f55ef
Delete CODEOWNERS. 2023-03-01 23:36:41 -05:00
Ben Woo
d5ebde53b9
Add maven central to repositories (#2859)
Co-authored-by: Jeremy Wood <farachan@gmail.com>
2023-03-02 12:32:07 +08:00
Ben Woo
913618101a
fix: Resolve issue where permission is not registering 2023-03-01 15:48:27 +08:00
Ben Woo
a6eea018ac
refactor: Split permission register and checking, and more DRYing 2023-03-01 15:01:22 +08:00
Jeremy Wood
101ddae443
Create CODEOWNERS. 2023-02-28 23:03:50 -05:00
Ben Woo
36cb515b86
refactor: Rename from action to operation and use asBoolean instead of isSuccessful 2023-03-01 11:33:51 +08:00
Ben Woo
4833111a2c
chore: Implement suggested changes 2023-02-28 23:23:13 +08:00
Ben Woo
a196bbd3e0
fix: Typo in playerlimit message
Co-authored-by: Jeremy Wood <farachan@gmail.com>
2023-02-28 23:23:12 +08:00
Ben Woo
7d80f9d32c
refactor: Move PlayerFinder to player package 2023-02-28 23:23:12 +08:00
Ben Woo
3ba1d26007
refactor: Categorise different check to different classes 2023-02-28 23:23:12 +08:00
Ben Woo
0e52316930
docs: Add javadocs to new api class and methods 2023-02-28 23:23:11 +08:00
Ben Woo
b84ed07371
refactor: Remove more hardcoded permission checks 2023-02-28 23:23:11 +08:00
Ben Woo
efe5af460f
refactor: Create subfolders for action related classes 2023-02-28 23:23:10 +08:00
Ben Woo
418146e14c
feat: Improve playerlimit checking 2023-02-28 23:23:10 +08:00
Ben Woo
05c5cd8d66
feat!: Revamp permission handling and its relevant checks 2023-02-28 23:23:09 +08:00
Ben Woo
e58de8d74d
Merge pull request #2843 from Multiverse/help-command
feat: Implement help command
2023-02-28 23:21:36 +08:00
Ben Woo
974afb4751
feat: Implement help command 2023-02-28 23:16:09 +08:00
Ben Woo
d819153690
Merge pull request #2842 from Multiverse/file-locales
feat: Improve locale support
2023-02-28 23:13:23 +08:00
Ben Woo
7dbd29b838
refactor: Shift classes and add javadocs 2023-02-28 23:07:19 +08:00
Ben Woo
560e3ab201
refactor: Make FileResClassLoader usable for other file paths. 2023-02-28 23:07:19 +08:00
Ben Woo
ffc4c600c5
feat: Enable per player locale support 2023-02-28 23:07:18 +08:00
Ben Woo
44904eaef4
feat: Allow for custom locale folder path 2023-02-28 23:07:18 +08:00
Ben Woo
47a92deffd
refactor: Use '&' for chat color formatting 2023-02-28 23:07:17 +08:00
Ben Woo
b4549c6791
feat: Add support for loading locales from plugin dir 2023-02-28 23:07:17 +08:00
Jeremy Wood
2b97f7310f
Use pull_request_target for auto labeler. 2023-02-25 20:39:56 -05:00
Jeremy Wood
073091525b
Label PRs automatically as prerelease. 2023-02-25 20:34:19 -05:00
Jeremy Wood
79b9c12319
Change job name for manually promoting releases. 2023-02-25 20:29:04 -05:00
Jeremy Wood
01f745b027
Skip checking PR labels. 2023-02-25 19:39:14 -05:00
Jeremy Wood
9725bdfeeb
Use ref input. 2023-02-25 14:02:01 -05:00
Jeremy Wood
cdf9767959
Use target_commitish for GITHUA_SHA. 2023-02-25 13:41:26 -05:00
Jeremy Wood
66e21da6b2
Add version to publish action as well. 2023-02-25 13:39:59 -05:00
Jeremy Wood
87b14d3944
Add publish and upload. 2023-02-25 13:34:24 -05:00