Log of /contributions/modules/relativity/relativity.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.46.2.5.2.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 14 07:08:19 2008 UTC
(13 months, 1 week ago)
by
wilco
Branch:
DRUPAL-6--3
Changes since
1.46.2.5.2.4: +184 -25 lines
Diff to
previous 1.46.2.5.2.4
, to
branch point 1.46.2.5
Fixed SQL error.
Added Admin UI preset funtionality.
Updated .install script for correct SQL schema.
Cleaned up the .info files for each module to better reflect new naming convention.
Commented out core API functions [not ready for prime time yet].
Revision
1.46.2.5.2.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 13 06:01:43 2008 UTC
(13 months, 1 week ago)
by
wilco
Branch:
DRUPAL-6--3
Changes since
1.46.2.5.2.3: +61 -39 lines
Diff to
previous 1.46.2.5.2.3
, to
branch point 1.46.2.5
Fixed: "warning: Invalid argument supplied for foreach() in /var/www/drupal-6.5/includes/common.inc on line 3185."
Fixed: "warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/drupal-6.5/includes/common.inc on line 3068."
Updated the hook_menu() functions for a nice layout.
Moved the admin/settings to core module.
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 9 21:47:21 2007 UTC
(2 years, 5 months ago)
by
darius
Branch:
MAIN
Changes since
1.41: +95 -9 lines
Diff to
previous 1.41
Added "children as views" functionality (issue 130870). Thanks to Omar Abdel-Wahab for the initial patch
Revision
1.38 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 16 16:26:05 2007 UTC
(2 years, 8 months ago)
by
darius
Branch:
MAIN
Changes since
1.37: +46 -53 lines
Diff to
previous 1.37
Minor naming changes: theme_relativity_links => theme_relativity_show_link_operations, theme_relativity_ancestors => theme_relativity_show_ancestors
Revision
1.19.2.1
Mon Mar 28 21:08:11 2005 UTC
(4 years, 7 months ago)
by
robertDouglass
Branch:
DRUPAL-4-6
Changes since
1.19: +0 -1586 lines
FILE REMOVED
file relativity.module was added on branch DRUPAL-4-6 on 2006-04-03 16:36:42 +0000
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 27 20:11:06 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.16: +24 -9 lines
Diff to
previous 1.16
Added a mechanism to limit the number of options displayed on the settings
page. Admins now must select which node types will be participating in the node
relativity module's features. Other nodes are not included or configured.
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 26 09:12:22 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.14: +27 -19 lines
Diff to
previous 1.14
Cleaned up a few chars of debug code.
Implemented the "search my nodes only" feature for relativity queries.
Changed the signature of query functions to take a generic $node->options
array that is extract()ed into the namespace of the search function.
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 26 07:16:24 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.13: +76 -30 lines
Diff to
previous 1.13
Added trace feature to the relativity query that adds search path info to
query results.
Built a theme function to render this data.
Cleaned up some code in the DFS search function that appeared to be broken.
Fixed a bug where the wrong parameters were being sent to the query execution
function.
Added a little function to return just title and type of a given node id.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 26 03:56:18 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.12: +29 -15 lines
Diff to
previous 1.12
Added display formatting options to relativity_query nodes.
Added a column "options" to the relativity_query table which is a serialized
array of options.
Now, results can be displayed as 'title', 'teaser' or 'body'.
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 26 02:51:15 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.11: +47 -11 lines
Diff to
previous 1.11
Added a "display settings" tab to the settings page.
Added settings to allow an admin to specify how to render each child type for
a given parent type. These include 'title', 'node teaser' and 'node body'.
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 26 00:56:54 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.10: +22 -0 lines
Diff to
previous 1.10
Added ability to specify a relativity_query that defines the relationship
between two node types. Not much code involved, more just UI stuff linking
to existing functionality. Added yet another possible gadget to the
"advanced settings" tab: a list of which query to execute to find children
to attach.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 25 23:25:17 2005 UTC
(4 years, 8 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.9: +113 -37 lines
Diff to
previous 1.9
Added the ability for admins to sort the output of node types.
This includes the addition of a set of "advanced settings" drop-down lists
for allowing the manipulation of sort order for each node type.
Also, a relativity_sort_types($types) function was created to use this data.
Various theme functions were altered to use this sort order.
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 25 19:26:42 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.8: +85 -38 lines
Diff to
previous 1.8
Finished "Require Common Child" feature by adding code to handle the deletion
of a required common child. All dependent relationships are cleaned up now
when such a required common child is removed.
Cleaned up a lot of the theme code, as well as adding a few new functions:
relativity_may_attach_new_child_type
relativity_delete_relationships
Removed various debugging code that was commented out. Still more to go, I'm
sure.
Shuffled some admin settings around, moving more into the "advanced settings"
tab and adding a label for the "Related Ancestors" content.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Feb 24 23:04:23 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.7: +197 -34 lines
Diff to
previous 1.7
Many changes:
Cleaned up relativity_list_possible_children.
Added the ability to require a common child before allowing a relationship
to be established. This involved adding the relativity_may_unchild()
and relativity_list_grand_relatives() functions as well as modification of
the relativity_unparent_child function (to call upon the _may_unchild logic).
Added the option to display the nav above the body or below it (or not at all).
Made more use of the "advanced settings" tab.
Mucked a bit with the theme functions to clean up the output a bit.
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 23 23:37:30 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.6: +80 -49 lines
Diff to
previous 1.6
Reworked some menu security issues.
Added an "advanced settings" tab for the more obscure settings.
Fixed some non-translated output.
Took out a bunch of debugging comments.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 15 18:30:08 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.5: +12 -13 lines
Diff to
previous 1.5
Moved "show parent/child" settings from global settings to per-type settings.
Renamed (WARNING!!) variable "relativity_parent_ordinality_$type" to
"relativity_parent_ord_$type" to accommodate longer node type names.
Also note that parental enforcement WILL NOT WORK for nodes whose module names
come after "relativity" alphabetically (e.g. "story" nodes). Otherwise,
it appears to be working correctly.
fine.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 14 17:11:23 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.4: +25 -13 lines
Diff to
previous 1.4
Added better menu-based security by overriding all node/add/$type paths.
Added admin setting to optionally enforce parenting rules.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 11 21:44:25 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.3: +45 -15 lines
Diff to
previous 1.3
Added a feature to let admins limit the ordinality of specific types of children
on a per-parent basis. This further clutters the admin/settings page, but
I think the feature is worth it. It is a requirement for my project, anyways.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 11 00:22:48 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.2: +78 -9 lines
Diff to
previous 1.2
Added keyword searching of relativity_query results
Fixed hook_menu bug involving access.
Fixed a(nother) bug in the DFS algorithm.
Fixed bug in theme_relativity_links that was displaying too many
action links (violating the relationship security).
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 9 22:59:34 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Changes since
1.1: +391 -70 lines
Diff to
previous 1.1
added perm hook
added access hook
added relativity_query node type
added connected node query tool via relativity_query node type
themed much previously unthemed output
added Depth-First search algorithm
fixed various bugs in previous implementation
added search type and max_results fields
log node visits and don't return to previously visited nodes
refactored code to simplify the
addition of other search algorithms.
Made nodeapi('view'..) output configurable in admin/settings/relativity
made a few convenience functions
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 8 18:12:03 2005 UTC
(4 years, 9 months ago)
by
javanaut
Branch:
MAIN
Branch point for:
DRUPAL-4-5
Initial import. This module was called nodeattachment in my sandbox.
From the Node Relativity readme:
This tool allows parent-child relationships between nodes to be
established, managed and searched. You can restrict the types of nodes that can
be parented and the ordinality of parents. These are used to contextually create
links to add new child nodes or attach existing ones. Some work is still
required for searching through large result sets, but this is a first stab at
getting this module working. Several user interface pieces still need work, but
it is functional for the most part. The only substantial feature that is missing
is the connected node search page.
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.