Commit graph

214 commits

Author SHA1 Message Date
cd6fb9ca23 Moved flash messages to general layout 2015-05-02 16:16:40 +02:00
3988c7ddf3 Devise authentication added - no registration though 2015-05-02 16:16:29 +02:00
10ad679b4d Apply shadow effect even to dummy image 2015-05-02 12:23:23 +02:00
84b2af5f60 image_url() fixed. Wrong quotes. Interpolates path correctly now. 2015-05-02 11:56:27 +02:00
979deabb29 Reference to deprecated upload path removed. 2015-05-02 11:34:56 +02:00
637b4666ff Fixing shadows. SVG dummy images now get proper shadows.
Formerly shadows were shown around the square box of
the dummy images. But as we use images with rounded
corners shadows look terrible around the boxes. Now they
render properly.
2015-05-02 11:34:11 +02:00
d866f17405 Removed "round" CSS class from alert boxes.
Round corner should only be used for action buttons.
2015-04-27 00:55:14 +02:00
308c89c9ea Explanation for validator of unique images added 2015-04-27 00:54:57 +02:00
ca7065dd5c Ordering logs by date 2015-04-27 00:54:27 +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
e64c31b8af Show session token in footer for debugging. Needs to be removed in production. 2015-04-27 00:20:47 +02:00
3a17af689e Added unique validator that checks for duplicate image uploads 2015-04-27 00:20:25 +02:00
9377af7795 Added size limit of 5 MB for screenshots 2015-04-27 00:20:10 +02:00
7e1bf0d152 Screenshot validator uses string instead of regex 2015-04-27 00:19:47 +02:00
4c6beadd8e Show "No screenshots available" as dummy image now. 2015-04-27 00:19:24 +02:00
e54d09a10b Show "Start uploading" button with rounded corner
Let's have all action buttons get rounded corners to make them clearer.
2015-04-27 00:19:03 +02:00
8c45f09e46 Added headline "Details" to bigpanel in package details view 2015-04-27 00:18:26 +02:00
531325548e Use dummy image "Sorry. No screenshot found." instead of "... Upload one?" 2015-04-27 00:17:53 +02:00
ac3d52a66e Adding Log model for database-based log messages 2015-04-27 00:15:55 +02:00
e1bef18152 Create unique token for each user in the cookie session 2015-04-27 00:15:21 +02:00
81850f367c Blurred shadow around screenshots is now centered 2015-04-27 00:15:07 +02:00
b4a3e5ba33 Made background color slightly brighter 2015-04-27 00:14:54 +02:00
149b2c63f7 Partial to display flash messages added. 2015-04-26 01:43:04 +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
1c50a45b31 Flash messages in package/details view added 2015-04-26 01:41:18 +02:00
2aaa4714c1 Cruft removed 2015-04-26 01:40:41 +02:00
ce5f99887d Merge branch 'master' of bitbucket.org:signum/debshots
Conflicts:
	app/views/packages/details.slim
2015-04-25 20:09:28 +02:00
4a5a50dd9a Slightly improved the image status. Cruft removed. 2015-04-25 20:05:38 +02:00
96f3de0223 Show placeholder image if a package has no screenshots. 2015-04-24 17:54:37 +02:00
b421b9e0f6 Background color made darker to see the difference to white areas better. 2015-04-24 17:54:23 +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
bab9c89ddb Display long description in package detail page. 2015-04-23 17:22:26 +02:00
d888829ce6 Added /about hint on missing packages 2015-04-22 23:02:20 +02:00
9b3f05bad9 Removed image on the front page.
Because there is no useful information like review ratings or popcon scores that would help here.
Might be re-enabled later when that information is available.
2015-04-20 20:02:42 +02:00
20f384c36e Image caption shown in italic 2015-04-20 20:02:04 +02:00
3707c1c33c Added blurred shadow around images 2015-04-20 19:49:12 +02:00
6644d69e26 Removed useless links in list view.
Details link is not needed because the image leads to the details page now.
The upload link is also not needed because uploading happens from
the respective package page.
2015-04-19 23:09:19 +02:00
fb52ce44db Linking to package details page from list view.
Previously a Fancybox zoomed into the images. Now the link is more
consistent and leads to the package's detail package.
2015-04-19 23:08:42 +02:00
57b5df0a1c Showing screenshots in package details as a list instead of a grid 2015-04-19 22:28:57 +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
8b0ff06172 Moved explanation of cookie usage to about page. 2015-04-19 11:48:08 +02:00
588019ea46 Hint on moderator rejection added to upload modal page. 2015-04-19 11:33:57 +02:00
86e0a62c24 TODOs added 2015-04-19 11:33:41 +02:00
3d297b0cb6 Added EU cookie compliance handling.
Adds an annoying bar at the bottom to comply with EU
cookie privacy law (while the secret services strip us naked
and craps on our privacy big time).
2015-04-19 11:32:02 +02:00
8c3de4c142 Use modal for image upload.
This way there's more space to display the hints on how screenshots
should be taken.
2015-04-19 11:12:59 +02:00
94de7fc9ca Upload form now shows an image button and submits automatically. 2015-04-19 01:11:20 +02:00
c691f60ef1 Cruft removed. 2015-04-19 01:10:57 +02:00
a753b4a1a8 jQuery fileUpload plugin removed. Too complicated. 2015-04-19 01:10:48 +02:00