[ckan-changes] [ckan/ckan] 8db6ad: [#3528] Allow underscore chars in URL slug preview

GitHub noreply at github.com
Wed Jun 21 09:09:22 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 8db6ad3b7d8a42e5f8441ea1af6a1758314aec35
      https://github.com/ckan/ckan/commit/8db6ad3b7d8a42e5f8441ea1af6a1758314aec35
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M ckan/public/base/javascript/plugins/jquery.url-helpers.js

  Log Message:
  -----------
  [#3528] Allow underscore chars in URL slug preview

In the UI for creating a dataset, if an underscore was typed into the 'title' field, in the URL slug preview it was replaced with a hyphen, whereas in the API, the 'name' allows underscores.

Now both when creating a dataset through the UI and the API, underscores are allowed for dataset name.


  Commit: 1c9fe5672931c2a570ccd545d8c99a66cc005b73
      https://github.com/ckan/ckan/commit/1c9fe5672931c2a570ccd545d8c99a66cc005b73
  Author: Aleksandar Jovanov <aleksandar.jovanov at keitaro.com>
  Date:   2017-06-17 (Sat, 17 Jun 2017)

  Changed paths:
    M ckan/public/base/test/spec/plugins/jquery.url-helpers.spec.js

  Log Message:
  -----------
  [#3528] Add additional test for slugify


  Commit: 79ca6aaf12a717347a9069ab60dad5f54fc17816
      https://github.com/ckan/ckan/commit/79ca6aaf12a717347a9069ab60dad5f54fc17816
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M ckan/public/base/javascript/plugins/jquery.url-helpers.js
    M ckan/public/base/test/spec/plugins/jquery.url-helpers.spec.js

  Log Message:
  -----------
  Merge pull request #3612 from klikstermkd/3528-allow-underscores-create-dataset

Allow underscores in URL slug preview on create dataset


Compare: https://github.com/ckan/ckan/compare/d5bf517d744d...79ca6aaf12a7


More information about the ckan-changes mailing list