Commit graph

74 commits

Author SHA1 Message Date
339bb0427f Showing reviews on package's details page from Ubuntu 2016-08-16 12:50:03 +02:00
434e44a2a3 SSL can safely be enforced. nginx can handle that without loops now. 2016-08-06 12:10:30 +02:00
d9dd2792c6 Do not redirect HTTP to HTTPS globally. Causes 90% double requests. 2016-07-28 18:17:47 +02:00
b4ae69a519 Enforce HTTPS in production 2016-07-22 11:59:14 +02:00
ff0b93380a Recaptcha support added when reporting screenshots
There's lots of spam recently. We need to do something against it.
2016-07-21 11:29:25 +02:00
29867287a5 Regexp for screenshot/thumbnail-with-version fixed 2016-07-13 23:31:24 +02:00
854b6d1390 Accidentally named to paths equally. Fixed. 2016-07-13 22:59:41 +02:00
0f88c13025 Legacy thumbnail-404 and screenshot-404 URLs added 2016-07-13 22:56:59 +02:00
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
1928f8d2a8 Caching configured using file_store 2016-06-28 17:12:32 +02:00
c0109eb6e7 json/packages-without-screenshots implemented 2016-06-28 17:09:17 +02:00
a90bb51b38 /json/packages and /json/screenshots implemented 2016-06-28 17:03:54 +02:00
b3d0b2dc06 JSON controller added. /json/package/:name implemented 2016-06-28 11:39:31 +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
19257a7656 Added legacy URLs /without_screenshots and /with_screenshots 2016-06-24 16:27:04 +02:00
9603550aab /thumbnail-with-version/package/version implemented 2016-06-24 16:18:36 +02:00
4a99d84919 Do not serve static files from the application in production mode 2016-06-21 10:58:34 +02:00
e446ec57b1 Enable X-Accel-Redirect for nginx production use 2016-06-16 12:11:00 +02:00
30924aae0e Production database is now PostgreSQL with ident authentication 2016-06-16 10:42:22 +02:00
36f9ea3b6f Config variables fixed for production environment 2016-06-14 16:59:40 +02:00
34c5af8684 Package names removed as arguments. screenshot.id is sufficient 2016-06-13 17:54:19 +02:00
5934e0c555 Serving asset files seperately in development mode 2016-05-16 23:47:51 +02:00
a153391615 Moved moderation code to new moderate controller 2016-04-14 16:49:17 +02:00
b32f26a1b8 Moderation view added 2016-04-08 18:26:05 +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
28e4f8e705 Using own custom Foundation 6 paginator 2016-03-03 17:11:54 +01:00
927fa71266 Configured Devise to lock accounts for a certain time 2016-03-02 15:42:13 +01:00
a9e0669657 Devise updated 2016-03-01 17:27:21 +01:00
bd46e4c9e8 Using local development database 2016-02-26 17:31:26 +01:00
35eb83448e Added "devise" for authentication. 2015-07-15 17:06:32 +02:00
e6a0f15340 Removed "authlogic" completely. Let's try "devise". 2015-07-15 17:05:56 +02:00
737ff62cfc Trying to get authlogic running 2015-07-13 18:42:36 +02:00
ea49d815dd Database on localhost is used for development. 2015-06-26 21:18:32 +02:00
a2178d8226 Merge branch 'master' of bitbucket.org:signum/debshots 2015-06-15 13:05:10 +02:00
a9b7e50209 Set development database to localhost again 2015-06-15 13:03:47 +02:00
fa47827f7a Fixed routing for packages containing a dot in their names 2015-06-14 23:12:24 +02:00
2b64bd4b80 Legacy screenshots path removed from config 2015-06-14 23:11:41 +02:00
4abfb29599 Merge branch 'master' of bitbucket.org:signum/debshots
Conflicts:
	README.Developer
	app/views/packages/details.slim
	bin/get-data-from-old-live-server.sh
2015-06-14 12:36:58 +02:00
5c31a94aef Devise removed. Broke tests. Trying another auth gem. 2015-05-03 13:31:13 +02:00
3988c7ddf3 Devise authentication added - no registration though 2015-05-02 16:16:29 +02:00
cd02c818e5 Disabled annoying log lines from asset pipeline 2015-04-26 01:41:33 +02:00
2a020a2193 Architectures and components limited for testing. 2015-04-24 12:19:56 +02:00
f9279337ed Added unit test for Debian importer 2015-04-23 22:35:15 +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
754953a653 Remove Rails 4 compatibility cruft. 2015-04-23 17:18:55 +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