Site Controllers
-
Declaration
Swift
struct SiteAdminController : SiteControllerUtils
-
Pages for displaying board games in the onboard Board Game Library.
See moreDeclaration
Swift
struct SiteBoardgameController : SiteControllerUtils
-
Route gorup that only manages one route: the root route “/”.
See moreDeclaration
Swift
struct SiteController : SiteControllerUtils
-
Declaration
Swift
struct SiteEventsController : SiteControllerUtils
-
Serves static files used bye the Web UI front end. Since these files are UI-level and not API-level entities, we serve these files directly from here–there’s no need to forward calls through the API. This means if you’re an API client, you shouldn’t be using the files served from these endpoints.
Files dynamically created currently require a restart to pick up.
See moreDeclaration
Swift
struct SiteFileController : SiteControllerUtils
-
Declaration
Swift
struct SiteForumController : SiteControllerUtils
-
Declaration
Swift
struct SiteFriendlyFezController : SiteControllerUtils
-
Pages for displaying info on Karaoke Songs. This is all based on 2 kinds of data on the API:
- KaraokeSongs, a static list of all ~25000 songs in the jukebox.
- Performances. Authorized users can create log entries noting that one or more performers sang a KaraokeSong.
Declaration
Swift
struct SiteKaraokeController : SiteControllerUtils
-
Declaration
Swift
struct SiteLoginController : SiteControllerUtils
-
SiteModController handles a bunch of pages that exist to moderate user content. There’s a
.moderator
value inUserAccessLevel
, but that doesn’t mean that everything in this controller is accessible by moderators.The SiteAdminController, by contrast, is responsible for the web front-end to the administration functions, such as server configuration, uploading reg codes/calendars/song lists/game lists, performance monitoring, security, and client management.
See moreDeclaration
Swift
struct SiteModController : SiteControllerUtils
-
Declaration
Swift
struct SiteSeamailController : SiteControllerUtils
-
Declaration
Swift
struct SiteTwitarrController : SiteControllerUtils
-
Declaration
Swift
struct SiteUserController : SiteControllerUtils