Commit graph

100 commits

Author SHA1 Message Date
Christoph Haas
228b7375e7 Refactored auto-approve code to make it more readable 2018-08-17 17:07:42 +02:00
Christoph Haas
9428d8d7dd Screenshot upload process fixed and tested 2018-08-17 09:21:32 +02:00
Christoph Haas
591845a25d Reindented 2018-08-06 22:59:26 +02:00
Christoph Haas
79d4c9f834 Fixed bogus indentation 2018-08-06 18:47:13 +02:00
Christoph Haas
8e668603fc Fixed sort order of packages and screenshots
Packages are sorted by most visits
Screenshots are sorted by newness
2018-08-06 18:41:05 +02:00
Christoph Haas
197f81ce7a Show screenshots ordered by upload date 2018-08-06 16:25:40 +02:00
Christoph Haas
fe6430322b Disabled Ubuntu reviews
The reviews are pretty useless. People refer to bugs or old versions or
just don't know how to use a piece of software. This is not helpful.
2018-06-19 11:49:02 +02:00
43f1419354 Fixed redirection back after approving an image 2018-05-28 17:29:56 +02:00
b67ac9d36a Handle empty uploads 2018-05-28 16:49:55 +02:00
dd7527691e Dammit… I can't remember what I changed and why 2018-05-06 19:07:55 +02:00
45e543ab87 Setting owner for new uploads 2017-08-17 19:22:26 +02:00
317e583b97 Fixed ACL check for deleting screenshots 2017-08-17 19:00:35 +02:00
0bfacbee30 Anonymous uploads replaced by creation of ad-hoc users 2017-08-17 09:31:06 +02:00
d9d0babb2c Create a cookie token only if the user is anonymous 2017-08-14 19:08:52 +02:00
Christoph Haas
193d44f89a Stuff 2017-08-14 08:09:23 +02:00
862c864ffe Sort packages in view by their visits (public interest) 2017-04-23 22:55:39 +02:00
527bc7cd07 Fixed display of Ubuntu reviews 2017-04-19 21:44:54 +02:00
8e2ebe3cf6 Loading of Ubuntu reviews slightly refactored 2017-04-05 16:27:14 +02:00
72ccc986a4 Google's recaptcha removed. Avoid external dependencies. 2017-04-05 16:26:23 +02:00
20cf3e0f10 Added route for /my_uploads 2017-02-06 09:49:51 +01:00
0e02b70213 Routing changed to accomodate new upload workflow 2017-01-31 22:44:36 +01:00
82fb26efad Hint added 2017-01-22 23:43:21 +01:00
34d7eb649c New upload review process partly finished 2017-01-18 21:30:14 +01:00
2189f8cc81 Merge branch 'master' of git.workaround.org:chaas/debshots 2016-11-03 13:23:15 +01:00
396f3a7751 Merge branch 'master' of git.workaround.org:chaas/debshots 2016-11-02 20:05:46 +01:00
10e44d1aaf Upload workflow improved 2016-11-01 09:16:52 +01:00
0b5f158dd0 Upload page fixed for multi-uploads. Beautification. 2016-10-30 13:02:41 +01:00
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