- Aug 24, 2016
-
-
Dan Richards authored
General: Made error logging less verbose in the event of no valid lookup services. This is already reported by hook_requirements so watchdog as well is overkill. PCAPredict: Tidied up variable checks. PCAPredict: Added hook_requirements implementation to report a warning if the licence key is not entered
-
- Aug 16, 2016
-
-
Dan Richards authored
UX Tweak: Moved search again button to the top of the address form
-
- Aug 12, 2016
-
-
Dan Richards authored
PCAPredict: Resolved issue where the locality and dependent_locality showed duplicate values for some addresses
-
- Aug 11, 2016
-
-
Dan Richards authored
PCAPredict: Resolved issue where building number was being incorrectly prepended to the premise field instead of thoroughfare. Refactored logic for populating the thoroughfare field into a helper function.
-
- Aug 04, 2016
-
-
Dan Richards authored
PCAPredict: Removed workaround to use 'Everything' search after a 'PostalCodes' search. Removed validate function from the house number field. Updated the postal code field validate function to prepend the house number field value to the search term if present. This results in more accurate results and better performance. Tweaked error messaging on a lookup with zero results.
-
- Jul 29, 2016
-
-
Dan Richards authored
-
Dan Richards authored
Resolved issue where the full address form could sometimes be hidden even when validation errors are present on those fields
-
- Jul 27, 2016
-
-
Dan Richards authored
PCAPredict: Added fallback to use ProvinceName field from an address retrieve is the Province field is empty
-
Dan Richards authored
-
Dan Richards authored
PCAPredict: Resolved issue where the administrative area field would not be populated when selecting an address on an international or multi-step lookup
-
- Jul 26, 2016
-
-
Dan Richards authored
PCAPredict: Resolved issue where some multi-step lookups could fail if an interim resultdoes not contain an explicit postcode value
-
Dan Richards authored
PCAPredict: Improved logic for setting address details; fallback to Line1, Line2 if Street/SecondaryStreet are not populated. PCAPredict: Added extra API call if the first one returns 0 results. Second call sets filter to 'Everything'
-
- Jul 19, 2016
-
-
Dan Richards authored
Added update hook to migrate postcode anywhere config variables. Variable names have changed since the last release
-
- Jul 18, 2016
-
-
Dan Richards authored
Updated the country data checking logic to use the new variable instead of a hardcoded default
-
- Jul 15, 2016
-
-
Dan Richards authored
-
Dan Richards authored
Added a new test for the node edit form; to ensure only the 'search again' button is present in the address field.
-
Dan Richards authored
Resolved issues in Admin UI test where just the existence of fields was being tested; not their values too. Added new test class for testing the field API interaction. Added new function to the test base class for setting up a new address field instance with the lookup handler enabled
-
Dan Richards authored
-
Dan Richards authored
from the default service module instead of an open alter.
-
Dan Richards authored
Removed hacky cache bypass on the get addresses logic. Added new alter hook to allow other modules to alter the cache ID. Refactored implementation of lastId parameter to get/set on the service object before passing through to the API adapter.
-
- Jul 12, 2016
-
-
Dan Richards authored
Resolved issue where lookup form would display for already populated address fields (e.g. an existing node). Updated the lookup function of the pca predirect service to append the next operation to the ID. Colon separated. Added some enum values to the PCA Predict abstract class for indicating 'Next' operations. Upated the retrieve function of the API adapter to split the ID value on a colon to get the actual ID and 'Next' operation. Refactored multi-step lookup logic to support result sets with a mix of 'Find' and 'Next' operations. Added custom AJAX callback for the address select drop down for use in PCA Predict multi-step lookups.
-
- Jul 10, 2016
-
-
Dan Richards authored
Added no cache flag to the get addresses function. A temporary measure, needs re-thinking before release. Improved address field plugin performance by not invoking format updates outside of form mode. Updated pca predict lookup function to append the 'Description' value from the API for each result if present. First working version of multi-step lookup. A few TODOs for next time ;)
-
Dan Richards authored
Updated PCA Predict API wrapper to pass the LastId field to the Find endpoint. Started implementing 'extra find' steps for pca predirect Find.
-
- Jul 03, 2016
-
-
Dan Richards authored
-
Dan Richards authored
Updated address field plugin to pass the country value to the lookup function when appropriate. Updated PCAPredict API abstract class to take country as a constructor param. Updated the PCAPredict API adapater to use the country value in the find function.
-
Dan Richards authored
Updated the addressfield_lookup_get_addresses to append the country code to the cache ID if present. Fixed typo in test script (no bearing on pass/fail). Updated the example module object factory to handle the country code. Updated the example lookup service to add a country setter and return no results if the country code was invalid.
-
Dan Richards authored
Updated addressfield_lookup_get_default_service_object to take country as a parameter and pass to the object factory. Updated addressfield_lookup_get_addresses to take country code as a parameter. Updated API documentation. Started implementing multi-country supported with postcode anywhere.
-
Dan Richards authored
Added helper function to get a list of supported countries (filterable by quality). Updated the postcode anywhere format updates to check if the current country code is supported before removing field elements.
-
Dan Richards authored
Added adapter class (extending API wrapper) with helper functions for find and retrieve endpoints. Refactored AddressFieldLookupPostcodeAnywhere class to remove API specific functionality and accept wrapper object as constructor param. Updated postcodeanywhere factory function to instantiate the wrapper object and pass to the lookup service.
-
- Jul 01, 2016
-
-
Dan Richards authored
Updated the address field handler to only add lookup functionality if a postcode field is available.
-
- Jun 27, 2016
-
-
Dan Richards authored
-
Dan Richards authored
Refactored AddressFieldLookupPostcodeAnywhere functions to respect API response changes. Updated the address selection drop down options to make place optional.
-
- Jun 15, 2016
-
-
Sergiu Teaca authored
-
- May 30, 2016
-
-
Dan Richards authored
-
Dan Richards authored
-
Dan Richards authored
-
- May 25, 2016
-
-
Dan Richards authored
Added unit test for hook_requirements message
-
Dan Richards authored
Removed $show_errors parameter from addressfield_lookup_get_addresses() and addressfield_lookup_get_address_details(). Updated API.txt
-
Dan Richards authored
-
Dan Richards authored
Removed directory factory function calls from addressfield_lookup_get_addresses and addressfield_lookup_get_address_details
-