[ckan-changes] [ckan/ckan] dbbf80: Fix sessions test with correct templates path.
GitHub
noreply at github.com
Thu Jun 9 15:31:19 UTC 2016
Branch: refs/heads/poc-flask-views.common-url_for-take-2-tests
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: 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: a5600e5f5af6061dc363db44d4eff2602b01d7ad
https://github.com/ckan/ckan/commit/a5600e5f5af6061dc363db44d4eff2602b01d7ad
Author: amercader <amercadero at gmail.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M ckan/tests/config/test_sessions.py
M ckan/views/api.py
M ckanext/example_flask_iblueprint/plugin.py
M ckanext/example_flask_iblueprint/tests/test_routes.py
M ckanext/example_iauthfunctions/tests/test_example_iauthfunctions.py
M ckanext/example_igroupform/tests/test_controllers.py
M ckanext/example_itranslation/tests/test_plugin.py
Log Message:
-----------
Fix coding standards issues
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.
Commit: f83af0869bf5a700be7e3898e57ab39bc6c1f986
https://github.com/ckan/ckan/commit/f83af0869bf5a700be7e3898e57ab39bc6c1f986
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
Log Message:
-----------
Merge branch 'poc-flask-views.common-url_for-take-2' into poc-flask-views.common-url_for-take-2-tests
Compare: https://github.com/ckan/ckan/compare/0d0763007a7e...f83af0869bf5
More information about the ckan-changes
mailing list