Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 1.62 MB
MD5: 87637f625a9bb869e39bc26287adfe48
SHA-1: 3a87b24e02789c352e790e38913944a7832e6098
SHA-256: 84134bce8a564ca7b3e636ed2f58f588d32ba1bd41c4a2411c15ef17aef3ba7d
Download zip 1.78 MB
MD5: 54968f373cffa2dc2bd35891657bf1f5
SHA-1: 376b1dd88c8050e29fceffb26623337adeda8ca6
SHA-256: 8d0a2e0658642fc70c508e9061685b13f6ae6d1bcb04a1c950860724d94ff8db

Release notes

A first 7.x beta release on a path towards a 1.0 stable.

This is all changes since 6.x-3.1, but some of these may only on the 6.x-3.x branch. Notes created by Git Release Notes.

  • #1430294 by ankur: Fix ajax adjustmet of province selection when country select changed on location cck field
  • #697468 by joelstein: Add time delay between Google geocoding requests
  • #1371652 by ankur: Fix automatic setting of city, state/province when postal code changed and city and/or state/province not configured to be collected via form
  • #1411246 by ankur: limit views textfield input for postal code 16 chars, like the DB column for it
  • #1254068 by james.williams: When automatically populating city/province using postal code data, don't overwrite values already present
  • #1387332 by adroid: Fix encoding of location.ee.inc file for Estonia
  • #1224038 by MyXelf: fix reference to cck latitude value in distance filter
  • #1395124 by eugen-black: Make code for checking location for changes in re-submission comaptible w/ PHP 5.3
  • #1225306 by ankur, Pasqualle: Fix views filter handler for country field
  • #1346932 by ankur: Don't try to return rebuilt form array for province select/textfield in ajax callback for country if province not configured to be collected
  • #1056030 by thissideup: Fix PHP notice from location.de.inc where '==' being used in place of '='
  • #1356388 by langworthy: avoid PHP notice for unset variable on AHAH rebuild of form
  • #1314292 by Joe Vallender: only return country function return value for rough geocoding if it actually returns a result
  • Fixing issue pointed out by Ogredude in IRC: Fix lookups on cck fields.
  • #1032790 by kongoji: Keep leading zero in location fields when location updated but not actually changed
  • #1326440 by jonloh: Add Putrajaya state for Malaysia
  • #1327128 by fluffy: add hook to allow for altering location element
  • #364287 by goron, ankur: add ability to configure provice input in location form as drop-down
  • #1083128 by hutch, stevepurkiss, ankur, idimmu: Correct ISO country code for United Kingdom from 'uk' to 'gb'
  • #810840 by ankur: Remove Austrailia specific function for Google geocoding, since it is made redundant by refactored handling of Google geocoding in geocoding/google.inc
  • Merge branch '7.x-3.x' of git.drupal.org:project/location into 7.x-3.x
  • #745978 by ankur: fixing typo in supported/location.ca.inc
  • Kill off CHANGELOG.txt -- it's really messing with my ability to reconcile changes in an alternate history.
  • Remove spurious $Id$ tags.
  • Fix #1187044 by edxxu: Add support for Proximity/Distance field to use the latitude/longitude distance argument. (Support for using the argument in zipcode mode not included.)
  • #1211648 by hutch: Notice: Undefined property: stdClass:: in location_views_proximity_get_reference_location().
  • #1051518 by rooby: Fixed Undefined Index: group - line 142 of location_handler_argument_location_proximity.inc
  • #1058066 by rooby - Add address data to locations generated by location_generate.
  • #1045106 by rooby - Removed gmap module dependency from location_search.
  • #907564 by rooby, naden: Country is not used when making a google geocoding request.
  • #1199910 by Vandrico - Exposed proximity filter using gmap doesn't filter results.
  • #1199882 by rooby - When using the exposed filter with Latitude / Longitude input (use map), no map is displayed.
  • #1187714 by rooby - Fixed Notice: Undefined index: post in location_views_handler_filter_proximity->exposed_form().
  • #584014 by rooby, gease - Fix auto load geocode country list for websites using languages other than english.
  • #1089344 by rooby - Fix location cck field formatters that use gmaps.
  • #1197062 by StephenWard, rooby - Fix call to undefined function UpdateQuery::values() in location.module
  • #1072894 by Jerome F: Add Google geocoding support for Belgium
  • #1056148 by ankur: prevent 'Array' from being printed when rendering field group for location fieldset w/ non-empty default value
  • #317159 by naushunaushad: Set country to arg(5) instead of arg(4) to set latitude and longitude correctly.
  • #1111162 by rooby - Remove call to dpm() function from location cck.
  • #1109240 by rooby - Proximity views filter does not work with the latest views (7.x-3.0-beta3).
  • #1048584 by rooby - Recoverable fatal error: Argument 2 passed to db_query() must be an array for views proximity argument handler.
  • #1068724 by TR, rooby: Add static caching for lower case iso3166 country list.
  • #1075210 by rooby: Location CCK not saving when the locale module is enabled.
  • Get location_autocomplete.js somewhat working again. It's suboptimal atm -- it doesn't cleanup the aria metadata and so forth.
  • #1073430 by rooby: Remove unused third parameter from hook_node_view() implementations.
  • Reapply hunk from 6defba769330b0bca98d53875f88cbaf271e3ead.
  • The following commits diverged regarding manual cherry picking in cvs. This caused duplicate blocks of code, which are removed in this commit. e9d3b58f4f0c9abdd8476605130406bdc829d063 / 4839f121b74d64558e618b56c7d6ba051f584ec2
  • Merge commit 'e09b4695f29920545b29e6df739d4fca905e1d89' into 7.x-3.x
  • Misc. whitespace fixes from 7.x-4.x.
  • Removing translation directories
  • Stripping CVS keywords
  • #1069150 by rooby - Fixed Notice: Undefined property: stdClass::$in_preview in location_cck_field_formatter_view().
  • #1067890 by rooby - Rolled back commit 502310 (for issue #1056148), which caused 'Undefined index: #value' and 'Location field is required' errors.
  • #1068724 by TR, bdragon (from the DRUPAL-7--4 version) - Use drupal core country list instead of our own.
  • #1063536 by rooby - Fix bugs in 'Gmap macro' & 'Allow choice of user location' options in the views proximity filter.
  • #1065110 by rooby - Fixed locations from appearing outside of the vertical tabs on node edit pages when the max number of locations is set to 1.
  • #1056148 by ankur - Stop 'Array' appearing at the bottom of locations on node edit page.
  • #1060934 by rooby - Fixed errors and problems with locations when previewing nodes.
  • Fix undefined index error when using proximity related views handlers.
  • #1056156 by rooby - Port location cck field formatters to D7.
  • Fixed a few db api chaining issues. Some non-chain-able functions were chained.
  • #1058818 by rooby - bug fix: Fatal error: Call to a member function addField() on a non-object in location.inc on line 302
  • Port views support to D7/Views3.
  • The rest of the bounding box work: * Add remaining bounding boxes for everything but the legacy inc files (cs / sw) * Fix code formatting in some places. * Fix utf8 issue in the Moldova file.
  • #1056378, issue discovered by Dixen, reported in irc: If the location is missing from the location table, yet has an instance pointing at it, save will fail silently. Change to a merge query to fix this in D7. (D6 was easier, just had to check the number of affected rows.) ----------------------------------------------------------------------
  • #1051154 by rooby, code taken from bdragon's DRUPAL-7--4 branch - Selecting locations using a gmap now works.
  • Move add another location setting into the locative information vertical tab.
  • Fix Notice: Undefined index: location_settings in location_cck_field_settings_form().
  • #1034958 by rooby, code taken from bdragon's DRUPAL-7--4 branch - Display location settings in vertical tabs instead of collapsible fieldsets.
  • DB API fixes for module uninstalls.
  • DB API changes for the supported country include files for the port to D7.
  • Added back the call to substr() that was removed in the previous commit (497284) because this is a stright port so there should not be other unneccessary changes.
  • #1051728 by hutch - DB API update for D7 for US supported country file.
  • Add country bounding boxes for future use.
  • #931526 by rooby - Reverted bad and unnecessary parts of my commit no. 494688
  • Strip off dependencies on exposed value form to prevent pieces of the exposed value form from being hidden accidentally.
  • #1051054 by rooby - Fixed recoverable fatal error in location_get_postalcode_data_us().
  • #931526 by rooby, mikeytown2 - Fixed undefined index notices in template_preprocess_location().
  • #860820 by rooby - Added a known issue to the INSTALL.txt file to notify users that you cannot use node locations and cck locations on the same node type.
  • #1048658 by rooby - Workaround to stop location_node interfering with location_cck locations. It is not a full fix though so node locations still cannot be used on the same node types as cck locations (the same as in older versions of the module).
  • Remove calls to dpm() that were left there in the last commit.
  • Work on porting location_cck (it is not complete yet).
  • Fix SQL errors when doing proximity search with locaiton_search module.
  • Fixes to make the location_search module work. Removed search_results_location.tpl.php as it is not necessary anymore.
  • Fixes to get location_generate working.
  • Fixes to get location_fax and location_phone working.
  • Fixes to get location_taxonomy working.
  • Last couple of fixes to get location_addanother working.
  • Minor comment fixes for Drupal 6 to Drupal 7 upgrade.
  • Drupal 6 to Drupal 7 DB API changes for contrib.
  • Drupal 6 to Drupal 7 search API changes.
  • General Drupal 6 to Drupal 7 API changes for contrib and views.
  • #996898 , #990804 & #846604 by bdragon in DRUPAL-7--4 branch - Province autocomplete field was being given an invalid country code.
  • More bug fixes for the port to D7.
  • Remove dpm() calls that were accidentally committed in commit #486222.
  • #1034922 by rooby - Bug fix: Undefined variable: country in location_geocode_au_google_settings().
  • Multiple bug fixes for the upgrade to D7.
  • #1033878 by rooby - Denmark map link providers were missing terms of service links.
  • Fixed more typo bugs from the upgrade.
  • Remove inc files from info file as they do not go there because they are not class files.
  • Typo bug fixes.
  • Added required files to the info files.
  • Change the paths of the admin poges to adhere to the new admin structure.
  • The remainder of the DB API changes for the location, location_node and location_user modules.
  • First work on DB API changes for D7 port.
  • More API changes for the stright port to D7 of the location, location_node and location_user modules.
  • First work on the stright port of location to D7. Focusing on the core functionality of the location, location_node and location_user modules.
  • #922646 by doq - Bug fix: Unescaped string passed to preg_match in _location_autocomplete.
  • #896366 by DamienMcKenna, rooby - Code cleanup of template files.
  • #868516 by hutch, totsubo - Enhanced the help text for the coordinate type option for the Location: Distance / Proximity views argument.
  • #584014 by fred0, nickl, guillaumev - Auto load google geocode country list from google spreadsheet instead of hard coding it.
  • #670528 by fred0 - Changed East Timor to Timor-Leste in the country list as per ISO 3166-1.
  • #427432 by nickl, rooby - Bug fix: Content: Location views field is always empty.
  • #467412 by q0rban, j0rd - Add the ability to "Limit list to selected items" for Location: Country views filter.
  • #733438 by hutch - Bug fix: Parameter 1 expected to be a reference for theme_location_geocoding_options() and theme_location_map_link_options().
  • #925480 by dan@garthwaite.org, rooby - Add watchdog messages for when google geocoding fails.
  • #862340 by rooby - Make Google geocoding for Australia use the Google Maps Geocoding Accuracy setting instead of hardcoding the accuracy level.
  • #1013184 by rooby - Country level Google maps geocoding accuracy setting is ignored.
  • #761548 by Magnus: Imported translation to localization server and deleted CVS file.
  • #926362 by rooby - Fixed Notice: Undefined index: php_code when using the proximity filter exposed.
  • #846604 by rooby - Fix warning: trim() expects parameter 1 to be string... that occurs the first time a content type is edited.
  • #505596 by jhedstrom, joelstein & dww - Proximity filter no longer affects the view unless coordinates/post code and distance are both entered.
  • #524708 by Agileware - Define hook_search() only of the location search module is enabled.
  • #790826 by lotyrin - Change latitude and longitude views filters to use the float handler instead of the numeric handler.
  • #717512 by slashwalk - Setting the coordinate chooser as required in the collection settings now makes the Latitude and Longitude fields required.
  • bug #846862 by rooby - Fix fatal error when doing update 6309 without views installed
  • * Bring CCK tests in sync with base COW tests. * Fix location_cck node deletion (Apparently this never worked in the first place.) * Remove extra checks from location_cck that were working around a bug in location. * * Fix a few bugs in location_cck discovered while revamping the tests. * location_is_empty() will now consider a node with the delete checkbox checked to be "empty." * Change reorderLocations() in the test suite to work on CCK fields.
  • * Fix emptiness check centrally, instead of relying on location_save(). * Remove cck validator -- the condition it was checking for was a bug, not a feature.
  • * Add another test to the COW tests. * Start of CCK tests. (Finally!)
  • * Fix bug in field determination that was screwing up defaults. * Add form based node creation routine based on [#212304].
  • Fix bug preventing hcards from working. By popular demand, add phone and fax support. (hi skyred)
  • More #511378 work: Fix warning, remove non functioning code that was forcing the zoom to 0. (Should address deva1983's problem).
  • More #511378 work: Fix another instance of using the wrong default gmap macro.
  • Followup for #511378: Use cleaner defaults, keep settings even with gmap disabled.
  • #511378, #373465 fixes for Array errors in location_cck. Differences pulled from #511378 comment 10, which in theory matches #373465 comment 60. (Will verify in a moment.) Thanks alexw, noahb et al!
  • #511378 by KarenS: Modernize location_cck.module. Note: I did not verify the correctness of the gmap parts yet.
  • #507606 by roball (additional formatting fix by me): Fix encoding and accented characters on location.at.inc.
  • #508380 by claudiu.cristea: Fix boneheaded mistake in location_get_postalcode_data().
  • #485642 by rötzi: Map links for Switzerland.
  • location_taxonomy was missing from HEAD.
  • #482588 by andyhu (small modification by me): Remove broken characters from location.cn.inc.
  • #462454 by alexw: Add Kenya and Panama to google geocoder list.
  • Add a utilities page to the settings interface. Add buttons to clear the location country support / province caches.
  • #402964 reported by VeryMisunderstood, patch by webchick: Fix notices.
  • Attempt to fix #373465.
  • Augment instance_links by adding 'type', move the node and user implementations to where they belong.
  • #421656 reported by geodaniel: Add missing t() to 'NOT LISTED'.
  • Fix logic error pointed out by mikl at #412102 comment 1
  • Finishing #335076: Just plain hide the form and display weights when CCK is on.
  • #335076, patch by derhasi with modifications by me: Tell CCK about the location fieldset for node locations and honor CCK's weights.
  • garbage collect some commented out stuff, minor whitespace change.
  • Remove unneeded hook_simpletest().
  • #387830 by VeryMisunderstood: Grammar fix in location.admin.inc.
  • #383194 by dragonwize: Implement proper install/uninstall/enable/disable cck notification.
  • #383216 by dragonwize: Fix location_addanother dependencies.
  • Commit missing georss include.
  • No need to load the location now that CCK caches it properly.
  • Part of #383244 by dragonwize: Make cck load and cache locations properly.
  • Split location_node out like I did for location_user. Huzzah!
  • #382758, reported by skyredwang: Allow the user to hide all fields, not just "real" fields, on the location address field.
  • Clean up and add geocoder test that's been sitting around locally.
  • Fix #373723. This is a modified version of the patch I provided there, changed slightly to be appropriate for general inclusion.
  • Part of #346694. patch by pathfinderelite, modified by me: Fix map links.
  • Minimal fix for #359348: Implement token support for CCK fields.
  • Remove bogus 'callbacks' stuff. #326945 removed it, and nobody updated the upgrade docs :(
  • #368141 by jhedstrom: Fix missing include on earth.test. (On my system, for some unknown reason, the test ran just fine without it, which doesn't make any sense...)
  • Part of #317159, patch by karens & me: Fix accidental displaying 0.00,0.00 coords.
  • #369264 by litwol: Remove trailing whitespace from provinces, to fix validation.
  • Fix bug skyred had ran into in IRC: Fix delete location checkbox when not collecting coordinates, due to a misplaced brace.
  • #356492, reported by traxer: Fix using multiple distance fields.
  • Repair element validation.
  • #351754, reported by carlogen, patch by erantone, akahn, modified by me: Fix province filter. This is a bit of a band-aid fix. The problem was due to me changing the implementation at the last moment when designing it. The original plan was to use a multi select, but that didn't play well with ajax. The query function still relied on the format that would return sometimes.
  • Fix LID conservation.
  • Add a test for LID conservation. (Which I just noticed is broken again, hence the test.)
  • Change broken requirements code to not drop fields on the floor.
  • #356806 reported by jackspiv: Don't crash if locpick is a string.
  • Modernize the HTTP geocoder call in google.inc.
  • Add comment about CS being transitional.
  • Sync google geocoder list, alphabetize to match spreadsheet, add country names for easier maintenance.
  • Remove old simpletest 1 related file.
  • Only merge in stuff that actually has defaults, to prevent warnings.
  • Port old tests to simpletest 2.x.
  • #355320 reported by WesleyTx, patch by bec, modified by me: Make CCK Location respect the "hide fields" settings.
  • #356077 reported by kenorb: Fix country force default.
  • * Fix tests, which were broken by the validation reactivation. * Add 'nodiff' option to fields in the 'defaults' op of hook_locationapi(). - This is needed to unbreak cow after the [#352550] change. * Unbreak cow, again.
  • Fix validation stupidity. It doesn't matter what add is set to if max is 0.
  • #351642, reported by Aren Cambre: Fix placeholder text in location_cck.info.
  • #351630 by claudiu.cristea: Fix error while uninstalling location_add_another.
  • Several multistep and CCK fixes. CCK should be much much happier in CVS now.
  • Dont' check_plain() arrays.
  • API CHANGE! location_api_variant() now returns 2.
  • Add relationship support for location CCK fields. This gets us most of the way to full location_cck views support.
  • #352550 by Morbus Iff: Allow long/lat to be hidden in collection/display.
  • #351840 by erantone: Fix weight on additional field.
  • Hide location settings that aren't used for cck locations.
  • Fix (somewhat) CCK empty/ defaults handling
  • Don't lose location data when previewing.
Created by: greggles
Created on: 15 Jun 2012 at 23:06 UTC
Last updated: 15 Jun 2012 at 23:11 UTC
Unsupported

Other releases