Log of /contributions/modules/cck/nodereference.module
Parent Directory
Revision
1.127
Wed Apr 23 18:02:14 2008 UTC (2 weeks, 4 days 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.124 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 31 03:16:09 2008 UTC (5 weeks, 6 days ago) by
karens
Branch:
MAIN
Changes since
1.123: +3 -4 lines
Diff to
previous 1.123
#240440 Must use $view->render() instead of $view->execute() to generate the view or pre_render() won't get triggered.
Revision
1.123 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Mar 30 10:27:42 2008 UTC (6 weeks ago) by
karens
Branch:
MAIN
Changes since
1.122: +2 -2 lines
Diff to
previous 1.122
The many_to_one operator looks like it makes more sense to use as the default filter for fields with allowed values lists.
Revision
1.122 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 26 22:21:21 2008 UTC (6 weeks, 4 days ago) by
karens
Branch:
MAIN
Changes since
1.121: +30 -21 lines
Diff to
previous 1.121
Update nodereference use of Views as selectors to add node titles and node title filters to view and use that filter.
Revision
1.121 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 25 13:12:41 2008 UTC (6 weeks, 5 days ago) by
karens
Branch:
MAIN
Changes since
1.120: +7 -14 lines
Diff to
previous 1.120
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.119 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 24 01:52:57 2008 UTC (7 weeks ago) by
yched
Branch:
MAIN
Changes since
1.118: +7 -6 lines
Diff to
previous 1.118
#186775 - nodereference : fix 'Invalid argument supplied for foreach()' + buggy display when using 'full node' formatter and the referenced node has been deleted
Revision
1.39.2.34 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Mar 24 01:51:14 2008 UTC (7 weeks ago) by
yched
Branch:
DRUPAL-5
Changes since
1.39.2.33: +4 -5 lines
Diff to
previous 1.39.2.33
, to
branch point 1.39
#186775 - nodereference : fix 'Invalid argument supplied for foreach()' + buggy display when using 'full node' formatter and the referenced node has been deleted
+ updated CHANGELOG with latest commits
Revision
1.116 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 18 12:46:57 2008 UTC (7 weeks, 5 days ago) by
karens
Branch:
MAIN
Changes since
1.115: +17 -20 lines
Diff to
previous 1.115
A little more cleanup of the option to use views for nodereference select lists. Using views for autocomplete is not yet working.
Revision
1.115 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 18 11:44:56 2008 UTC (7 weeks, 5 days ago) by
karens
Branch:
MAIN
Changes since
1.114: +104 -89 lines
Diff to
previous 1.114
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)
(
annotate)
-
[select for diffs]
Mon Mar 17 12:19:30 2008 UTC (7 weeks, 6 days ago) by
karens
Branch:
MAIN
Changes since
1.113: +4 -3 lines
Diff to
previous 1.113
#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)
(
annotate)
-
[select for diffs]
Thu Mar 13 00:56:07 2008 UTC (8 weeks, 4 days ago) by
yched
Branch:
MAIN
Changes since
1.112: +14 -1 lines
Diff to
previous 1.112
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.106 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 7 18:43:15 2008 UTC (3 months ago) by
yched
Branch:
MAIN
Changes since
1.105: +57 -37 lines
Diff to
previous 1.105
#213279 - formatters refactoring :
- formatters == theme functions
- allow formatters to handle multiple values
Revision
1.105 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 7 15:23:11 2008 UTC (3 months ago) by
karens
Branch:
MAIN
Changes since
1.104: +3 -3 lines
Diff to
previous 1.104
Small fix to commit that comments out the views handling in nodereference to make sure $result gets created.
Revision
1.102 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 13 00:24:07 2008 UTC (3 months, 4 weeks ago) by
yched
Branch:
MAIN
Changes since
1.101: +4 -3 lines
Diff to
previous 1.101
#207493 by Pancho : consistent <none> options + better translatability for an admin string.
Revision
1.101 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 8 13:14:06 2007 UTC (5 months ago) by
karens
Branch:
MAIN
Changes since
1.100: +2 -3 lines
Diff to
previous 1.100
#198420 Make sure internal field and widget names are truncated to 32 characters to match the database values.
Revision
1.100 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 29 19:14:55 2007 UTC (5 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.99: +12 -22 lines
Diff to
previous 1.99
More tweaking of nodereference and userreference to get the right values saved for both selects and autocompletes.
Revision
1.99 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 28 16:56:22 2007 UTC (5 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.98: +3 -10 lines
Diff to
previous 1.98
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)
(
annotate)
-
[select for diffs]
Wed Nov 28 16:37:28 2007 UTC (5 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.97: +5 -9 lines
Diff to
previous 1.97
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.97 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 28 16:20:41 2007 UTC (5 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.96: +2 -2 lines
Diff to
previous 1.96
Was using the wrong level of the value for the default value of nodereference and optionwidgets.
Revision
1.95 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 28 14:18:19 2007 UTC (5 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.94: +12 -10 lines
Diff to
previous 1.94
Switch a cleaner method of unnesting the nested elements created by userreference and nodereference.
Revision
1.93 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 21 13:42:12 2007 UTC (5 months, 2 weeks ago) by
karens
Branch:
MAIN
Changes since
1.92: +3 -1 lines
Diff to
previous 1.92
Miscellaneous cleanup of nodereference undefined indexes and missing $field array.
Revision
1.92 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 15 21:44:42 2007 UTC (5 months, 3 weeks ago) by
karens
Branch:
MAIN
Changes since
1.91: +3 -3 lines
Diff to
previous 1.91
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.91 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 13 23:40:28 2007 UTC (5 months, 4 weeks ago) by
karens
Branch:
MAIN
Changes since
1.90: +2 -1 lines
Diff to
previous 1.90
UI improvements for the screen to select fields and widgets, add a field description to hook_field_info(), then display it to make it easier for the user to make a choice.
Revision
1.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 10 00:34:09 2007 UTC (6 months ago) by
karens
Branch:
MAIN
Changes since
1.88: +1 -4 lines
Diff to
previous 1.88
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)
(
annotate)
-
[select for diffs]
Sat Nov 3 19:21:56 2007 UTC (6 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.87: +138 -15 lines
Diff to
previous 1.87
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)
(
annotate)
-
[select for diffs]
Fri Nov 2 23:51:12 2007 UTC (6 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.86: +2 -2 lines
Diff to
previous 1.86
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)
(
annotate)
-
[select for diffs]
Fri Nov 2 22:24:53 2007 UTC (6 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.85: +1 -19 lines
Diff to
previous 1.85
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.85 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 2 15:28:25 2007 UTC (6 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.84: +4 -3 lines
Diff to
previous 1.84
Change use of #field in each element to #field_info in the top level of the form.
Revision
1.83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 30 10:52:52 2007 UTC (7 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.82: +2 -2 lines
Diff to
previous 1.82
Remove a couple remaining default values and add code to content module to force all field columns to default to NULL.
Revision
1.82 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 28 21:52:49 2007 UTC (7 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.81: +20 -2 lines
Diff to
previous 1.81
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.81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 28 15:33:00 2007 UTC (7 months, 1 week ago) by
karens
Branch:
MAIN
Changes since
1.80: +10 -12 lines
Diff to
previous 1.80
Add hook_content_is_empty() function to fields and move handling of empty values to content_field_invoke_default().
Revision
1.80 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 25 02:33:09 2007 UTC (7 months, 2 weeks ago) by
yched
Branch:
MAIN
Changes since
1.79: +1 -2 lines
Diff to
previous 1.79
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.79 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 23 11:09:08 2007 UTC (7 months, 2 weeks ago) by
karens
Branch:
MAIN
Changes since
1.78: +1 -15 lines
Diff to
previous 1.78
Add includes for missing functions, re-arrange handling of form elements so content module adds them rather than field modules.
Revision
1.77 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 27 20:44:22 2007 UTC (8 months, 2 weeks ago) by
karens
Branch:
MAIN
Changes since
1.76: +2 -3 lines
Diff to
previous 1.76
#157176 nodereference autocomplete need drupal_json() not drupal_to_js(), that gets nodereference autocomplete working.
Revision
1.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 27 18:16:27 2007 UTC (8 months, 2 weeks ago) by
karens
Branch:
MAIN
Changes since
1.74: +179 -156 lines
Diff to
previous 1.74
#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.74 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 23 21:35:25 2007 UTC (8 months, 2 weeks ago) by
yched
Branch:
MAIN
Changes since
1.73: +1 -8 lines
Diff to
previous 1.73
#167945 (D6 / Schema API port) remove temporary code
+ merged duplicate db code for node insert and update
Revision
1.71 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 15 19:13:03 2007 UTC (8 months, 3 weeks ago) by
yched
Branch:
MAIN
Changes since
1.70: +4 -4 lines
Diff to
previous 1.70
#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.69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 9 15:33:24 2007 UTC (9 months ago) by
karens
Branch:
MAIN
Changes since
1.68: +12 -9 lines
Diff to
previous 1.68
Fixes so optionwidgets and select handling works in all modules, plus some more fixes for undefined indexes and variables.
Revision
1.68 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 19 12:28:12 2007 UTC (9 months, 3 weeks ago) by
yched
Branch:
MAIN
Changes since
1.67: +3 -3 lines
Diff to
previous 1.67
#147205 - nodereference : fixed 'advanced settings - view arguments' not working.
- thanks caign and beholder
Revision
1.67 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 17 23:03:50 2007 UTC (9 months, 3 weeks ago) by
yched
Branch:
MAIN
Changes since
1.66: +24 -6 lines
Diff to
previous 1.66
#152016 (followup) : prevent infinite recursion when using the new 'full node' : 'teaser' formatters.
Revision
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 6 12:30:50 2007 UTC (10 months ago) by
karens
Branch:
MAIN
Changes since
1.65: +15 -1 lines
Diff to
previous 1.65
#157176 more work on 6.x port. Still lots of error messages left to track down, but static tables are created and menus are working.