• PCAPredict: Resolved issue where the premise field was not correctly populated for some European addresses
  • 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
  • UX Tweak: Changed text on lookup cancel button to 'Enter address manually'.
    UX Tweak: Moved search again button to the top of the address form
  • PCAPredict: Resolved issue where the locality and dependent_locality showed duplicate values for some addresses
  • 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.
  • PCAPredict: Switched default search filter back to 'Everything'.
    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.
  • Tweaked check for form errors to help unit tests pass on older PHP versions
  • Resolved issue where the full address form could sometimes be hidden even when validation errors are present on those fields
  • PCAPredict: Added fallback to use ProvinceName field from an address retrieve is the Province field is empty
  • PCAPredict: Tweak to the find api results parsing to show results with a 'Find' Next value first
  • PCAPredict: Resolved issue where the administrative area field would not be populated when selecting an address on an international or multi-step lookup
  • PCAPredict: Resolved issue where some multi-step lookups could fail if an interim resultdoes not contain an explicit postcode value
  • 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'
  • Added update hook to migrate postcode anywhere config variables. Variable names have changed since the last release
  • 18 Jul 2016 at 21:44 UTC

    Commit 96fa165 on 7.x-2.x
    by Dan Richards
    Added a new setting field to the postcode anywhere config form to choose the addressing quality.
    Updated the country data checking logic to use the new variable instead of a hardcoded default
  • 15 Jul 2016 at 22:25 UTC

    Commit e5b1246 on 7.x-2.x
    by Dan Richards
    Added a couple TODOs
  • 15 Jul 2016 at 22:11 UTC

    Commit 29be396 on 7.x-2.x
    by Dan Richards
    Added a new test for the node edit form; to ensure only the 'search again' button is present in the address field.
  • 15 Jul 2016 at 21:39 UTC

    Commit adceffc on 7.x-2.x
    by Dan Richards
    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
  • Added a default value to the find function in the pcapredict api adapter
  • Refactored logic for altering the cache ID to directly invoke a hook
    from the default service module instead of an open alter.
  • Removed deprecated hook documentation.
    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.
  • 12 Jul 2016 at 23:36 UTC

    Commit 97df322 on 7.x-2.x
    by Dan Richards
    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.
  • 10 Jul 2016 at 23:37 UTC

    Commit 71ff850 on 7.x-2.x
    by Dan Richards
    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 ;)
  • 10 Jul 2016 at 22:32 UTC

    Commit 05a3f77 on 7.x-2.x
    by Dan Richards
    Tidied up address field format plugin code.
    Updated PCA Predict API wrapper to pass the LastId field to the Find endpoint.
    Started implementing 'extra find' steps for pca predirect Find.
  • 3 Jul 2016 at 21:04 UTC

    Commit 01fcc4d on 7.x-2.x
    by Dan Richards
    Updated filter options to match new 'SearchFor' param in capture plus API endpoint
Subscribe with RSS Subscribe to