Commit graph

37 commits

Author SHA1 Message Date
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
ac3d52a66e Adding Log model for database-based log messages 2015-04-27 00:15:55 +02:00
2aaa4714c1 Cruft removed 2015-04-26 01:40:41 +02:00
4a5a50dd9a Slightly improved the image status. Cruft removed. 2015-04-25 20:05:38 +02:00
86e0a62c24 TODOs added 2015-04-19 11:33:41 +02:00
a84e8a62e1 Changing from double to single quotes. Fixing <<" for rdoc 2015-04-18 21:40:36 +02:00
825d1fcff3 Added Screenshot.image_url for Rake migration task to paperclip 2015-02-11 00:48:46 +01:00
ada5832dae Customized file path to screenshot files 2015-02-11 00:47:38 +01:00
be5ab53424 Trying to obfuscate Paperclip URLs 2015-02-10 22:23:29 +01:00
9877b25267 Added "uploader" and "status" methods for Screenshot class 2015-01-04 16:57:35 +01:00
095ec7813a Removing old methods before I used Paperclip 2015-01-04 16:57:20 +01:00
7aca36e46b Added Paperclip attachment handler 2015-01-04 14:19:19 +01:00
3f1ec0b202 Full text search set to english 2014-12-29 20:14:41 +01:00
72753d80ab Fixed path in Screenshots.url 2014-12-28 13:12:59 +01:00
dc17ff1e3e Added callback that removes images files when a screenshot gets destroyed 2014-12-07 22:32:13 +01:00
f3a8b7c3a5 Search feature repaired 2014-11-30 23:20:26 +01:00
fafc3295df Fixed path to screenshots 2014-11-30 16:05:57 +01:00
19a5ce81a5 Recoverd methods for Screenshot model 2014-11-23 19:55:43 +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
a7e05b2b78 Using the "images_path_prefix" configuration variable in the Package model 2013-11-20 21:21:16 +01:00
0b71665dd0 Indentation fixed 2013-11-13 23:24:23 +01:00
520d29e629 Explicitly defined default order of packages by name. 2013-08-25 23:39:05 +02:00
a5b31a2dcc Fixed eager loading of packages/screenshots 2013-08-21 23:24:07 +02:00
d6c5508fdd Fixed use of default scope for Rails 4.x 2013-08-21 22:56:22 +02:00
9b9a4c7566 Removing crap 2013-08-08 23:14:28 +02:00
d1d4cea63a Using proper SQL query to search for multiple search words. 2013-08-08 22:32:20 +02:00
ee530072eb Added package.text_search for full-text searching the Package model 2013-08-08 21:50:03 +02:00
856b43d067 Sorting screenshots from new to old by default 2013-08-07 22:07:15 +02:00
78b8f594af Enforce eager loading of backreferencing to avoid wasteful SQL queries 2013-08-07 21:37:14 +02:00
76d19f7e78 Unsuccessful attempt to properly eager load screenshots.
Currently the virtual attribute "image_url" in the screenshots model
apparently runs one SQL query each to get the packages data.
2013-08-07 00:18:20 +02:00
b62c799ee8 Added image_url method for Screenshot model 2013-08-06 22:35:42 +02:00
5559fbecd3 Added one-to-many relation between packages and screenshots 2013-08-06 22:35:05 +02:00
c2a695aec0 Packages controller added 2013-07-27 01:23:28 +02:00
3af24f56dc Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00