Commit [4a5d20]  Maximize  Restore  History

Better bearer token https check; Unauthorized instead of Forbidden. Details:

* widen the https check logic, in case app is running behind a reverse proxy
* change various auth responses from 403 -> 401 to reflect unauth'd better
* stricter status check in test helper (and update a lot of tests to match)

Dave Brondsema Dave Brondsema 2018-01-26

changed Allura/allura/controllers/rest.py
changed Allura/allura/tests/functional/test_admin.py
changed Allura/allura/tests/functional/test_auth.py
changed Allura/allura/tests/functional/test_home.py
changed Allura/allura/tests/functional/test_rest.py
changed Allura/allura/tests/test_webhooks.py
changed AlluraTest/alluratest/controller.py
changed ForgeBlog/forgeblog/tests/functional/test_rest.py
changed ForgeBlog/forgeblog/tests/functional/test_root.py
changed ForgeDiscussion/forgediscussion/tests/functional/test_import.py
changed ForgeGit/forgegit/tests/functional/test_controllers.py
changed ForgeWiki/forgewiki/tests/functional/test_rest.py
Allura/allura/controllers/rest.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/functional/test_admin.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/functional/test_auth.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/functional/test_home.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/functional/test_rest.py Diff Switch to side-by-side view
Loading...
Allura/allura/tests/test_webhooks.py Diff Switch to side-by-side view
Loading...
AlluraTest/alluratest/controller.py Diff Switch to side-by-side view
Loading...
ForgeBlog/forgeblog/tests/functional/test_rest.py Diff Switch to side-by-side view
Loading...
ForgeBlog/forgeblog/tests/functional/test_root.py Diff Switch to side-by-side view
Loading...
ForgeDiscussion/forgediscussion/tests/functional/test_import.py Diff Switch to side-by-side view
Loading...
ForgeGit/forgegit/tests/functional/test_controllers.py Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/tests/functional/test_rest.py Diff Switch to side-by-side view
Loading...