[ckan-changes] [okfn/ckan] 89a5e1: [#2408] Fix the output of custom fields

GitHub noreply at github.com
Mon Jul 30 10:19:45 UTC 2012


  Branch: refs/heads/2375-demo-theme-development
  Home:   https://github.com/okfn/ckan
  Commit: 89a5e15b276de98e3632ebf8ff07ae50b2df9b50
      https://github.com/okfn/ckan/commit/89a5e15b276de98e3632ebf8ff07ae50b2df9b50
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    M ckan/templates/snippets/custom_form_fields.html

  Log Message:
  -----------
  [#2408] Fix the output of custom fields

Currently a fresh resource gets three empty fields, a resource with
more than three custom fields gets an additional empty one.


  Commit: 87fea73bddc94fcfbd2385e0881c3008ea8ae044
      https://github.com/okfn/ckan/commit/87fea73bddc94fcfbd2385e0881c3008ea8ae044
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    A ckan/public/base/javascript/modules/custom-fields.js

  Log Message:
  -----------
  [#2408] Add first module for working with custom fields


  Commit: b818e5a5a3ef6e69057868a793db882ed65b9de0
      https://github.com/okfn/ckan/commit/b818e5a5a3ef6e69057868a793db882ed65b9de0
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    M ckan/templates/macros/form.html
    M ckan/templates/snippets/custom_form_fields.html
    M ckan/templates/snippets/scripts.html

  Log Message:
  -----------
  [#2408] Add custom-field module to the resource edit page


  Commit: 69277d7ce48e2de1268f1092f9722be5ceaaa384
      https://github.com/okfn/ckan/commit/69277d7ce48e2de1268f1092f9722be5ceaaa384
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-26 (Thu, 26 Jul 2012)

  Changed paths:
    M ckan/public/base/less/forms.less

  Log Message:
  -----------
  [#2408] Style the disabled custom field button


  Commit: 4f46b53bb1c8808e4c9ac8c7e6873d506e98be0e
      https://github.com/okfn/ckan/commit/4f46b53bb1c8808e4c9ac8c7e6873d506e98be0e
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    A ckan/templates/ajax_snippets/custom_fields.html

  Log Message:
  -----------
  [#2408] Add a custom field ajax snippet for testing


  Commit: 58273c5ea30e37bb8c2321add0ce3dff84e67951
      https://github.com/okfn/ckan/commit/58273c5ea30e37bb8c2321add0ce3dff84e67951
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    M ckan/public/base/test/index.html

  Log Message:
  -----------
  [#2408] Add a loadFixture() helper to the test suite

Can be used to load snippets from the ajax_snippets directory into the
suite fixture element.

Example:

    beforeEach(function (done) {
      var _this = this;
      this.loadFixtire('custom_fields.html').done(function (html) {
  this.template = html;
      });
    });


  Commit: 48251cd1f9f857a82b9495ed18b40f9c55c1b1ee
      https://github.com/okfn/ckan/commit/48251cd1f9f857a82b9495ed18b40f9c55c1b1ee
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    M ckan/public/base/javascript/modules/custom-fields.js
    M ckan/public/base/test/index.html
    A ckan/public/base/test/spec/modules/custom-fields.spec.js

  Log Message:
  -----------
  [#2408] Add test suite for the custom fields module


  Commit: d375c09d1a58ec9db304c04690895da41e23283b
      https://github.com/okfn/ckan/commit/d375c09d1a58ec9db304c04690895da41e23283b
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    M ckan/public/base/test/index.html
    M ckan/public/base/test/spec/modules/custom-fields.spec.js

  Log Message:
  -----------
  [#2408] Document the loadFixture() test helper


  Commit: dcdc9acfbafee6e69c7e80ba07514f25814d45eb
      https://github.com/okfn/ckan/commit/dcdc9acfbafee6e69c7e80ba07514f25814d45eb
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    M ckan/config/environment.py
    M ckan/config/middleware.py
    M ckan/config/routing.py
    M ckan/controllers/admin.py
    M ckan/controllers/package.py
    M ckan/lib/app_globals.py
    M ckan/lib/extract.py
    A ckan/migration/versions/059_add_system_info_table.py
    M ckan/model/__init__.py
    A ckan/model/system_info.py
    A ckan/public/base/css/fuchsia.css
    A ckan/public/base/css/green.css
    A ckan/public/base/css/red.css
    M ckan/public/base/javascript/modules/api-info.js
    A ckan/templates/admin/config.html
    M ckan/templates/ajax_snippets/api_info.html
    M ckan/templates/base.html
    M ckan/templates/header.html
    M ckan/templates/home/about.html
    A ckan/templates/package/resource_api_data.html
    M ckan/templates/package/resource_read.html
    M ckan/templates/package/snippets/data_api_button.html
    M ckan/tests/pylons_controller.py
    M setup.cfg
    M setup.py

  Log Message:
  -----------
  [#2408] Update to latest development version


Compare: https://github.com/okfn/ckan/compare/b4fb4135c01a...dcdc9acfbafe


More information about the ckan-changes mailing list