Commit graph

56 commits

Author SHA1 Message Date
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
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
65f74e0568 Added simple feature to remove screenshots 2015-02-10 22:23:10 +01:00
f5d099e30a Added suggested advance-deprecation for Rails 5 2015-01-04 14:20:13 +01:00
a5dc8630be File upload route added 2014-12-31 17:30:33 +01:00
ba5e1f0d3a Added a repository to the production configuration. 2014-12-30 16:54:49 +01:00
ad9bdc6dd2 Added description to package repositories 2014-12-29 20:15:07 +01:00
183412b669 Moved vendor assets into asset pipeline. Fixes assets in production. 2014-12-28 13:11:41 +01:00
babc6ccf19 Added config for images path and sizes. 2014-12-07 22:31:32 +01:00
1bae7cf382 Added test files for the Debian package repository importer 2014-12-05 01:24:08 +01:00
2b32fe58e9 Added dummy package upload actions and routing 2014-12-01 00:14:35 +01:00
743579dc59 Added /about page 2014-12-01 00:14:18 +01:00
f940e96014 Packages grid/list view are different controller actions now 2014-11-30 19:25:21 +01:00
43a8ea9dd3 Parameter for /upload renamed to :name 2014-11-30 16:07:10 +01:00
87f545414f Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation
Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color
Moved old files out of the way (renamed them to xx*)
Welcome controller (/) works
Moved templates from ERB to SLIM format
Fixed database settings
Reduced routes to working ones
Tidied up Gemfile
Checked in experimental lab files

Tried to find a good description for this massive commit :)
2014-11-16 18:26:03 +01:00
76164dd79d Added a configurable path leading to screenshots.
Screenshots/thumbnails should be delivered statically from a front-end
web server. This introduces the "images_path_prefix" configuration
variable that makes the URL path configurable that is used to load
screenshots.
2013-11-20 21:20:25 +01:00
8e9ff1ef80 Search query and display selection kept across pages and searches 2013-11-17 01:07:27 +01:00
e0e0189342 Routes simplified for grid and list view 2013-11-14 00:18:36 +01:00