OpenDevelopmentMekong / wpckan

wpckan is a wordpress plugin that exposes a series of functionalities to bring content stored in CKAN to Wordpress' UI and also provide mechanisms for archiving content generated on Wordpress into a CKAN instance.
GNU General Public License v3.0
22 stars 14 forks source link

Improve ping connection on Plugin settings #9

Open acorbi opened 9 years ago

acorbi commented 9 years ago

In order to inform user about connection details and disable/hide fields that can only be shown when URL and API Key have been properly entered.

Currently, only connection health to CKAN instance is being checked by using the SiteRead operation of the API which does not check if the API Key is valid.

acorbi commented 9 years ago

Improved with 06618227c76996421170f2e9dc0a7a76d4718171, separating validation of connection from validation of API KEY. still to improve tho (uuid validation among others)