Commit graph

16 commits

Author SHA1 Message Date
Madpeter
172a0132a2 Add config descriptor and JSON config helpers
Introduces ConfigDescriptor to describe config settings with name, type, and value. Adds DescribeConfig method to Config for structured config introspection. WikiService now generates JSON files for each config class, aiding documentation and tooling.
2025-10-18 18:29:59 +01:00
Madpeter
008cb44e24 Use UnsafeRelaxed JSON serialization globally
Replaces all usages of JsonSerializer.Serialize with the UnsafeRelaxed option via a new JsonOptions.UnsafeRelaxed static property. This ensures consistent relaxed escaping for all JSON output, improving compatibility with consumers expecting unescaped JSON. Refactors affected command, service, and static classes to use the new option.
2025-10-05 20:07:42 +01:00
Madpeter
050ef3c133 Replace Newtonsoft.Json with System.Text.Json
Migrated all serialization and deserialization from Newtonsoft.Json to System.Text.Json across the codebase for improved performance and reduced dependencies. Updated package references and refactored helper method names for consistency (e.g., IsEmpty, NotEmpty, InRange). Also updated NuGet package versions in project files.
2025-10-03 23:12:20 +01:00
Madpeter
bc5ca85489 cleanup and CommandHistoryLogResults 2025-02-12 20:25:52 +00:00
Madpeter
9987d7fcb1 allow limited service control via the command interface 2024-07-22 20:19:48 +01:00
Madpeter
82db7e54a4 fix issues with json configs 2024-06-30 01:01:56 +01:00
Madpeter
3e58148299 add support for DefaultHoverHeight and new HoverHeight command 2023-12-01 11:06:33 +00:00
Madpeter
e5c6ced9b0 HideStatusOutput support 2023-12-01 09:50:55 +00:00
Madpeter
9605c9fe2b allow force setting enabled on config 2023-11-30 17:28:38 +00:00
Madpeter
1ac275243c finish off services 2023-07-27 15:19:59 +01:00
Madpeter
e478053988 wip 2022-10-24 22:26:50 +01:00
Madpeter
08d64656d4 wip relay 2022-06-08 09:47:53 +01:00
Madpeter
41bf241970 getting closer to doing something. 2022-03-18 02:57:06 +00:00
Madpeter
50ff8f0c5f token mania! 2022-03-17 21:08:02 +00:00
Madpeter
e9c1f744ae yay it logs in 2022-03-16 22:19:46 +00:00
Madpeter
b16d17f228 wip 2022-03-16 18:36:30 +00:00