[ckan-changes] [ckan/ckan] 75ab01: Fix setup.py classifiers syntax

GitHub noreply at github.com
Fri Feb 23 11:07:38 UTC 2018


  Branch: refs/heads/4031-improve-igroupform-support-2.7
  Home:   https://github.com/ckan/ckan
  Commit: 75ab01a53311e61b0bc9805c5398d2062ac2fa94
      https://github.com/ckan/ckan/commit/75ab01a53311e61b0bc9805c5398d2062ac2fa94
  Author: amercader <amercadero at gmail.com>
  Date:   2017-09-28 (Thu, 28 Sep 2017)

  Changed paths:
    M setup.py

  Log Message:
  -----------
  Fix setup.py classifiers syntax

Was preventing the package from being uploaded to PyPI


  Commit: 31bce8b05ee194579274e2b710b7c878def36856
      https://github.com/ckan/ckan/commit/31bce8b05ee194579274e2b710b7c878def36856
  Author: amercader <amercadero at gmail.com>
  Date:   2017-10-25 (Wed, 25 Oct 2017)

  Changed paths:
    M doc/.gitignore
    M doc/conf.py
    M doc/maintaining/installing/install-from-package.rst
    M doc/maintaining/installing/install-from-source.rst
    M setup.py

  Log Message:
  -----------
  Merge branch 'dev-v2.7' of github.com:ckan/ckan into dev-v2.7


  Commit: 7fb118e7cef7ad3e9d6ba6967f97735f86d4bab2
      https://github.com/ckan/ckan/commit/7fb118e7cef7ad3e9d6ba6967f97735f86d4bab2
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/config/routing.py

  Log Message:
  -----------
  [#4031] Add names to organization routes so they can be referenced in templates


  Commit: d988c6be0c53b5f1b90cdfe803ed35d6fc75cb7d
      https://github.com/ckan/ckan/commit/d988c6be0c53b5f1b90cdfe803ed35d6fc75cb7d
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  [#4031] Pass group_type to plugins so they can choose what to do

For instance when rendering the form for a new group/org there is not
way of telling if it's a group, org or custom type. The existing method
for the plugin interface just accepts context and data_dict, so to
maintain backwards compatibility I'm adding the group_type to
data_dict['type'], which is consistent with what they would get on an
update operation.


  Commit: 8da2e48de047bfce0a45f8711f5479fbbfd41d4b
      https://github.com/ckan/ckan/commit/8da2e48de047bfce0a45f8711f5479fbbfd41d4b
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/controllers/organization.py

  Log Message:
  -----------
  [#4031] Remove _guess_group_type methods from org controller

It had "organization" hardcoded so it prevented custom organization
types to work properly. The parent implementation in the group
controller should work fine for orgs as well as it just uses the URL.


  Commit: 102f096acb25d8f4df6999ebdf6a6ebb1e6a86c8
      https://github.com/ckan/ckan/commit/102f096acb25d8f4df6999ebdf6a6ebb1e6a86c8
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  [#4031] Remove methods that prevented custom types URLs

These two methods had hardcoded calls to the group or org routes defined
in core, so custom types were ignored. Replace them with calls to
`redirect_to` or `url_for` that take the group type into account.


  Commit: 17c4c428e3296bceec16576f98b809df253d9dc5
      https://github.com/ckan/ckan/commit/17c4c428e3296bceec16576f98b809df253d9dc5
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  [#4031] Improve search in group read and bulk page


  Commit: 3569e09638bab263c660fe4bc7192783e9c740f8
      https://github.com/ckan/ckan/commit/3569e09638bab263c660fe4bc7192783e9c740f8
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/lib/plugins.py

  Log Message:
  -----------
  [#4031] Add missing routes in group plugins


  Commit: 8ec960bcc0b5940bd497bbabb65cdcff1546db0f
      https://github.com/ckan/ckan/commit/8ec960bcc0b5940bd497bbabb65cdcff1546db0f
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/lib/plugins.py

  Log Message:
  -----------
  [#4031] Allow registering of fallback org plugins

Right now if an organization plugin implementing `IGroupForm` set
is_fallback to True, the plugin was added as the default *group* plugin,
not the organization one.


  Commit: 1876c3c15237a5404c7caa766d1bbb9977cd49d5
      https://github.com/ckan/ckan/commit/1876c3c15237a5404c7caa766d1bbb9977cd49d5
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/config/routing.py

  Log Message:
  -----------
  [#4031] Add names to group routes as well


  Commit: da399995840f66a665cd19a8efc6cdc6417bf26c
      https://github.com/ckan/ckan/commit/da399995840f66a665cd19a8efc6cdc6417bf26c
  Author: amercader <amercadero at gmail.com>
  Date:   2018-02-23 (Fri, 23 Feb 2018)

  Changed paths:
    M ckan/templates/group/edit_base.html
    M ckan/templates/group/index.html
    M ckan/templates/group/member_new.html
    M ckan/templates/group/members.html
    M ckan/templates/group/read_base.html
    M ckan/templates/organization/edit_base.html
    M ckan/templates/organization/index.html
    M ckan/templates/organization/member_new.html
    M ckan/templates/organization/members.html
    M ckan/templates/organization/read_base.html
    M ckan/templates/snippets/organization.html

  Log Message:
  -----------
  [#4031] Use group type when building URLs in templates


Compare: https://github.com/ckan/ckan/compare/75ab01a53311^...da399995840f


More information about the ckan-changes mailing list