Skip to content

[TODO] Add controllers #102

@gbowne1

Description

@gbowne1

We only have one controller which is pretty weak sauce... Add some more

/src/controllers/UserController.js
Methods: getUserProfile, updateUserProfile, changePassword, listUsers

/src/controllers/ModerationController.js
Methods: muteUser, unmuteUser, banUser, unbanUser, timeoutUser, promoteUser, demoteUser, disableChat, enableChat, getModerationLog

/src/controllers/StreamController.js
Methods: createStream. updateStream, endStream, getStreams, getStreamById, searchStreams

/src/controllers/ChatController.js
Methods: sendMessage, deleteMessage, getChatHistory

/src/controllers/AdminController.js
Methods: getDashboardStats, getAllUsers, getAllStreams, getAllModerationActions, updateSiteSettings

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions