Log of /contributions/modules/cck/nodereference.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.127
Wed Apr 23 18:02:14 2008 UTC
(19 months ago)
by
dww
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.126: +1 -1 lines
FILE REMOVED
#218973: Renamed from nodereference.module to modules/nodereference/nodereference.module
Revision
1.121 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Mar 25 13:12:41 2008 UTC
(20 months ago)
by
karens
Branch:
MAIN
Changes since
1.120: +7 -14 lines
Diff to
previous 1.120
,
to
selected 1.39.2.41
Re-name fields to use Views 1 naming like field_text_value instead of field_text to make updates easier, and alter content.views_convert.inc to match.
Add default filters for all fields, and update fields to switch from string or numeric filters to 'in' operators if there are lists of allowed values.
Add helper function to return Views table name to make it easier to change the tablename in the future, like if we find a way to avoid the need to alias each field as its own table.
Revision
1.115 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Mar 18 11:44:56 2008 UTC
(20 months, 1 week ago)
by
karens
Branch:
MAIN
Changes since
1.114: +104 -89 lines
Diff to
previous 1.114
,
to
selected 1.39.2.41
Re-implement the option to use a view to populate the nodereference selector. Still needs more work, but is basically functional for a select list. Nothing done yet about handling arguments or filters or using this in an autocomplete.
Revision
1.114 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Mar 17 12:19:30 2008 UTC
(20 months, 1 week ago)
by
karens
Branch:
MAIN
Changes since
1.113: +4 -3 lines
Diff to
previous 1.113
,
to
selected 1.39.2.41
#235247, #235224, #224614, fix validation problems with optionwidgets, nodereference, and userreference. This fix gets the forms working correctly and options are saved as they should be. The default value selector in field settings is still broken with this fix, but the node forms now work correctly.
Revision
1.113 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Mar 13 00:56:07 2008 UTC
(20 months, 2 weeks ago)
by
yched
Branch:
MAIN
Changes since
1.112: +14 -1 lines
Diff to
previous 1.112
,
to
selected 1.39.2.41
Small update for views integration :
- default Empty / Not empty filter for all fields
(still triggers a few warnings when used as exposed filters)
- very early beginnings of 'relationships' for nodereferences.
Doesn't do anything yet.
Revision
1.99 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 28 16:56:22 2007 UTC
(23 months, 4 weeks ago)
by
karens
Branch:
MAIN
Changes since
1.98: +3 -10 lines
Diff to
previous 1.98
,
to
selected 1.39.2.41
We now let the content module decide how to handle empty values, just go ahead and set the uid or nid, even if empty, then defer to the content module to handle the empty results.
Revision
1.98 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 28 16:37:28 2007 UTC
(23 months, 4 weeks ago)
by
karens
Branch:
MAIN
Changes since
1.97: +5 -9 lines
Diff to
previous 1.97
,
to
selected 1.39.2.41
Fix problems with autocomplete handling. It was doubled up in nodereference and a function was missing in userreference. Do the handling in the value callback instead of #process so we don't force a value in if none was selected.
Revision
1.92 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 15 21:44:42 2007 UTC
(2 years ago)
by
karens
Branch:
MAIN
Changes since
1.91: +3 -3 lines
Diff to
previous 1.91
,
to
selected 1.39.2.41
Added new fuctions to create 'default' field and widget arrays. Available to help expose field structure to external modules. Supplied values are now merged with default values to be sure all parts of the field and widget have indexes set. This means all field values will always return true to isset() and will not create undefined index errors. This also means module authors should not use isset() to test if values exist for form elements. Instead use is_array(), is_numeric() or similar tests.
Revision
1.89 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 10 00:34:09 2007 UTC
(2 years ago)
by
karens
Branch:
MAIN
Changes since
1.88: +1 -4 lines
Diff to
previous 1.88
,
to
selected 1.39.2.41
Two big D6 port changes:
#97861 change schema to store field column and module info in the field settings table so we have a way to clean fields up after a field module is uninstalled and rework all code to retrieve that info from the database instead of using module_invoke('database columns').
#157176 major restructuring to move most existing field crud processing to content_crud.inc. This still needs more testing and is not the final API, but it is a beginning.
Revision
1.88 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 3 19:21:56 2007 UTC
(2 years ago)
by
karens
Branch:
MAIN
Changes since
1.87: +138 -15 lines
Diff to
previous 1.87
,
to
selected 1.39.2.41
Make sure content_storage() has all $columns attributes, not just the names. Rework userreference and nodereference so they can become reusable elements. More updating of documentation.
Revision
1.87 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 2 23:51:12 2007 UTC
(2 years ago)
by
karens
Branch:
MAIN
Changes since
1.86: +2 -2 lines
Diff to
previous 1.86
,
to
selected 1.39.2.41
Had to switch to a different method of identifying the field name. Using #parents wouldn't work in the the default value form, so now setting #field_name as an explicit $element value.
Revision
1.86 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 2 22:24:53 2007 UTC
(2 years ago)
by
karens
Branch:
MAIN
Changes since
1.85: +1 -19 lines
Diff to
previous 1.85
,
to
selected 1.39.2.41
Make sure schema gets refreshed when field types change! More changes to remove use of #field in elements and replace it with new #field_info value in $form; Move install, uninstall, enable, and disable hooks all into .install file; Start developer upgrade documentation.
Revision
1.82 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 28 21:52:49 2007 UTC
(2 years, 1 month ago)
by
karens
Branch:
MAIN
Changes since
1.81: +20 -2 lines
Diff to
previous 1.81
,
to
selected 1.39.2.41
Add content_notify() function modules can use to let content module take action when they are uninstalled or disabled. Change all field columns to 'not null' = FALSE so we can search for empty values consistently across field types.
Revision
1.80 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 25 02:33:09 2007 UTC
(2 years, 2 months ago)
by
yched
Branch:
MAIN
Changes since
1.79: +1 -2 lines
Diff to
previous 1.79
,
to
selected 1.39.2.41
D6 rework : finally deprecate hook_field($op = 'view'), in favor of the default implementation
provided by content.module
In order to not lose functionnality, we still have to allow formatters to display multiple values
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 27 18:16:27 2007 UTC
(2 years, 3 months ago)
by
karens
Branch:
MAIN
Changes since
1.74: +179 -156 lines
Diff to
previous 1.74
,
to
selected 1.39.2.41
#157176 First round of FAPIzing the widgets. Widget invoke hook_elements() and use FAPI #process, #value_callback, etc. Widgets now only produce a single element and content module handles multiple values. Widget elements are designed to be agnostic about where they are placed. The content module places them on nodes, but it should be possible to write custom code to place them elsewhere by creating a $field array that will tell the widget what parameters to use. See the referenced issue for more details.
Revision
1.71 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 15 19:13:03 2007 UTC
(2 years, 3 months ago)
by
yched
Branch:
MAIN
Changes since
1.70: +4 -4 lines
Diff to
previous 1.70
,
to
selected 1.39.2.41
#167468 Fix noderef autocomplete widget w/ 'advanced (Views) mode' and Views 1.6 :
the first set of matches is repeated for subsequent edits (Views query cache)
(makes no sense for D6 yet, but keeps the code consistent
+ port of the 1.6 security fix (check_plain's)
Revision
1.63 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 21 14:12:37 2007 UTC
(2 years, 5 months ago)
by
yched
Branch:
MAIN
Changes since
1.62: +3 -3 lines
Diff to
previous 1.62
,
to
selected 1.39.2.41
#153284 - fix unneeded views_get_views call when 'advanced (Views) node selection' is not used,
resulting in repeated "SELECT v.* FROM view_view v WHERE v.name = '--' " queries.
thanks to moggy for noticing this _and_ pinning this down to noderef field
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jan 25 17:27:45 2007 UTC
(2 years, 10 months ago)
by
yched
Branch:
MAIN
Changes since
1.45: +2 -1 lines
Diff to
previous 1.45
,
to
selected 1.39.2.41
#105787 - new db scheme for 5.0 to avoid conflict with core tables (field data tables
are moved from 'node_' to 'content_' namespace)
+ fixes for older 4.7 versions migration path
update.php required !!
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 17 13:26:52 2006 UTC
(3 years, 1 month ago)
by
karens
Branch:
MAIN
Changes since
1.33: +60 -14 lines
Diff to
previous 1.33
,
to
selected 1.39.2.41
#87030 add blank option when not required to nodereference, #89717 add views filter options to nodereference, #89440 add formatters to nodereference (formatters won't work until content.module is updated, too)
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Aug 19 22:04:48 2006 UTC
(3 years, 3 months ago)
by
JonBob
Branch:
MAIN
Changes since
1.31: +3 -3 lines
Diff to
previous 1.31
,
to
selected 1.39.2.41
#69472: Change type prefix from "content-" to "content_" to assist in theming
of forms. Those using views.module may have to re-save views after this change.
Custom node templates will need to be renamed.
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 14 22:21:49 2006 UTC
(3 years, 7 months ago)
by
JonBob
Branch:
MAIN
Changes since
1.21: +12 -18 lines
Diff to
previous 1.21
,
to
selected 1.39.2.41
#55570: Change the multiple-value conventions to remove a lot of redundant
code. This will require fixes to any themes that rely on the node data
structure previously used.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 12 21:06:39 2006 UTC
(3 years, 7 months ago)
by
JonBob
Branch:
MAIN
Changes since
1.18: +4 -24 lines
Diff to
previous 1.18
,
to
selected 1.39.2.41
The first of two field API changes.
Added a $node_field parameter to hook_field() and hook_widget(). This eases
a very common pattern of getting and setting this value. While $node is still
passed by reference, fields should *not* modify it. Instead, modify $node_field
which is saved back automatically.
Revision
1.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 12 20:35:22 2006 UTC
(3 years, 7 months ago)
by
JonBob
Branch:
MAIN
Changes since
1.17: +25 -10 lines
Diff to
previous 1.17
,
to
selected 1.39.2.41
Added two new operations for hook_widget(): 'prepare form values' and
'process form values.' These operations previously were part of the work
done by 'form' and 'submit.' The new setup is better for separation of
tasks, but more importantly fixes a bug that caused radio button fields to
throw validation errors because the field's validation was being run on
incompatible data.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.