You are here

CHANGELOG.txt in Link 7

Link 7.x-1.x-dev, xxxx-xx-xx
----------------------------
#3210438 by DamienMcKenna: Test coverage - URLs with multiple query parameters.
#3230624 by DamienMcKenna: Change test permission handling.


Link 7.x-1.9, 2021-04-19
------------------------
#3209434 by DamienMcKenna, tiziano.sartori: Syntax error, unexpected '(' after
  upgrade to 7.x-1.8.


Link 7.x-1.8, 2021-04-16
------------------------
#2537248 by osopolar, Ronino, DamienMcKenna: Allow title without url on
  migration.
#836710 by DamienMcKenna, ciss, Johan den Hollander, joachim, mstrelan, sos4nt,
  Paul Lomax, rcross, rooby, timofey, seanB, Adirael, esbite, kay_v,
  joep.hendrix: Convert links to their internal link representation if they
  exist.
#3110061 by DamienMcKenna: Tidy up test files.
#3120382 by dsnopek, RenatoG, DamienMcKenna: Notice: Undefined index: title in
  link_field_load() (line 310 of link.module).
By DamienMcKenna: Unnecessary syntax change broke PHP 5.3 compatibility.
#3156021 by roman.haluska, klausi, DamienMcKenna, RenatoG: According to RFC4343
  uppercase letters in the domain name should be allowed.
#3208147 by DamienMcKenna: Simplify nested ternary logic in _link_sanitize().
#3121196 by torotil, DamienMcKenna, calebtr: Support relative fragment or query
  -only links.
#3208151 by DamienMcKenna: Coding standards cleanup.
#3178419 by DamienMcKenna: Simplify the theme functions.
#3208738 by jedihe, DamienMcKenna: Missing proper test_dependencies, testbot
  ignoring some tests.
#3208869 by DamienMcKenna: Simplify tests by extending LinkBaseTestClass.
#3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.
#3208957 by DamienMcKenna: Add unit tests for _link_parse_url().
#3095484 by DamienMcKenna, jedihe, silverham, circuscowboy, dungahk,
  codebymikey, bondjimbond, tcnolan7, La558, timwright_, Ron Collins, Summit,
  BrianLewisDesign, chegor, danbarron, SKrossa, wylbur, zorya: Query string,
  fragment stripped from URL.
#3158296 by marcosdr, opdavies, DamienMcKenna, paulocs: Enable to switch default
  link protocol between HTTP and HTTPS.
#3201437 by xlin, DamienMcKenna: Optional title for Selected Title.


Link 7.x-1.7, 2019-11-14
------------------------
#3094381 by DamienMcKenna: Add a CHANGELOG.txt file.
#3094370 by DamienMcKenna: Coding standards tidy-up.
#3094307 by DamienMcKenna: Clean up tests a bit.
By DamienMcKenna: Added myself to the maintainers list.
#3041220 by Daniel Korte, nileema.jadhav, Deepak.Sharma, pifagor: False positive
  in link_validate_url() function with relative URLs with fragments.
#3038104 by jwilson3, cm0dit, pifagor: Support hashbang (#!) in URLs.
By drumm: Ensure attributes are not strings.
#2654246 by SurfinSpirit, moleCuleFFF, recrit, okapi1987@gmail.com, whthat,
  sdstyles, rajiv.singh, ac, pifagor, dgtlmoon, Chris Matthews, Nishruu: Anchor
  and Query urls are not supported.
#2943127 by sean_e_dietrich, kyuubi, Chris Matthews, ShaunLaws, pifagor: Link
  field with static title always shows even when no url entered.
#2675568 by pianomansam, Chris Matthews, pifagor: Whether URL and Title entity
  properties are required is incorrectly determined.
#2718563 by makbul_khan8, jgalletta, idebr, malcomio, joekers, b.lammers,
  pifagor: Use link field widget in custom form.
#1475790 by idebr, quicksketch, donquixote, skessler, jcfiala, stevector, Zach,
  bk_bigfish, balumahender, jrao, pifagor, jbitdrop, das-peter: Link should not
  modify $item['url'] on node_view() (causes data loss when combined with
  Workbench Moderation).
#949604 by boazr, webadpro, zilverdistel, TheRuslan, GaëlG, barraponto,
  jhodgdon, diqidoq, jcfiala, Gábor Hojtsy, colan, mErilainen, knalstaaf,
  mfernea, pifagor: Static link text cannot be translated.
#1993920 by lwalley, johnnybgoode, Dragan Eror, weri, idebr, Etroid, jcfiala,
  jsst, alex_optim, diqidoq, dandaman: Allow tel: links.
#2428185 by das-peter, harsha012, hgoto, recrit, eelkeblok, weseze, nironan,
  pifagor, Alex Bukach, diqidoq: Language prefix and relative links broken.
#2974486 by naidim: Title field assumed when it may not exist.
#2966141 by RenatoG: Add translate in help section.
#2574331 by RenatoG, tjhart87: Utilize link target action in rules.
#2653852 by sassafrass, pifagor, NWOM, RenatoG: Token displayed when field is
  empty.
#2966082 by RenatoG: Remove unused file for structure.
#2965798 by RenatoG: Update documentation for requirements.
#2965735 by RenatoG: Organize style structure. Create css folder for organizer.
#2965727 by RenatoG: Remove unused / commented code in views/link.views.inc.
#2295071 by interX, pifagor: Recursion in field formatter with views.
#2195699 by Dane Powell, pifagor: Generate more creative URLS with
  devel_generate.
#2536756 by gareth-davies, pifagor: Unless using the default field formatter,
  classes are not transformed into an array which causes a fatal error.
#2916152 by azinck, pifagor: Override title in field formatter.
#2921141 by chishah92, Ambient.Impact, RenatoG: Use a real ellpsis instead of
  three dots (...).
#2945199 by salvis, pifagor: drupal_encode_path() is called twice.
#2813057 by klausi, pifagor, John Cook: mailto: link with subject parameter and
  upper case letter does not validate.
#2952073 by pifagor: Change correct deskription.
#2930024 by Dylan Donkersgoed, pifagor: file:// links often don't work.
#2948578 by RenatoG: Resolve all items reported by pareview.sh.

Link 7.x-1.6, 2019-02-20
------------------------
Ensure attributes are not strings.

Link 7.x-1.5, 2018-05-13
------------------------
#2553705 and #2961210 by billywardrop, pifagor, vinmassaro, alex_optim,
  alex.mazaltov: Preparation of module version 1.5.

Link 7.x-1.5-beta3, 2018-02-21
------------------------------
By pifagor: Fixed test.
#2945139: options(&$options) deprecated since views2.
#2945137: Unused variables.
#2945133: Warning: Method call uses 2 parameters, but method signature uses 1
  parameters.
#2945131: Fix coding standards module.
#2945128: Fix coding standard test parts
#2901656 and #2210297 by nightwalkr, mfernea: validates that the input on the
  URL field actually exists as a path alias. Theme_link_formatter_link_default()
  doesn't work with classes defined in a preprocess function.
#2216399 by jemond: Provide Formatter to remove http:// or https:// from URL.
#1836632 by jmart: Double HTML escaping when using plain_title formatter.
By nileema.jadhav: Modification for bug fixes related to HTML entities in title
  and no protocol for url display format.
#2480723 by krystalcode, naidim, rrrob, sumitmadan, Argus, diqidoq, RenatoG,
  jbitdrop: Avoid warning in diff integration for links without title.
#2911860 by RenatoG: Fix tests items results.
By RenatoG: Fix tests.
#2244041 by alberto56, RenatoG: Undefined index: widget in link.module on line
  1341.
#2743401 by RenatoG, MHuebner: Use parent directory in internal url.
#2897563 by RenatoG: Fix Coding Standards, Best Practices and Insert
  Documentation in Comments for Tests.
#2897348 by RenatoG: Update documentation in README file for nre template of
  Drupal.org.
#2897332 by RenatoG: Fix all items of Code Review for Link.
#2166459 by j0rd, mstef: Notice: Undefined index: error_element in
  link_field_widget_error() (line 328 of link.module).

Link 7.x-1.5-beta2, 2017-07-25
------------------------------
#2889683 by Yago Elias, RenatoG: Protocol-less URLs should be cleaned for use.
#2558497 by joachim, RenatoG: property type for 'url' entity metadata property
  should not be 'url'.
#2299657 by RenatoG, egfrith, ChuChuNaKu, idebr, jtsnow, rootwork,
  kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  DamienMcKenna, doraf, jmart, reptilex, Berliner-dupe, jp.stacey, JonMcL: Allow
  any TLD because site admins can never keep up with ICANN.
#2499165 by jcnventura, RenatoG: Validate all latin accented chars.
#1295132 by Scyther, RenatoG: Unnecessary variables in link.install.
#1335424 by claudiu.cristea, RenatoG: Title as a select.
#2612176 by FluxSauce, pcambra, RenatoG: PHP Fatal error: Class
  'MigrateFieldHandler' not found.
#2693731 by Antonnavi, RenatoG: Tokens replaced on "Static title" when "Allow
  user-entered tokens" not enabled.

Link 7.x-1.5-beta1, 2017-01-14
------------------------------
#2140087 by olofjohansson, maximpodorov, mistermoper, RenatoG: Allow '0' as the
  link title.
#1418762 by num37, RenatoG, rvilar, jcfiala, randyhook: Provide default title
  when title is optional.
#2553705 by Trav84, aguilarm, michaelfavia, reshma.i, RenatoG, roopeshnaik:
  Static Title does not show up when using 'Optional URL' + 'Static Title' with
  an empty URL.
#2323441 by paolomainardi, sumitmadan, SylvainM, brockfanning, rob_johnston,
  RenatoG, mikeryan: [Patch] Migrate language argument array handling.
#2299657 by egfrith, RenatoG, ChuChuNaKu, idebr, jtsnow, rootwork,
  kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  DamienMcKenna, doraf, jmart, reptilex, jp.stacey, JonMcL: Allow any TLD
  because site admins can never keep up with ICANN.
#1909788 by mthomas, jesss, csc4, Kpolymorphic, RenatoG: Add an entity token for
  the display_url.
#2650956 by loopduplicate, amitmaity, karsumit94, RenatoG: Code standards are
  not followed for array modified in 2367069.
#2299657 by egfrith, RenatoG, ChuChuNaKu, idebr, jtsnow, rootwork,
  kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  DamienMcKenna, doraf, jmart, reptilex, Berliner-dupe, jp.stacey, JonMcL,
  peter-majmesku: Allow any TLD because site admins can never keep up with
  ICANN.
#2299657 by egfrith, ChuChuNaKu, RenatoG, idebr, jtsnow, rootwork, Leeteq,
  kristiaanvandeneynde, GoddamnNoise, tobiberlin, Remon, drumm, jcfiala, klonos,
  brantwynn, quicksketch, mikeytown2, samuel.mortenson, brice_gato, Vacilando,
  katjam, kenorb, ultimike, Graber, rv0, DamienMcKenna, doraf, jmart, reptilex,
  jp.stacey, JonMcL: Allow any TLD because site admins can never keep up with
  ICANN.
#2890057 by RenatoG: All content of file commented "link.views.inc" should be
  use @codingStandardsIgnoreFile tag.
#2299657 by egfrith, ChuChuNaKu, RenatoG, idebr, jtsnow, Leeteq, GoddamnNoise,
  tobiberlin, kristiaanvandeneynde, Remon, jcfiala, rootwork, drumm, klonos,
  brice_gato, quicksketch, brantwynn, mikeytown2, Vacilando, reptilex,
  samuel.mortenson, DamienMcKenna, ultimike, Graber, rv0, doraf, jp.stacey,
  kenorb, jmart, JonMcL, katjam: Allow any TLD because site admins can never
  keep up with ICANN.
#2890013 by RenatoG: Fix codings standards for Link.
#2889755 by RenatoG: Fixed Best practice in Drupal.
#2566443 by ohthehugemanatee, RenatoG: Broken description text when used through
  Form API.
#2888582 by RenatoG: Resolved unused variables in install file.
#2723993 by dhruveshdtripathi, rahul.shinde, jeevanbhushetty, RenatoG: help hook
  is not there.
#2578521 by kala4ek, arialvix, soapboxcicero, ervit, RenatoG: Validation error.
#2888510 by RenatoG: Create tip for token on install.
#2888480 by RenatoG: Fixed documentation links in new window target "blank".
#2888461 by RenatoG: Clear variable "link_extra_domains" on uninstall.
#2843813 by idebr, klausi, michael_wojcik, clemens.tolboom: Fix failing tests
  due to missing 'administer fields' permission.

Link 7.x-1.4, 2016-01-14
------------------------
UPC-99: Apply patch: link-field_link_validate_overrites_langcode-2632728.patch
#2470377 by rhclayto: Adding a class with underscores, the class gets rendered
  with hyphens
#609560 by Boobaa: Provide token for hostname
#2470968: Add README.txt
#2247261 by heddn, sumitmadan: URLs are not validated
#2513706 by rrfegade: Spelling errors in D7
#2055111 by joelpittet, mikeytown2: skip over re-loading entities for tokens in
  link field attributes unless there's a token to process.
#2367069 by jcfiala:Fixed entity_token for link after node_view was called.
Added setup function to LinkValidateUrlLight to enable link module, which was
  failing drupal.org qa testbot.
#2364673 by jcfiala: Replaced drupal_html_class() with
  drupal_clean_css_identifier() so that link field classes are not forced to
  lower case.
Added tests to test entity_token token with link.

Link 7.x-1.3, 2014-10-21
------------------------
By jcfiala: Various small fixes to pass coder review.
#2351223 by Xano: Improve field validation error message.
#2350253 by genjohnson: Fixed Link with ! (exclamation) in URL query returns
  "not a valid URL".
#1483494 by vinmassaro, cord1: Notice: Undefined index: url in _link_process()
  (line 345 of ../link.module).
#1955976 by chOP, erikhopp, idebr, d.clarke | Jim Cutler: Added Allow relative
  paths with validation.
#2117099 by tim.plunkett: Expose attributes as property info.
#1930430 by benjifisher: Fixed Migration integration misses title attribute for
  mutiple-valued link fields.
#97766 by tanepiper, heddn, timbrandin, droath, alanburke, Digidog: Class
  attribute field option for each dataset in link widget.
#1266474 by redndahead, franz, RobLoach, jcfiala, markabur: Use field label as
  the label for the title field
#2036645 by lex0r: restricting the explode to 2 items when breaking apart
  querystrings helps prevent problems with unescaped = characters in the data.
#2223571 by jcfiala: Included new tld that had been included into the 6.x-2.x
  branch.
#1836632 by jcfiala:Removed double-encoding of titles when url not specified in
  link field.
#1980736 by Cottser: Allow child elements of the link field to be rendered.

Link 7.x-1.2, 2013-11-24
------------------------
#1866632 by mohamadaliakbari,poiu:Adding rtl support to the link field.
#1928116 by jcfiala: Added field variable to variables for link formatter
  functions in hook_theme.
#2141643:Applying changes suggested by coder
#2043001 by zhuber:Add xxx to list of top level domains.
#2036115 by Samvel:Validation of link field was not being properly passed
  through to hook_field_widget_error().
#1616752 by Taran2L:Period in names of querystring items was being replaced with
  underscores.
#2123277 by zhuber:Link devel generate was applying titles to links with no
  title set.
#1936784 by jeffam, illmasterc: Ampersands were being escaped in urls.
#1784862 by aaronbauman: Added dialog switch to code displaying available
  tokens.
#1914286 by facine: Fixes Title value in link_field_update_instance undefined
  error.
#1918850 by jsacksick: Prevents undefined variable messages in
  link_i18n_string_list_field_alter().

Link 7.x-1.1, 2013-02-09
------------------------
By jcfiala: Fixed broken token tests - setUp on LinkBaseTestClass was broken.
#949604 by zilverdistel: Added i18n support for the static link text field
  option.
#1909314 by Simon Georges: Removing link.install from the link.info files[]
  array.
By jcfiala: Removed all places where #markup was being set to a theme function
  output with #theme.
#1674284 by sun, jcfiala: Cleaning up the code to Drupal standards, this time
  with the tests.
#1674284 by sun, jcfiala: Cleaning up the code to Drupal standards.
By hass:Fixing a string in the target argument handler to be t-compatible.
By hackwater: Fixed minor typo which spelled automatically wrong.
#1458502 by eugene.brit:Fixing Undefined index: target in _link_sanitize()
#1010850 by benjifisher: Update MigrateFieldHandler to work with migrate-7.x-2.4
  and later.
#1889918 by jcfiala,Boobaa: Changed the bad url error message to include the
  field's label.
#1179944 by jcfiala, mr.york: Added variable_get calls so that the list of TLD
  that pass validation can be set by admins.
#1766150 by jcfiala: Blank urls will no longer be treated the same as links to
  <front>.
#1686024 by Alan D.: Added implementation of hook_field_diff_view().
#1715246 by Haza, jcfiala: Fixed strict warning when loading entity for token
  use, also fixed problem with the title attribute not being handeld properly.
#1309768 by jcfiala: Made URL label of url-only link fields invisible instead of
  removing it, to be 508 compliant.
#1645640 by barraponto:Fixing <front> links as well as double-printing of
  querystring.
By jcfiala: Fixed how possible tokens are displayed when setting up a link field
  - had been using a variable which was not defined in that scope.
#43870: Cleaned up and conslidated the link formatter tests so that the tests
  can run faster.
#438770: Fixed code to align with tests - handling the 'token type' fetching
  better and fixing the separate link display to match previous functionality.
#1047444 by Sweetchuck, jcfiala: Updated how tokens are handled so that the
  proper token references are used, and not just 'node'.
#1309658 by jcfiala: Small nudge to the views tokens fix to handle problem with
  relative links going through url() twice.
#472766 by mstrelan: Added new formatter to display domain as link.
#1710578 by jcfiala: Added code to prevent unnecessary = signs in querystrings.
#1309658 by jcfiala: Rearranged the link code so that the query and fragment are
  not separated from the url so that views can access them in a token.
#1290904 by gordon:Moved link processing on save from the hook_field_presave
  link to the hook_field_insert/update hook to prevent problem with
  field_attach_update.
#1525668 by mikeryan: Removed type-hint of $entity in the migrate prepare
  handler.
#1599314 by arpieb: Adding spaces, periods, and parenthesis to internal file
  paths.
#1368616 by grndlvl: Fix required marker so it shows if title is not displayed.
#1512954 by jfiala, mikeytown2: Added code to prevent error in
  theme_link_formatter_link_plain(), improved use of $link_options array in
  theme functions.
#1125766 by jcfiala, David Stosik, Eric_A: Provided default value for link
  targets when link field uses user input for target.
#1230256 by yched: Fixed D6 migration (cck_migrate()).
#1218428 by twistor, Digidog: Fixed - Link tests, LinkValidateUrlLight because
  link validate_url is called but not available.
#1409980 by luisortizramos, effulgentsia, Digidog: Fixed - Validation error
  -Invalid URL- is not reported properly. The corresponding form_set_error()
  calls have been fixed.
#1441702 by Digidog: Fixed - Rel attribute should have an option to get
  automaticly turned on/off if link is internal/external.
#1418674 by rvilar, Digidog: Fixed - Bad variable concatenation in t() function-
#1321482 by Liam Morland, KarlShea, Summit, Jevedor, Digidog: Fixed -Query
  string and fragment are removed, resulting in parts of the URL being lost-
#1066328 by Bevan, jcfiala, dkingofpa, sammys, Digidog: Formatter for use with
  url() and Views its -output this field as a link- fields (Absolute url
  formatter added).
#1429684 by das-pater: Dont unserialize already unserialized attributes in
  _link_load(). The patch contains condition before unserialize in _link_load(),
  link_views_handler_argument_target::query() is now compatible to its parent to
  avoid php strict notices.
#698438 by tim.plunkett: Added support for Devel Generate
#1010850 by jcfiala, quartsize, raman2385, Bevan, eporama, das-peter,
  smithmilner, Digidog: Fixed MigrateFieldHandler to work with Migrate Module.

Link 7.x-1.0, 2011-10-23
------------------------
#1318850 by Digidog: Fixed completion of special chars for function
  link_validate_url() in line 916.
#1199806 by ss81, jcfiala, Digidog: Fixed fatal error when the link URl is equal
  to page URL.
#1307788 Feature request by nmc, tars16, Digidog: Fixed Add custom maxlength to
  link title text.
#1217396 by WilliamB,noahb,orakili,Digidog: Fixed options multiple-value &
  required break input/save and produces error: At least one title or URL must
  be entered.
#1036628 by gargoyle,jcfiala,wizonesolutions,Digidog: Fixed to allow more
  special chars in url validation for use cases like twitter etc. (f.e.: # , ~ )
#948658 by brenk28, Dave Reid, becw, jcfiala, iMiksu, BTMash, Digidog: Fixed
  noticeof Undefined index: title in _link_sanitize() - hopefully, finally.
#1079782 by fago, klausi, drunken monkey, jcfiala, Digidog: Fixed support for
  hook_entity_property_info() including search API and Rules. @todo: needs
  simpletests to be submitted for rc1.

Link 7.x-1.0-beta1, 2011-09-26
-------------------------------
#1264208 by lazysoundsystem, Digidog: Fixed recursive serialization of
  attributes.
#1218422 by Dave Reid, twistor, Digidog: Fixed tests files: strict warnings
  about static getInfo and parameters for setUp(), whitespace, and file
  structure.
#1038444 by Dave Reid, Digidog: Fixed 3 issues plus #required on title prevents
  submission. All issues have been fixed with patch of Dave Reid from January.
  Patch manually retrieved for latest 7.x-1.x by Digidog.
#1105816 by thekevinday, jcfiala, Digidog: Fixed improper use of db_type by
  committing patch of thekevinday at comment-5028534.
#335281 by thePanz, jcfiala, stella, Digidog: committed patch by stella
  #comment-4929778 for title attribute support.
#519416 by jcfiala: Added the plain text display of just the link title, which
  was available in 6.x but had not been added to 7.x yet.
By jcfiala: Added slight changes to how links are validated to bring them in
  line withvalid_url().
#1148864 by jcfiala: Re-enabled the ability to turn off url validation.
#1063764 by bdragon,jcfiala: Renamed all field formatters to start with 'link_'
  so they will be unique.
#1078254 by jcfiala: added a hook_update_n call that copies settings from the
  field to the instance.
#1126384 by burki: Started using field_widget_instance to get link field
  settings in link_field_process, which is more standard than hunting in the
  for it.
#1125384 by Rob Loach: Changed url length in link_field_schema to not use the
  constant which is not always defined.
#1043348 by jcfiala: Finished updating the formatting code so that querystrings
  and fragments of urls work as in 6.x-2.x.
#438770 by jcfiala: Adding test that makes sure the 'plain url' formatter is
  working properly with the basic case.
#1043348 by jcfiala: First pass at fixing problems with raw www.example.com urls
  ending up as index.php?q=www.example.com. Need more testing/fixing with
  fragments and querystrings - not complete.
#1056364 by the_phi: Checking that ['settings']['enable_tokens'] exists before
  the value is compared.
#1078736 by jcfiala: Added empty handler for hook_link_form_settings to make
  ield Permissions work.

Link 7.x-1.0-alpha3, 2011-02-07
-------------------------------
bug report #1008562 by jcfiala: Looking into URL, as link error caused me to
  realize that the _link_sanitize was being called in the wrong place - now
  called on link_field_prepare_view.
bug report by jcfiala: Fixed error from missing index by changing ['required']
  to ['required'].
bug report #1026040 by pcambra: Updated token help to use the updated token
  module and token display.
bug report #1033112 by Dave Reid: Removing extra lines from link.info.
task #970392 by jcfiala: Added content_migrate_field_alter and
  content_migrate_instance_alter hooks to link.module to help with upgrading
  from D6 to D7.
feature request #1012372 by jcfiala: Tried using
  hook_field_instance_settings_form to allow per-instance settings. Also,
  re-added a bunch of old tests from 6.x.

Link 7.x-1.0-alpha2, 2010-12-13
-------------------------------
task #960062 by jcfiala: Added package of 'fields' to the link.info file.
task #997270 by jcfiala: Removed content in link.views.inc, and added file
  references to the link_views_handler files in link.info for better views
  integration.
By jcfiala: Added more code to attribute test.
By jcfiala: Edited the two test files so that simpletests run without error,
  although they don't test nearly enough.
bug report #952656 by Dave_Reid: Moved hook_field_schema() to link.install,
  other small tweaks to remove old references.
bug report #948628 by brenk28, bec: Fixing setting references in and removing
  calls to see if token is enabled.

Link 7.x-1.0-alpha1, 2010-12-07
-------------------------------
#955214 by alex_b,jcfiala: Fixed problem where a url with a querystring caused
  fatal errors.
#956182 by jmiccolis, bec, Bevan: Theme fixing for the theme_link_field
#696678 by tristanoneil: Link module now showing basic functionality - still not
  done, but better.
#696678 by Garrett Albright: Initial attempt at updating Link module to Drupal 7
  - does not really work but is a start.
By dropcube: First working copy of the 7.x version.

File

CHANGELOG.txt
View source
  1. Link 7.x-1.x-dev, xxxx-xx-xx
  2. ----------------------------
  3. #3210438 by DamienMcKenna: Test coverage - URLs with multiple query parameters.
  4. #3230624 by DamienMcKenna: Change test permission handling.
  5. Link 7.x-1.9, 2021-04-19
  6. ------------------------
  7. #3209434 by DamienMcKenna, tiziano.sartori: Syntax error, unexpected '(' after
  8. upgrade to 7.x-1.8.
  9. Link 7.x-1.8, 2021-04-16
  10. ------------------------
  11. #2537248 by osopolar, Ronino, DamienMcKenna: Allow title without url on
  12. migration.
  13. #836710 by DamienMcKenna, ciss, Johan den Hollander, joachim, mstrelan, sos4nt,
  14. Paul Lomax, rcross, rooby, timofey, seanB, Adirael, esbite, kay_v,
  15. joep.hendrix: Convert links to their internal link representation if they
  16. exist.
  17. #3110061 by DamienMcKenna: Tidy up test files.
  18. #3120382 by dsnopek, RenatoG, DamienMcKenna: Notice: Undefined index: title in
  19. link_field_load() (line 310 of link.module).
  20. By DamienMcKenna: Unnecessary syntax change broke PHP 5.3 compatibility.
  21. #3156021 by roman.haluska, klausi, DamienMcKenna, RenatoG: According to RFC4343
  22. uppercase letters in the domain name should be allowed.
  23. #3208147 by DamienMcKenna: Simplify nested ternary logic in _link_sanitize().
  24. #3121196 by torotil, DamienMcKenna, calebtr: Support relative fragment or query
  25. -only links.
  26. #3208151 by DamienMcKenna: Coding standards cleanup.
  27. #3178419 by DamienMcKenna: Simplify the theme functions.
  28. #3208738 by jedihe, DamienMcKenna: Missing proper test_dependencies, testbot
  29. ignoring some tests.
  30. #3208869 by DamienMcKenna: Simplify tests by extending LinkBaseTestClass.
  31. #3208869 by DamienMcKenna: Forgot to update LinkSanitizeTest.
  32. #3208957 by DamienMcKenna: Add unit tests for _link_parse_url().
  33. #3095484 by DamienMcKenna, jedihe, silverham, circuscowboy, dungahk,
  34. codebymikey, bondjimbond, tcnolan7, La558, timwright_, Ron Collins, Summit,
  35. BrianLewisDesign, chegor, danbarron, SKrossa, wylbur, zorya: Query string,
  36. fragment stripped from URL.
  37. #3158296 by marcosdr, opdavies, DamienMcKenna, paulocs: Enable to switch default
  38. link protocol between HTTP and HTTPS.
  39. #3201437 by xlin, DamienMcKenna: Optional title for Selected Title.
  40. Link 7.x-1.7, 2019-11-14
  41. ------------------------
  42. #3094381 by DamienMcKenna: Add a CHANGELOG.txt file.
  43. #3094370 by DamienMcKenna: Coding standards tidy-up.
  44. #3094307 by DamienMcKenna: Clean up tests a bit.
  45. By DamienMcKenna: Added myself to the maintainers list.
  46. #3041220 by Daniel Korte, nileema.jadhav, Deepak.Sharma, pifagor: False positive
  47. in link_validate_url() function with relative URLs with fragments.
  48. #3038104 by jwilson3, cm0dit, pifagor: Support hashbang (#!) in URLs.
  49. By drumm: Ensure attributes are not strings.
  50. #2654246 by SurfinSpirit, moleCuleFFF, recrit, okapi1987@gmail.com, whthat,
  51. sdstyles, rajiv.singh, ac, pifagor, dgtlmoon, Chris Matthews, Nishruu: Anchor
  52. and Query urls are not supported.
  53. #2943127 by sean_e_dietrich, kyuubi, Chris Matthews, ShaunLaws, pifagor: Link
  54. field with static title always shows even when no url entered.
  55. #2675568 by pianomansam, Chris Matthews, pifagor: Whether URL and Title entity
  56. properties are required is incorrectly determined.
  57. #2718563 by makbul_khan8, jgalletta, idebr, malcomio, joekers, b.lammers,
  58. pifagor: Use link field widget in custom form.
  59. #1475790 by idebr, quicksketch, donquixote, skessler, jcfiala, stevector, Zach,
  60. bk_bigfish, balumahender, jrao, pifagor, jbitdrop, das-peter: Link should not
  61. modify $item['url'] on node_view() (causes data loss when combined with
  62. Workbench Moderation).
  63. #949604 by boazr, webadpro, zilverdistel, TheRuslan, GaëlG, barraponto,
  64. jhodgdon, diqidoq, jcfiala, Gábor Hojtsy, colan, mErilainen, knalstaaf,
  65. mfernea, pifagor: Static link text cannot be translated.
  66. #1993920 by lwalley, johnnybgoode, Dragan Eror, weri, idebr, Etroid, jcfiala,
  67. jsst, alex_optim, diqidoq, dandaman: Allow tel: links.
  68. #2428185 by das-peter, harsha012, hgoto, recrit, eelkeblok, weseze, nironan,
  69. pifagor, Alex Bukach, diqidoq: Language prefix and relative links broken.
  70. #2974486 by naidim: Title field assumed when it may not exist.
  71. #2966141 by RenatoG: Add translate in help section.
  72. #2574331 by RenatoG, tjhart87: Utilize link target action in rules.
  73. #2653852 by sassafrass, pifagor, NWOM, RenatoG: Token displayed when field is
  74. empty.
  75. #2966082 by RenatoG: Remove unused file for structure.
  76. #2965798 by RenatoG: Update documentation for requirements.
  77. #2965735 by RenatoG: Organize style structure. Create css folder for organizer.
  78. #2965727 by RenatoG: Remove unused / commented code in views/link.views.inc.
  79. #2295071 by interX, pifagor: Recursion in field formatter with views.
  80. #2195699 by Dane Powell, pifagor: Generate more creative URLS with
  81. devel_generate.
  82. #2536756 by gareth-davies, pifagor: Unless using the default field formatter,
  83. classes are not transformed into an array which causes a fatal error.
  84. #2916152 by azinck, pifagor: Override title in field formatter.
  85. #2921141 by chishah92, Ambient.Impact, RenatoG: Use a real ellpsis instead of
  86. three dots (...).
  87. #2945199 by salvis, pifagor: drupal_encode_path() is called twice.
  88. #2813057 by klausi, pifagor, John Cook: mailto: link with subject parameter and
  89. upper case letter does not validate.
  90. #2952073 by pifagor: Change correct deskription.
  91. #2930024 by Dylan Donkersgoed, pifagor: file:// links often don't work.
  92. #2948578 by RenatoG: Resolve all items reported by pareview.sh.
  93. Link 7.x-1.6, 2019-02-20
  94. ------------------------
  95. Ensure attributes are not strings.
  96. Link 7.x-1.5, 2018-05-13
  97. ------------------------
  98. #2553705 and #2961210 by billywardrop, pifagor, vinmassaro, alex_optim,
  99. alex.mazaltov: Preparation of module version 1.5.
  100. Link 7.x-1.5-beta3, 2018-02-21
  101. ------------------------------
  102. By pifagor: Fixed test.
  103. #2945139: options(&$options) deprecated since views2.
  104. #2945137: Unused variables.
  105. #2945133: Warning: Method call uses 2 parameters, but method signature uses 1
  106. parameters.
  107. #2945131: Fix coding standards module.
  108. #2945128: Fix coding standard test parts
  109. #2901656 and #2210297 by nightwalkr, mfernea: validates that the input on the
  110. URL field actually exists as a path alias. Theme_link_formatter_link_default()
  111. doesn't work with classes defined in a preprocess function.
  112. #2216399 by jemond: Provide Formatter to remove http:// or https:// from URL.
  113. #1836632 by jmart: Double HTML escaping when using plain_title formatter.
  114. By nileema.jadhav: Modification for bug fixes related to HTML entities in title
  115. and no protocol for url display format.
  116. #2480723 by krystalcode, naidim, rrrob, sumitmadan, Argus, diqidoq, RenatoG,
  117. jbitdrop: Avoid warning in diff integration for links without title.
  118. #2911860 by RenatoG: Fix tests items results.
  119. By RenatoG: Fix tests.
  120. #2244041 by alberto56, RenatoG: Undefined index: widget in link.module on line
  121. 1341.
  122. #2743401 by RenatoG, MHuebner: Use parent directory in internal url.
  123. #2897563 by RenatoG: Fix Coding Standards, Best Practices and Insert
  124. Documentation in Comments for Tests.
  125. #2897348 by RenatoG: Update documentation in README file for nre template of
  126. Drupal.org.
  127. #2897332 by RenatoG: Fix all items of Code Review for Link.
  128. #2166459 by j0rd, mstef: Notice: Undefined index: error_element in
  129. link_field_widget_error() (line 328 of link.module).
  130. Link 7.x-1.5-beta2, 2017-07-25
  131. ------------------------------
  132. #2889683 by Yago Elias, RenatoG: Protocol-less URLs should be cleaned for use.
  133. #2558497 by joachim, RenatoG: property type for 'url' entity metadata property
  134. should not be 'url'.
  135. #2299657 by RenatoG, egfrith, ChuChuNaKu, idebr, jtsnow, rootwork,
  136. kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  137. brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  138. brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  139. DamienMcKenna, doraf, jmart, reptilex, Berliner-dupe, jp.stacey, JonMcL: Allow
  140. any TLD because site admins can never keep up with ICANN.
  141. #2499165 by jcnventura, RenatoG: Validate all latin accented chars.
  142. #1295132 by Scyther, RenatoG: Unnecessary variables in link.install.
  143. #1335424 by claudiu.cristea, RenatoG: Title as a select.
  144. #2612176 by FluxSauce, pcambra, RenatoG: PHP Fatal error: Class
  145. 'MigrateFieldHandler' not found.
  146. #2693731 by Antonnavi, RenatoG: Tokens replaced on "Static title" when "Allow
  147. user-entered tokens" not enabled.
  148. Link 7.x-1.5-beta1, 2017-01-14
  149. ------------------------------
  150. #2140087 by olofjohansson, maximpodorov, mistermoper, RenatoG: Allow '0' as the
  151. link title.
  152. #1418762 by num37, RenatoG, rvilar, jcfiala, randyhook: Provide default title
  153. when title is optional.
  154. #2553705 by Trav84, aguilarm, michaelfavia, reshma.i, RenatoG, roopeshnaik:
  155. Static Title does not show up when using 'Optional URL' + 'Static Title' with
  156. an empty URL.
  157. #2323441 by paolomainardi, sumitmadan, SylvainM, brockfanning, rob_johnston,
  158. RenatoG, mikeryan: [Patch] Migrate language argument array handling.
  159. #2299657 by egfrith, RenatoG, ChuChuNaKu, idebr, jtsnow, rootwork,
  160. kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  161. brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  162. brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  163. DamienMcKenna, doraf, jmart, reptilex, jp.stacey, JonMcL: Allow any TLD
  164. because site admins can never keep up with ICANN.
  165. #1909788 by mthomas, jesss, csc4, Kpolymorphic, RenatoG: Add an entity token for
  166. the display_url.
  167. #2650956 by loopduplicate, amitmaity, karsumit94, RenatoG: Code standards are
  168. not followed for array modified in 2367069.
  169. #2299657 by egfrith, RenatoG, ChuChuNaKu, idebr, jtsnow, rootwork,
  170. kristiaanvandeneynde, GoddamnNoise, Leeteq, jcfiala, Remon, drumm, tobiberlin,
  171. brantwynn, klonos, Vacilando, quicksketch, mikeytown2, samuel.mortenson,
  172. brice_gato, katjam, kenorb, ultimike, Graber, rv0, othermachines, r0nn1ef,
  173. DamienMcKenna, doraf, jmart, reptilex, Berliner-dupe, jp.stacey, JonMcL,
  174. peter-majmesku: Allow any TLD because site admins can never keep up with
  175. ICANN.
  176. #2299657 by egfrith, ChuChuNaKu, RenatoG, idebr, jtsnow, rootwork, Leeteq,
  177. kristiaanvandeneynde, GoddamnNoise, tobiberlin, Remon, drumm, jcfiala, klonos,
  178. brantwynn, quicksketch, mikeytown2, samuel.mortenson, brice_gato, Vacilando,
  179. katjam, kenorb, ultimike, Graber, rv0, DamienMcKenna, doraf, jmart, reptilex,
  180. jp.stacey, JonMcL: Allow any TLD because site admins can never keep up with
  181. ICANN.
  182. #2890057 by RenatoG: All content of file commented "link.views.inc" should be
  183. use @codingStandardsIgnoreFile tag.
  184. #2299657 by egfrith, ChuChuNaKu, RenatoG, idebr, jtsnow, Leeteq, GoddamnNoise,
  185. tobiberlin, kristiaanvandeneynde, Remon, jcfiala, rootwork, drumm, klonos,
  186. brice_gato, quicksketch, brantwynn, mikeytown2, Vacilando, reptilex,
  187. samuel.mortenson, DamienMcKenna, ultimike, Graber, rv0, doraf, jp.stacey,
  188. kenorb, jmart, JonMcL, katjam: Allow any TLD because site admins can never
  189. keep up with ICANN.
  190. #2890013 by RenatoG: Fix codings standards for Link.
  191. #2889755 by RenatoG: Fixed Best practice in Drupal.
  192. #2566443 by ohthehugemanatee, RenatoG: Broken description text when used through
  193. Form API.
  194. #2888582 by RenatoG: Resolved unused variables in install file.
  195. #2723993 by dhruveshdtripathi, rahul.shinde, jeevanbhushetty, RenatoG: help hook
  196. is not there.
  197. #2578521 by kala4ek, arialvix, soapboxcicero, ervit, RenatoG: Validation error.
  198. #2888510 by RenatoG: Create tip for token on install.
  199. #2888480 by RenatoG: Fixed documentation links in new window target "blank".
  200. #2888461 by RenatoG: Clear variable "link_extra_domains" on uninstall.
  201. #2843813 by idebr, klausi, michael_wojcik, clemens.tolboom: Fix failing tests
  202. due to missing 'administer fields' permission.
  203. Link 7.x-1.4, 2016-01-14
  204. ------------------------
  205. UPC-99: Apply patch: link-field_link_validate_overrites_langcode-2632728.patch
  206. #2470377 by rhclayto: Adding a class with underscores, the class gets rendered
  207. with hyphens
  208. #609560 by Boobaa: Provide token for hostname
  209. #2470968: Add README.txt
  210. #2247261 by heddn, sumitmadan: URLs are not validated
  211. #2513706 by rrfegade: Spelling errors in D7
  212. #2055111 by joelpittet, mikeytown2: skip over re-loading entities for tokens in
  213. link field attributes unless there's a token to process.
  214. #2367069 by jcfiala:Fixed entity_token for link after node_view was called.
  215. Added setup function to LinkValidateUrlLight to enable link module, which was
  216. failing drupal.org qa testbot.
  217. #2364673 by jcfiala: Replaced drupal_html_class() with
  218. drupal_clean_css_identifier() so that link field classes are not forced to
  219. lower case.
  220. Added tests to test entity_token token with link.
  221. Link 7.x-1.3, 2014-10-21
  222. ------------------------
  223. By jcfiala: Various small fixes to pass coder review.
  224. #2351223 by Xano: Improve field validation error message.
  225. #2350253 by genjohnson: Fixed Link with ! (exclamation) in URL query returns
  226. "not a valid URL".
  227. #1483494 by vinmassaro, cord1: Notice: Undefined index: url in _link_process()
  228. (line 345 of ../link.module).
  229. #1955976 by chOP, erikhopp, idebr, d.clarke | Jim Cutler: Added Allow relative
  230. paths with validation.
  231. #2117099 by tim.plunkett: Expose attributes as property info.
  232. #1930430 by benjifisher: Fixed Migration integration misses title attribute for
  233. mutiple-valued link fields.
  234. #97766 by tanepiper, heddn, timbrandin, droath, alanburke, Digidog: Class
  235. attribute field option for each dataset in link widget.
  236. #1266474 by redndahead, franz, RobLoach, jcfiala, markabur: Use field label as
  237. the label for the title field
  238. #2036645 by lex0r: restricting the explode to 2 items when breaking apart
  239. querystrings helps prevent problems with unescaped = characters in the data.
  240. #2223571 by jcfiala: Included new tld that had been included into the 6.x-2.x
  241. branch.
  242. #1836632 by jcfiala:Removed double-encoding of titles when url not specified in
  243. link field.
  244. #1980736 by Cottser: Allow child elements of the link field to be rendered.
  245. Link 7.x-1.2, 2013-11-24
  246. ------------------------
  247. #1866632 by mohamadaliakbari,poiu:Adding rtl support to the link field.
  248. #1928116 by jcfiala: Added field variable to variables for link formatter
  249. functions in hook_theme.
  250. #2141643:Applying changes suggested by coder
  251. #2043001 by zhuber:Add xxx to list of top level domains.
  252. #2036115 by Samvel:Validation of link field was not being properly passed
  253. through to hook_field_widget_error().
  254. #1616752 by Taran2L:Period in names of querystring items was being replaced with
  255. underscores.
  256. #2123277 by zhuber:Link devel generate was applying titles to links with no
  257. title set.
  258. #1936784 by jeffam, illmasterc: Ampersands were being escaped in urls.
  259. #1784862 by aaronbauman: Added dialog switch to code displaying available
  260. tokens.
  261. #1914286 by facine: Fixes Title value in link_field_update_instance undefined
  262. error.
  263. #1918850 by jsacksick: Prevents undefined variable messages in
  264. link_i18n_string_list_field_alter().
  265. Link 7.x-1.1, 2013-02-09
  266. ------------------------
  267. By jcfiala: Fixed broken token tests - setUp on LinkBaseTestClass was broken.
  268. #949604 by zilverdistel: Added i18n support for the static link text field
  269. option.
  270. #1909314 by Simon Georges: Removing link.install from the link.info files[]
  271. array.
  272. By jcfiala: Removed all places where #markup was being set to a theme function
  273. output with #theme.
  274. #1674284 by sun, jcfiala: Cleaning up the code to Drupal standards, this time
  275. with the tests.
  276. #1674284 by sun, jcfiala: Cleaning up the code to Drupal standards.
  277. By hass:Fixing a string in the target argument handler to be t-compatible.
  278. By hackwater: Fixed minor typo which spelled automatically wrong.
  279. #1458502 by eugene.brit:Fixing Undefined index: target in _link_sanitize()
  280. #1010850 by benjifisher: Update MigrateFieldHandler to work with migrate-7.x-2.4
  281. and later.
  282. #1889918 by jcfiala,Boobaa: Changed the bad url error message to include the
  283. field's label.
  284. #1179944 by jcfiala, mr.york: Added variable_get calls so that the list of TLD
  285. that pass validation can be set by admins.
  286. #1766150 by jcfiala: Blank urls will no longer be treated the same as links to
  287. .
  288. #1686024 by Alan D.: Added implementation of hook_field_diff_view().
  289. #1715246 by Haza, jcfiala: Fixed strict warning when loading entity for token
  290. use, also fixed problem with the title attribute not being handeld properly.
  291. #1309768 by jcfiala: Made URL label of url-only link fields invisible instead of
  292. removing it, to be 508 compliant.
  293. #1645640 by barraponto:Fixing links as well as double-printing of
  294. querystring.
  295. By jcfiala: Fixed how possible tokens are displayed when setting up a link field
  296. - had been using a variable which was not defined in that scope.
  297. #43870: Cleaned up and conslidated the link formatter tests so that the tests
  298. can run faster.
  299. #438770: Fixed code to align with tests - handling the 'token type' fetching
  300. better and fixing the separate link display to match previous functionality.
  301. #1047444 by Sweetchuck, jcfiala: Updated how tokens are handled so that the
  302. proper token references are used, and not just 'node'.
  303. #1309658 by jcfiala: Small nudge to the views tokens fix to handle problem with
  304. relative links going through url() twice.
  305. #472766 by mstrelan: Added new formatter to display domain as link.
  306. #1710578 by jcfiala: Added code to prevent unnecessary = signs in querystrings.
  307. #1309658 by jcfiala: Rearranged the link code so that the query and fragment are
  308. not separated from the url so that views can access them in a token.
  309. #1290904 by gordon:Moved link processing on save from the hook_field_presave
  310. link to the hook_field_insert/update hook to prevent problem with
  311. field_attach_update.
  312. #1525668 by mikeryan: Removed type-hint of $entity in the migrate prepare
  313. handler.
  314. #1599314 by arpieb: Adding spaces, periods, and parenthesis to internal file
  315. paths.
  316. #1368616 by grndlvl: Fix required marker so it shows if title is not displayed.
  317. #1512954 by jfiala, mikeytown2: Added code to prevent error in
  318. theme_link_formatter_link_plain(), improved use of $link_options array in
  319. theme functions.
  320. #1125766 by jcfiala, David Stosik, Eric_A: Provided default value for link
  321. targets when link field uses user input for target.
  322. #1230256 by yched: Fixed D6 migration (cck_migrate()).
  323. #1218428 by twistor, Digidog: Fixed - Link tests, LinkValidateUrlLight because
  324. link validate_url is called but not available.
  325. #1409980 by luisortizramos, effulgentsia, Digidog: Fixed - Validation error
  326. -Invalid URL- is not reported properly. The corresponding form_set_error()
  327. calls have been fixed.
  328. #1441702 by Digidog: Fixed - Rel attribute should have an option to get
  329. automaticly turned on/off if link is internal/external.
  330. #1418674 by rvilar, Digidog: Fixed - Bad variable concatenation in t() function-
  331. #1321482 by Liam Morland, KarlShea, Summit, Jevedor, Digidog: Fixed -Query
  332. string and fragment are removed, resulting in parts of the URL being lost-
  333. #1066328 by Bevan, jcfiala, dkingofpa, sammys, Digidog: Formatter for use with
  334. url() and Views its -output this field as a link- fields (Absolute url
  335. formatter added).
  336. #1429684 by das-pater: Dont unserialize already unserialized attributes in
  337. _link_load(). The patch contains condition before unserialize in _link_load(),
  338. link_views_handler_argument_target::query() is now compatible to its parent to
  339. avoid php strict notices.
  340. #698438 by tim.plunkett: Added support for Devel Generate
  341. #1010850 by jcfiala, quartsize, raman2385, Bevan, eporama, das-peter,
  342. smithmilner, Digidog: Fixed MigrateFieldHandler to work with Migrate Module.
  343. Link 7.x-1.0, 2011-10-23
  344. ------------------------
  345. #1318850 by Digidog: Fixed completion of special chars for function
  346. link_validate_url() in line 916.
  347. #1199806 by ss81, jcfiala, Digidog: Fixed fatal error when the link URl is equal
  348. to page URL.
  349. #1307788 Feature request by nmc, tars16, Digidog: Fixed Add custom maxlength to
  350. link title text.
  351. #1217396 by WilliamB,noahb,orakili,Digidog: Fixed options multiple-value &
  352. required break input/save and produces error: At least one title or URL must
  353. be entered.
  354. #1036628 by gargoyle,jcfiala,wizonesolutions,Digidog: Fixed to allow more
  355. special chars in url validation for use cases like twitter etc. (f.e.: # , ~ )
  356. #948658 by brenk28, Dave Reid, becw, jcfiala, iMiksu, BTMash, Digidog: Fixed
  357. noticeof Undefined index: title in _link_sanitize() - hopefully, finally.
  358. #1079782 by fago, klausi, drunken monkey, jcfiala, Digidog: Fixed support for
  359. hook_entity_property_info() including search API and Rules. @todo: needs
  360. simpletests to be submitted for rc1.
  361. Link 7.x-1.0-beta1, 2011-09-26
  362. -------------------------------
  363. #1264208 by lazysoundsystem, Digidog: Fixed recursive serialization of
  364. attributes.
  365. #1218422 by Dave Reid, twistor, Digidog: Fixed tests files: strict warnings
  366. about static getInfo and parameters for setUp(), whitespace, and file
  367. structure.
  368. #1038444 by Dave Reid, Digidog: Fixed 3 issues plus #required on title prevents
  369. submission. All issues have been fixed with patch of Dave Reid from January.
  370. Patch manually retrieved for latest 7.x-1.x by Digidog.
  371. #1105816 by thekevinday, jcfiala, Digidog: Fixed improper use of db_type by
  372. committing patch of thekevinday at comment-5028534.
  373. #335281 by thePanz, jcfiala, stella, Digidog: committed patch by stella
  374. #comment-4929778 for title attribute support.
  375. #519416 by jcfiala: Added the plain text display of just the link title, which
  376. was available in 6.x but had not been added to 7.x yet.
  377. By jcfiala: Added slight changes to how links are validated to bring them in
  378. line withvalid_url().
  379. #1148864 by jcfiala: Re-enabled the ability to turn off url validation.
  380. #1063764 by bdragon,jcfiala: Renamed all field formatters to start with 'link_'
  381. so they will be unique.
  382. #1078254 by jcfiala: added a hook_update_n call that copies settings from the
  383. field to the instance.
  384. #1126384 by burki: Started using field_widget_instance to get link field
  385. settings in link_field_process, which is more standard than hunting in the
  386. for it.
  387. #1125384 by Rob Loach: Changed url length in link_field_schema to not use the
  388. constant which is not always defined.
  389. #1043348 by jcfiala: Finished updating the formatting code so that querystrings
  390. and fragments of urls work as in 6.x-2.x.
  391. #438770 by jcfiala: Adding test that makes sure the 'plain url' formatter is
  392. working properly with the basic case.
  393. #1043348 by jcfiala: First pass at fixing problems with raw www.example.com urls
  394. ending up as index.php?q=www.example.com. Need more testing/fixing with
  395. fragments and querystrings - not complete.
  396. #1056364 by the_phi: Checking that ['settings']['enable_tokens'] exists before
  397. the value is compared.
  398. #1078736 by jcfiala: Added empty handler for hook_link_form_settings to make
  399. ield Permissions work.
  400. Link 7.x-1.0-alpha3, 2011-02-07
  401. -------------------------------
  402. bug report #1008562 by jcfiala: Looking into URL, as link error caused me to
  403. realize that the _link_sanitize was being called in the wrong place - now
  404. called on link_field_prepare_view.
  405. bug report by jcfiala: Fixed error from missing index by changing ['required']
  406. to ['required'].
  407. bug report #1026040 by pcambra: Updated token help to use the updated token
  408. module and token display.
  409. bug report #1033112 by Dave Reid: Removing extra lines from link.info.
  410. task #970392 by jcfiala: Added content_migrate_field_alter and
  411. content_migrate_instance_alter hooks to link.module to help with upgrading
  412. from D6 to D7.
  413. feature request #1012372 by jcfiala: Tried using
  414. hook_field_instance_settings_form to allow per-instance settings. Also,
  415. re-added a bunch of old tests from 6.x.
  416. Link 7.x-1.0-alpha2, 2010-12-13
  417. -------------------------------
  418. task #960062 by jcfiala: Added package of 'fields' to the link.info file.
  419. task #997270 by jcfiala: Removed content in link.views.inc, and added file
  420. references to the link_views_handler files in link.info for better views
  421. integration.
  422. By jcfiala: Added more code to attribute test.
  423. By jcfiala: Edited the two test files so that simpletests run without error,
  424. although they don't test nearly enough.
  425. bug report #952656 by Dave_Reid: Moved hook_field_schema() to link.install,
  426. other small tweaks to remove old references.
  427. bug report #948628 by brenk28, bec: Fixing setting references in and removing
  428. calls to see if token is enabled.
  429. Link 7.x-1.0-alpha1, 2010-12-07
  430. -------------------------------
  431. #955214 by alex_b,jcfiala: Fixed problem where a url with a querystring caused
  432. fatal errors.
  433. #956182 by jmiccolis, bec, Bevan: Theme fixing for the theme_link_field
  434. #696678 by tristanoneil: Link module now showing basic functionality - still not
  435. done, but better.
  436. #696678 by Garrett Albright: Initial attempt at updating Link module to Drupal 7
  437. - does not really work but is a start.
  438. By dropcube: First working copy of the 7.x version.