Commit graph

305 commits

Author SHA1 Message Date
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
4c43e10ab3 Added architectures whitelist for Debian repository importer
Only the given architectures are considered.
This reduces the amount of computing required when updating the database from Debian repositories. And it probably limits the packages to those being availble on the more popular desktop architectures like amd64 and i386.
2015-04-22 23:03:25 +02:00
d888829ce6 Added /about hint on missing packages 2015-04-22 23:02:20 +02:00
8b8073bdd0 Added "debshots" namespace and list_deb_repos task 2015-04-22 21:45:36 +02:00
1034afa92d Added "/" to URL paths when reading HTTP repositories 2015-04-22 21:45:06 +02:00
13218841f4 Optimisation: only query database if the package is not obviously blacklisted
Performance gain: 20x
2015-04-20 20:33:40 +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
841e3071f8 Redirect legacy /upload URL to /packages
Uploading is now done from the respective package details page.
There is no generic upload page any more.
2015-04-19 13:01:05 +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
0efe3ba176 Gem update to fix deprecation warnings with Zurb Foundation. 2015-04-19 10:01:50 +02:00
e8b4b7b525 Renamed to from "upload file" to "upload files".
Multiple file uploads are supported now.
2015-04-19 01:12:01 +02:00
1ac12c02a8 Added please-wait button that shows after automatic file upload 2015-04-19 01:11:43 +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
6b23f7d8e5 Upload of multiple screenshots works. 2015-04-18 23:40:16 +02:00