mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 07:28:45 -07:00
feat: Refactor admin UI pages to support embedded mode and improve navigation
- Updated PlayerLogs, Players, Reports, Rooms, Settings, SignupCodes, and other pages to accept an optional `embedded` prop for better integration in various contexts. - Introduced a new Activity page consolidating audit logs and player request logs with tab navigation. - Added Content page for community board and loading tips with tab navigation. - Created Moderation page to unify player directory, bans, and reports under a single interface. - Implemented SettingsHome page to manage server settings and signup codes with tab navigation. - Enhanced the Join page to include password creation for new accounts. - Added global friends feature in Settings to allow all accounts to be friends without database entries. - Introduced RelationshipQueries service to manage effective friend resolution based on global friends toggle. - Added WireDates for consistent date handling in serialized data. - Created reusable Tabs component for consistent tab navigation across various pages.
This commit is contained in:
@@ -22,6 +22,16 @@ public class ServerSettingsEntity
|
||||
/// brand-new account requests are blocked.</summary>
|
||||
public bool SignupsDisabled { get; set; }
|
||||
|
||||
/// <summary>When true, every account on the server is treated as a
|
||||
/// friend of every other account — the relationships list, friend
|
||||
/// online-status HUD, and room-move fan-out all behave as if everyone
|
||||
/// is mutually friended. Built for small private servers where
|
||||
/// searching + manually friend-requesting each other is friction; no
|
||||
/// rows are written, so flipping it off instantly reverts to the real
|
||||
/// relationship graph. Blocked relationships still suppress the pairing,
|
||||
/// and the system/coach account (Id=1) is excluded.</summary>
|
||||
public bool GlobalFriendsEnabled { get; set; }
|
||||
|
||||
/// <summary>When true, the watch's weekly-challenge map reports
|
||||
/// <c>CompletedRequired</c> — the player must finish every listed
|
||||
/// challenge before the gift unlocks. Mirrors
|
||||
|
||||
Reference in New Issue
Block a user