69 Commits
Author SHA1 Message Date
NotAlexNoyle 4b9272cce6 Exclude CODEOWNERS from language statistics 2026-10-26 12:28:35 -04:00
NotAlexNoyle b41de284fc Add CODEOWNERS (one staff approval) 2026-10-26 06:17:55 -04:00
Piotr W. 343a4fad74 add non-affiliation disclaimer to the readme 2026-04-29 20:49:40 +01:00
Piotr W. 6afb405ef1 fix test failures from changes introduced in a567ddac0f 2026-04-27 16:20:54 +01:00
Piotr W. a567ddac0f improve code quality and logic
- use sealed/non-sealed system for Advisory -> AbstractAdvisory
- remove plugin field from module manager, as this was never used
- bumped version number to 0.1.1-SNAPSHOT to indicate development
2026-04-27 16:14:07 +01:00
Piotr W. a7461cebe1 fix description error in online mode and enforce secure profile 0.1.0 2026-04-25 19:51:46 +01:00
Piotr W. 677cd62432 add documentation and update README file
also remove unused parts from the config
2026-04-25 19:19:52 +01:00
Piotr W. e41a36e06e seal Module and Behaviour to force using the abstract versions 2026-04-25 18:20:40 +01:00
Piotr W. 5b63b79730 improve build system to use dynamic plugin.yml generation 2026-04-25 16:00:09 +01:00
Piotr W. 9a81bca0cc write unit tests for CommandManager 2026-04-25 15:33:49 +01:00
Piotr W. ea7bc50265 add tests for access methods in ModuleManager 2026-04-25 14:56:54 +01:00
Piotr W. 35d37314b1 use try-with-resources blocks for accessing files in ServerPropertiesAdapter 2026-04-25 13:52:59 +01:00
Piotr W. 48b00e9488 fix AbstractAdvisoryTest erroring from internal class implementation error 2026-04-25 13:52:29 +01:00
Piotr W. c297969995 add tests for advisories and config adapters 2026-04-25 13:42:25 +01:00
Piotr W. 23bab5f1c8 change access modifier on internal test field 2026-04-25 13:37:47 +01:00
Piotr W. f50cd6e9ff convert ConfigAdapter to interface 2026-04-25 13:35:16 +01:00
Piotr W. 7aca149ddf refactor isApplied to isResolved to better reflect its role 2026-04-25 13:33:49 +01:00
Piotr W. b7b0e0614a add owner notification if advisories are found when they log in
also clean up config files again
2026-04-25 01:54:42 +01:00
Piotr W. c4baafc1aa remove redundant @NotNull annotation 2026-04-25 01:04:08 +01:00
Piotr W. 44beb535e3 clean up non-code files
- remove unused configuration keys
- remove unused jvm args from runServer task
- convert badges in README into links
2026-04-25 01:03:09 +01:00
Piotr W. f4cec12f36 implement advisor module, with command-based management 2026-04-25 01:01:19 +01:00
Piotr W. 1373266230 add concrete advisories and static factory class 2026-04-25 01:00:30 +01:00
Piotr W. ab055b3b7f create framework for creating advisories 2026-04-25 00:59:31 +01:00
Piotr W. 3d469f00f7 refactor method names in Behaviour to be more coherent 2026-04-24 23:34:04 +01:00
Piotr W. 695b633ce2 allow modules to specify their own commands
- change ConfigurationCommand into CommandManager
- add getCommandNode() method to Module
- add class-based lookup and entry retrieval to ModuleManager
2026-04-24 23:32:43 +01:00
Piotr W. 270a56f970 debug and fix firewall behaviour
identified and fixed the following bugs:
- lookup not working
  - with non-string types
  - with dotted keys
- reload command not reloading config
2026-04-24 14:13:38 +01:00
Piotr W. dfcb73756f disable bStats on testing server instances 2026-04-23 20:54:49 +01:00
Piotr W. 53d288602b Merge remote-tracking branch 'origin/main' 2026-04-23 20:40:15 +01:00
Piotr W. b415f74474 refactor github actions workflow
add code coverage badge to README.md
2026-04-23 20:39:52 +01:00
Piotr W. 74c5f3efce refactor github actions workflow
add code coverage badge to README.md
2026-04-23 20:37:21 +01:00
Piotr W. e7b6e5383d add code coverage using jacoco + codecov 2026-04-23 20:32:03 +01:00
Piotr W. d1bab39cbe add telemetry via bStats 2026-04-23 20:15:13 +01:00
Piotr W. 98244edb20 add null handling to ProtocolLibFilterBehaviour
also removed old fragment of commented-out code from EventListenerFilterBehaviour
2026-04-23 19:34:46 +01:00
Piotr W. 479a84d477 add unit tests for LookupRuleEvaluator 2026-04-23 19:33:38 +01:00
Piotr W. c5e5e0209c refactor tests to be package-private 2026-04-23 19:33:13 +01:00
Piotr W. 70f0c3509b fix IDE warnings (improve code quality) 2026-04-23 17:26:55 +01:00
Piotr W. be4219e16b remove all references and workarounds for previously broken shadowJar
also fixed indentation
2026-04-23 17:23:58 +01:00
Piotr W. 66edde045a fix a bug in InternalFilterBehaviour causing unblocked connections to fail 2026-04-23 17:22:23 +01:00
Piotr W. 10fa793387 add new filter engine, refactor old behaviour names
- improved filter behaviour registration
- remove warnings when default lists are saved
2026-04-23 16:44:18 +01:00
Piotr W. c6ca361272 refactor RuleType.DEFAULT -> CONTINUE to describe role more accurately 2026-04-23 16:42:37 +01:00
Piotr W. 1f1ef43fde update build system versions, switch to paper devkit
- updated gradle, run paper
- removed warning suppression
2026-04-23 16:34:09 +01:00
Piotr W. 4ece4a83d8 update copyright notice generation settings for IntelliJ 2026-04-23 01:35:59 +01:00
Piotr W. 21840488af add configuration commands
- commands can dynamically enable/disable modules
- commands can reload modules and plugin-wide config
- commands can show info about modules
- also added description methods for modules to support the commands
2026-04-23 01:23:46 +01:00
Piotr W. c9160b59fa polish off filter system
- change RuleEvaluator function call
- fully implement LookupRuleEvaluator
- create chaining+caching system with RuleEvaluatorChain
- add exception detection, handling, and logging to RuleEvaluator execution flows
- improve filter list file parsing to skip empty lines and invalid entries
- update temporary config file syntax for advanced filtering
2026-04-22 20:29:02 +01:00
Piotr W. 37817b7bb0 delegate full instance management to ModuleManager 2026-04-22 20:21:18 +01:00
Piotr W. 7a77522821 add copyright notice automation via IntelliJ 2026-04-22 16:47:24 +01:00
Piotr W. 12b0d4bb77 clear up intellij warnings 2026-04-22 14:34:17 +01:00
Piotr W. 68ee8668ee change file extension for filter lists
this means that IDEs should now recognise comments
2026-04-22 14:28:26 +01:00
Piotr W. c304dde363 update licence text and file headers 2026-04-22 14:19:29 +01:00
Piotr W. c7b2baa77e fix a critical bug that caused firewall configs to not be read
- removed a debug statement
- remove null return type from FilterRuleEvaluator#lookup
2026-04-22 02:44:24 +01:00