Log of /contributions/modules/links/links_weblink.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.15.2.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 21 04:48:17 2009 UTC
(10 months, 1 week ago)
by
syscrusher
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-12-BETA1
Changes since
1.15.2.12: +2 -1 lines
Diff to
previous 1.15.2.12
, to
branch point 1.15
New feature: Administrative option allows rel="nofollow"
attribute on external links, per issue #144620.
New feature: Administrative option allows direct links
(skipping redirect page, at the cost of no click
counting). Separately controllable for internal and
external links.
New feature: Optional logging of all external redirects,
primarily for diagnostic purposes but also useful if the
site owner wants really detailed click tracking.
Added #maxlength attribute for URL textfields to allow
longer values, per issue #232575.
Revision
1.26.2.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 21 04:16:33 2009 UTC
(10 months, 1 week ago)
by
syscrusher
Branch:
DRUPAL-6--1
CVS Tags:
DRUPAL-6--1-0-BETA14,
DRUPAL-6--1-0-BETA15
Changes since
1.26.2.2: +2 -1 lines
Diff to
previous 1.26.2.2
, to
branch point 1.26
New feature: Administrative option allows rel="nofollow"
attribute on external links, per issue #144620.
New feature: Administrative option allows direct links
(skipping redirect page, at the cost of no click
counting). Separately controllable for internal and
external links.
New feature: Optional logging of all external redirects,
primarily for diagnostic purposes but also useful if the
site owner wants really detailed click tracking.
Added #maxlength attribute for URL textfields to allow
longer values, per issue #232575.
Revision
1.15.2.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 13 03:31:57 2009 UTC
(10 months, 2 weeks ago)
by
syscrusher
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-11
Changes since
1.15.2.11: +2 -2 lines
Diff to
previous 1.15.2.11
, to
branch point 1.15
Removed call to db_last_insert_id() in links.inc. That call
should have been (and now is) db_next_id().
Applied patch from issue #357437 to fix failure of
outbound link.
Corrected filter tips bug reported in #357335. Similar
change to that patch, but adapted for Drupal 5.
Revision
1.25 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 26 03:53:36 2008 UTC
(11 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.24: +3 -3 lines
Diff to
previous 1.24
Further work on links_admin.module, with some supporting changes to other
modules as needed.
Developers please note the change to one of the new hook functions in the
API, which has reversed the order of values in its return array. The
API.html file has details. Another change was made to the links API, but
the second change is backward-compatible.
Revision
1.24 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 23 03:07:29 2008 UTC
(11 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.23: +30 -1 lines
Diff to
previous 1.23
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.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 21 22:13:13 2008 UTC
(11 months, 1 week ago)
by
syscrusher
Branch:
MAIN
Changes since
1.22: +10 -1 lines
Diff to
previous 1.22
Early version of links_admin.module with some
functionality. Forms display but do NOT actually
update anything yet. PRE-ALPHA code!
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Nov 1 00:46:30 2008 UTC
(12 months, 4 weeks ago)
by
syscrusher
Branch:
MAIN
Changes since
1.19: +25 -4 lines
Diff to
previous 1.19
links_weblink now functional, though not cosmetically correct yet. Creating
weblink content now works correctly, and the weblinks do display albeit
not with perfect cosmetics for the subcategories. Improved handling of
missing or empty weblinks vocabulary.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jul 17 02:50:26 2008 UTC
(16 months, 1 week ago)
by
syscrusher
Branch:
MAIN
Changes since
1.18: +27 -24 lines
Diff to
previous 1.18
Updated database write operations in links.inc to be compatible with D6.
Initial ("alpha") commit of partially-ported links_weblink module.
Minor bug fix to links_related module.
Revision
1.15.2.6 -
(
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.5: +4 -4 lines
Diff to
previous 1.15.2.5
, 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.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 28 17:04:51 2007 UTC
(2 years, 10 months ago)
by
syscrusher
Branch:
DRUPAL-5
CVS Tags:
DRUPAL-5--1-4
Changes since
1.15.2.2: +2 -2 lines
Diff to
previous 1.15.2.2
, to
branch point 1.15
Fixed issue #76803, incorrect display of link in links_weblink.module.
The patch provided with the issue report was not the right place for
the corrected logic, so that patch is not committed. However, the error
report was valid, so fixed the code in the proper place.
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 28 04:40:59 2007 UTC
(2 years, 10 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.15: +8 -8 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, 10 months ago)
by
syscrusher
Branch:
DRUPAL-5
Changes since
1.15: +3 -3 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: +37 -21 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.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 22 03:01:14 2006 UTC
(3 years, 5 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.12: +2 -4 lines
Diff to
previous 1.12
Committing improvements to "views" support, contributed by Eaton pursuant
to #52639, and a bug fix for the weblinks menu item, contributed by
moggy pursuant to #53942.
Revision
1.12 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Apr 8 13:47:07 2006 UTC
(3 years, 7 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.11: +2 -2 lines
Diff to
previous 1.11
Fixed issue #54619, in which the weblink filter could only find links that
were attached to weblinks. Correct behavior, now implemented, is that it
can find any link that is properly identified in the filter syntax.
Revision
1.11 -
(
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
Changes since
1.10: +1 -2 lines
Diff to
previous 1.10
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.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 17 05:16:05 2006 UTC
(3 years, 8 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.9: +25 -32 lines
Diff to
previous 1.9
API change: The function links_goto_bynode now allows a zero
node ID, as long as the link ID is nonzero. This will perform
a redirect as usual, though it will not be able to tally the
click from any specific node.
Significant improvements to the weblink filter, fixing the
bug reported by RayZ in issue #53572 and improving its
handling of links.
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 1 23:03:39 2006 UTC
(3 years, 9 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.6: +200 -2 lines
Diff to
previous 1.6
links.module Minor bug fixes
links_weblink.module Added new feature to display cataloged directory
of weblinks. See CHANGELOG.txt for details.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 27 17:51:53 2005 UTC
(3 years, 11 months ago)
by
syscrusher
Branch:
MAIN
Changes since
1.5: +2 -2 lines
Diff to
previous 1.5
Fixed SQL query for links_weblink block handler, per issue #42139.
Patch by naudefj was correct in spirit but made against earlier
version of module, so applied an equivalent change manually.
Revision
1.5 -
(
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.4: +199 -12 lines
Diff to
previous 1.4
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.4 -
(
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.3: +18 -40 lines
Diff to
previous 1.3
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.2 -
(
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.1: +21 -9 lines
Diff to
previous 1.1
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.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.