Documentation ¶
Index ¶
- func APIMassMod(c *gin.Context)
- func CommentDeleteModPanel(c *gin.Context)
- func CommentsListPanel(c *gin.Context)
- func DeletedTorrentsModPanel(c *gin.Context)
- func DeletedTorrentsPostPanel(c *gin.Context)
- func ExecuteReassign(f *torrentValidator.ReassignForm) (int, error)
- func IndexModPanel(c *gin.Context)
- func TorrentBlockModPanel(c *gin.Context)
- func TorrentDeleteModPanel(c *gin.Context)
- func TorrentEditModPanel(c *gin.Context)
- func TorrentPostEditModPanel(c *gin.Context)
- func TorrentPostReassignModPanel(c *gin.Context)
- func TorrentReassignModPanel(c *gin.Context)
- func TorrentReportDeleteModPanel(c *gin.Context)
- func TorrentReportListPanel(c *gin.Context)
- func TorrentsListPanel(c *gin.Context)
- func TorrentsPostListPanel(c *gin.Context)
- func UsersListPanel(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIMassMod ¶
APIMassMod : This function is used on the frontend for the mass
Query is: action=status|delete|owner|category|multiple * Needed: torrent_id[] Ids of torrents in checkboxes of name torrent_id * * Needed on context: * status=0|1|2|3|4 according to config/find.go (can be omitted if action=delete|owner|category|multiple) * owner is the User ID of the new owner of the torrents (can be omitted if action=delete|status|category|multiple) * category is the category string (eg. 1_3) of the new category of the torrents (can be omitted if action=delete|status|owner|multiple) * * withreport is the bool to enable torrent reports deletion (can be omitted) * * In case of action=multiple, torrents can be at the same time changed status, owner and category
func CommentDeleteModPanel ¶
CommentDeleteModPanel : Controller for deleting a comment
func CommentsListPanel ¶
CommentsListPanel : Controller for listing comments, can accept pages and userID
func DeletedTorrentsModPanel ¶
DeletedTorrentsModPanel : Controller for viewing deleted torrents, accept common search arguments
func DeletedTorrentsPostPanel ¶
DeletedTorrentsPostPanel : Controller for viewing deleted torrents after a mass update, accept common search arguments
func ExecuteReassign ¶
ExecuteAction : Function for applying the changes from ReassignForm
func IndexModPanel ¶
IndexModPanel : Controller for showing index page of Mod Panel
func TorrentBlockModPanel ¶
TorrentBlockModPanel : Controller to lock torrents, redirecting to previous page
func TorrentDeleteModPanel ¶
TorrentDeleteModPanel : Controller for deleting a torrent
func TorrentEditModPanel ¶
TorrentEditModPanel : Controller for editing a torrent after GET request
func TorrentPostEditModPanel ¶
TorrentPostEditModPanel : Controller for editing a torrent after POST request
func TorrentPostReassignModPanel ¶
TorrentPostReassignModPanel : Controller for reassigning a torrent, after POST request
func TorrentReassignModPanel ¶
TorrentReassignModPanel : Controller for reassigning a torrent, after GET request
func TorrentReportDeleteModPanel ¶
TorrentReportDeleteModPanel : Controller for deleting a torrent report
func TorrentReportListPanel ¶
TorrentReportListPanel : Controller for listing torrent reports, can accept pages
func TorrentsListPanel ¶
TorrentsListPanel : Controller for listing torrents, can accept common search arguments
func TorrentsPostListPanel ¶
TorrentsPostListPanel : Controller for listing torrents, after POST request when mass update
func UsersListPanel ¶
UsersListPanel : Controller for listing users, can accept pages
Types ¶
This section is empty.