deltabeard / FROST

FRee and Open Source Tube
GNU General Public License v3.0
0 stars 1 forks source link

Show video information in Moderation Interface #10

Closed deltabeard closed 9 years ago

deltabeard commented 10 years ago

Display a list of all videos on the Moderation Interface (possibly on another page /modint/video.php). The list should display information such as Title, Upload date, IP address of uploader, and whether it has been approved. The list should be ordered by upload date. Each video should have a button next to it. An already approved video should have two buttons: 'Un-moderate' and 'Delete Forever'. A video that has not been moderated will have an 'approve' button and a delete button.

The Un-moderate button will block the general user from watching the video. This is useful if the moderator isn't sure if the video should be taken down, and will allow another moderator to make a decision. The delete button will delete the video file on the server, but all other records of the video will remain in the database. When the delete button is pressed, a text box and submit button should appear. The reason the video is to be removed should be written in the text box, or a removal code (which will display a generic description corresponding to the removal code). Pressing the submit button will then apply changes - remove the video and add removal description/code to the database. This is so that anyone trying to watch the video is notified that the video was deleted and why.

The ability to play any video on the server should be possible without leaving this Moderation Interface. This is so that moderators may watch a video before it is to be judged. This could be done by having a drop down button that will cause the video to appear.

I have made a few drawings to show what is required from this issue:

  1. This is the video list page (videos listed by Upload date - should be newest to oldest, not oldest to newest as show in the image, although a sort option will be implemented later). This page will list all the videos in the database - including videos deleted before. Videos that have been deleted will have it's status as 'Deleted' and will not have a 'Change' or 'Watch' option (since the video has been deleted from the server). But it will have a 'Show Reason' button which will display the reason why the video was deleted. img_20140914_171711 01
  2. When the 'Change' button is pressed, two more buttons appear, 'Un-moderate' and 'Delete Forever'. When the 'Delete Forever' button is pressed, a text box appears. This will allow the moderator to enter the reason or code as to why the video was deleted. In the example below, '002' is a code that would refer to something like 'Copyright Violation'. If no preset reasons correspond to the reason the video was removed, then a description may be entered in to the text box instead. The 'Confirm Delete' button will delete the video and record the reason why. Until the 'Confirm Delete' button is pressed, no changes are made. img_20140914_172415 01
  3. When the 'Watch' button is pressed, the video will appear below, allowing the mod to watch the video directly from the moderation interface regardless if it is approved or not. img_20140914_172701 01
deltabeard commented 9 years ago

https://github.com/TormundTargers/FROST/issues/2 contains information of the data that is stored in the database.

TormundTargers commented 9 years ago

Instead of typing in the removal code, we can use a select box with the description of the removal code. Each option can use its removal code as its value

deltabeard commented 9 years ago

When the moderator presses the 'delete' button on a video, a dialogue box will appear (using javascript) and then the mod can select from a drop down list the reason for removal. Eg. http://jsfiddle.net/5UT5q/1/

deltabeard commented 9 years ago

Fixed in Management-Interface branch.