[ckan-changes] [ckan/ckan] 7aa70a: Use user performing the action on activity context...

David Read noreply at github.com
Thu Oct 31 14:02:18 UTC 2019


  Branch: refs/heads/remove-vdm
  Home:   https://github.com/ckan/ckan
  Commit: 7aa70a94de2a0ac979975dce079f15823a990f9e
      https://github.com/ckan/ckan/commit/7aa70a94de2a0ac979975dce079f15823a990f9e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/logic/action/update.py

  Log Message:
  -----------
  Use user performing the action on activity context on user_update


  Commit: 3de60432a5e0ebfdca01e1de66c6c7cc86b4c748
      https://github.com/ckan/ckan/commit/3de60432a5e0ebfdca01e1de66c6c7cc86b4c748
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Remove revision mention from test


  Commit: e5a08990bd36fe3db869af9f78a6bb7ff5f7d102
      https://github.com/ckan/ckan/commit/e5a08990bd36fe3db869af9f78a6bb7ff5f7d102
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/migration/env.py

  Log Message:
  -----------
  init_model expects an engine, not a connection


  Commit: 304878729bf11503f83ef3051b2431414d108894
      https://github.com/ckan/ckan/commit/304878729bf11503f83ef3051b2431414d108894
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    R ckan/tests/migration/__init__.py
    R ckan/tests/migration/test_migrate_package_activity.py
    R ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Remove migration tests for now


  Commit: c003166ac4f2071d45696e3edd37a2f9ed143e21
      https://github.com/ckan/ckan/commit/c003166ac4f2071d45696e3edd37a2f9ed143e21
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/update.py
    M ckan/model/meta.py

  Log Message:
  -----------
  Create dataset activities explicitly rather than with a SQLAlchemy session extension


  Commit: 7ab81fb80c7c654231833f445d2a4224161db25e
      https://github.com/ckan/ckan/commit/7ab81fb80c7c654231833f445d2a4224161db25e
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/update.py

  Log Message:
  -----------
  Register anonymous activities with 'not logged in'


  Commit: aa4897cef8ded68a591f2c812d4747906c404de8
      https://github.com/ckan/ckan/commit/aa4897cef8ded68a591f2c812d4747906c404de8
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/update.py

  Log Message:
  -----------
  Don't decode user name


  Commit: c8dcd08fb63dbb9227c107b81b03a77e5ec89530
      https://github.com/ckan/ckan/commit/c8dcd08fb63dbb9227c107b81b03a77e5ec89530
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

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

  Log Message:
  -----------
  Revisions no longer returned


  Commit: 33731d2d2232f187ba9d455497e74715dc1bca31
      https://github.com/ckan/ckan/commit/33731d2d2232f187ba9d455497e74715dc1bca31
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    A ckan/tests/migrations/__init__.py

  Log Message:
  -----------
  Add folder to avoid docs failure


  Commit: 6ab6b1ae22c6ed09f03364e98cc546e1b469edb9
      https://github.com/ckan/ckan/commit/6ab6b1ae22c6ed09f03364e98cc546e1b469edb9
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/tests/legacy/test_coding_standards.py

  Log Message:
  -----------
  pep8


  Commit: 9236f1847aa389868f81f838686d620793ee861a
      https://github.com/ckan/ckan/commit/9236f1847aa389868f81f838686d620793ee861a
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/action/delete.py
    M ckan/logic/action/update.py

  Log Message:
  -----------
  Don't create actiivites on private datasets


  Commit: 85e5dff81db6298696fdc6fa43e20687d61c3451
      https://github.com/ckan/ckan/commit/85e5dff81db6298696fdc6fa43e20687d61c3451
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    R ckan/tests/migrations/__init__.py

  Log Message:
  -----------
  Revert "Add folder to avoid docs failure"

This reverts commit 33731d2d2232f187ba9d455497e74715dc1bca31.


  Commit: ba015a5f8ec256a52c97571384930254c209d0b1
      https://github.com/ckan/ckan/commit/ba015a5f8ec256a52c97571384930254c209d0b1
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    A ckan/tests/migration/__init__.py
    A ckan/tests/migration/test_migrate_package_activity.py
    A ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Revert "Remove migration tests for now"

This reverts commit 304878729bf11503f83ef3051b2431414d108894.


  Commit: 3d9f8ee476f215f672a0d91d397e6645c469a131
      https://github.com/ckan/ckan/commit/3d9f8ee476f215f672a0d91d397e6645c469a131
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M ckan/lib/create_test_data.py
    M ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Emit activities in create tests data, avoid leaky tests


  Commit: 7d2d5101da95958a342fc3f91c0eadb312af8f9b
      https://github.com/ckan/ckan/commit/7d2d5101da95958a342fc3f91c0eadb312af8f9b
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    M ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Clean db after each tests


  Commit: e1135f9b77991899db51309a9153162589525b00
      https://github.com/ckan/ckan/commit/e1135f9b77991899db51309a9153162589525b00
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    M ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Revert "Clean db after each tests"

This reverts commit 7d2d5101da95958a342fc3f91c0eadb312af8f9b.


  Commit: 3a16d791b97b496cec098856a7d4eefe5e105b11
      https://github.com/ckan/ckan/commit/3a16d791b97b496cec098856a7d4eefe5e105b11
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    R ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Remove test module again


  Commit: 9436916a4acacd46e45aa4c0d1a71678bf9543dc
      https://github.com/ckan/ckan/commit/9436916a4acacd46e45aa4c0d1a71678bf9543dc
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    A ckan/tests/migration/test_revision_legacy_code.py

  Log Message:
  -----------
  Revert "Remove test module again"

This reverts commit 3a16d791b97b496cec098856a7d4eefe5e105b11.


  Commit: 5f8bacf7cab1f563f629f28a099385ad5075ecaa
      https://github.com/ckan/ckan/commit/5f8bacf7cab1f563f629f28a099385ad5075ecaa
  Author: amercader <amercadero at gmail.com>
  Date:   2019-10-21 (Mon, 21 Oct 2019)

  Changed paths:
    R ckan/tests/migration/test_migrate_package_activity.py

  Log Message:
  -----------
  Remove the other suspect


  Commit: 4ec0ae36377f2e65ca320bd2fc151fbfdf701424
      https://github.com/ckan/ckan/commit/4ec0ae36377f2e65ca320bd2fc151fbfdf701424
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M .circleci/config.yml
    R ckan/lib/activity_streams_session_extension.py
    M ckan/model/meta.py
    M ckan/tests/legacy/test_coding_standards.py
    R ckan/tests/migration/test_revision_legacy_code.py
    M ckan/tests/test_coding_standards.py
    A test_revision_legacy_code.py

  Log Message:
  -----------
  test_revision_legacy_code is tested outside of the main run

Also, activity_streams_session_extension is removed as no longer used


  Commit: 5cbd6f7ba3cdcd547593c8e0653812d8eaa8006e
      https://github.com/ckan/ckan/commit/5cbd6f7ba3cdcd547593c8e0653812d8eaa8006e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/model/activity.py
    M ckan/model/package.py
    R ckan/model/revision.py
    M ckan/tests/lib/dictization/test_model_dictize.py

  Log Message:
  -----------
  Rip out some more revision_id stuff. Needs a migration script.


Compare: https://github.com/ckan/ckan/compare/9ce981764ace...5cbd6f7ba3cd



More information about the ckan-changes mailing list