update CHANGELOG for RC5
[project/cck.git] / CHANGELOG.txt
CommitLineData
7ce103de
KS
1//$Id$
2
fcc09521 3CCK 6.2.rc5
4c189214
YC
4===========
5
c9cc355c
YC
6This release requires a visit to update.php to update the database.
7
fcc09521
YC
8Main bugs fixed :
9- #281388 Optionwidgets: Unselect values doesn't take.
10- #286457 Fix menu not being always rebuilt when needed.
11- #285138 by quicksketch and yched: Allow CCK to be installed in install profiles.
12
13Main new features :
14- #282183 by chx: Nodereference - 'Checkboxes/radios' widget.
15- #289138 by dopry: Add support for 'locked' fields (for module-defined fields).
16
17Other changes :
6afc8e97 18- #273502 Add descriptions to the non-CCK form elements on the Manage fields screen.
4057b865 19- Fix PHP warnings when field display is set to 'hidden' and field is in a fieldgroup.
60682c80 20- Re-introduce '<none>' choice for multiselect widgets (optionwidgets, noderef/userref select).
ad241539 21- #281449 Text: maxlength on textfield widget is 128 even when the field has no maximum length.
07bea7b2 22- Add tests for optionwidgets.
ad241539 23- #282175: Don't mention 'add more' button when the widget opts out of it.
3e05a333 24- Optionwidgets: use '- None -' for 'no selection' option (like core's taxonomy.module).
1e607d11
YC
25- #286637 by poiu: clearer example for default value with php-code.
26- #93436 Add $form parameter to content_validate.
27- #277310 by fractile81: update node object by reference in content_load().
60bdb34a 28- #285771 Views integration: use the new 'float' filter handler where applicable.
90ce3d08 29- Fix PHP warnings when renaming a content type.
828ff4a0 30- #280410 Number: Fix prefix / suffix displayed when field is empty.
0a6fdfb7 31- #282937 Fix warnings on uninstall.
c9cc355c 32- #287540 Add index on nid in data tables, to optimize node deletion (requires update.php)
939a283a 33- #288578 Text: Fix max length to use utf8 length.
fcc09521 34- #222214 by aaron, deviantintegral : support tokens for nodererf / userref paths aliases.
f4004b24
YC
35- #211306 by asimmonds: Fix error in D5 update with SQL strict mode.
36- #292338 by mh89: Set fieldgroup.module's weight to 9 (missing for new D6 installs).
37- #292463 Fieldgroup: missing update for fieldgroup table names (didn't actually break anything).
38- #292855 by Tgr - Fieldgroup: missing } in query on field instance deletion.
39- #292925 by greggles - Text: Fix PHP notice under some circumstances with textarea widget.
76cd6134 40- #292675 Support d-n-d reordering of non-cck "fields" for types that have no cck fields.
f4004b24 41- #289888 Nodereference: Fix 'full node' and 'teaser' formatters.
b396842d
YC
42- Display field type human names instead of machine names on 'Manage Fields' and 'Fields' overview pages.
43- #292884 Better help text for field template suggestions.
391fff9c
YC
44- #293163 Use FAPI validation instead of field|widget_settings($op 'validate').
45 (the 'validate' op is still supported, though)
18442241 46- #75423 by mh89 - Text: 'size' setting for textfield widget.
fcc09521 47
4c189214 48
24c22295 49CCK 6.2.rc4
0d79362e 50===========
24c22295
YC
51
52This RC Mainly fixes a critical bug :
53http://www.drupal.org/node/277968 - Saving 'Display Fields' wipes widget settings.
54
7e578d66 55- #278325 Nodereference/Userreference - autocomplete widget does not check nodes/users are 'referenceable'.
95104bd1 56- #278325 followup: Unify the mechanism used to assign hook_field('validate') errors to form elements across fields and widgets.
7e578d66 57- Userreference - Turn the 'Reverse link' radios into a checkbox in the field settings.
578c7b49 58- Nodereference - Only list 'node' Views in the 'advanced mode', and differenciate default views as in D5.
7e578d66
YC
59- Optionwidgets - fix PHP warning when creating a new 'on/off checkbox' and no allowed values could be set yet.
60- Optionwidgets - fix PHP warning on 'on/off checkbox' only one 'allowed value'.
61- Optionwidgets - add a 'warning' message to remind the admins they need to set allowed values.
368b1fa1 62- #278676 by hass: fix untranslated field and widget type names.
c21b1924 63- Do not validate the fields settings form when the 'change label / widget' submits the form.
c3e14528 64- #273502 Let the 'menu settings' node-form fieldset on node forms be repositioned.
feead187 65- #273502 followup: add a description for non-CCK 'fields' on 'Manage fields' tab.
b58cffa9 66- #278793 by hass: fix untranslated PHP code example.
7e578d66
YC
67- Nodereference/Userreference - There were two 'no selection' choices on 'select list' widget for non-required fields.
68- #277486 Nodereference/Userreference - no selection with 'select list' widget stores 0 instead of NULL.
30bb51fa 69- #278789 better wording for the 'PHP default value invalid' error message.
daf99e91 70- #267771 orignal patch by quicksketch: Richer label settings for views fields.
30bb51fa 71- #279204 by eMPee584: fix edit paths inconsistency.
7e578d66 72- #276990 Nodereference - error message when no valid node with that title (autocomplete widget).
07c92176 73- Widget (FAPI-)validation messages do not display the field 'label' when the error is on a nth value (n > 1).
d6166089 74- Unify field validation error messages.
efa5f7e9 75- #269319 Reintroduce field template variants; add theme instructions text file.
ef111841 76- #179419 by smk-ka: Content Copy - Import fails when language not English.
7e578d66 77- #278899 Nodereference - Refactor 'advanced (Views-defined referenceable nodes)' to use views rendering.
24c22295
YC
78- #279190 content_crud_instance_update wiped existing widget settings in some cases.
79 Also added a tests for a few basic properties of the CRUD API.
0d79362e 80
2c637747 81CCK 6.2.rc3
bb5898bc 82===========
3a2d35f5 83- #278116 by Damien Tournoud: Make some strings easier to translate in views intergration forms.
044cf060
YC
84- #278135 fix some translation quirks + fix french typography for ':' :-)
85- Nodereference: 'Title mismatch. Please check your selection' error should break validation (+ fix typo).
2c637747 86- #277968 by jpetso: Fix fatal error when cck folder lives in the main /modules folder.
bb5898bc
YC
87
88CCK 6.2.rc2
baffb34d 89============
b88232b1 90- #276994 Follow up, remove conditional loading for content.views.inc, Views handles it.
bb5898bc
YC
91
92CCK 6.2.rc1
93============
12811e22 94- #276994 Remove views_include_handlers() from content.views.inc, no longer needed.
722de8e7 95- Change 'allow_empty' to 'allow empty' so that Views filters work correctly.
ce4a81c8 96- #272871 Pass #node to formatters to be consistent with the values that were available in the D5 version.
9f381af8 97- #271294 Add TODO to get rid of content_write_record() once drupal_write_record() is patched.
c86709d7 98- #271294 Add documentation for the reason for having a custom version of drupal_write_record.
ee5dee46 99- Avoid E_All error when prefixes and suffixes are not defined in number module.
85dfac9b 100- Avoid E_All error, don't try to return $item[0] if there are no items.
35a15e3c 101- #266590 Make sure a view is valid before trying to use it in the nodereference module to fix upgrade errors when the view has not been updated to Views 2.
76ec5557 102- #258127 Get rid of content_menu_needs_rebuild() in remaining places and only rebuild the menu when absolutely needed.
baffb34d 103- Alter content_types_install() to make sure it picks up all the regular field and widget values out of the database. Some of the field values were missing, which caused some of the other values to get set incorrectly during updates and when modules are enabled.
6c4e453d
YC
104- #235063 Fix jumbled multiple values when hitting the 'add-more' button with more than 10 values.
105 Keep 'add more' button text consistent.
3a2d35f5 106- #270014 by yang_yi_cn: form for multiple values didn't call the right hook_widget
dd36f141 107- fix 'Undefined index: #access' notice when content_permissions.module is disabled
f4a340af 108- #270315 Mention dependency on schema.module in the desciptions of the CRUD tests.
3a2d35f5
YC
109- #227951 by pwolanin: Add a permission for PHP 'default values' and 'allowed values'
110- #271682 by pwolanin: Make simpletests easier by not duplicating field name in same form.
111- #270315 by pwolanin: Update simpletest to use DrupalWebTestCase.
112- #227951 by pwolanin: Add permission for ability to use php code for default values and allowed values.
113- #270827 by pwolanin: Validity checks for the AHAH-'add more' request.
9857a867
YC
114- #271087 Properly handle values '0' for text and number fields.
115- #258407 Fix field template name to allow for easy overridability.
3a2d35f5
YC
116- #274038 by jpetso: Fix non-JS mode for 'add more' button.
117- #275192 by jpetso: Attach AHAH behaviors to newly inserted widgets on JS 'add more'.
118- #271710 by pwolanin: tests for UI field CRUD, and node form generation.
119- #266696 by pwolanin: Unable to change the label or widget type for a field.
120- #201329 by pwolanin and yched: Fix content_field_instance_delete() not cleaning tables.
121- #271577 by pwolanin: Fix unsanitized text (optionwidgets, number, text, field labels, field descriptions)
122- #273539 by jpetso: Fix JS-'add more' for complex widgets (e.g. filefield)
123- #227435 by pwolanin: Usability - Put fields links on content type overview page
124- #277101: Hide fieldset-based fieldgroups when all fields empty
125- #198508: Prevent data loss for disabled fields.
baffb34d
KS
126
127CCK 6.2.beta
128============
7ce103de
KS
129
130Content Generate (new feature)
131- #257874 and #187599 provide a way to auto-generate field content for the devel module.
132- #261633 E_All fix for content_generate.
133
134Usability
135- #227439, #227437, #227945 Rework field and widget type handling to simplify the intial screen when choosing a field and widget type by making it a two-step process where you see only the widgets that apply to the field. Move the setting of the field label to the same place where you set the field name. Change the field edit screen to keep it from showing all the different widgets again and instead just display the current widget. Then add a button to change the widget which will take you to another screen to make the change since the rest of the page will need to change when the widget changes. Keep the changes to the widget label in that separate process, too, since that affects the menu tabs that need to be changed before redirecting back to the main page.
136
137Update processing
138- #256141 Add old updates back to fieldgroup.install for situations where the module was briefly enabled and then disabled and never used so the update process doesn't throw an error for the missing updates.
139- Fix potential E_All error in userreference after update.
140- Fix E_All error that can come up after update if text module is using format column.
141- Change the check in _content_type_info to be sure the new 'active' column exists before trying to query the table during installation and updates. Also fix E_All notice for non-existant db_columns during install and update.
142- #237585 Try to avoid foreach errors on missing content type information by creating empty arrays in content_info.
143
144Optionwidgets
169430ce 145- #224391 Get default values working again for optionwidgets.
7ce103de
KS
146- #251157 Make sure optionwidgets selections are not lost when previewing node.
147- #253038 Make sure empty optionwidget values are always arrays.
148
149Nodereference
150- #264345 Create a nodereference wrapper for setting and rendering a view and store the rendered view in a static variable to ensure the same view is not rendered over and over in the same session.
151- #263936 Make sure nodereference select views do not try to use paging and do not limit the items per page.
152- Clean up autocomplete handling that uses Views as a selector.
153- #262112 Add missing hook_theme definition for the plain formatter.
154- #256440 Nodereference was passing wrong object to Views for the Views node selection option. Also need to limit available views to those that have fields defined so we can add the title to the view and so there is something meaningful to display in the select list.
155
156Views Integration
157- #264479 Make sure we don't try to init() a view for fields that don't have one selected.
158- #263936 Set arguments in execute_display. Also make sure to pass $string and $exact_string to the view.
159- #257566 Move all content fields into a single group in the Views UI.
160- #242856 Make sure the node.nid is aliased when creating our grouped fields query so the parent node isn't confused with nodereference's nid column.
161- #261528 Add in missing code to create the link to the node if that option is requested.
162
163Content Copy
164- #225664 Make sure groups get imported as well as fields.
165
166Formatters
167- #264768 Make sure handling for all possible states of #single is properly set up.
168- #260253 $node->type isn't always set, and if missing the formatters that use $fields($field_name, $type_name) to retrieve the field array end up with an empty value. Add the node type to all content fields views so we can be sure it's available and alter the content_format logic to look for the node type both at $node->type and at $node->node_type, where Views will put it, to properly set the content type.
169
170General
171- #256116 Add a TODO to reconsider handling of CCK data when a content type is deleted.
172- Small fix to content_generate to get auto-generation of number values working.
173- #265334 Avoid format error messages in the unusual case where you have created CCK content and then delete the content type without deleting the node, since core does not delete the nodes in that case.
174- #227256 Add an additional check when creating a new field that the length is no more than 32 characters.
175- #260253 When content_type is set but empty, nothing is returned from content_fields(). Fix that by checking for empty() instead of isset(). This is a more general problem that should be fixed in content_fields().
176- #258127 Eliminate need to defer the rebuild of the menu, also adding TODO to see if content_menu_needs_rebuild() can be eliminated.
177- #257304 Make sure the widget description is never NULL to avoid problems when a NULL value gets wrapped with t().
178- #259704 Make sure help text always appears.
179- #255113 Make sure empty filtered text fields don't pick up unintended values from check_plain().