[ckan-changes] [ckan/ckan] ea74e4: [#5152] Clear the upload and url_type fields if th...

Sergey noreply at github.com
Thu Jan 16 15:05:34 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: ea74e42f6be4bc89a3ad89f367a47ce0bcd2b761
      https://github.com/ckan/ckan/commit/ea74e42f6be4bc89a3ad89f367a47ce0bcd2b761
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M ckan/views/resource.py

  Log Message:
  -----------
  [#5152] Clear the upload and url_type fields if there is a ValidationError

Also add a custom error that we can use to show a warning in the
template that users need to resubmit the file


  Commit: 095b2001d390556cae834fdfbfd6fde6658f8330
      https://github.com/ckan/ckan/commit/095b2001d390556cae834fdfbfd6fde6658f8330
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M ckan/public/base/css/fuchsia.css
    M ckan/public/base/css/green.css
    M ckan/public/base/css/main.css
    M ckan/public/base/css/maroon.css
    M ckan/public/base/css/red.css
    M ckan/public/base/javascript/modules/image-upload.js
    M ckan/public/base/less/forms.less
    M ckan/templates/macros/form.html
    M ckan/templates/package/snippets/resource_form.html

  Log Message:
  -----------
  [#5152] Show a warning if there was an upload and validation errors

The previously selected File is lost and it's easy to miss it, so add a
little warning under the File button warning users to resubmit it


  Commit: 203203c549f404b4b6c5a6398d644f266c0d7da9
      https://github.com/ckan/ckan/commit/203203c549f404b4b6c5a6398d644f266c0d7da9
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M ckan/views/resource.py

  Log Message:
  -----------
  [#5152] Coding standards


  Commit: 6a3f75349593c052d6fe8c740528d75ad046e041
      https://github.com/ckan/ckan/commit/6a3f75349593c052d6fe8c740528d75ad046e041
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M ckan/views/resource.py

  Log Message:
  -----------
  [#5152] Yet another unprefixed literal


  Commit: c20dd8bc2653cc8afc21eccce85420be72e474a6
      https://github.com/ckan/ckan/commit/c20dd8bc2653cc8afc21eccce85420be72e474a6
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M ckan/templates/package/snippets/resource_form.html
    M ckan/views/resource.py

  Log Message:
  -----------
  [#5152] Use data to pass the previous_upload var

Otherwise when using errors it is shown on the error summary on top when
using scheming


  Commit: 5166a3ae0fd39956fee98cfef10c48dab1d0980d
      https://github.com/ckan/ckan/commit/5166a3ae0fd39956fee98cfef10c48dab1d0980d
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M ckan/templates/macros/form.html
    M ckan/templates/package/snippets/resource_form.html

  Log Message:
  -----------
  [#5152] [#5152] Simplify templates params for better compatibility with scheming


  Commit: db0ef6d7f0470bf257f67d98125e438632eec87b
      https://github.com/ckan/ckan/commit/db0ef6d7f0470bf257f67d98125e438632eec87b
  Author: amercader <amercadero at gmail.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M ckan/tests/controllers/test_user.py

  Log Message:
  -----------
  [#5152] Fix fragile test


  Commit: 3b8e2236101d9c302e2ba23396b63613bca150fa
      https://github.com/ckan/ckan/commit/3b8e2236101d9c302e2ba23396b63613bca150fa
  Author: Sergey <tonnydexter at gmail.com>
  Date:   2020-01-16 (Thu, 16 Jan 2020)

  Changed paths:
    M ckan/public/base/css/fuchsia.css
    M ckan/public/base/css/green.css
    M ckan/public/base/css/main.css
    M ckan/public/base/css/maroon.css
    M ckan/public/base/css/red.css
    M ckan/public/base/javascript/modules/image-upload.js
    M ckan/public/base/less/forms.less
    M ckan/templates/macros/form.html
    M ckan/tests/controllers/test_user.py
    M ckan/views/resource.py

  Log Message:
  -----------
  Merge pull request #5153 from ckan/5152-wrong-resource-url

[#5152] Fix wrong resource URL after ValidationErrors


Compare: https://github.com/ckan/ckan/compare/a2f99c2da352...3b8e2236101d



More information about the ckan-changes mailing list