Commit graph

73 commits

Author SHA1 Message Date
639d7941e5 Added 1-day expiration for reviews requests to allow caching by Nginx 2016-08-16 12:58:23 +02:00
339bb0427f Showing reviews on package's details page from Ubuntu 2016-08-16 12:50:03 +02:00
b57ed7ce1b Validation for screenshot reporting form fixed 2016-07-21 18:38:44 +02:00
ff0b93380a Recaptcha support added when reporting screenshots
There's lots of spam recently. We need to do something against it.
2016-07-21 11:29:25 +02:00
97c5878227 User-friendly 404-page added 2016-07-15 18:16:25 +02:00
6a92292e9b Return thumbnail or screenshot image upon 404 instead of exception 2016-07-15 11:02:38 +02:00
f20e53ea6f find! does not exist - using find 2016-07-13 22:43:59 +02:00
681ef50495 Merge branch 'master' of git.workaround.org:chaas/debshots 2016-07-13 22:41:45 +02:00
13c42e8d6b Adding package version to current screenshot upload 2016-07-13 22:41:39 +02:00
473346d9f3 Returning 404 if packages are not found 2016-07-13 14:30:21 +02:00
df94be866e Creating user session only when uploading a screenshot
This makes responses usually cacheable.
2016-07-13 14:22:03 +02:00
773548afc3 Merge branch 'master' of git.workaround.org:chaas/debshots 2016-07-12 20:32:36 +02:00
bb79e109c2 Legacy upload method for images from Debshots 1.x implemented 2016-07-12 20:31:09 +02:00
205c624778 Delivering proper PNG 404 images for thumbnails and large images 2016-06-27 17:38:24 +02:00
0c4a0d9a3a Joined thumbnail_with_version with thumbnail dev to remove redundant code 2016-06-27 16:00:28 +02:00
04c5009b5d Simplification refactoring 2016-06-27 15:59:42 +02:00
bed96ed633 Renamed templates for list and grid view to avoid manual call of render() 2016-06-24 16:41:02 +02:00
9603550aab /thumbnail-with-version/package/version implemented 2016-06-24 16:18:36 +02:00
458d1b668d Boolean logic glitch fixed for when to return a 404 2016-06-16 10:45:11 +02:00
5d856c61e6 Properly return a 404 if an existing package has no screenshot 2016-06-16 10:42:04 +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
a153391615 Moved moderation code to new moderate controller 2016-04-14 16:49:17 +02:00
f12f61b23c Show progressbar on moderation screen 2016-04-08 18:25:53 +02:00
9bb9cf1f5d Added moderation, report and approval buttons for admins, uploaders and anonymous people 2016-04-07 18:44:12 +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
48ca75cb64 Secured deletion/moderation of screenshots
Only logged in users can do that.
2016-03-04 12:32:41 +01:00
c87011ff84 Session token/IP based user authentication added 2015-06-14 12:33:18 +02:00
4dcbd365ff Writing log entry for each uploaded screenshot 2015-04-27 00:54:14 +02:00
19e51445fd Showing information about failure or success of image uploads 2015-04-27 00:21:08 +02:00
e8c4694ef0 Added validations for uploaded screenshots.
Checks if Paperclip complained about an invalid file (e.g. no PNG)
Checks if the upload is a duplicate.
2015-04-26 01:42:22 +02:00
707d327765 TODO added 2015-04-23 22:34:30 +02:00
0382c09361 Refactored packages controller. Tidied up a lot. Same functionality. 2015-04-23 17:22:48 +02:00
c085df9eed Implemented the /thumbnail/PACKAGE url
Returns a 160x120 thumbnail image if possible
Returns a dummy image and a 404 status code otherwise.
2015-04-19 12:56:58 +02:00
86e0a62c24 TODOs added 2015-04-19 11:33:41 +02:00
c691f60ef1 Cruft removed. 2015-04-19 01:10:57 +02:00
6b23f7d8e5 Upload of multiple screenshots works. 2015-04-18 23:40:16 +02:00
ec726ed62a Merge 2015-04-18 21:39:12 +02:00
1926d8c330 Removed cruft 2015-02-23 22:33:36 +01:00
b786ba24b0 Show all packages if search term is submitted empty 2015-02-23 22:33:09 +01:00
65f74e0568 Added simple feature to remove screenshots 2015-02-10 22:23:10 +01:00
60a183576c Uploading screenshots really works finally. :) 2015-02-10 16:54:06 +01:00
7451cca9cf Uploading screenshots works 2015-02-10 01:20:28 +01:00
23216cf38c Added jQuery file upload plugin 2015-01-13 22:49:28 +01:00
6204e1f89e Todo marks added 2014-12-31 17:33:21 +01:00
d701947c68 Began working on screenshot upload feature. 2014-12-31 17:17:01 +01:00
4ff64ab146 Show fewer images in package list view to reduce amount of data. 2014-12-29 14:54:27 +01:00