darthapo / comatose

Comatose is a micro CMS, implemented as a Rails plugin, that is designed to be easy to embed and extend.

This URL has Read+Write access

comatose / CHANGELOG
8b5b7d07 » darthapo 2008-10-31 * Added configuration optio... 1 - version: 2.0.5 (beta)
2 - Added configuration option for importing/exporting pages from admin: `config.allow_import_export = true|false`, `true` is the default at the moment
3 - Reworked the UI for import/export a little bit
4 - Added LINK option to `test_harness` rake task to symlink the comatose plugin directory instead of copying it
5 - Updated manifest and gemspec
6
484adfec » darthapo 2008-10-30 * Added a rake task to gene... 7 - version: 2.0.4 (beta)
8 - Added a rake task to generate a test_harness (for use in development). From the comatose directory, run: `rake test_harness TARGET=../comatose_test_harness`. This will create an empty rails app, copy this working folder over to vendor/plugins/comatose, install acts_as_list and acts_as_tree, and run any setup needed, like script/generate comatose_migration and rake db:migrate.
9 - Bugfix in tasks/comatose.rake
10 - Comatose migration generator now adds the default comatose routes (`map.comatose_admin` and `map.comatose_root ''`) to the top of the routes.rb file. POSSIBLE GOTCHA: `map.comatose_root` should be moved to the bottom of the routes file!
11
57515730 » darthapo 2008-10-30 Upated to version 2.0.3 bet... 12 - version: 2.0.3 (beta)
13 - Moving from alpha to beta!
3ea8e5e0 » Mick Staugaard 2008-10-10 Added import and export of ... 14 - staugaard: Added import and export of pages in admin controller
15
16 - version: 2.0.2 (alpha)
17 - staugaard: Added "unloadable" to ComatoseController (problems with ActsAsAuthenticated-integration similar to http://tinyurl.com/6caz5r)
57515730 » darthapo 2008-10-30 Upated to version 2.0.3 bet... 18 - jcnetdev: Tweaking gemspec
3ea8e5e0 » Mick Staugaard 2008-10-10 Added import and export of ... 19
c7d982ed » darthapo 2008-09-01 Updated Changelog to show l... 20 - version: 2.0.1 (alpha)
21 - Merged changes from andreas (http://github.com/andreas)...
22 - andreas: Fixed comatose:admin:customize raketask (seems plugin_path was wrong, and made use of mkdir_p to avoid "File exists"-errors.)
23 - andreas: Added "unloadable" to ComatoseAdminController (problems with ActsAsAuthenticated-integration similar to http://tinyurl.com/6caz5r)
24
b732d35d » darthapo 2008-05-20 * Added initial (still unte... 25 - version: 2.0 (uber alpha)
fb30ce55 » darthapo 2008-05-20 Version 2.0 (uber-alpha) 26 - Removed controllers, models, and helpers from Comatose module. It was causing odd issues
27 - Initial support for Rails 2.1(ish)
28 - Fixed up slug generation to remove leading and trailing whitespace
29 - Moved to github
30 - Changed all the .rhtml files to .html.erb
b732d35d » darthapo 2008-05-20 * Added initial (still unte... 31 - Adding support for use as a gem plugin
fb30ce55 » darthapo 2008-05-20 Version 2.0 (uber-alpha) 32
54b08871 » darthapo 2008-03-27 Initial import into git (ba... 33 - version: 0.8.1
34 changes:
35 - All includes and helpers are loaded at the end of the ComatoseController and ComatoseAdminController classes
36 - Fixed the ComatoseController#show action to correctly send an HTTP status of 404 even if it finds, and renders, a page at '/404'
37 - Fixed the migration to default a page's full_path to '' instead of null
38 - Formalized ComatoseDrops. Use Comatose.define_drop "drop_name", do ... end. Every method within that block should return a value for use with a Liquid and/or ERB template. Usage in a comatose page: {{ drop_name.def_name }}
39 - Added support for a config.after_setup block that gets called after Comatose is setup (in the Dispatcher#to_prepare event)
40 - Added HTML comment output for calls that result in a method_missing on the ProcessingContext
41 - Updated page tree to remember collapsed/expanded nodes between page visits
42 - Fixed some errors that were caused by null revisions (usually happened after initial installation)
43 - Added my javascript test_runner lib for testing slugs generated by JavaScript. More JS tests to come.
44 - Bugfix #8640 (rubyforge bug)
45
46 - version: 0.8
47 changes:
48 - Now ONLY supports Rails 1.2 (not even tested in Rails 1.1)
49 - New configuration system
50 - DEFER_COMATOSE_LOAD is gone -- Using Dispatcher.to_prepare replaces it
51 - You no longer extend the base classes to add functionality. You configure Comatose to include modules and send it symbols for providing said functionality. e.g. Comatose.config.includes << :authentiation_system; Comatose.config.authorization = :require_login
52 - The automatic loading of RAILS_ROOT/lib/comatose/*.rb files is NO longer supported.
53 - In addition to mapping comatose_root in your routes.rb, you'll want to map.comatose_admin as well
54
55 - version: 0.7.1
56 changes:
57 - A new DEFER_COMATOSE_LOAD flag is defined in the init.rb -- if you manually set it to `true`, you'll need to call Comatose.load in your environment.rb, but this should combat a lot of the plugin incompatiblities Coamtose has been suffering from
58 - The revisions link on the edit page is now only shown if you have revisions
59
60 - version: 0.7
61 changes:
62 - Finally, page versioning via Rick Olsen's excellent acts_as_versioned! (included)
63 - Tries to load any text filters, tags/drops, or extensions under RAILS_ROOT/lib/comatose/ (actually it just `require`'s every .rb file in that folder) so you no longer need to muck around with adding stuff in your environment.rb file
64 - Previewing a page no longer updates it
65
66 - version: 0.6.9
67 changes:
68 - The page context now supports page.next, page.last, page.first_child, page.last_child
69
70 - version: 0.6.8
71 changes:
72 - Bugfix ComatoseController now references plugin_layout_path correctly from the class method
73 - Some HTML/CSS/JS cleanup on the administration view -- should degrade to straight HTML pretty well now
74
75 - version: 0.6.7
76 changes:
77 - Removed Comatose::Page.record_timestamps = false -- it was breaking the magic. Override the record_timestamp methds instead
78 - AdminController was still referencing, in a few places, ComatoseController for page cache expiration
79
80 - version: 0.6.6
81 changes:
82 - The cache expiration code is now on the ComatoseAdminController, as it should have been in the first place
83 - Changed internal references from root_paths or cms_root to mount_point, since that's what I've started calling them... And it seems to make the most sense
84 - Cleaned up the class_options code
85 - Added initial support for pre-caching pages (generating static HTML), there's not a UI element for it yet, however
86 - Changes to content-type handling:
87 - Removed Comatose::Options.force_utf8
88 - Added Support for Comatose::Options.content_type = "utf-8" This will affect the HTTP headers, as well as the META tag in the admin views
89 - Changed this log file to yaml format. And yes, there's a method to my madness... Wait for it.
90
91 - version: 0.6.5
92 changes:
93 - Fixed a bug in comatose_admin.js -- if you hid any of the meta_fields it would barf
94
95 - version: 0.6.4
96 changes:
97 - Fixed a typo in comatose_admin_customize.rhtml
98 - Controller now keeps all information about mount points not just the :root (uri) and :index (page tree)
99
100 - version: 0.6.3
101 changes:
102 - Fixed the customization tasks
103 - Added support for the new Routes system in Edge Rails
104 - Removed the getting started guide -- it's now available at: http://comatose.rubyforge.org/getting-started-guide
105
106 - version: 0.6.2
107 changes:
108 - Fixed an issue with named_routes
109
110 - version: 0.6.1
111 changes:
112 - Fixed a migration issue
113
114 - version: 0.6
115 changes:
116 - Split out the admin from the ComatoseController into a new ComatoseAdminController class.
117 - Moved controllers/model into Comatose module, now ComatoseController extends Comatose::Controller, and ComatoseAdminController extends Comatose::AdminController. And they extend your ApplicationController ComatoseController
118 - Created a Comatose::Options class for configuration.
119 - Add Liquid support to Text Processing -- made it the default processor.
120 - Added support for adding 'tags' to processing context. They are Liquid Drops when using Liquid for processing, use like objects/methods when in ERB
121 - Changed comatose.css, comatose.js, and app/views/comatose to comatose_admin.css, comatose_admin.js, and app/views/comatose_admin
122 - Changed the names of some of the internals... ComatoseBinding is now Comatose::ProcessingContext, ComatosePageWrapper is Comatose::PageWrapper
123 - Bugfix: PostgreSQL need the scope to be a symbol instead of a string, eh? Fine -- it is so. (Thanks to Lyle for the fix)
124 - Added support for named routes... Anytime you use map.comatose_*, if * isn't 'root', it will use it as a named route
125
126 - version: 0.5
127 changes:
128 - Added support for parameterized inline rendering of comatose pages. Uselike a partial: render :comatose=>'path', :locals=>{:username=>'stuff'} the locals hash will be sent to the ERB context for use when rendering the page.
129 - Support for a Hash ERB context exists all the way down to the TextFilters.
130 - Initial support for fragment caching for inline rendering. It's turned off by default. Send :use_cache=>true in the render :comatose=>'' tag to use it. Caching will also not be used if you are sending the page parameters via the :locals hash. Oh, and don't forget to set your ActionController::Base.fragment_cache_store
131 - Return reloadable? false for the ComatoseController by default... This should prevent the development mode hassles people have been having.
132 - Updated data migration tasks to better support nested pages.
133 - comatose:data:export FROM=page_path TO_FILE=file_path
134 - comatose:data:import TO=page_path FROM_FILE=file_path
135 - FROM_FILE and TO_FILE default to 'db/comatose-pages.yml'
136 - FROM and TO default to '', the page tree root
137 - Fixed 'Clear Page Cache' bug -- it didn't handle the page root being an array like it should have.
138 - Removed :page_title and :page_keywords from session
139 - Updated the rails_version in the about.yml to 1.1+ -- just because I haven't tested it on anything less than that. If you have, and it works, let me know!
140 - Adds the utf8 header to all output (text/html; charset=utf-8). Use ComatoseController.force_utf8 = false to disable.
141 - Initial support for page reordering (via AJAX)
142 - Updated the administration look-n-feel.
143
144 - version: 0.4
145 changes:
146 - Added keywords field
147 - Abstracted text filters into a micro plugin structure, default support for Textile, Markdown, and RDoc
148 - It will only show the filters as a choice in the admin if you have the necessary libraries for the filters to function.
149 - Added ComatoseController.hidden_meta_fields = [] as a way of showing/hiding the meta fields
150 - The comatose_migration generator now accepts an --upgrade flag which will create a micro migration that only has the new fields in it
151 - get_root_page will now support returning an array of root pages to show in the admin page list
152 - Created some initial tests... (Can you tell I'm not a test _first_ guy?)
153 - Inline rendering now handles :silent flag -- it will just return and empty string if :silent=>true
154 - Modified all the internal references to ComatoseController to self.class.The views reference controller.class. Redirects redirect to :controller=>self.controller_name or controller.controller_name (action and view respectively). This show allow you to sub-class the ComatoseController.
155
156 - version: 0.3.1
157 changes:
158 - Abstracted retrieval of root comatose page to allow multi-user/limited view support
159 - Added redcloth so there are now no external dependencies... Other than Rails, of course ;-)
160 - DRYed up the folder structure a bit
161 - Added a Rakefile
162 - Made this ChangeLog more human-readable
163
164 - version: 0.3
165 changes:
166 - Added support for running entirely from the plugin
167 - Added support for hierarchal pages
168 - Pages are pre-filtered by ERB, therefor ERB can generate Textile
169 - Comatose binding object
170 - Used with ERB context to protect AR model
171 - Has a few helper methods too: link, include
172 - Migration updated
173 - rendered_body removed, not much sense with ERB pre-processing and page-caching
174 - full_path added for easy access to child pages
175 - position, and author fields for future use
176 - Administration Updates
177 - Page listing is now a collapsible tree view
178 - Page edit supports previewing the content
179 - Preview textile only for new pages, full ERB previews for existing pages
180 - ERB errors show up as AR errors
181 - Shows Title and Body fields by default, clicking 'more...' makes Slug and Parent visible
182 - CSS updates to lighten it up a bit
183
184 - version: 0.2
185 changes:
186 - Added support for rendering pages inline
187 - Added support for expiring entire page cache
188 - Added support for properly expiring pages when they are modified or deleted
189 - Update stylesheets, generally made it usable
190 - Fixed #new action
191 - Minor tweaks
192
193 - version: 0.1
194 changes:
195 - First mostly-working version