[ckan-changes] [ckan/ckan] f695e3: Adds a closed property so they can be closed w/o d...

GitHub noreply at github.com
Wed Mar 4 23:18:53 UTC 2015


  Branch: refs/heads/closed-organizations
  Home:   https://github.com/ckan/ckan
  Commit: f695e3b2ec5ffac68e60256d2429e36fa57543e7
      https://github.com/ckan/ckan/commit/f695e3b2ec5ffac68e60256d2429e36fa57543e7
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-05 (Mon, 05 Jan 2015)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    A ckan/migration/versions/075_add_closed_to_group.py
    M ckan/model/group.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/templates/organization/snippets/organization_form.html
    M ckan/templates/snippets/organization.html
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/lib/test_dictization_schema.py
    M ckan/tests/models/test_group.py

  Log Message:
  -----------
  Adds a closed property so they can be closed w/o deletion

As described in https://github.com/ckan/ideas-and-roadmap/issues/118

Although it is possible to delete organisations, there is no
functionality to allow for organisations to be closed. Closed
organisations are those that cease to exist, but whose datasets and
other metadata are still important.

Sometimes the organisation's datasets are merged with another, sometimes
they're just needed for a historical archive, but deleting them (and
thereby removing from public view) is not what is required.

* Allow for marking an organisation as closed (or re-opening).
* Prominently show closed organisations as closed (optionally with a link
to the new organisation it may have become part of).
* Ensure that whenever the organisation is shown, the title is rendered
with _("(Closed)") appended, or some other way of ensuring that the
title clearly shows the organisation no longer exists.


  Commit: e9775b5bd4e3410bcfbb00066e3a31ed463eb169
      https://github.com/ckan/ckan/commit/e9775b5bd4e3410bcfbb00066e3a31ed463eb169
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-12 (Mon, 12 Jan 2015)

  Changed paths:
    M ckan/controllers/api.py
    M ckan/logic/schema.py
    M ckan/migration/versions/075_add_closed_to_group.py
    M ckan/model/group.py
    M ckan/public/base/i18n/bg.js
    M ckan/public/base/i18n/ca.js
    M ckan/public/base/i18n/cs_CZ.js
    M ckan/public/base/i18n/de.js
    M ckan/public/base/i18n/el.js
    M ckan/public/base/i18n/es.js
    M ckan/public/base/i18n/fi.js
    M ckan/public/base/i18n/fr.js
    M ckan/public/base/i18n/hu.js
    M ckan/public/base/i18n/it.js
    M ckan/public/base/i18n/lt.js
    M ckan/public/base/i18n/lv.js
    M ckan/public/base/i18n/nl.js
    M ckan/public/base/i18n/no.js
    M ckan/public/base/i18n/pl.js
    M ckan/public/base/i18n/pt_BR.js
    M ckan/public/base/i18n/ro.js
    M ckan/public/base/i18n/ru.js
    M ckan/public/base/i18n/sk.js
    M ckan/public/base/i18n/sl.js
    M ckan/public/base/i18n/sq.js
    M ckan/public/base/i18n/sr.js
    M ckan/public/base/i18n/sr_Latn.js
    M ckan/public/base/i18n/sv.js
    M ckan/public/base/i18n/zh_TW.js
    M ckan/public/base/javascript/modules/autocomplete.js
    M ckan/public/scripts/application.js
    M ckan/templates/organization/snippets/organization_form.html

  Log Message:
  -----------
  Adds new fields to group for related group/relationship.

Adds fields for showing the relationship between the current closed
group and another.

Fixes the autocomplete module to allow for specifying default value and
label (when using an autocomplete lookup with select2)


  Commit: 8ecd441c8d4cb22062c4601553b883524424924f
      https://github.com/ckan/ckan/commit/8ecd441c8d4cb22062c4601553b883524424924f
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  Changes to new test to track problem with expected_groups


  Commit: 38d007ae3b8dba90caf81176be9cfdf0333ebab7
      https://github.com/ckan/ckan/commit/38d007ae3b8dba90caf81176be9cfdf0333ebab7
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  Fix more tests


  Commit: eef5f581f6eb96b1a2988c4a30257795d0c37694
      https://github.com/ckan/ckan/commit/eef5f581f6eb96b1a2988c4a30257795d0c37694
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    A ckan/migration/versions/075_add_closed_to_group.py
    M ckan/model/group.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/templates/organization/snippets/organization_form.html
    M ckan/templates/snippets/organization.html
    M ckan/tests/lib/test_dictization.py
    M ckan/tests/lib/test_dictization_schema.py
    M ckan/tests/models/test_group.py

  Log Message:
  -----------
  Adds a closed property so they can be closed w/o deletion

As described in https://github.com/ckan/ideas-and-roadmap/issues/118

Although it is possible to delete organisations, there is no
functionality to allow for organisations to be closed. Closed
organisations are those that cease to exist, but whose datasets and
other metadata are still important.

Sometimes the organisation's datasets are merged with another, sometimes
they're just needed for a historical archive, but deleting them (and
thereby removing from public view) is not what is required.

* Allow for marking an organisation as closed (or re-opening).
* Prominently show closed organisations as closed (optionally with a link
to the new organisation it may have become part of).
* Ensure that whenever the organisation is shown, the title is rendered
with _("(Closed)") appended, or some other way of ensuring that the
title clearly shows the organisation no longer exists.


  Commit: 3c3d326b6c3b936872f415bd3e53d20e57add6b5
      https://github.com/ckan/ckan/commit/3c3d326b6c3b936872f415bd3e53d20e57add6b5
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/controllers/api.py
    M ckan/logic/schema.py
    M ckan/migration/versions/075_add_closed_to_group.py
    M ckan/model/group.py
    M ckan/public/base/i18n/bg.js
    M ckan/public/base/i18n/ca.js
    M ckan/public/base/i18n/cs_CZ.js
    M ckan/public/base/i18n/de.js
    M ckan/public/base/i18n/el.js
    M ckan/public/base/i18n/es.js
    M ckan/public/base/i18n/fi.js
    M ckan/public/base/i18n/fr.js
    M ckan/public/base/i18n/hu.js
    M ckan/public/base/i18n/it.js
    M ckan/public/base/i18n/lt.js
    M ckan/public/base/i18n/lv.js
    M ckan/public/base/i18n/nl.js
    M ckan/public/base/i18n/no.js
    M ckan/public/base/i18n/pl.js
    M ckan/public/base/i18n/pt_BR.js
    M ckan/public/base/i18n/ro.js
    M ckan/public/base/i18n/ru.js
    M ckan/public/base/i18n/sk.js
    M ckan/public/base/i18n/sl.js
    M ckan/public/base/i18n/sq.js
    M ckan/public/base/i18n/sr.js
    M ckan/public/base/i18n/sr_Latn.js
    M ckan/public/base/i18n/sv.js
    M ckan/public/base/i18n/zh_TW.js
    M ckan/public/base/javascript/modules/autocomplete.js
    M ckan/public/scripts/application.js
    M ckan/templates/organization/snippets/organization_form.html

  Log Message:
  -----------
  Adds new fields to group for related group/relationship.

Adds fields for showing the relationship between the current closed
group and another.

Fixes the autocomplete module to allow for specifying default value and
label (when using an autocomplete lookup with select2)


  Commit: ff961462fc698061f0b67458eda357890c15eddd
      https://github.com/ckan/ckan/commit/ff961462fc698061f0b67458eda357890c15eddd
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/lib/dictization/model_dictize.py
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  Changes to new test to track problem with expected_groups


  Commit: 03ba21594b531559fd8e2b0fcddfa500b3cedd5a
      https://github.com/ckan/ckan/commit/03ba21594b531559fd8e2b0fcddfa500b3cedd5a
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/new_tests/logic/action/test_get.py

  Log Message:
  -----------
  Fix more tests


  Commit: 7697b61b4ddd192ce7dde1117b65b38d1641c753
      https://github.com/ckan/ckan/commit/7697b61b4ddd192ce7dde1117b65b38d1641c753
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    R ckan/migration/versions/075_add_closed_to_group.py
    A ckan/migration/versions/076_add_closed_to_group.py
    M ckan/new_tests/lib/dictization/test_model_dictize.py
    M ckan/new_tests/logic/action/test_get.py
    M ckan/tests/lib/test_dictization.py

  Log Message:
  -----------
  Rebased onto master, and more test fixes


  Commit: 8b0bfb26256a665efdef9f5ff14be14949126c13
      https://github.com/ckan/ckan/commit/8b0bfb26256a665efdef9f5ff14be14949126c13
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    A ckan/migration/versions/075_add_closed_to_group.py
    M ckan/templates/snippets/organization.html

  Log Message:
  -----------
  MERGE conflicts


  Commit: 604db8f9b371b37e12f6224d9ebaa88b77d423a8
      https://github.com/ckan/ckan/commit/604db8f9b371b37e12f6224d9ebaa88b77d423a8
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    R ckan/migration/versions/075_add_closed_to_group.py

  Log Message:
  -----------
  Remove the old version of the migration


  Commit: 88f502a28c08909cc7897cad6f8eee8ea2520847
      https://github.com/ckan/ckan/commit/88f502a28c08909cc7897cad6f8eee8ea2520847
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/templates/organization/snippets/organization_form.html

  Log Message:
  -----------
  Only show extra closed fields when checkbox is ticked


  Commit: 0eaf5fe92e286ed21337d586adcb316c5b033a48
      https://github.com/ckan/ckan/commit/0eaf5fe92e286ed21337d586adcb316c5b033a48
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/templates/organization/snippets/organization_form.html

  Log Message:
  -----------
  Changes for showing title on already selected related group


  Commit: 24ee4b17e36e8467ae21581e2a481bb6ed163238
      https://github.com/ckan/ckan/commit/24ee4b17e36e8467ae21581e2a481bb6ed163238
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M doc/maintaining/filestore.rst

  Log Message:
  -----------
  Merge branch 'master' into closed-organizations


  Commit: 5fbbb8e419d2def032065dc7ea1e8dfbbb646dbf
      https://github.com/ckan/ckan/commit/5fbbb8e419d2def032065dc7ea1e8dfbbb646dbf
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2015-01-27 (Tue, 27 Jan 2015)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/organization/snippets/organization_form.html

  Log Message:
  -----------
  Fix the dropdown to show title rather than ID


Compare: https://github.com/ckan/ckan/compare/f695e3b2ec5f^...5fbbb8e419d2


More information about the ckan-changes mailing list