[ckan-changes] [ckan/ckan] 89b410: Add more detailed change summary for metadata fields

David Read noreply at github.com
Fri Aug 9 15:56:27 UTC 2019


  Branch: refs/heads/4929-tests
  Home:   https://github.com/ckan/ckan
  Commit: 89b41052c596d60eb733d7202ad5d6dd7bb15c78
      https://github.com/ckan/ckan/commit/89b41052c596d60eb733d7202ad5d6dd7bb15c78
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html

  Log Message:
  -----------
  Add more detailed change summary for metadata fields

Adds a more readable summary of changes between two versions of a dataset (only for dataset metadata fields - title, description, license, etc. and only for those that have actually changed) to the Changes page. The comprehensive but less readable metadata diff is still there but is opened with a button and not shown by default. Does not yet show a summary for custom fields or fields that come with extensions - only shows changes for the default fields.


  Commit: 680ede035eab5bca1f1779f8bcb838e6a8d119f5
      https://github.com/ckan/ckan/commit/680ede035eab5bca1f1779f8bcb838e6a8d119f5
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M ckan/lib/activity_streams_session_extension.py

  Log Message:
  -----------
  Save activity data for private datasets


  Commit: 3fc42cedd079f469eb053451de3125c1c37cdc0c
      https://github.com/ckan/ckan/commit/3fc42cedd079f469eb053451de3125c1c37cdc0c
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html

  Log Message:
  -----------
  Display changes to metadata fields added by extensions


  Commit: 9732e969ff160b7be2eb3b6ce210834f9b2e4e59
      https://github.com/ckan/ckan/commit/9732e969ff160b7be2eb3b6ce210834f9b2e4e59
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Check changes to custom fields and add function for each check


  Commit: bd66920839f8abf0b5b37f8f2db21c594e333e92
      https://github.com/ckan/ckan/commit/bd66920839f8abf0b5b37f8f2db21c594e333e92
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/plugins/toolkit.py
    M ckan/tests/config/test_middleware.py
    M ckan/tests/test_common.py
    M ckanext/example_flask_iblueprint/plugin.py
    M ckanext/example_flask_iblueprint/tests/test_routes.py

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/ckan/ckan into version-control


  Commit: 3cdffc9e100375b1abb845281684880ddae01290
      https://github.com/ckan/ckan/commit/3cdffc9e100375b1abb845281684880ddae01290
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Handle cases where the value in a metadata field is removed


  Commit: fb0c55dd7e0e77813951386e2918430cde6a43e7
      https://github.com/ckan/ckan/commit/fb0c55dd7e0e77813951386e2918430cde6a43e7
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Add function documentation


  Commit: 6921941df981ce8af5bf37669cdbaece2f5011a1
      https://github.com/ckan/ckan/commit/6921941df981ce8af5bf37669cdbaece2f5011a1
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-25 (Thu, 25 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html

  Log Message:
  -----------
  Add activity summaries for changes to resources


  Commit: 43ffc3e99a48523347af612a06f2247a0b8b6579
      https://github.com/ckan/ckan/commit/43ffc3e99a48523347af612a06f2247a0b8b6579
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-26 (Fri, 26 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html
    A ckan/templates/package/snippets/change_item.html
    M ckan/templates/snippets/activities/changed_package.html
    M ckan/views/dataset.py

  Log Message:
  -----------
  Add ability to view multiple consecutive change summaries


  Commit: a5a187d09f6d8a465b9600421df89bcbe12d1b50
      https://github.com/ckan/ckan/commit/a5a187d09f6d8a465b9600421df89bcbe12d1b50
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-26 (Fri, 26 Jul 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html
    M ckan/views/dataset.py

  Log Message:
  -----------
  Fix out-of-order change summary viewing and set drop down menus to current versions


  Commit: deab15146738fcea3de038093b3ec88cf4afb33e
      https://github.com/ckan/ckan/commit/deab15146738fcea3de038093b3ec88cf4afb33e
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-26 (Fri, 26 Jul 2019)

  Changed paths:
    A ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/templates/package/changes.html
    M ckan/templates/package/snippets/change_item.html
    M ckan/views/dataset.py

  Log Message:
  -----------
  Add documentation, better formatting, and move private change helper functions to lib/changes.py


  Commit: 924673649f9b51aa72cdb583bda0daed9a7e24d4
      https://github.com/ckan/ckan/commit/924673649f9b51aa72cdb583bda0daed9a7e24d4
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M ckan/cli/cli.py
    A ckan/cli/less.py
    A ckan/cli/minify.py
    A ckan/cli/notify.py
    A ckan/cli/tracking.py
    M ckan/config/middleware/flask_app.py
    M ckan/tests/config/test_middleware.py
    M ckanext/example_iuploader/test/test_plugin.py

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/ckan/ckan into version-control


  Commit: 4e2d0cb37de61201991e224f0d786a43953d723e
      https://github.com/ckan/ckan/commit/4e2d0cb37de61201991e224f0d786a43953d723e
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M ckan/views/dataset.py

  Log Message:
  -----------
  Replace activity_id with current_id in change_range


  Commit: dd0041cd3b7ff3ab76e7279e4b9321e84680479f
      https://github.com/ckan/ckan/commit/dd0041cd3b7ff3ab76e7279e4b9321e84680479f
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M ckan/lib/activity_streams_session_extension.py
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Formatting


  Commit: 9f3e213ac0778f126be091c731d76445336be4dd
      https://github.com/ckan/ckan/commit/9f3e213ac0778f126be091c731d76445336be4dd
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Formatting


  Commit: 1575aba2bb6573fe607bc090064c0ce8f91af430
      https://github.com/ckan/ckan/commit/1575aba2bb6573fe607bc090064c0ce8f91af430
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Formatting to pass tests


  Commit: d815fcdfdd8c4dd6ca05d06080500f00274e5877
      https://github.com/ckan/ckan/commit/d815fcdfdd8c4dd6ca05d06080500f00274e5877
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M ckan/cli/less.py
    M ckan/cli/tracking.py
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Formatting


  Commit: 9818ab067fe054ff99d5f650a8436ac33a616488
      https://github.com/ckan/ckan/commit/9818ab067fe054ff99d5f650a8436ac33a616488
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Formatting


  Commit: e566b2165f6fabab7cf7a6b7ef0a3f65769b3a67
      https://github.com/ckan/ckan/commit/e566b2165f6fabab7cf7a6b7ef0a3f65769b3a67
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-07-30 (Tue, 30 Jul 2019)

  Changed paths:
    M ckan/lib/changes.py

  Log Message:
  -----------
  Formatting


  Commit: 19a73ed46eab55b79918880587463d15093d9e35
      https://github.com/ckan/ckan/commit/19a73ed46eab55b79918880587463d15093d9e35
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-06 (Tue, 06 Aug 2019)

  Changed paths:
    M ckan/cli/less.py
    M ckan/cli/tracking.py
    M ckan/templates/group/edit_base.html
    M ckan/templates/group/read_base.html
    M ckan/templates/organization/edit_base.html
    M ckan/templates/organization/read_base.html
    M ckan/templates/package/edit_base.html
    M ckan/templates/package/read_base.html
    M ckan/templates/package/resource_edit_base.html
    M ckan/templates/user/dashboard.html
    M ckan/templates/user/read_base.html

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/ckan/ckan into version-control


  Commit: 50d0d82af753e2200af102b17672441b65722e61
      https://github.com/ckan/ckan/commit/50d0d82af753e2200af102b17672441b65722e61
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-06 (Tue, 06 Aug 2019)

  Changed paths:
    M ckan/lib/activity_streams_session_extension.py

  Log Message:
  -----------
  Stop saving activity for private datasets


  Commit: 5b0ff23146431130455bf6a8aee6b8c2932d6bf4
      https://github.com/ckan/ckan/commit/5b0ff23146431130455bf6a8aee6b8c2932d6bf4
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-06 (Tue, 06 Aug 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/views/dataset.py

  Log Message:
  -----------
  Merge branch 'version-control' of https://github.com/SFB-ELAINE/ckan into version-control


  Commit: 7ccd68a12d100e6650225a52809efd6037bcd14d
      https://github.com/ckan/ckan/commit/7ccd68a12d100e6650225a52809efd6037bcd14d
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/templates/package/snippets/change_item.html
    A ckan/templates/snippets/changes/author.html
    A ckan/templates/snippets/changes/author_email.html
    A ckan/templates/snippets/changes/custom_fields.html
    A ckan/templates/snippets/changes/delete_resource.html
    A ckan/templates/snippets/changes/description.html
    A ckan/templates/snippets/changes/extension_fields.html
    A ckan/templates/snippets/changes/license.html
    A ckan/templates/snippets/changes/maintainer.html
    A ckan/templates/snippets/changes/maintainer_email.html
    A ckan/templates/snippets/changes/name.html
    A ckan/templates/snippets/changes/new_file.html
    A ckan/templates/snippets/changes/new_resource.html
    A ckan/templates/snippets/changes/org.html
    A ckan/templates/snippets/changes/private.html
    A ckan/templates/snippets/changes/resource_desc.html
    A ckan/templates/snippets/changes/resource_format.html
    A ckan/templates/snippets/changes/resource_name.html
    A ckan/templates/snippets/changes/source_url.html
    A ckan/templates/snippets/changes/tags.html
    A ckan/templates/snippets/changes/title.html
    A ckan/templates/snippets/changes/version.html

  Log Message:
  -----------
  Move HTML for Changes page from changes.py to HTML files


  Commit: 50389f84780503183bb621895c50b00d82736584
      https://github.com/ckan/ckan/commit/50389f84780503183bb621895c50b00d82736584
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-07 (Wed, 07 Aug 2019)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/templates/package/snippets/change_item.html
    M ckan/templates/snippets/activities/changed_package.html
    M ckan/templates/snippets/changes/author.html
    M ckan/templates/snippets/changes/author_email.html
    M ckan/templates/snippets/changes/custom_fields.html
    M ckan/templates/snippets/changes/description.html
    M ckan/templates/snippets/changes/maintainer.html
    M ckan/templates/snippets/changes/maintainer_email.html
    A ckan/templates/snippets/changes/no_change.html
    M ckan/templates/snippets/changes/resource_desc.html
    M ckan/templates/snippets/changes/resource_format.html
    M ckan/templates/snippets/changes/source_url.html
    M ckan/templates/snippets/changes/tags.html
    M ckan/templates/snippets/changes/version.html

  Log Message:
  -----------
  Remove Activity IDs and add no_change case


  Commit: 0b1ba761736a0736e2f35745d4370d4e49f899d0
      https://github.com/ckan/ckan/commit/0b1ba761736a0736e2f35745d4370d4e49f899d0
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-08 (Thu, 08 Aug 2019)

  Changed paths:
    M ckan/lib/activity_streams_session_extension.py
    M ckan/lib/changes.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Formatting and fix error in changes.py


  Commit: 4a990c670e611ace552289e1aae28dd037325fe9
      https://github.com/ckan/ckan/commit/4a990c670e611ace552289e1aae28dd037325fe9
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-08 (Thu, 08 Aug 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Fix syntax error


  Commit: 0fb137344a24bcd604087b0133073a98a5166641
      https://github.com/ckan/ckan/commit/0fb137344a24bcd604087b0133073a98a5166641
  Author: hayley-leblanc <leblan_h1 at denison.edu>
  Date:   2019-08-08 (Thu, 08 Aug 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/public/base/css/main.css
    A ckan/public/base/javascript/modules/metadata-button.js
    M ckan/public/base/javascript/webassets.yml
    M ckan/templates/package/changes.html
    M ckan/templates/package/snippets/change_item.html
    M ckan/templates/snippets/changes/description.html
    M ckan/templates/snippets/changes/resource_desc.html

  Log Message:
  -----------
  Move scripts and CSS out of HTML, only show metadata diffs for most recent displayed change


  Commit: 636e091aec286a88ab20df3cad6b4bfa93fd1fbd
      https://github.com/ckan/ckan/commit/636e091aec286a88ab20df3cad6b4bfa93fd1fbd
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M ckan/lib/changes.py
    M ckan/lib/helpers.py
    M ckan/logic/action/patch.py
    M ckan/templates/snippets/changes/resource_format.html
    A ckan/tests/lib/test_changes.py

  Log Message:
  -----------
  Add lots of tests for changes.py. A few fail, to provoke improvements to changes.py


Compare: https://github.com/ckan/ckan/compare/89b41052c596%5E...636e091aec28


More information about the ckan-changes mailing list