Kwestie (master) :  summary log tree commit diff
authorBryan W Clark <clarkbw@gnome.org>2007-11-12 05:54:20
committer Bryan W Clark <clarkbw@gnome.org>2007-11-12 05:54:20
tree35ce8481cd00ca6fd4c565b374f563c50c61cabe
parentc921fefa0d30c6a9ad4016c79403863533bff4a2 (diff)
parent07eb587653e5b5f3e944219d52dd346be727aabd (diff)
downloadkwestie-87de04b2aeff54e59583e87e9e88b239697e9db3.tar.gz
Merge branch 'attachments'
Diffstat
-rw-r--r--app/controllers/attachments_controller.rb79
-rw-r--r--app/helpers/attachments_helper.rb2
-rw-r--r--app/models/attachment.rb2
-rw-r--r--app/views/attachments/edit.rhtml12
-rw-r--r--app/views/attachments/index.rhtml18
-rw-r--r--app/views/attachments/new.rhtml11
-rw-r--r--app/views/attachments/show.rhtml3
-rw-r--r--app/views/layouts/attachments.rhtml17
-rw-r--r--config/amazon_s3.yml14
-rw-r--r--config/routes.rb10
-rw-r--r--db/migrate/006_create_attachments.rb32
-rw-r--r--public/stylesheets/scaffold.css21
-rw-r--r--test/fixtures/attachments.yml5
-rw-r--r--test/functional/attachments_controller_test.rb57
-rw-r--r--test/unit/attachment_test.rb10
-rw-r--r--vendor/plugins/attachment_fu/CHANGELOG19
-rw-r--r--vendor/plugins/attachment_fu/README162
-rw-r--r--vendor/plugins/attachment_fu/Rakefile22
-rw-r--r--vendor/plugins/attachment_fu/amazon_s3.yml.tpl14
-rw-r--r--vendor/plugins/attachment_fu/init.rb14
-rw-r--r--vendor/plugins/attachment_fu/install.rb5
-rw-r--r--vendor/plugins/attachment_fu/lib/geometry.rb93
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb405
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/db_file_backend.rb39
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb97
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/s3_backend.rb309
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb55
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/mini_magick_processor.rb56
-rw-r--r--vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/rmagick_processor.rb53
-rw-r--r--vendor/plugins/attachment_fu/test/amazon_s3.yml6
-rw-r--r--vendor/plugins/attachment_fu/test/backends/db_file_test.rb16
-rw-r--r--vendor/plugins/attachment_fu/test/backends/file_system_test.rb80
-rw-r--r--vendor/plugins/attachment_fu/test/backends/remote/s3_test.rb103
-rw-r--r--vendor/plugins/attachment_fu/test/base_attachment_tests.rb57
-rw-r--r--vendor/plugins/attachment_fu/test/basic_test.rb64
-rw-r--r--vendor/plugins/attachment_fu/test/database.yml18
-rw-r--r--vendor/plugins/attachment_fu/test/extra_attachment_test.rb57
-rw-r--r--vendor/plugins/attachment_fu/test/fixtures/attachment.rb127
-rw-r--r--vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png10
-rw-r--r--vendor/plugins/attachment_fu/test/fixtures/files/foo.txt1
-rw-r--r--vendor/plugins/attachment_fu/test/fixtures/files/rails.png9
-rw-r--r--vendor/plugins/attachment_fu/test/geometry_test.rb101
-rw-r--r--vendor/plugins/attachment_fu/test/processors/image_science_test.rb31
-rw-r--r--vendor/plugins/attachment_fu/test/processors/mini_magick_test.rb31
-rw-r--r--vendor/plugins/attachment_fu/test/processors/rmagick_test.rb241
-rw-r--r--vendor/plugins/attachment_fu/test/schema.rb86
-rw-r--r--vendor/plugins/attachment_fu/test/test_helper.rb142
-rw-r--r--vendor/plugins/attachment_fu/test/validation_test.rb55
48 files changed, 2860 insertions, 11 deletions (show diff)