Commit graph

308 commits

Author SHA1 Message Date
5d856c61e6 Properly return a 404 if an existing package has no screenshot 2016-06-16 10:42:04 +02:00
6002cd56e0 Authlogic cruft removed 2016-06-14 17:04:43 +02:00
e5ceab72a9 Show newest screenshots first 2016-06-13 17:57:03 +02:00
9db16ab357 Consider reported screenshots for pending for moderation 2016-06-13 17:56:50 +02:00
cecb5f47cc Showing reason why a screenshot was reported 2016-06-13 17:56:26 +02:00
5bffa5dfbb Using redirect_to :back 2016-06-13 17:56:12 +02:00
0d3dfdff94 Moved approve_screenshot to packages controller 2016-06-13 17:55:59 +02:00
e46f2a3dff Fixed query for screenshots to be moderated (fixes division by zero) 2016-06-13 17:55:38 +02:00
bd3167b699 Removed useless method approve_screenshot from moderate controller 2016-06-13 17:55:05 +02:00
174a2567df Moderation view fixed. 2016-06-13 17:54:37 +02:00
34c5af8684 Package names removed as arguments. screenshot.id is sufficient 2016-06-13 17:54:19 +02:00
b30794884f screenshot.adminstatus added, debug info removed from admin dropdown 2016-06-06 15:56:16 +02:00
3da2f68938 Improved moderation page 2016-06-05 23:06:22 +02:00
df74c9e014 Moved screenshot approval code into model 2016-06-05 23:06:04 +02:00
7e883eef9d Two-column view of to-be-moderated and already-published screenshots 2016-05-18 18:40:24 +02:00
d0d9977cc2 Search for both unapproved and markedfordelete screenshots 2016-05-18 18:40:07 +02:00
a9ee2ab79d Renamed class to match Foundation 6 2016-05-18 18:39:35 +02:00
8b76ac55c3 Showing pending screenshots properly in moderation view 2016-05-16 23:47:20 +02:00
704aa3aa0a Moved footer information to about page 2016-05-16 23:46:03 +02:00
6e5c0c8e40 Removed footer because it's useless 2016-05-16 23:45:14 +02:00
a992181cec Added approval pending screenshots to moderation view 2016-05-16 23:45:05 +02:00
c9469709d6 Fixed class and instance methods for pending screenshots/packages 2016-04-14 16:49:46 +02:00
d4f3c2ecc5 Removed default sorting scope to avoid problems with group_by 2016-04-14 16:49:29 +02:00
a153391615 Moved moderation code to new moderate controller 2016-04-14 16:49:17 +02:00
b32f26a1b8 Moderation view added 2016-04-08 18:26:05 +02:00
f12f61b23c Show progressbar on moderation screen 2016-04-08 18:25:53 +02:00
57ee7c849c Enable progress bar feature in Foundation 2016-04-08 18:25:32 +02:00
56a8f0488b Higher progress bars 2016-04-08 18:25:22 +02:00
2cb041bf8d Dark background in header 2016-04-08 17:10:36 +02:00
7cd48ed7d6 Only show approve button if screenshot is not yet approved 2016-04-08 15:54:25 +02:00
2d5729c9c6 Added partial to allow anonymous users to report screenshots to have them removed 2016-04-07 18:56:08 +02:00
9bb9cf1f5d Added moderation, report and approval buttons for admins, uploaders and anonymous people 2016-04-07 18:44:12 +02:00
014a840493 Removed Foundation plugins that are currently not used 2016-04-07 18:43:38 +02:00
16999260ca Dropdown on details page allows image management for users and admins 2016-04-07 17:01:00 +02:00
263f6cd33f Allow users to delete their screenshots 2016-04-07 17:00:21 +02:00
fe8ae6feb7 Changed flash type to 'notice' 2016-04-07 16:59:26 +02:00
d70d2ee1ac Allow deleting screenshots for the user, too 2016-04-07 16:59:09 +02:00
03b221a3df Simplified flash message animation. Moved to bottom right. Increased timeout. 2016-04-07 09:42:47 +02:00
4559960e0a Fixed flash message text 2016-04-07 09:37:37 +02:00
ba5a89a26a Moved screenshots_visible_to_user to model 2016-04-06 16:41:52 +02:00
1cc189ccdc Amaran jQuery plugin added (growl-like popups) 2016-04-06 16:41:09 +02:00
6192e1bc3b Creating query to get screenshots visible to a user 2016-03-05 15:55:24 +01:00
53b297da1e Working on query to only display moderated or own uploads 2016-03-04 18:23:12 +01:00
5147497d3f Hiding user token in footer 2016-03-04 18:22:45 +01:00
3eeb9a63dc Using created_at instead of legacy 'uploaddatetime' field 2016-03-04 15:41:50 +01:00
48ca75cb64 Secured deletion/moderation of screenshots
Only logged in users can do that.
2016-03-04 12:32:41 +01:00
51c6c99d61 Turned admin/moderation on details page into a dropdown 2016-03-04 12:32:24 +01:00
1a089c4b0a User logged in turned into normal link in the topbar
Otherwise there are two tabs in the navigation that appear to be active
which is misleading.
2016-03-04 12:31:58 +01:00
cd5f34ba0e Fixed showing package count on home and about pages 2016-03-04 11:27:18 +01:00
f34de8a386 Centering/aligning image on details page with caption text 2016-03-04 11:10:42 +01:00