feat: web dashboard and playground work

The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch:
accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy
reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live
events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved
captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes
they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-26 17:52:10 -05:00
parent 854d02f509
commit e213a7aeff
681 changed files with 88310 additions and 1321 deletions

View File

@@ -0,0 +1,31 @@
#ifndef __IDASHBOARDMAINTENANCE__H__
#define __IDASHBOARDMAINTENANCE__H__
#include <cstdint>
#include <functional>
#include <string>
#include <utility>
#include <vector>
#include "dCommonVars.h"
// Bulk data repairs run from the dashboard's maintenance page
class IDashboardMaintenance {
public:
// Approve pending pet names that an earlier pet with the same name was approved for. Returns rows changed.
virtual uint32_t ApprovePreviouslyApprovedPetNames() = 0;
// Every pet name as (id, name)
virtual std::vector<std::pair<LWOOBJID, std::string>> GetAllPetNames() = 0;
// Call visit for every character's XML, one row at a time
virtual void ForEachCharacterXml(const std::function<void(LWOOBJID, const std::string&)>& visit) = 0;
// Same, but only characters whose XML contains `needle`; the database does the filtering
virtual void ForEachCharacterXmlContaining(const std::string& needle, const std::function<void(LWOOBJID, const std::string&)>& visit) = 0;
// Set each property's clone id to its owner's prop_clone_id where they differ. Returns rows changed.
virtual uint32_t FixPropertyCloneIds() = 0;
};
#endif //!__IDASHBOARDMAINTENANCE__H__