[ckan-changes] [okfn/ckan] 5f5e91: [#2648] Add jQuery.fileupload plugin

GitHub noreply at github.com
Thu Jul 12 13:11:17 UTC 2012


  Branch: refs/heads/2648-demo-file-upload
  Home:   https://github.com/okfn/ckan
  Commit: 5f5e911bc9692082b95bb147a94c681cc200889e
      https://github.com/okfn/ckan/commit/5f5e911bc9692082b95bb147a94c681cc200889e
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-10 (Tue, 10 Jul 2012)

  Changed paths:
    A ckan/public/base/vendor/jquery-fileupload/jquery.fileupload-ui.js
    A ckan/public/base/vendor/jquery-fileupload/jquery.fileupload.js
    A ckan/public/base/vendor/jquery-fileupload/jquery.iframe-transport.js
    A ckan/public/base/vendor/jquery.ui.widget.js

  Log Message:
  -----------
  [#2648] Add jQuery.fileupload plugin


  Commit: 5b228283b994d6e52d15b85f37bc669513141ac6
      https://github.com/okfn/ckan/commit/5b228283b994d6e52d15b85f37bc669513141ac6
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-10 (Tue, 10 Jul 2012)

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

  Log Message:
  -----------
  [#2648] Localise new resource type labels


  Commit: 9f9643d5b65de39422cd05e9a74f58308dd929d8
      https://github.com/okfn/ckan/commit/9f9643d5b65de39422cd05e9a74f58308dd929d8
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-10 (Tue, 10 Jul 2012)

  Changed paths:
    A ckan/public/base/javascript/modules/resource-upload-field.js
    M ckan/public/base/less/forms.less
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/snippets/resource_form.html

  Log Message:
  -----------
  [#2648] Add field for uploading new resources


  Commit: 1bae4d9375dd148200de756097c677bcf201472d
      https://github.com/okfn/ckan/commit/1bae4d9375dd148200de756097c677bcf201472d
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    A ckan/public/base/javascript/plugins/jquery.inherit.js
    M ckan/public/base/test/index.html
    A ckan/public/base/test/spec/plugins/jquery.inherit.spec.js

  Log Message:
  -----------
  [#2648] Add jQuery.inherit as a helper for simple inheritance


  Commit: 0e41c653381ac87b75357997692b3c089c131bbb
      https://github.com/okfn/ckan/commit/0e41c653381ac87b75357997692b3c089c131bbb
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/public/base/javascript/sandbox.js
    M ckan/public/base/test/spec/sandbox.spec.js

  Log Message:
  -----------
  [#2648] Update ckan.sandbox() and unit tests

Sandbox now has nothing but helper functions.


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

  Changed paths:
    M ckan/public/base/test/vendor/sinon.js

  Log Message:
  -----------
  [#2648] Update sinon to 1.4.0


  Commit: 6d101d4328c62a767af901e9121afac24392a4f5
      https://github.com/okfn/ckan/commit/6d101d4328c62a767af901e9121afac24392a4f5
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

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

  Log Message:
  -----------
  [#2648] Move sinon above mocha

This fixes a bug in sinon that misinterprets a stubbed process object
created by mocha for the node environment.


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

  Changed paths:
    M ckan/public/base/javascript/module.js
    M ckan/public/base/test/spec/module.spec.js

  Log Message:
  -----------
  [#2648] Refactor ckan.module() to create instances

This is much more efficient than creating new objects each time and
also allows setup and teardown functionality.


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

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

  Log Message:
  -----------
  [#2648] Update the scripts to include new modules


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

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.js
    M ckan/public/base/javascript/modules/select-switch.js
    M ckan/public/base/javascript/modules/slug-preview.js

  Log Message:
  -----------
  [#2648] Update modules to new syntax


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

  Changed paths:
    A ckan/public/base/javascript/client.js
    M ckan/public/base/test/index.html
    A ckan/public/base/test/spec/client.spec.js

  Log Message:
  -----------
  [#2648] Add a client object to talk to the API

This is available to modules on the sandbox object and should
be used in preference to jQuery.ajax().


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

  Changed paths:
    M ckan/templates/group/pages/form_page.html
    M ckan/templates/package/pages/form_page.html
    M ckan/templates/package/search.html
    M ckan/templates/page.html
    M ckan/templates/snippets/scripts.html

  Log Message:
  -----------
  [#2648] Add scripts globally


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

  Changed paths:
    A ckan/public/base/vendor/bootstrap/js/bootstrap-alert.js
    A ckan/public/base/vendor/bootstrap/js/bootstrap-transition.js

  Log Message:
  -----------
  [#2648] Add Bootstrap jQuery plugins


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

  Changed paths:
    A ckan/public/base/javascript/notify.js
    M ckan/public/base/test/index.html
    A ckan/public/base/test/spec/notify.spec.js

  Log Message:
  -----------
  [#2648] Add a ckan.notify() function

This can be used to display alert messages to the user and is made available
to modules via the sandbox.notify() method.

Usage:

  sandbox.notify('An error occurred', 'unable to download file');


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

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.js

  Log Message:
  -----------
  [#2648] Re-jig resource upload module to use new syntax


Compare: https://github.com/okfn/ckan/compare/5f5e911bc969^...fa1b1e9b90a5


More information about the ckan-changes mailing list