forgot patch credit
[project/cck.git] / CHANGELOG.txt
CommitLineData
7ce103de
KS
1//$Id$
2
bb5898bc
YC
3CCK 6.2.dev
4===========
3a2d35f5 5- #278116 by Damien Tournoud: Make some strings easier to translate in views intergration forms.
044cf060
YC
6- #278135 fix some translation quirks + fix french typography for ':' :-)
7- Nodereference: 'Title mismatch. Please check your selection' error should break validation (+ fix typo).
39f9e789 8- #277968 by jpetso:Ensure order of loading for *.views.inc files in case cck lives in the main /modules folder.
bb5898bc
YC
9
10CCK 6.2.rc2
baffb34d 11============
b88232b1 12- #276994 Follow up, remove conditional loading for content.views.inc, Views handles it.
bb5898bc
YC
13
14CCK 6.2.rc1
15============
12811e22 16- #276994 Remove views_include_handlers() from content.views.inc, no longer needed.
722de8e7 17- Change 'allow_empty' to 'allow empty' so that Views filters work correctly.
ce4a81c8 18- #272871 Pass #node to formatters to be consistent with the values that were available in the D5 version.
9f381af8 19- #271294 Add TODO to get rid of content_write_record() once drupal_write_record() is patched.
c86709d7 20- #271294 Add documentation for the reason for having a custom version of drupal_write_record.
ee5dee46 21- Avoid E_All error when prefixes and suffixes are not defined in number module.
85dfac9b 22- Avoid E_All error, don't try to return $item[0] if there are no items.
35a15e3c 23- #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 24- #258127 Get rid of content_menu_needs_rebuild() in remaining places and only rebuild the menu when absolutely needed.
baffb34d 25- 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
26- #235063 Fix jumbled multiple values when hitting the 'add-more' button with more than 10 values.
27 Keep 'add more' button text consistent.
3a2d35f5 28- #270014 by yang_yi_cn: form for multiple values didn't call the right hook_widget
dd36f141 29- fix 'Undefined index: #access' notice when content_permissions.module is disabled
f4a340af 30- #270315 Mention dependency on schema.module in the desciptions of the CRUD tests.
3a2d35f5
YC
31- #227951 by pwolanin: Add a permission for PHP 'default values' and 'allowed values'
32- #271682 by pwolanin: Make simpletests easier by not duplicating field name in same form.
33- #270315 by pwolanin: Update simpletest to use DrupalWebTestCase.
34- #227951 by pwolanin: Add permission for ability to use php code for default values and allowed values.
35- #270827 by pwolanin: Validity checks for the AHAH-'add more' request.
9857a867
YC
36- #271087 Properly handle values '0' for text and number fields.
37- #258407 Fix field template name to allow for easy overridability.
3a2d35f5
YC
38- #274038 by jpetso: Fix non-JS mode for 'add more' button.
39- #275192 by jpetso: Attach AHAH behaviors to newly inserted widgets on JS 'add more'.
40- #271710 by pwolanin: tests for UI field CRUD, and node form generation.
41- #266696 by pwolanin: Unable to change the label or widget type for a field.
42- #201329 by pwolanin and yched: Fix content_field_instance_delete() not cleaning tables.
43- #271577 by pwolanin: Fix unsanitized text (optionwidgets, number, text, field labels, field descriptions)
44- #273539 by jpetso: Fix JS-'add more' for complex widgets (e.g. filefield)
45- #227435 by pwolanin: Usability - Put fields links on content type overview page
46- #277101: Hide fieldset-based fieldgroups when all fields empty
47- #198508: Prevent data loss for disabled fields.
baffb34d
KS
48
49CCK 6.2.beta
50============
7ce103de
KS
51
52Content Generate (new feature)
53- #257874 and #187599 provide a way to auto-generate field content for the devel module.
54- #261633 E_All fix for content_generate.
55
56Usability
57- #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.
58
59Update processing
60- #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.
61- Fix potential E_All error in userreference after update.
62- Fix E_All error that can come up after update if text module is using format column.
63- 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.
64- #237585 Try to avoid foreach errors on missing content type information by creating empty arrays in content_info.
65
66Optionwidgets
169430ce 67- #224391 Get default values working again for optionwidgets.
7ce103de
KS
68- #251157 Make sure optionwidgets selections are not lost when previewing node.
69- #253038 Make sure empty optionwidget values are always arrays.
70
71Nodereference
72- #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.
73- #263936 Make sure nodereference select views do not try to use paging and do not limit the items per page.
74- Clean up autocomplete handling that uses Views as a selector.
75- #262112 Add missing hook_theme definition for the plain formatter.
76- #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.
77
78Views Integration
79- #264479 Make sure we don't try to init() a view for fields that don't have one selected.
80- #263936 Set arguments in execute_display. Also make sure to pass $string and $exact_string to the view.
81- #257566 Move all content fields into a single group in the Views UI.
82- #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.
83- #261528 Add in missing code to create the link to the node if that option is requested.
84
85Content Copy
86- #225664 Make sure groups get imported as well as fields.
87
88Formatters
89- #264768 Make sure handling for all possible states of #single is properly set up.
90- #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.
91
92General
93- #256116 Add a TODO to reconsider handling of CCK data when a content type is deleted.
94- Small fix to content_generate to get auto-generation of number values working.
95- #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.
96- #227256 Add an additional check when creating a new field that the length is no more than 32 characters.
97- #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().
98- #258127 Eliminate need to defer the rebuild of the menu, also adding TODO to see if content_menu_needs_rebuild() can be eliminated.
99- #257304 Make sure the widget description is never NULL to avoid problems when a NULL value gets wrapped with t().
100- #259704 Make sure help text always appears.
101- #255113 Make sure empty filtered text fields don't pick up unintended values from check_plain().