Commit graph

62 commits

Author SHA1 Message Date
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
2b32fe58e9 Added dummy package upload actions and routing 2014-12-01 00:14:35 +01:00
29a8b611d4 Junk removed 2014-12-01 00:04:38 +01:00
f3a8b7c3a5 Search feature repaired 2014-11-30 23:20:26 +01:00
f940e96014 Packages grid/list view are different controller actions now 2014-11-30 19:25:21 +01:00
1c59a5ac74 Mostly fixed the packages list, grid and detail views 2014-11-30 16:07:28 +01:00
87f545414f Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation
Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color
Moved old files out of the way (renamed them to xx*)
Welcome controller (/) works
Moved templates from ERB to SLIM format
Fixed database settings
Reduced routes to working ones
Tidied up Gemfile
Checked in experimental lab files

Tried to find a good description for this massive commit :)
2014-11-16 18:26:03 +01:00
8e9ff1ef80 Search query and display selection kept across pages and searches 2013-11-17 01:07:27 +01:00
2edcee06cd Handling the grid/list display in the view now 2013-11-14 00:19:12 +01:00
fde6a8dbb0 Using right search form parameter "search" 2013-11-13 23:24:34 +01:00
bc774c8b65 Simplified the grid and list view of packages 2013-11-12 22:58:36 +01:00
e3e1871a8f Better use of Rails' tag helpers. Added list view. 2013-08-25 23:38:50 +02:00