Commit graph

348 commits

Author SHA1 Message Date
c87011ff84 Session token/IP based user authentication added 2015-06-14 12:33:18 +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
be9113ea3f Note for future unique constraint on image_fingerprint added 2015-04-27 00:54:02 +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
bdd2753c96 Added logs table to database schema 2015-04-27 00:18:09 +02:00
531325548e Use dummy image "Sorry. No screenshot found." instead of "... Upload one?" 2015-04-27 00:17:53 +02:00
019ff7c519 Changing Rake namespace to "debshots"
Let's group all debshots-related Rake tasks under a common namespace
2015-04-27 00:17:21 +02:00
3cd354f9c8 Added dummy image for no-screenshots-available as SVG 2015-04-27 00:16:25 +02:00
2df1024b9b Added Rake task to remove duplicate screenshots 2015-04-27 00:16:08 +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
2af820da95 Added hint on how to use logging 2015-04-27 00:13:50 +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
96fcb9c940 Gems updated 2015-04-26 01:41:48 +02:00
cd02c818e5 Disabled annoying log lines from asset pipeline 2015-04-26 01:41:33 +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
c2bf89e634 Added proper robots.txt 2015-04-26 01:40:17 +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
9a0da2b396 Unused variable removed 2015-04-24 17:00:45 +02:00
da6309400c Refactored check if a package name or section is blacklisted 2015-04-24 17:00:15 +02:00
7c6b5c7205 Removed component argument from DebImporter::Release.new 2015-04-24 16:59:47 +02:00
f511dfbd56 Handle missing files/URLs gracefully.
If no version of a URL is found the importer just skips the URL now instead of throwing an error.
2015-04-24 16:58:08 +02:00
10ebc63dc1 Added test for i18n long description 2015-04-24 13:49:05 +02:00
c944e1ba91 Fixed parser to add proper newlines in multi-line values
Example:

Key: Value1
 Value2
 Value3

Before: "Value1Value2\nValue"
After: "Value1\nValue2\nValue"
2015-04-24 13:48:55 +02:00
061306e09e Tidied up 2015-04-24 12:53:57 +02:00
4fa645d830 Shortened repository importer test 2015-04-24 12:20:35 +02:00
8031edf2d1 Tidying up 2015-04-24 12:20:19 +02:00
f0fec31123 Removed "rails s" from Guardfile 2015-04-24 12:20:06 +02:00
2a020a2193 Architectures and components limited for testing. 2015-04-24 12:19:56 +02:00
ae66d11abb Minor reformatting 2015-04-24 11:18:35 +02:00
f1059c520c Refactoring the search for compress files (bz2, gz, ...) 2015-04-24 11:18:21 +02:00
15d56a5301 Load path added so that Guard can selective run this test 2015-04-23 23:13:02 +02:00
f9279337ed Added unit test for Debian importer 2015-04-23 22:35:15 +02:00