Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • U UK Postcodes
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • UK Postcodes
  • Merge requests
  • !4

Add Fetchify/CraftyClicks as a provider

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed TomCrawshaw requested to merge TomCrawshaw/ukpostcodes:master into master Apr 15, 2021
  • Overview 1
  • Commits 7
  • Pipelines 0
  • Changes 6

Fetchify is a cost-effective provider for small charities, offering special rates for organisations entitled to the PAF file without charge. These changes add Fetchify (aka CraftyClicks) as an option.

Fetchify usage is based on credits, with one credit being used for each search. This meant that partially entered postcodes were triggering a search, and most postcode lookups were therefore costing 2-3 credits (it is not possible to use the JQuery min-length criterion to limit this behaviour, due to the variable length of postcodes). The file ukpostcodelookup.js file is modified to add a regex which disables JQuery autocomplete searches until a valid postcode has been entered.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master