[ckan-changes] [ckan/ckan] cc943b: [#2845] Add the name of the app being used to the ...
GitHub
noreply at github.com
Thu Mar 10 13:44:20 UTC 2016
Branch: refs/heads/2845-wsgi-dispatcher
Home: https://github.com/ckan/ckan
Commit: cc943b914136f1d5cfc1bc9ca09d94b74d49ddcf
https://github.com/ckan/ckan/commit/cc943b914136f1d5cfc1bc9ca09d94b74d49ddcf
Author: amercader <amercadero at gmail.com>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M ckan/config/middleware.py
Log Message:
-----------
[#2845] Add the name of the app being used to the WSGI environ
Commit: 11faea56f052540b4e988e52c8391a59d6cc010f
https://github.com/ckan/ckan/commit/11faea56f052540b4e988e52c8391a59d6cc010f
Author: amercader <amercadero at gmail.com>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M ckan/controllers/partyline.py
Log Message:
-----------
[#2845] Handle case when no route is matched on Pylons
It's not happening now because of the catch-all template route, but
we should be ready for it
Commit: 7dee663aedb79b075ea5e5ea3bc3b55e13a32c37
https://github.com/ckan/ckan/commit/7dee663aedb79b075ea5e5ea3bc3b55e13a32c37
Author: amercader <amercadero at gmail.com>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M ckan/config/middleware.py
M ckan/controllers/partyline.py
Log Message:
-----------
[#2845] Don't use the global g object to store party state
Until now we stored `partyline_connected` in the g object to avoid
re-registering. But when more than one application was created (ie
during tests) this meant that the second application didn't get the
partyline handler registered (as `g.partyline_connected` was already
True). Just store it in a per-app (or rather per-controller instance)
basis.
We should probably fix our tests though to use only one app.
Also renamed some vars for consistenct across apps
Commit: 1ff29e60b564d5b1760a34edbf765958f27a7729
https://github.com/ckan/ckan/commit/1ff29e60b564d5b1760a34edbf765958f27a7729
Author: amercader <amercadero at gmail.com>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M ckan/tests/config/test_middleware.py
M setup.py
Log Message:
-----------
[#2845] Fist bunch of tests
Compare: https://github.com/ckan/ckan/compare/e22d7068abfe...1ff29e60b564
More information about the ckan-changes
mailing list