Commit graph

39 commits

Author SHA1 Message Date
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
93dbde2818 Improve inventory preload tracking and reporting
Refactored inventory preload logic to track both folder and item counts, and updated related command and service methods to report these values. Changed folder loading to be asynchronous and recursive, improved reporting format, and fixed root folder naming in inventory contents command.
2025-10-03 21:56:33 +01:00
Madpeter
e14ba787d4 Refactor inventory node loading logic
Simplifies the inventory node loading by replacing type checks with a string comparison on the entry type name. Removes redundant else-if block and ensures all entries are processed consistently.
2025-10-03 01:25:35 +01:00
Madpeter
91a1ba4086 Add inventory preload status and folder count commands
Introduces two new commands to check if inventory preload is done and to request the number of preloaded folders. Updates inventory node mapping to use dynamic type names and improves folder preload tracking in DataStoreService.
2025-10-03 00:50:54 +01:00
Madpeter
7118d523cd Update ReturnHints formatting in Inventory command
Changed the ReturnHints string in InventoryContentsCatched to use <br/> for line breaks, improving readability of the JSON data object description.
2025-10-02 22:13:50 +01:00
Madpeter
0139326d67 Add cached inventory mapping and log truncation
Introduces InventoryContentsCatched to return mapped inventory using cached data and adds InventoryNodeEntry for structured inventory representation. Also truncates command log results to 100 characters in CommandsService for improved logging.
2025-10-02 22:07:02 +01:00
Madpeter
c40c551316 Add async inventory contents retrieval method
Introduces AsyncInventoryContents to fetch folder contents asynchronously, allowing non-blocking operations. Also updates documentation for the blocking method to clarify its behavior and output format.
2025-10-01 10:00:08 +01:00
Madpeter
231a19ff08 Add async inventory operations with smart replies
Introduces asynchronous versions of rez, send, and transfer inventory commands with smart reply support, returning request UUIDs and JSON status objects. Adds the InventoryAsyncReply class for structured replies and updates command attributes for clarity. Enhances error handling and reply mechanisms for improved integration with external systems.
2025-09-30 22:28:11 +01:00
Madpeter
b890fdc54b Update LibreMetavese and add support for ResetParcelAcccessLists 2025-09-28 00:11:54 +01:00
Madpeter
4e5523a391 rework the outfit system 2025-06-25 10:23:21 +01:00
Madpeter
b5b7a9fac6 update libmeta 2025-06-18 16:41:48 +01:00
Madpeter
25ac5378e1 fix issue where inventory type was case sensitive. 2025-06-15 10:31:14 +01:00
Madpeter
57de6764bc add command type hinting to improve the way the wiki auto gens 2025-06-05 23:25:36 +01:00
Madpeter
164e464f04 RezObjectParcelCenter now supports Z offset 2025-06-04 15:46:42 +01:00
Madpeter
988eb76463 improve wiki by adding more details to commands 2025-06-04 13:43:03 +01:00
Madpeter
40baf289af fix the new rez commands 2025-06-04 06:35:07 +01:00
Madpeter
a0a005490f add new rez commands 2025-05-19 12:15:41 +01:00
Madpeter
f0500fa67b update markup doc for return hints on inventory commands 2025-02-22 09:22:48 +00:00
Madpeter
c97959beda add SendItemDirect 2025-02-22 09:17:21 +00:00
Madpeter
bc5ca85489 cleanup and CommandHistoryLogResults 2025-02-12 20:25:52 +00:00
Madpeter
552f5a48ad add NotecardRead support 2025-02-04 02:02:27 +00:00
Madpeter
0dc0def5e3 Libre meta update 2025-01-28 21:34:17 +00:00
Madpeter
74f0ef29a8 adds 4 new commands for avatar levels
GetProfileImage, SetProfileImage, GetProfileAbout, SetProfileAbout
2024-08-23 14:08:13 +01:00
Madpeter
c338b9c617 adds new SendFolderByPath command 2024-08-18 15:41:14 +01:00
Madpeter
eb1f45f330 add support to create wiki files while running in debug 2024-06-27 23:09:44 +01:00
Madpeter
b40b2d5b48 fix issues with chat fetching 2024-06-27 11:42:20 +01:00
Madpeter
5d4d3b8420 inventory uodate 2024-06-20 16:34:13 +01:00
Madpeter
5727359626 Update Inventory.cs 2023-12-03 18:16:06 +00:00
Madpeter
45fdca1896 wip 2023-07-25 20:43:16 +01:00
Madpeter
59b768f1b1 update lib meta and cleanup 2023-07-23 14:13:32 +01:00
Madpeter
dbd2ea32e4 more wip 2022-06-04 07:52:06 +01:00
Madpeter
b089591fcb remove unneeded method names as args 2022-06-01 18:22:40 +01:00
Madpeter
f93dcb6bf5 add new inventory commands from main 2022-06-01 16:20:37 +01:00
Madpeter
a3173dcac8 commands remove tokens 2022-05-30 05:30:15 +01:00
Madpeter
a5851c5fe1 new data store for chat, groups and avaters 2022-05-29 17:38:28 +01:00
Madpeter
3aa9ddc73f it works but it sucks 2022-04-15 19:34:49 +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