Commit Graph

36 Commits

Author SHA1 Message Date
Kyle Wilkinson
368561cfc7 Use File.expand_path instead of File.absolute_path to work with Ruby 1.8.7 2011-06-20 22:53:26 -07:00
Marc Remolt
32bb8a528a Typo 2011-06-13 19:03:52 +02:00
Marc Remolt
309ec660b9 Preparing for release 0.3.0 2011-06-13 19:02:25 +02:00
Marc Remolt
90665484c7 Resource import working
* added rake tasks
2011-06-13 18:48:17 +02:00
Marc Remolt
a24ea686fa Image import working
* bundle update
* replacement of image URLs now considers wordpress thumbnails (like -150x150)
* added Guard for autotesting
2011-06-13 15:02:40 +02:00
Marc Remolt
7265d31f62 Some specs for file Attachment 2011-06-06 19:45:34 +02:00
Marc Remolt
2581895c7c Updated test dump and adapted specs
* We now have a second attachment, a simple text file
2011-06-06 19:39:27 +02:00
Marc Remolt
7550dfa164 First shot at attachment import
* only images for now
* only blog posts for now
* thumbnailed images are not yet replaced in blog posts body
2011-06-05 19:14:52 +02:00
Marc Remolt
9a2b5acef6 Spec improvements
* replaced it with specify on {...} blocks
2011-06-05 17:55:00 +02:00
Marc Remolt
772cfdc25b Started on attachment import
* created Attachment
* created Dump#attachments
* specs
* replaced require with autoload
2011-06-05 17:43:30 +02:00
Marc Remolt
814c7b4ca8 Preparing the 0.2.0 release 2011-06-05 14:04:16 +02:00
Marc Remolt
c7c76a709b More documentation 2011-06-05 14:01:47 +02:00
Marc Remolt
76830ec51c More refactorings and specs 2011-06-05 13:38:39 +02:00
Marc Remolt
ddb65040a7 Refactoring of specs
* split the one large spec file in multiple small, one for each model
* helper for getting dump object in tests
2011-06-05 13:09:06 +02:00
Marc Remolt
e1c60163e4 Started on cms page import
* created rake tasks
* still needed: cleanups, more tests and docs
2011-06-03 18:50:27 +02:00
Marc Remolt
dacd503d8f Formatting fixes
* less <br /> tags by replacing simple_format
* improved regex for SyntaxHighlighter (less false positives)
2011-06-03 17:34:40 +02:00
Marc Remolt
96a81d7b01 Added zsh hint to doc 2011-06-03 16:20:59 +02:00
Marc Remolt
a97c2968ab Added info on installing the first release via rubygems 2011-06-03 12:01:10 +02:00
Marc Remolt
5228159049 Preparing first release (0.1.0) 2011-06-03 11:47:27 +02:00
Marc Remolt
29bc2534b6 It is now possible to ignore draft posts on import.
* refactored the code sent by SustainableWebsites
* made the ignore feature optional via ENV variable
* added docs
2011-06-03 11:35:11 +02:00
Marc Remolt
39b482f99f Allow duplicate titles on importing blog posts
* the unique post_id from WordPress now gets appended if the title is already taken
2011-06-03 11:02:25 +02:00
Marc Remolt
e367498ef0 Merge branch 'master' of git://github.com/SustainableWebsites/refinerycms-wordpress-import 2011-06-03 10:36:53 +02:00
Ivan Storck
4c860a0536 added explanation on ignoring drafts and duplicate titles to readme 2011-06-02 16:07:25 -07:00
Ivan Storck
886b3d8bf9 ignore drafts and ignore duplicate titles 2011-06-02 16:05:16 -07:00
Ivan Storck
f254bb9216 work in progress on duplicate title issue 2011-06-02 14:26:18 -07:00
Marc Remolt
5c85ee2ec3 Merge pull request #1 from SustainableWebsites/master
reset_blog task now truncates the blog_categories_blog_posts table
2011-06-02 13:04:49 -07:00
Ivan Storck
49a49bbab8 added truncating blog_categories_blog_posts to reset_blog task 2011-06-02 12:32:58 -07:00
Marc Remolt
2dbf9d31b2 Wrong formatting in docs (rdoc, not textile) 2011-06-02 17:16:19 +02:00
Marc Remolt
d800fa469a First try at documentation 2011-06-02 17:13:56 +02:00
Marc Remolt
4e3905fcb9 Compatibility with Wordpress 3.0
* Tags are now imported from a 3.0 dump
* Authors are not imported from 3.0, as they are not part of the dump
* simple_format now doesn't sanitize the content anymore
2011-06-02 16:43:14 +02:00
Marc Remolt
afb35f58ad HTML-Formatting
* added simple_format for content content
* added support for SyntaxHighlighter JS
* finished rake tasks for blog
2011-06-02 16:22:50 +02:00
Marc Remolt
a45f502f44 Conversion in a gem finished
* specs are working again
* added railitie
* added missing migration (acts-as-taggable)
* cleanups
2011-06-02 14:41:31 +02:00
Marc Remolt
dae4c2ea0a Started integrationg the code into gem
* added nokogiri as dependency
* added wordpress dump as fixture
2011-06-01 21:16:19 +02:00
Marc Remolt
b37abb4606 copied all revant files over from my fork of refinerycms-blog
* everything is breaking atm.
2011-06-01 21:11:57 +02:00
Marc Remolt
1a68663552 project setup
* added refinerycms(-blog) as depencies
* removed capybara (we won't do any browsertests here)
* initialized refinery in dummy app
2011-06-01 21:07:20 +02:00
Marc Remolt
3ec27fdfe6 Initial commit
* Created project via Jose Valims brilliant enginex gem
2011-06-01 20:23:29 +02:00