[ckan-changes] [ckan/ckan] 9784ab: [#2429] config_option_show action.

GitHub noreply at github.com
Wed May 20 12:43:19 UTC 2015


  Branch: refs/heads/2429-remote-config
  Home:   https://github.com/ckan/ckan
  Commit: 9784aba03fe9690d62b3143e6b54f9109cfa8dab
      https://github.com/ckan/ckan/commit/9784aba03fe9690d62b3143e6b54f9109cfa8dab
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/logic/schema.py
    M ckan/tests/config/test_environment.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  [#2429] config_option_show action.

Sysadmins can call this action with a key (eg. 'ckan.site_title') to
retrieve a config value. The value is returned either from the
system_info table of the database, or secondly, from the config object
as defined in the ini file. Only config options in the schema
whitelisted as editable will be returned. Non-editable options, or non
existing options, will return a ValidationError.


  Commit: d71abe6c0050847380e44e5fb67f499c6fbe60b5
      https://github.com/ckan/ckan/commit/d71abe6c0050847380e44e5fb67f499c6fbe60b5
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/logic/auth/get.py
    M ckan/tests/logic/action/test_get.py

  Log Message:
  -----------
  [#2429] config_option_list action.

Returns the whitelisted config option keys whose values can be updated
with `config_option_update`.


  Commit: 3bfee861fa17fa0d1eb634f0d7b36b3cad083890
      https://github.com/ckan/ckan/commit/3bfee861fa17fa0d1eb634f0d7b36b3cad083890
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M ckan/config/environment.py
    M ckan/migration/versions/077_add_state_to_system_info.py
    M ckan/tests/config/test_environment.py

  Log Message:
  -----------
  Merge branch '2429-remote-config' of ...

github.com:ckan/ckan into 2429-remote-config

Conflicts:
	ckan/tests/config/test_environment.py


Compare: https://github.com/ckan/ckan/compare/775b5a314925...3bfee861fa17


More information about the ckan-changes mailing list