conwetlab / ckanext-datarequests

A plugin that allows users to request data that is not published yet
GNU Affero General Public License v3.0
17 stars 54 forks source link

Feature/data requests description mandatory #51

Closed MarkCalvert closed 4 years ago

MarkCalvert commented 4 years ago

Purpose This pull request adds functionality to set description field as mandatory.

Approach Configurable 'description_required' option in CKAN config file (default is False) If 'description_required' is set to True, when a user is creating or updating a data request, the description field is mandatory. An error message is displayed on front end for invalid entries.

Screen Shot 2020-02-21 at 11 55 33 AM
aitormagan commented 4 years ago

Hi! Thank you so much for your contribution to this extension!! We really appreciate it! :)

In order to merge it, we need to check that all tests pass. To do so, please, update your branch with the last changes we have introduced in the develop branch. These changes fix the problems we had with the Travis integration :)

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.1%) to 98.046% when pulling 046c9a7c42d2214dab3b4b01d0fbbd8e289be68d on salsadigitalauorg:feature/data-requests-description-mandatory into 77996b972754c2bb47af401b6112984730e43718 on conwetlab:develop.