[ckan-changes] [ckan/ckan] 22bfd6: Translate search facets only if they are present

GitHub noreply at github.com
Mon Jul 23 15:22:59 UTC 2018


  Branch: refs/heads/dev-v2.8
  Home:   https://github.com/ckan/ckan
  Commit: 22bfd66c5686fcd7fabb22c78d8f147c070c15e4
      https://github.com/ckan/ckan/commit/22bfd66c5686fcd7fabb22c78d8f147c070c15e4
  Author: Sergey Motornyuk <tonnydexter at gmail.com>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M ckanext/multilingual/plugin.py

  Log Message:
  -----------
  Translate search facets only if they are present


  Commit: 9c4e71b03f355d3b59bdc47d35e976fd6418984c
      https://github.com/ckan/ckan/commit/9c4e71b03f355d3b59bdc47d35e976fd6418984c
  Author: Ross Jones <ross at mailbolt.com>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M ckan/tests/controllers/test_user.py
    M ckan/views/dashboard.py

  Log Message:
  -----------
  Don't explode when a non-logged in user visits /dashboard

When a non-logged-in user visits /dashboard, errors happen.  This PR
stops those errors happening by ensuring at the start of the request
to the dashboard view that there is a logged in user.

This fixes #4305


  Commit: f5d90bdc7e1a39013a90a87d72f6e4517a23f175
      https://github.com/ckan/ckan/commit/f5d90bdc7e1a39013a90a87d72f6e4517a23f175
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M ckan/config/middleware/flask_app.py
    M ckan/views/__init__.py

  Log Message:
  -----------
  Add global properties `controller` and `action`

There are a bunch of extensions that relies on this props. This PR
is attempting to add them inside `before_each_request` hook. If
url.endpoint contains dot, than part before dot will be considered
as controller and part after the dot - as action. otherwise(routes
without dot, like test /hello route), view name is used for both,
controller and action name


  Commit: 360ca273f0dedddda59229e7cd147192277a5255
      https://github.com/ckan/ckan/commit/360ca273f0dedddda59229e7cd147192277a5255
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M CHANGELOG.rst
    M ckan/views/__init__.py

  Log Message:
  -----------
  update changelog. follow coding standards


  Commit: f120a5f11b3d4fb35bace7252a019b8e5fa8f325
      https://github.com/ckan/ckan/commit/f120a5f11b3d4fb35bace7252a019b8e5fa8f325
  Author: Sergey Motornyuk <sergey.motornyuk at linkdigital.com.au>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M CHANGELOG.rst
    M ckan/views/__init__.py

  Log Message:
  -----------
  ... i hate coding standards


  Commit: 8760da83827c149644b754c70053ec2b7a86303c
      https://github.com/ckan/ckan/commit/8760da83827c149644b754c70053ec2b7a86303c
  Author: Sergey <tonnydexter at gmail.com>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M CHANGELOG.rst

  Log Message:
  -----------
  Update CHANGELOG.rst


  Commit: b65d0ea3e288471aa35f7970095cb5d5d109da68
      https://github.com/ckan/ckan/commit/b65d0ea3e288471aa35f7970095cb5d5d109da68
  Author: Your Name <you at example.com>
  Date:   2018-07-23 (Mon, 23 Jul 2018)

  Changed paths:
    M CHANGELOG.rst
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  add toolkit.get_endpoint


Compare: https://github.com/ckan/ckan/compare/8c54e9f15337...b65d0ea3e288
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the ckan-changes mailing list