Граф коммитов

143 Коммитов

Автор SHA1 Сообщение Дата
technoweenie 8fbfceecf6 Check for current type of :thumbnails option.
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2831 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-04-02 21:49:10 +00:00
technoweenie 1c14574906 other fixes, but most importantly: Don't try to remove thumbnails if there aren't any. Closes #3 [ben stiglitz]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2830 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-04-02 21:18:46 +00:00
technoweenie 62d8d40549 tweak temp_paths some more so it works for new records
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2792 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-03-06 06:23:56 +00:00
technoweenie fed289923b add default #temp_paths entry [mattly]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2790 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-03-06 05:05:17 +00:00
technoweenie adf7694cdb add MiniMagick support to attachment_fu [Isacc]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2744 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-02-19 08:02:13 +00:00
technoweenie 0d479b7607 update #destroy_file to clear out any empty directories too [carlivar]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2734 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-02-09 07:11:49 +00:00
technoweenie 34046b678b fix references to S3Backend module [Hunter Hillegas]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2730 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-02-02 20:49:01 +00:00
technoweenie 4ce10cd896 dont forget to require ftools
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2721 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-29 22:45:45 +00:00
technoweenie bfb2c57e53 copy the mongrel temp file, and chmod 0644. pass :chmod => 0777 to change
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2720 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-29 22:28:35 +00:00
technoweenie 7221288404 forgot one instance of include not loading the correct processor const
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2694 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-15 23:10:30 +00:00
technoweenie 6c6023db30 s3 constant fixes
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2693 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-15 23:09:43 +00:00
technoweenie b53558ab54 rename backend/processor modules to have an appropriate suffix so there are no class clashes
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2692 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-15 23:05:11 +00:00
technoweenie a6821d3cc3 fix small bug where imagescience still processes non-images
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2683 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-15 07:29:23 +00:00
technoweenie dc06765d00 update tests to work better with custom server/port (parkplace ftw)
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2676 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-14 19:12:34 +00:00
technoweenie 7be8acf8c4 updates to s3 support with remote tests
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2675 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-14 18:35:00 +00:00
technoweenie 4b76298835 dont break tempfile with my crazy monkey patches
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2655 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-11 18:46:06 +00:00
technoweenie e279f106b4 change #process_attachment to an after_validation callback
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2654 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-11 02:05:27 +00:00
technoweenie d35205c97b add image science resizing support, make it the default image processor
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2648 567b1171-46fb-0310-a4c9-b4bef9110e78
2007-01-09 08:23:21 +00:00
technoweenie d3551c6634 fix s3 issue with s3_access option
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2620 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:21:49 +00:00
technoweenie 8e8f0779ef Object.const_defined? that is
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2619 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:15:31 +00:00
technoweenie 4f9d2be0ad handle stringio uploaded files
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2618 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:13:12 +00:00
technoweenie 96c98afd0a create tempfile dir automatically
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2617 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:06:57 +00:00
technoweenie d7a7df54f4 run tests without image science
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2616 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:03:54 +00:00
technoweenie 38911e2094 make #current_data public with db_file and s3 backends [ebryn]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2615 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-29 09:00:37 +00:00
technoweenie 08269295a3 catch the missingSourceFile error, and dont worry about missing processors
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2606 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-27 04:38:40 +00:00
technoweenie 91847b1042 only process thumbnails if process_attachment_with_processing is defined
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2603 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-27 04:09:51 +00:00
technoweenie bd18f3711b fix install.rb snafu
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2579 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 20:04:45 +00:00
technoweenie d89bfe439f comments comments comments
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2576 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 17:58:15 +00:00
technoweenie 5dc782d1f2 oops, actually svn add the files for s3 backend. [Jeffrey Hardy]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2575 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 09:40:13 +00:00
technoweenie f4d6fbd2d3 experimental s3 support, egad, no tests.... [Jeffrey Hardy]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2574 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 09:39:34 +00:00
technoweenie 43d1298a0c add image science support
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2573 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 09:17:17 +00:00
technoweenie c3b5889fb4 move processors and backends to separate modules
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2569 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 06:23:04 +00:00
technoweenie 79f29133f3 huzzah, the tempfile tests pass.
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2568 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 06:08:12 +00:00
technoweenie 1c56f39b9c small tweaks with tempfile path
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2567 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 04:39:15 +00:00
technoweenie 88f42fbb11 first pass at temp file usage
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2566 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-23 04:34:53 +00:00
technoweenie 650dda6044 doh, fix a few bad references to ActsAsAttachment [sixty4bit]
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2562 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-17 03:50:55 +00:00
technoweenie 69abf9cd56 teaching an old dog... old tricks (bad rails programmer, bad)
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2557 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 19:02:27 +00:00
technoweenie 7baca373bb add geometry class for rmagick-style resizing
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2556 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 18:42:37 +00:00
technoweenie f83683b55e all tests pass
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2553 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 06:52:18 +00:00
technoweenie 54b14490e0 initial code with basic option/validation tests
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2551 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 02:41:24 +00:00
technoweenie 7a14bcb9cd initial code with basic option/validation tests
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2550 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 02:34:28 +00:00
technoweenie 941233203a tests
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2549 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 00:59:38 +00:00
technoweenie 1e91f6545a attachment-fu, acts_as_attachment rewrite
git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2548 567b1171-46fb-0310-a4c9-b4bef9110e78
2006-12-14 00:51:16 +00:00