gaffo / active_scaffold forked from activescaffold/active_scaffold

This URL has Read+Write access

active_scaffold / CHANGELOG
de5d28a3 » timcharper 2008-06-29 Updated changelog for relea... 1 = 1.2RC1
2
3 == FEATURES
4
5 - Added view helpers (active_scaffold_javascripts, active_scaffold_stylesheets, active_scaffold_ie_stylesheets) to help with asset cacheing (Alexander Semyonov)
6 - Works with Rails 2.1 (2.0 / 1.2.x will continue to be supported by version 1.1)
7
8 == FIXES
9
10 - Javascript compatibility with FF3 / Safari 3.1 (Mike Dalessio)
11 see http://groups.google.com/group/activescaffold/browse_thread/thread/d37afa3f2ac687f2/b34ebf62d767bee3
12 - Avoid ruby deprecation warning in config/list.rb (Dustin Sallings)
13 - Fixes bug where template overrides are ignored when placed in Engines plugins (Mike Dalessio)
14 - Fixed in_place_editor to work with latest control.js
15 - Fixed infinite recursion bug when creating a new record with a new association
16 - Subform action name conflict fix
5b9f2818 » timcharper 2008-06-29 updated changelog again 17 - Helpful warning message if record_select is not on a column with an association
de5d28a3 » timcharper 2008-06-29 Updated changelog for relea... 18
450b007a » cainlevy 2008-01-21 changelog for 1.1.1 (also, ... 19 = 1.1.1
20
21 == FIXES
22
23 * rendering for rails 1.2.x
24
d3c24abf » cainlevy 2008-01-20 updating changelog for 1.1.0 25 = 1.1.0
26
27 == FEATURES
28
29 * `render :super' now accepts a :locals option
30 * parameter-based conditions now support arrays of values (e.g. users?name[]=bob&name[]=fred becomes "name IN ('bob', 'fred')")
31
32 == FIXES
33
34 * `render :super' now works from active_scaffold_overrides without endlessly looping
35 * `render :super' no longer assumes that the *immediate* caller was the override template file
36 * `render :super' works better with windows file names (e.g. c:/...)
37 * reload_if_empty() javascript now uses GET
38 * inplace_edit now uses POST instead of GET
39 * adding time and date fields to ignore list for determining whether subform row is empty. previously only datetime was ignored.
40 * closed a potential internet explorer security issue in dhtml_history.js library
41
17c171ef » cainlevy 2007-12-10 search module links now con... 42 = 1.1.0 RC1
0fc094a2 » cainlevy 2007-09-25 starting the 1.1 changelog ... 43
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 44 == FEATURES
0fc094a2 » cainlevy 2007-09-25 starting the 1.1 changelog ... 45
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 46 === LIST
47 * row class: new helper method (list_row_class) gets called for each record in the list and returns a CSS class.
48 * automatically link to the :show action of singular associations. this is similar to the nested scaffolds for plural associations.
49 * column.list_ui: good for when you want to render multiple columns the same way.
7b6991ef » cainlevy 2007-12-03 small improvements to chang... 50 * * built-in list interface options:
51 * * * for inplace edits - checkbox
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 52 * Support :joins_for_collection in column_calculation
7b6991ef » cainlevy 2007-12-03 small improvements to chang... 53 * inplace_edit option on list columns. currently works for text boxes and booleans
0fc094a2 » cainlevy 2007-09-25 starting the 1.1 changelog ... 54
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 55 === CREATE/UPDATE
686637fb » timcharper 2008-06-29 finally said something more 56 * file uploads - largely taken care of by file_column bridge.
57 * * automatically detects if FileColumn is installed. If so, uses it, and sets the form_ui for file columns to be file upload fields
58 * * sets multipart? on config.create and config.update if file_columns are used on the target model
59 * * Posts through iframe to give ajax-style file uploads
60 * * Image columns are recognized and previewed as such
61 * * Ability to delete a file
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 62 * form_ui
63 * * form interface options are now supported through helper method named active_scaffold_input_#{form_ui}. if you want a different form interface than activescaffold normally provides, you may configure the form_ui for that column to use one of these methods. you can easily define your own, too.
7b6991ef » cainlevy 2007-12-03 small improvements to chang... 64 * * built-in form interface options:
65 * * * for associations - singular_association, plural_association, select, record_select
66 * * * others - select, checkbox, country, password, textarea, usa_state, virtual, boolean
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 67 * * subforms respect form_ui settings. but if form_ui is empty, it will be set to :select to disable subform nesting.
68 * boolean columns: when the database column allows nil, we now add a third option to the dropdown so you don't *have* to pick true or false.
69 * new :params option for a column lets you specify additional parameters to accept when the given column is on the form. this is for when a column needs to submit multiple values to work.
70 * improved support for associations in parameters. for simply selecting/deselecting associations, activescaffold will now recognize `:user => 5' or `:users => [1, 2, 5]'.
71 * Supply a unique id from active_scaffold_input_options for form fields.
72 * added after_update_save controller override method
0fc094a2 » cainlevy 2007-09-25 starting the 1.1 changelog ... 73
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 74 === EMBEDDING
75 * `render :active_scaffold' now accepts a :conditions option, which is a weaker but more flexible variation of :constraints
76 * active_scaffold_includes now accepts a frontend name. this is necessary so you can include the proper assets even if active_scaffold isn't configured on the current controller (it's embedded).
77 * polymorphic constraints are now supported, assuming params[:parent_model].to_s is the proper content for the polymorphic _type field.
78 * Beefing up the constraint system so it can handle has_one/belongs_to. Specifically, it can now disassociate a previous relationship before setting a new one. For example, Bear has_one Den. If creating a new Den, constrained to a certain Bear, the constraints system will now disassociate any previous Den from the Bear before associating the new one.
79
80 === NESTING
81 * :through associations may now be nested
7b6991ef » cainlevy 2007-12-03 small improvements to chang... 82 * nested#shallow_delete
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 83
84 === SEARCH
85 * fieldsearch module handles booleans better - provides third option so you don't *have* to search on a boolean column
86 * In field search lock_version is the only magic column. May want to search by :id or date fields.
87
88 === GENERAL
89 * use #human_name for the column label when possible.
90 * merge_conditions now supports hash conditions (and should forever support every conditions style that ActiveRecord supports)
91 * action links may now remove an action link with #clear_link
92 * action links have a new :controller option, so you don't have to sneak it into :params anymore
93 * dhtml history may now be disabled
94 * authorized_for? in ActiveRecordPermissions now calls respond_to? only as much as needed
95 * removing an assert_valid_keys? call in active_record_permissions#authorized_for?. it just wasn't worth the CPU time.
96 * render :super is now extension-agnostic. ex: `render :super` in list.html.erb will properly find list.rhtml as the "parent" template.
7b6991ef » cainlevy 2007-12-03 small improvements to chang... 97 * Auto-bridge loading mechanism. Bridges integrated into core.
16006df2 » cainlevy 2007-12-03 filling out changelog a bit... 98 * inherited_view_paths: ability to specify other folders to look for if missing view occurs
99
100 == FIXES
101
102 === LIST
103 * the calculation row now updates on edit/create/destroy.
104 * list now returns to page 1 if the current page has no records.
105 * list will now try to reload the scaffold on a previous page if you delete the last entry on the current page.
106 * if there were no end-of-line record actions, then any column actions would not use ajax. this was because the loading indicator was missing, which messed up the action link javascript.
107 * theme == :default no longer attempts to use Rico.Corner
108 * column_empty? now treats any values equal to list.empty_field_text as empty, too.
109 * better :method handling for action links.
110 * the ' ' fix for ie6 was failing for value types that weren't nil and didn't respond to empty?
111 * if someone sets singular columns to link to the 'nested' action, the link will now render with the appropriate id parameter.
112 * do not propagate params[:search] through action links that link to other controllers. closes issue #447.
113 * reworked rendering of pagination links for IE
114
115 === CREATE/UPDATE
116 * constraints are now applied to a record during the #new action, in case any custom form rendering depends on the constrained column
117 * the default options_for_association_conditions now returns nil for :through associations
118 * will not update a record attribute if the value hasn't changed. this is a workaround for an activerecord bug with has_one associations.
119 * attributes_hash_is_empty? didn't handle multi-parameter attribute names like 'created_at(5i)', which resulted in extra records being created from subforms.
120 * Hide hidden column header labels - like lock_version - in sub-forms.
121 * configuring url_for to not escape ampersands for the add_new_url in association footers (the 'create another' button's url)
122 * attribute_params.rb#attributes_hash_is_empty now checks defaults by converting them to strings to match the parameter values.
123
124 === NESTING
125 * no longer trying to nest a polymorphic association (there's no consistent model to list)
126 * fixed :conditions generation for nested/embedded scaffolds - was causing a bind variable mismatch.
127
128 === SEARCH
129 * search/livesearch should no longer choke on virtual columns
130 * the search/live_search forms will now ignore params[:search] when generating the submit url
131
132 === GENERAL
133 * no longer blow up on data strings with unintentional % characters. as_() was sprintf'ing too frequently.
134 * link_to no longer blows up on controller symbols
135 * activescaffold no longer loses information on columns - `config.columns.add', `config.columns = [...]', and `config.columns.exclude' all now affect the *inheritability* of a column by the other modules (list, create, update, etc.), but all columns remain in config.columns. this also makes _id columns behave better.
136 * dhtml history no longer saves null:null:null history bookmark.
137 * if there aren't any columns to search on, then activescaffold no longer creates an empty WHERE clause
138 * render :update was failing in some cases because activescaffold wasn't expecting blocks to the render call.
139 * quoting the scaffold id for report_500_response()
140 * adding :update_column => :post to the RESTful routing. closes issue #448.
141
142 == MISC
143
144 * reorganized the helpers and extensions
145 * ui_type is now only an alias for form_ui
146 * improvements to exception messages
147 * when initializing in production mode, activescaffold now recovers gracefully if it can't copy asset files
148 * RESTful routing is now accomplished in a way that'll let other add-ons extend the meaning of :active_scaffold => true.
149 * fixes for edge rails compatibility
150 * small improvements for localization accessibility
151 * minor string renaming (will affect localization tables, though)
6bae3dac » cainlevy 2007-12-03 updating changelog 152 * closed a few XSS holes