/[drupal]/contributions/modules/links/links_related.module
ViewVC logotype

Log of /contributions/modules/links/links_related.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.21.2.1.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 24 21:48:01 2009 UTC (5 months ago) by syscrusher
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--1-2
Changes since 1.21.2.1.2.1: +2 -2 lines
Diff to previous 1.21.2.1.2.1 , to branch point 1.21.2.1
Corrected security vulnerability in links_related.module.

Revision 1.15.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 24 21:40:07 2009 UTC (5 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-13
Changes since 1.15.2.10: +2 -2 lines
Diff to previous 1.15.2.10 , to branch point 1.15 , to next main 1.21
Addressed security vulnerability in links_related.module.

Revision 1.21.2.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 16 19:17:29 2009 UTC (9 months, 1 week ago) by syscrusher
Branch: DRUPAL-6--2
Changes since 1.21.2.1: +5 -2 lines
Diff to previous 1.21.2.1
Patch for issue #156592 and to set longer field lengths for link URL and title.

Revision 1.15.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 14 17:21:35 2009 UTC (9 months, 1 week ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.9: +5 -2 lines
Diff to previous 1.15.2.9 , to branch point 1.15
Added/adjusted #maxlength parameter for URL and title fields in several places to handle longer values.

Revision 1.15.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 2 03:51:34 2009 UTC (10 months, 3 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-10, DRUPAL-5--1-11, DRUPAL-5--1-12, DRUPAL-5--1-12-BETA1
Changes since 1.15.2.8: +13 -1 lines
Diff to previous 1.15.2.8 , to branch point 1.15
	Backported links_admin.module from the Drupal 6 version,
	including today's bug fixes to the D6 version. This change
	included new hook functions in links_weblink.module and
	links_related.module.

Revision 1.21.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 31 01:37:00 2008 UTC (10 months, 3 weeks ago) by syscrusher
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-0-BETA10, DRUPAL-6--1-0-BETA11, DRUPAL-6--1-0-BETA12, DRUPAL-6--1-0-BETA13, DRUPAL-6--1-0-BETA14, DRUPAL-6--1-0-BETA15, DRUPAL-6--1-0-BETA8, DRUPAL-6--1-0-BETA9, DRUPAL-6--1-1
Branch point for: DRUPAL-6--2
Changes since 1.21: +18 -42 lines
Diff to previous 1.21
Fixed missing links tab in links_related, and updated calls to watchdog()
in links.inc.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 23 03:07:29 2008 UTC (11 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA3, DRUPAL-6--1-0-BETA5, DRUPAL-6--1-0-BETA6, DRUPAL-6--1-0-BETA7, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.20: +13 -1 lines
Diff to previous 1.20
        Another interim commit. Much of links_admin is
        now functional. The sub-page to list referring
        nodes is not done yet.

        Added documentation for the new hooks in API.html.
        Developers, pay heed!

        Updated links_related and links_weblink to
        implement the new hooks as appropriate.

Revision 1.15.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 12 04:25:38 2008 UTC (11 months, 2 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-9
Changes since 1.15.2.7: +10 -2 lines
Diff to previous 1.15.2.7 , to branch point 1.15
Added a new feature whereby the administrator can cause the related links fieldset to always be expanded, even if there are currently no links.
The default behavior remains unchanged; this is a new option.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 12 04:10:54 2008 UTC (11 months, 2 weeks ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA2
Changes since 1.19: +10 -2 lines
Diff to previous 1.19
Added a new feature whereby the administrator can cause
the related links fieldset to always be expanded, even
if there are currently no links. The default behavior
remains unchanged; this is a new option.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 14 08:01:09 2008 UTC (16 months, 1 week ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-BETA1
Changes since 1.18: +12 -2 lines
Diff to previous 1.18
Fixed cosmetic error in theming of links related edit form.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 7 02:28:55 2008 UTC (16 months, 2 weeks ago) by syscrusher
Branch: MAIN
Changes since 1.17: +40 -38 lines
Diff to previous 1.17
Significant further progress toward Drupal 6.2 compatibility for Links.
links.module and links_related.module are almost done. Still not production
code due to a cosmetic issue with the related links editing form.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 14 18:52:15 2007 UTC (23 months, 1 week ago) by syscrusher
Branch: MAIN
Changes since 1.16: +257 -69 lines
Diff to previous 1.16
Bringing trunk (HEAD) up to latest code level.

Revision 1.15.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 12 04:07:28 2007 UTC (23 months, 2 weeks ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-8
Changes since 1.15.2.6: +3 -3 lines
Diff to previous 1.15.2.6 , to branch point 1.15
Fixes for bugs 114151, 150970, 150906, 188655, 147226, 195430, and 131637.
Refer to CHANGELOG.txt for details.

Revision 1.15.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 27 22:48:57 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-7
Changes since 1.15.2.5: +6 -6 lines
Diff to previous 1.15.2.5 , to branch point 1.15
Added translation templates and Spanish translation, the latter contributed
by elondaits in issue #133306.

Revision 1.15.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 27 22:12:07 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.4: +12 -17 lines
Diff to previous 1.15.2.4 , to branch point 1.15
        API CHANGE: The function links_get_links() will now return NULL if no
        links are found, rather than returning an array with two elements
        that are themselves empty. This simplifies testing for values on
        return, but may cause errors for code that relied upon the function
        always returning an array before. This change is pursuant to #139067.

        API CHANGE: The function links_get_list() now accepts an additional
        parameter $statistics, which defaults to FALSE. This parameter
        determines whether the click count is returned as part of the
        link title, if other conditions (such as user permissions) would
        permit it so. Existing code that wants the click count enabled
        will need to add this parameter as TRUE.

Revision 1.15.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 26 03:16:54 2007 UTC (2 years, 7 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-5, DRUPAL-5--1-6
Changes since 1.15.2.3: +210 -38 lines
Diff to previous 1.15.2.3 , to branch point 1.15
Committed a major feature enhancement and multiple bug fix patch from dman,
per issue #139130. See CHANGELOG.txt for details.

Revision 1.15.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 18 02:11:41 2007 UTC (2 years, 8 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.2: +34 -13 lines
Diff to previous 1.15.2.2 , to branch point 1.15
Implemented feature #119050, partial commit of bug fix from #128286.
This is an interim release; will tag at next logical milestone.

Revision 1.15.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 17 22:40:21 2007 UTC (2 years, 8 months ago) by syscrusher
Branch: DRUPAL-5
Changes since 1.15.2.1: +2 -2 lines
Diff to previous 1.15.2.1 , to branch point 1.15
Corrected "links_related_embed" to "links_related_embedded" for form ID

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 04:40:59 2007 UTC (2 years, 9 months ago) by syscrusher
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15
Resolved issue #99156 and #109847 (duplicates), for call to
deprecated form_render() function in links_weblink.module.

Resolved issue #110317, faulty SQL query in update-weblinks.php.

Resolved issue #111251, with embedded link detection failing.

Rearranged menus to be more compliant with Drupal 5.0 menu
organization.

Put a stub message into the "links admin" page since that
module doesn't work yet. Developers will need to comment out
the stub return to see the under-development form.

Revision 1.15.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 28 03:39:24 2007 UTC (2 years, 9 months ago) by syscrusher
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-3, DRUPAL-5--1-4
Changes since 1.15: +5 -5 lines
Diff to previous 1.15
Resolved issue #111251, with embedded link detection failing.

Rearranged menus to be more compliant with Drupal 5.0 menu
organization.

Put a stub message into the "links admin" page since that
module doesn't work yet. Developers will need to comment out
the stub return to see the under-development form.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 01:46:21 2006 UTC (3 years, 2 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-5--1-2
Branch point for: DRUPAL-5
Changes since 1.14: +48 -33 lines
Diff to previous 1.14
Committing patch #82088 from Eaton, updating to Drupal 5.0 prerelease. This
is a significant fork from the 4.7 version. As Eaton points out, it is not
fully baked for 5.0 yet, but the basic core functions are working.

If testing 5.0 prerelease, you'll need to apply this update before trying
to run Drupal 5.0, because the 4.7 version of Links calls some deprecated
functions from Drupal core.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 24 05:15:28 2006 UTC (3 years, 8 months ago) by syscrusher
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-1
Branch point for: DRUPAL-4-7
Changes since 1.13: +1 -2 lines
Diff to previous 1.13
API change: New function links_parse_url() added. This
function takes just about anything that works as a URL,
parses it out, and returns the parsed components as well
as a normalized version. The normalized version is
synthesized by concatenating the appropriate components
depending on the URL type, rather than just by using
regular expressions on the entire URL. This yields a more
thorough validation and normalization process.

API change: The function links_normalize_url() now calls
the new links_parse_url() function to do the heavy lifting.

NOTE: Because of the above, it is necessary to recalc all
of the MD5s in the {links} table. This can easily be done
by using "update.php" (from core Drupal) to apply UPDATE 2
to the Links package. Most of your URLs will not change,
but a few may be better normalized. In my testing, a
database with 500 real URLs had only two changes, both
of which were manually inspected and found to be legitimate
normalizations.

Changed links.install to fix length of {links_node}.module
to correct issue #55372. This had already been fixed in
links.mysql, but the change didn't propagate into the new
install file.

Removed trailing PHP delimiters from files per coding
standards (http://drupal.org/node/545), thereby fixing
issues #55577 and #45940.

Removed icky DOS carriage returns from lines in links.inc,
per issue #45940.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 16:17:09 2006 UTC (3 years, 8 months ago) by syscrusher
Branch: MAIN
Changes since 1.12: +2 -61 lines
Diff to previous 1.12
        Added PREFIXES.txt file to explain module prefixes and to
        establish an informal prefix registry.

        Removed a lot of dead code from links_related.module that
        was left over from its ancestor module before the links API.

        Fixed missing ?> at end of links_related.module (the line
        was mistakenly deleted by a patch).

        Added some explanatory comments to the links.install file.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 23 15:58:34 2006 UTC (3 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
Minor cosmetic improvement to make sure related link weight defaults to zero
for new links.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 21 22:47:51 2006 UTC (3 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.10: +29 -13 lines
Diff to previous 1.10
New links-hunting functionality, improved handling and tallying of outbound
link clicks, small bug fixes.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 21 19:21:28 2006 UTC (3 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.9: +65 -28 lines
Diff to previous 1.9
Multiple bug fixes, new link-hunting functionality for node body, rename
module collection from "links bundle" to "links package".

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 21 05:01:32 2006 UTC (3 years, 10 months ago) by syscrusher
Branch: MAIN
Changes since 1.8: +28 -28 lines
Diff to previous 1.8
Multiple changes; see the CHANGELOG.txt file for details. There are
still some important bug fixes needed; this is an interim commit.
Of particular import is issue #44647, which is *not* fixed in this
commit but is next on my TODO list.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 12 17:34:25 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.7: +58 -77 lines
Diff to previous 1.7
Numerous changes to multiple files. See CHANGELOG.txt for details.

INTERIM COMMIT -- Many more things are working, but it's not soup yet.
The node editing page for links_related still has some problems, and block
functions for links_weblink are not functional yet. Other than that,
links_weblink and links_related are "mostly functional" at this point.
I would call this a late-alpha, still not quite a beta.

On the positive side, I believe the API (links.inc) is at a "beta" level
and should remain fairly stable from now until release. It is not formally
frozen, however.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 8 04:19:28 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.6: +35 -44 lines
Diff to previous 1.6
Committed links_weblink.module patch by drewish, per issue #40077.

Committed links_related.module patch by drewish (with help from
Eaton), per issue #39877.

Committed links.module patch by drewish, per issue #37385.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 5 20:34:14 2005 UTC (3 years, 11 months ago) by syscrusher
Branch: MAIN
Changes since 1.5: +32 -68 lines
Diff to previous 1.5
        Committed changed by Eaton to improve form handling, per issue
        #39877.

        Committed a small patch by drewish to fix issue #40070.

        There are still known bugs in the node editing form; I'm working
        on those.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 25 23:03:46 2005 UTC (4 years ago) by syscrusher
Branch: MAIN
Changes since 1.4: +34 -7 lines
Diff to previous 1.4
Another interim commit of this module. Most things are now functional with
Drupal HEAD. There are still a couple of remaining known issues:

1. Links do not sort properly when previewing during an edit operation.
2. The "edit links" tab has not yet been converted to the new forms API.
3. The master links editing function (actually part of links.module, not
   this one) isn't fully implemented yet.

That being said, it *is* now possible to attach links to arbitrary node
types, edit them, retitle them, and unlink them from their nodes.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 24 05:11:11 2005 UTC (4 years ago) by syscrusher
Branch: MAIN
Changes since 1.3: +88 -66 lines
Diff to previous 1.3
Interim commit. Fixed infinite looping problem. Module is still not
entirely functional with the new forms API, but getting closer.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 14 03:21:43 2005 UTC (4 years ago) by syscrusher
Branch: MAIN
Changes since 1.2: +136 -42 lines
Diff to previous 1.2
Committed changes by Eaton, per issue #37385, to begin moving to
Drupal 4.7 forms API. A *big* thanks to Eaton for this patch set!

Corrected error in HTML pointed out by xqus in issue #36853.
Good catch, xqus.

Committed link editing code from xqus, per issue #35675, and then
converted this new code to Drupal 4.7 forms API.

WARNING: This version is NOT FULLY FUNCTIONAL. In particular, there
is a known infinite loop on adding content with related links. DO
NOT use for production, and the link admin page now does not show
any links in its list. This is an interim commit of work in progress.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 16 04:10:42 2005 UTC (4 years, 5 months ago) by syscrusher
Branch: MAIN
Changes since 1.1: +167 -50 lines
Diff to previous 1.1
Major enhancements to links_related.module, including a feature to
locate embedded links and make them available for editing and
migration into the catalog. THIS IS NOT YET COMPLETE; the module
is currently EXPERIMENTAL status.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 10 04:29:09 2005 UTC (4 years, 5 months ago) by syscrusher
Branch: MAIN
This is the initial public (non-sandbox) commit of the code for the new
"links" bundle. It is a multi-module set that offers the following features:

1. An API for managing URLs in a generic way, and for associating these
   links in a many-to-many relationship with nodes. Each link is
   "normalized" internally, to try to merge references to the same URL
   in the database. If the same URL is used multiple times, it appears
   only once but with many node references in the {links_node} table.
   This helps to make processes such as link monitoring and dead link
   detection more efficient. The API also allows each link-node
   association to (optionally) provide an unique node-local title that
   overrides the global title for that particular URL, but only when
   that node is being displayed. In other words, the same URL can appear
   to have multiple different titles.

2. A main links.module that governs the behavior of the bundle's global
   features, and which implements common functionality such as outlink
   tabulation of clicks. Click tabulation is by node and link, so that it
   is possible to find out not only how many times an outbound link has
   been followed, but also how many times it has been followed from each
   node that refers to it.

3. A links_related.module which allows the administrator to add a link
   field to any desired node types in the system. Currently, the node type
   setting is just a boolean flag, and if on, the node can have zero to
   infinity links. In the next version, however, this will become an
   integer where 0 means no links for the given node type, +N means "up to
   N links" for each node of that type, and -N means "exactly N links
   required (non-empty URL).

4. A links_weblink.module which defines a node type of 'weblink', which
   behaves very much like the node type of the same name by Ber Kessels,
   and which in fact is based on his module's code base but uses the
   new links API.

The SQL schema for monitoring is in this release, but the monitoring
module itself is not yet finished.

This code is EXPERIMENTAL and is under extremely active development. A
project will be created for issue reporting along with this new CVS
release.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2