[ckan-changes] [ckan/ckan] dbbf80: Fix sessions test with correct templates path.
GitHub
noreply at github.com
Fri Jun 10 09:43:01 UTC 2016
Branch: refs/heads/poc-flask-views.common-url_for-take-2
Home: https://github.com/ckan/ckan
Commit: dbbf803d31858a22f0240eb90290f4b8fb024fd5
https://github.com/ckan/ckan/commit/dbbf803d31858a22f0240eb90290f4b8fb024fd5
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-07 (Tue, 07 Jun 2016)
Changed paths:
M ckan/tests/config/test_sessions.py
Log Message:
-----------
Fix sessions test with correct templates path.
Point Blueprint templates path to core templates directory.
Commit: 1f44524b438612589a5984724f598a7a2ad5bba0
https://github.com/ckan/ckan/commit/1f44524b438612589a5984724f598a7a2ad5bba0
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-07 (Tue, 07 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/tests/config/test_sessions.py
Log Message:
-----------
Fix path for Babel i18n and templates directories.
Flask app creation moved into deeper directory heirarchy, but changing
location of root relative to the flask_app files was missed.
Commit: 7387de097b3136d3066e5c027d3bdf7109b53567
https://github.com/ckan/ckan/commit/7387de097b3136d3066e5c027d3bdf7109b53567
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
Log Message:
-----------
Only return session if it's available on environ
Commit: 5692ecc48631081760e1fdc695f95783eb8c862f
https://github.com/ckan/ckan/commit/5692ecc48631081760e1fdc695f95783eb8c862f
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/tests/config/test_middleware.py
M ckan/views/api.py
Log Message:
-----------
Move assignment of user objects to before_request.
In Pylons we use a BaseController superclass to run common code across
all requests. In Flask, we can use handlers such as `before_request` to
achieve the same thing. In this case, we're identifying the user and
adding appropriate user objects to g.
Commit: 13840e61efb90eeda8589c5360dfc6f4e46f03c3
https://github.com/ckan/ckan/commit/13840e61efb90eeda8589c5360dfc6f4e46f03c3
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/views/api.py
Log Message:
-----------
Remove unused imports
Commit: 45371daa933e2991eb678e3d132a153b594ef83a
https://github.com/ckan/ckan/commit/45371daa933e2991eb678e3d132a153b594ef83a
Author: amercader <amercadero at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/common.py
M ckan/config/middleware/__init__.py
Log Message:
-----------
Add extra stuff to the WSGI environ sent during invites
Also set SERVER_NAME and SERVER_PORT for consistency, and set up a
vendor CKAN key to be able to identify the environ as one of the ones
used for sending the WSGI invites. This is needed so the `is_flask`
function correctly returns the relevant value based on the request
environ.
Commit: b96d32da85033cf281b793191427059facf94c24
https://github.com/ckan/ckan/commit/b96d32da85033cf281b793191427059facf94c24
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
Log Message:
-----------
Only return session if it's available on environ
Commit: ea7331e8921ff3ffd3ab362637e425578ca16123
https://github.com/ckan/ckan/commit/ea7331e8921ff3ffd3ab362637e425578ca16123
Author: amercader <amercadero at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/lib/helpers.py
Log Message:
-----------
PEP8 fixes
Commit: 8f0db2637c478f1bee705847d7bfc1baac6ad7e0
https://github.com/ckan/ckan/commit/8f0db2637c478f1bee705847d7bfc1baac6ad7e0
Author: amercader <amercadero at gmail.com>
Date: 2016-06-08 (Wed, 08 Jun 2016)
Changed paths:
M ckan/common.py
Log Message:
-----------
Provide support for request.params even on a Flask request
It is used all over the place and they both are dict-like objects
Commit: 42fbc8297b2e4c1488cfb8ffcc4116862769d891
https://github.com/ckan/ckan/commit/42fbc8297b2e4c1488cfb8ffcc4116862769d891
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/views/__init__.py
Log Message:
-----------
Move identify_user function to views module.
In preparation for reuse by pylons.
Commit: a644788b91448d0ed2a519c5e9e3144c14dbed8a
https://github.com/ckan/ckan/commit/a644788b91448d0ed2a519c5e9e3144c14dbed8a
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/tests/config/test_middleware.py
M ckan/views/__init__.py
Log Message:
-----------
Equivalent Pylons tests to identify user in request
Commit: 576508a39deedeb279de83f936d40fce0b579ed5
https://github.com/ckan/ckan/commit/576508a39deedeb279de83f936d40fce0b579ed5
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/tests/config/test_sessions.py
M ckan/views/__init__.py
M ckan/views/api.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_iblueprint/tests/test_routes.py
Log Message:
-----------
Add UTF-8 encoding to new files, and PEP8
Commit: 304e47dbbae1549d3d55ad18a6f9dd795e168e99
https://github.com/ckan/ckan/commit/304e47dbbae1549d3d55ad18a6f9dd795e168e99
Author: Brook Elgie <specialbrew at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/lib/base.py
M ckan/views/__init__.py
Log Message:
-----------
Pylons uses indentify_user from flask views module
Commit: bd6372b54282835b9a8b5489ea085f99a181ad15
https://github.com/ckan/ckan/commit/bd6372b54282835b9a8b5489ea085f99a181ad15
Author: amercader <amercadero at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/config/middleware/flask_app.py
M ckan/lib/base.py
M ckan/tests/config/test_middleware.py
M ckan/tests/config/test_sessions.py
M ckan/views/__init__.py
M ckan/views/api.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_iblueprint/tests/test_routes.py
Log Message:
-----------
Merge branch 'poc-flask-views' into poc-flask-views.common-url_for-take-2
Conflicts:
ckan/config/middleware/flask_app.py
Commit: 8bf303e83bbaa9ff3404ec26ac4a7200c0a18c61
https://github.com/ckan/ckan/commit/8bf303e83bbaa9ff3404ec26ac4a7200c0a18c61
Author: amercader <amercadero at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/tests/helpers.py
Log Message:
-----------
Revert "Allow to modify the configuration of the test app"
This reverts commit 5d70f308fce34d53326b1bc2ca2aa618b2d72747.
Compare: https://github.com/ckan/ckan/compare/c9cef38ade36...8bf303e83bba
More information about the ckan-changes
mailing list