Commit graph

330 commits

Author SHA1 Message Date
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
785191e2c2 Minimal changes - nothing functional 2015-04-23 22:34:58 +02:00
707d327765 TODO added 2015-04-23 22:34:30 +02:00
369837a6d7 Removed documentation on Elasticsearch.
Elasticsearch is no longer planned for debshots.
Full-text search using PostgreSQL is sufficient.
2015-04-23 17:23:26 +02:00
bdfad36cc1 Added hints on used components. 2015-04-23 17:22:59 +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
084c7cf32c Using local dev and test databases. 2015-04-23 17:22:09 +02:00
9f6bcd12e4 Forward deprecation of tests to Rails 5 2015-04-23 17:21:55 +02:00
383f69c0b7 test_helper got updated automatically 2015-04-23 17:21:35 +02:00
ed99d198f0 Fixed controller tests 2015-04-23 17:20:06 +02:00
63e3c62356 Importer tries to read long descriptions from translations file. Still buggy.
The description text is not properly split after the first line.
2015-04-23 17:19:51 +02:00
f741112818 Added migration to make package.long_description a longer text field 2015-04-23 17:19:11 +02:00
754953a653 Remove Rails 4 compatibility cruft. 2015-04-23 17:18:55 +02:00
7005c5397a Guard added 2015-04-23 14:59:23 +02:00
4c126a4ed0 Added spring-pimped start scripts for rake, rails etc. 2015-04-23 14:58:30 +02:00
c05b52895d Parsing of i18n file added.
Allows us to read long descriptions and add them to the package information
2015-04-23 00:29:30 +02:00
a15b2b6674 DEB importer can now handle bzip2 files 2015-04-23 00:04:06 +02:00
beeb4cd37a Stats counter added. Limiting to wanted archs. 2015-04-22 23:03:49 +02:00