mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-05-12 18:35:06 +00:00
- Implemented dashboard audit logging with InsertAuditLog, GetRecentAuditLogs, GetAuditLogsByIP, and CleanupOldAuditLogs methods. - Created dashboard configuration management with GetDashboardConfig and SetDashboardConfig methods. - Added new tables for dashboard_audit_log and dashboard_config in both MySQL and SQLite migrations. - Updated CMakeLists to include Crow and ASIO for dashboard server functionality. - Enhanced existing database classes to support new dashboard features, including character, play key, and property management. - Added new methods for retrieving and managing play keys, properties, and pet names. - Updated TestSQLDatabase to include stubs for new dashboard-related methods. - Modified shared and dashboard configuration files for new settings.
21 lines
453 B
C++
21 lines
453 B
C++
#ifndef __MAILBLUEPRINT_H__
|
|
#define __MAILBLUEPRINT_H__
|
|
|
|
#include "crow.h"
|
|
#include "crow/middlewares/session.h"
|
|
|
|
namespace MailBlueprint {
|
|
|
|
using Session = crow::SessionMiddleware<crow::InMemoryStore>;
|
|
using DashboardApp = crow::App<crow::CookieParser, Session>;
|
|
|
|
/**
|
|
* Setup mail management routes
|
|
* Registers routes for sending and viewing mail
|
|
*/
|
|
void Setup(DashboardApp& app);
|
|
|
|
} // namespace MailBlueprint
|
|
|
|
#endif // __MAILBLUEPRINT_H__
|