[ckan-changes] [okfn/ckan] caa016: [#873] Show upload option if filestore enabled

GitHub noreply at github.com
Tue Jun 11 10:09:55 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: caa016eabe470223d19d1db0dce6480b26856bdb
      https://github.com/okfn/ckan/commit/caa016eabe470223d19d1db0dce6480b26856bdb
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-02 (Sun, 02 Jun 2013)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/resource_edit.html
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#873] Show upload option if filestore enabled

* Add a check_filestore helper that checks the config if filestore is
  enabled.
* Check if filestore is enabled and user is logged in before showing
  upload button.


  Commit: 8fca53ede4e13c26fa1963d8c4bc4e26d4fcb491
      https://github.com/okfn/ckan/commit/8fca53ede4e13c26fa1963d8c4bc4e26d4fcb491
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2013-06-05 (Wed, 05 Jun 2013)

  Changed paths:
    M ckan/lib/app_globals.py
    M ckan/lib/helpers.py
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/resource_edit.html
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  [#873] Use a g.ofs_impl to check filestore status

* Remove the helper function check_datastore
* Create a global varibale called ofs_impl that stores
  the value of the config option


  Commit: 16bc4ba5ea88064316fa38287c7301045a339c32
      https://github.com/okfn/ckan/commit/16bc4ba5ea88064316fa38287c7301045a339c32
  Author: tobes <toby.junk at gmail.com>
  Date:   2013-06-11 (Tue, 11 Jun 2013)

  Changed paths:
    M ckan/lib/app_globals.py
    M ckan/templates/package/new_resource.html
    M ckan/templates/package/resource_edit.html

  Log Message:
  -----------
  Merge branch '873-upload-button-check'


Compare: https://github.com/okfn/ckan/compare/4014acd74935...16bc4ba5ea88


More information about the ckan-changes mailing list