[ckan-changes] [ckan/ckan] 7bff7a: Adds a code of conduct

GitHub noreply at github.com
Wed Feb 24 16:22:24 UTC 2016


  Branch: refs/heads/2845-wsgi-dispatcher
  Home:   https://github.com/ckan/ckan
  Commit: 7bff7a22fd357a291eaff85431c134d78abc4857
      https://github.com/ckan/ckan/commit/7bff7a22fd357a291eaff85431c134d78abc4857
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-01-19 (Tue, 19 Jan 2016)

  Changed paths:
    A CONDUCT.rst

  Log Message:
  -----------
  Adds a code of conduct


  Commit: 89f78cc25787a77e172147ce2f4a31869c4cf459
      https://github.com/ckan/ckan/commit/89f78cc25787a77e172147ce2f4a31869c4cf459
  Author: Laurent Goderre <laurent.goderre at gmail.com>
  Date:   2016-01-25 (Mon, 25 Jan 2016)

  Changed paths:
    A ckan/public/base/images/ckan-logo-white.svg
    A ckan/public/base/images/ckan-logo.svg

  Log Message:
  -----------
  Added the SVG version of the logo


  Commit: 496cd8db96a41c40dcf8aabb5afd462f1cb89bf1
      https://github.com/ckan/ckan/commit/496cd8db96a41c40dcf8aabb5afd462f1cb89bf1
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M CONDUCT.rst

  Log Message:
  -----------
  Change the email address for complaints


  Commit: 7fafb2e441babe7c6831bc0693eae289e161941a
      https://github.com/ckan/ckan/commit/7fafb2e441babe7c6831bc0693eae289e161941a
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    M ckan/model/resource.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/lib/dictization/test_model_dictize.py

  Log Message:
  -----------
  Removes webstore_* from resource schema.

These fields were added around CKAN 1.7, and have been unused since CKAN
1.8. This PR will remove them.


  Commit: 3ac74d7b98d47bb75db1d9b4e36adc9c33a846fb
      https://github.com/ckan/ckan/commit/3ac74d7b98d47bb75db1d9b4e36adc9c33a846fb
  Author: amercader <amercadero at gmail.com>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    A CONDUCT.rst

  Log Message:
  -----------
  Merge branch 'code-of-conduct'


  Commit: 05c8e9c90296be8557fee4e24b4acc703dc2313f
      https://github.com/ckan/ckan/commit/05c8e9c90296be8557fee4e24b4acc703dc2313f
  Author: amercader <amercadero at gmail.com>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

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

  Log Message:
  -----------
  [#2848] Avoid package_search exception when using use_default_schema

The parameter needs to be removed before sending the query to Solr

Also improved the boolean checking and fixed the docs.


  Commit: b479848579e114fbfe2f81249524d0e857e3efce
      https://github.com/ckan/ckan/commit/b479848579e114fbfe2f81249524d0e857e3efce
  Author: Michail Alexakis <alexakis at imis.athena-innovation.gr>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    M ckanext/datastore/helpers.py
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Encode EXPLAIN SQL before sending to datastore


  Commit: 22bf30ff6c45a43f1e71ee247b427874e5ab9f52
      https://github.com/ckan/ckan/commit/22bf30ff6c45a43f1e71ee247b427874e5ab9f52
  Author: Marc Fortier <Marc.Fortier at statcan.gc.ca>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  fix ckan.root_path

The language selector is passing a babel Locale object but
_add_i18n_to_url expects a str.


  Commit: 41c6f6cfbd6bc01c9fc19d6b7d40f2425b008ba2
      https://github.com/ckan/ckan/commit/41c6f6cfbd6bc01c9fc19d6b7d40f2425b008ba2
  Author: Michail Alexakis <alexakis at imis.athena-innovation.gr>
  Date:   2016-01-27 (Wed, 27 Jan 2016)

  Changed paths:
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Provide unicode CREATE TABLE statements (datastore tests)


  Commit: e24f7e58fcc0d7b45dbe26f521b3f7e6ed0f604b
      https://github.com/ckan/ckan/commit/e24f7e58fcc0d7b45dbe26f521b3f7e6ed0f604b
  Author: Michail Alexakis <alexakis at imis.athena-innovation.gr>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Provide unicode queries for testing `get_table_names_from_sql` (datastore tests)


  Commit: a63de1b9d97c86fe80be30c43fcaf0fa5167e465
      https://github.com/ckan/ckan/commit/a63de1b9d97c86fe80be30c43fcaf0fa5167e465
  Author: Ian Ward <ian at excess.org>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M ckan/lib/helpers.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  Merge pull request #2851 from marcfor/ckan-ckan

fix ckan.root_path


  Commit: 5e86b3e9057482d06f604284fe7f4eb8df3b3934
      https://github.com/ckan/ckan/commit/5e86b3e9057482d06f604284fe7f4eb8df3b3934
  Author: Ian Ward <ian at excess.org>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    A ckan/public/base/images/ckan-logo-white.svg
    A ckan/public/base/images/ckan-logo.svg

  Log Message:
  -----------
  Merge pull request #2840 from LaurentGoderre/logo-svg

Added the SVG version of the logo


  Commit: 56b622a7fedd38ba0fcea5431c29a0194c7b9cf8
      https://github.com/ckan/ckan/commit/56b622a7fedd38ba0fcea5431c29a0194c7b9cf8
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  Makes the group controller pass type when known.

In a couple of places, the group controller knows what type the group
is, but doesn't pass it to the auth/action functions.

Also removes an unused method.


  Commit: 502f841e4edd4e2ca8cc2b3a44dcad3f67dd10ce
      https://github.com/ckan/ckan/commit/502f841e4edd4e2ca8cc2b3a44dcad3f67dd10ce
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

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

  Log Message:
  -----------
  Fix exception in log.error a few lines later than this change. https://github.com/ckan/ckan/commit/34e1e3f05f52b9ec5b2c2ff79af9822e6d01dd0a#commitcomment-15781370


  Commit: a3325855ae82e42aadf841ec718217e6a872a322
      https://github.com/ckan/ckan/commit/a3325855ae82e42aadf841ec718217e6a872a322
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-05 (Fri, 05 Feb 2016)

  Changed paths:
    M ckan/config/resource_formats.json

  Log Message:
  -----------
  Add format - Web Map Tile Service eg https://data.gov.uk/dataset/bathymetry-web-map-tile-service


  Commit: 628b13a8f854118749de31af9ce09b703ace12d1
      https://github.com/ckan/ckan/commit/628b13a8f854118749de31af9ce09b703ace12d1
  Author: Laurent Goderre <laurent.goderre at gmail.com>
  Date:   2016-02-05 (Fri, 05 Feb 2016)

  Changed paths:
    M ckan/lib/formatters.py

  Log Message:
  -----------
  Changed the date formatter to display the timezone abbreviation instead of full name


  Commit: cb05019dab4599de715cb84bb900992d3975cd7c
      https://github.com/ckan/ckan/commit/cb05019dab4599de715cb84bb900992d3975cd7c
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M ckanext/datastore/helpers.py
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Merge branch '2841-datastore-explain-sql' of https://github.com/PublicaMundi/ckan into PublicaMundi-2841-datastore-explain-sql


  Commit: dda8e7b9d19876688e974eb971d6293f4b1da8a1
      https://github.com/ckan/ckan/commit/dda8e7b9d19876688e974eb971d6293f4b1da8a1
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M ckanext/datastore/helpers.py
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Merge branch 'PublicaMundi-2841-datastore-explain-sql'


  Commit: 6d331c86d97bf15a704ff081176660f5a912d893
      https://github.com/ckan/ckan/commit/6d331c86d97bf15a704ff081176660f5a912d893
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/logic/schema.py
    M ckan/model/resource.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/lib/dictization/test_model_dictize.py

  Log Message:
  -----------
  Merge branch 'remove-webstore-fields'


  Commit: c749d54418bf58421cc39c0728a807927bc0fbe4
      https://github.com/ckan/ckan/commit/c749d54418bf58421cc39c0728a807927bc0fbe4
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

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

  Log Message:
  -----------
  Merge branch 'solr-error-msg-fix'


  Commit: a5094c2b9aef6ac52a3a3c78c41508eafb684db0
      https://github.com/ckan/ckan/commit/a5094c2b9aef6ac52a3a3c78c41508eafb684db0
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M ckan/lib/formatters.py

  Log Message:
  -----------
  Merge branch 'tz-abbr' of https://github.com/LaurentGoderre/ckan into LaurentGoderre-tz-abbr


  Commit: 3c6f8285ed644904b9da938e34700d71ae5f5ccd
      https://github.com/ckan/ckan/commit/3c6f8285ed644904b9da938e34700d71ae5f5ccd
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M ckan/lib/formatters.py

  Log Message:
  -----------
  Merge branch 'LaurentGoderre-tz-abbr'


  Commit: 4486d7649a76059e9ac3d79703b40faf58e238e7
      https://github.com/ckan/ckan/commit/4486d7649a76059e9ac3d79703b40faf58e238e7
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/controllers/package.py
    M ckan/lib/search/query.py
    M ckan/templates/snippets/search_form.html
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Deal with a bad "sort" param better - dont log as error and disturb admins.


  Commit: 3d3ccfb565fa0402a17af02b920f14da2bd5a2e7
      https://github.com/ckan/ckan/commit/3d3ccfb565fa0402a17af02b920f14da2bd5a2e7
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M bin/travis-run-tests
    M ckan/lib/search/query.py

  Log Message:
  -----------
  Logging to help debug travis


  Commit: e7676c113f6ff1c25482059a8c9a251cdc79b22e
      https://github.com/ckan/ckan/commit/e7676c113f6ff1c25482059a8c9a251cdc79b22e
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M bin/travis-run-tests
    M ckan/lib/search/query.py

  Log Message:
  -----------
  Alternative SOLR error message seen on Travis. Both are solr-jetty 1.4.1, so not sure why we get different ones.


  Commit: 42637b0cbcb0f9668126852c987aa02430736a3d
      https://github.com/ckan/ckan/commit/42637b0cbcb0f9668126852c987aa02430736a3d
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/lib/search/query.py

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


  Commit: b39e0949f072f3f59226a2bd8266d1d6b6c078a0
      https://github.com/ckan/ckan/commit/b39e0949f072f3f59226a2bd8266d1d6b6c078a0
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M bin/travis-run-tests
    M ckan/lib/search/query.py

  Log Message:
  -----------
  Logging to help debug travis


  Commit: c01461bfc4e9983816bdc3ae03f091d2b1123c39
      https://github.com/ckan/ckan/commit/c01461bfc4e9983816bdc3ae03f091d2b1123c39
  Author: Laurent Goderre <laurent.goderre at gmail.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Expose the display_timezone through a helper


  Commit: 30f5b46530f424d701a9be43cf12dc56f766d607
      https://github.com/ckan/ckan/commit/30f5b46530f424d701a9be43cf12dc56f766d607
  Author: Laurent Goderre <laurent.goderre at gmail.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/exceptions.py
    M ckan/lib/helpers.py

  Log Message:
  -----------
  Validates the display_timezone on startup


  Commit: 9e907dccfb84c19872c40077ab8833c1cf53428f
      https://github.com/ckan/ckan/commit/9e907dccfb84c19872c40077ab8833c1cf53428f
  Author: Laurent Goderre <laurent.goderre at gmail.com>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/tests/config/test_environment.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  Added unit test for the get_display_timezone helper


  Commit: ec2ecfb6df2091440c52cf3fed026fa8a8d3356d
      https://github.com/ckan/ckan/commit/ec2ecfb6df2091440c52cf3fed026fa8a8d3356d
  Author: Ian Ward <ian at excess.org>
  Date:   2016-02-11 (Thu, 11 Feb 2016)

  Changed paths:
    M ckan/config/environment.py
    M ckan/exceptions.py
    M ckan/lib/helpers.py
    M ckan/tests/config/test_environment.py
    M ckan/tests/lib/test_helpers.py

  Log Message:
  -----------
  Merge pull request #2868 from LaurentGoderre/display-timezone-helper

Added a display_timezone helper


  Commit: 77127bcd3d5462263f9b6f0e611cfdea5c8c09d8
      https://github.com/ckan/ckan/commit/77127bcd3d5462263f9b6f0e611cfdea5c8c09d8
  Author: David Read <david.read at hackneyworkshop.com>
  Date:   2016-02-12 (Fri, 12 Feb 2016)

  Changed paths:
    M bin/travis-run-tests
    M ckan/lib/search/query.py

  Log Message:
  -----------
  Deal with SOLR error coming back as HTML on travis.


  Commit: e3825c86e9117a5adbc47b60882a9eddfd6e3d2d
      https://github.com/ckan/ckan/commit/e3825c86e9117a5adbc47b60882a9eddfd6e3d2d
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M ckan/config/resource_formats.json

  Log Message:
  -----------
  Merge branch 'add-wmts-format'


  Commit: 6264bd489c86e8f75228e8db10213552d901fbc1
      https://github.com/ckan/ckan/commit/6264bd489c86e8f75228e8db10213552d901fbc1
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

  Changed paths:
    M ckan/controllers/group.py

  Log Message:
  -----------
  Merge branch '2852-ensure-grouptype-used'


  Commit: 70790836026c7c9f4d40d91966291da6754a7210
      https://github.com/ckan/ckan/commit/70790836026c7c9f4d40d91966291da6754a7210
  Author: Ian Ward <ian at excess.org>
  Date:   2016-02-17 (Wed, 17 Feb 2016)

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

  Log Message:
  -----------
  Merge pull request #2848 from ckan/2848-fix-default-schema-on-package_search

Param use_default_schema does not work on package_search


  Commit: 99a1c2f6a5c953f969c4d9e97399a875857d9e20
      https://github.com/ckan/ckan/commit/99a1c2f6a5c953f969c4d9e97399a875857d9e20
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M ckan/lib/search/query.py
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Add yet another potential error message.

Because we support so many 'versions' of Solr, we're encountering
different error messages as the only way of determining what went wrong.
In some cases the response is HTML :(

To fix this we explicitly check in the test if it succeeded (we get a
200 when we get an error response) and inform the dev where to go to add
their newly discovered error message.


  Commit: 592b65f2538ae88fbc3b0c3155cf9fcd77a0458c
      https://github.com/ckan/ckan/commit/592b65f2538ae88fbc3b0c3155cf9fcd77a0458c
  Author: Ross Jones <ross at mailbolt.com>
  Date:   2016-02-19 (Fri, 19 Feb 2016)

  Changed paths:
    M bin/travis-run-tests
    M ckan/controllers/package.py
    M ckan/lib/search/query.py
    M ckan/templates/snippets/search_form.html
    M ckan/tests/controllers/test_package.py

  Log Message:
  -----------
  Merge pull request #2875 from ckan/solr-errors

Deal with a bad "sort" param better


  Commit: bf064fd8521c3ffa147be73c373340f03c66d200
      https://github.com/ckan/ckan/commit/bf064fd8521c3ffa147be73c373340f03c66d200
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-24 (Wed, 24 Feb 2016)

  Changed paths:
    A CONDUCT.rst
    M bin/travis-run-tests
    M ckan/config/environment.py
    M ckan/config/resource_formats.json
    M ckan/controllers/group.py
    M ckan/controllers/package.py
    M ckan/exceptions.py
    M ckan/lib/formatters.py
    M ckan/lib/helpers.py
    M ckan/lib/search/query.py
    M ckan/logic/action/create.py
    M ckan/logic/action/get.py
    M ckan/logic/schema.py
    M ckan/model/resource.py
    A ckan/public/base/images/ckan-logo-white.svg
    A ckan/public/base/images/ckan-logo.svg
    M ckan/templates/snippets/search_form.html
    M ckan/tests/config/test_environment.py
    M ckan/tests/controllers/test_package.py
    M ckan/tests/legacy/lib/test_dictization.py
    M ckan/tests/lib/dictization/test_model_dictize.py
    M ckan/tests/lib/test_helpers.py
    M ckanext/datastore/helpers.py
    M ckanext/datastore/tests/test_helpers.py

  Log Message:
  -----------
  Merge branch 'master' into 2845-wsgi-dispatcher


  Commit: db7970d7189b2bbd64d5bc08c9421322eb5733a4
      https://github.com/ckan/ckan/commit/db7970d7189b2bbd64d5bc08c9421322eb5733a4
  Author: amercader <amercadero at gmail.com>
  Date:   2016-02-24 (Wed, 24 Feb 2016)

  Changed paths:
    M ckan/config/middleware.py

  Log Message:
  -----------
  Fix app lookup

app_name should be the name (ie `pylons_app`) not the actual app

This issue arised because currently the functional tests are broken and
don't call the `can_handle_url` method of the partyline controller. This
means that answers was an empty list and the default option was being
used (crashing because the app lookup failed).

The issue with the functional tests is that when running the tests with
`--with-pylons` option, Pylons will create a WSGI app:

venv/lib/python2.7/site-packages/pylons/test.py:73

Aparently this is to load the configuration. The WSGI Party invites are
sent during the initialization of this first app.

When running a functional test and calling `app = self._get_test_app()`
a new app is created, and invites are sent again. But at this point the
`partyline_connected` attribute has already been set up on the Pylons
globals object, so the URL handler won't be registered.
   if hasattr(g, 'partyline_connected'):
      base.abort(404)

This means that when running the functional tests, only the Flask url
handler is currently called.


Compare: https://github.com/ckan/ckan/compare/33d4204bf26b...db7970d7189b


More information about the ckan-changes mailing list