)]}'
{"openstack_auth/tests/run_tests.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"a98d23a3597563c935747c262bb52f255dedca9c","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"import django"},{"line_number":23,"context_line":"if django.VERSION \u003c (1, 8, 0):"},{"line_number":24,"context_line":"    from django.test import simple as test_simple"},{"line_number":25,"context_line":"else:"},{"line_number":26,"context_line":"    from django.test import runner"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"9a41bdd9_e13e8bd9","line":24,"updated":"2015-07-13 21:50:39.000000000","message":"If might simpler if we change this to: \n\n\n\nif django.VERSION \u003c (1, 8, 0):\t23\n    from django.test.simple import DjangoTestSuiteRunner as test_runner\nelse:\n    from django.test.runner import DiscoverRunner as test_runner\n\nAnd the code below line41, could be jusT:\n\n\nfailures \u003d test_runnner().run_tests(test_args)","commit_id":"1b52aa014559af9d07c78ac4515cc8c22caa8b89"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"308ab3667e7fa331f259bf3c0b8958aac3e12e42","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"import django"},{"line_number":23,"context_line":"if django.VERSION \u003c (1, 8, 0):"},{"line_number":24,"context_line":"    from django.test import simple as test_simple"},{"line_number":25,"context_line":"else:"},{"line_number":26,"context_line":"    from django.test import runner"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"9a41bdd9_6ec80c23","line":24,"in_reply_to":"9a41bdd9_e13e8bd9","updated":"2015-07-14 11:44:10.000000000","message":"yeah, good suggestion, will do that.","commit_id":"1b52aa014559af9d07c78ac4515cc8c22caa8b89"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"a98d23a3597563c935747c262bb52f255dedca9c","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        \"..\","},{"line_number":39,"context_line":"    )"},{"line_number":40,"context_line":"    sys.path.insert(0, parent)"},{"line_number":41,"context_line":"    if django.VERSION \u003c (1, 8, 0):"},{"line_number":42,"context_line":"        failures \u003d test_simple.DjangoTestSuiteRunner().run_tests(test_args)"},{"line_number":43,"context_line":"    else:"},{"line_number":44,"context_line":"        failures \u003d runner.DiscoverRunner().run_tests(test_args)"}],"source_content_type":"text/x-python","patch_set":10,"id":"9a41bdd9_211c7376","line":41,"updated":"2015-07-13 21:50:39.000000000","message":"see comment above","commit_id":"1b52aa014559af9d07c78ac4515cc8c22caa8b89"}],"openstack_auth/tests/settings.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"bb2a60d97bf6e06ee526c17f46e27b64abab8e8c","unresolved":false,"context_lines":[{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"AUTHENTICATION_BACKENDS \u003d [\u0027openstack_auth.backend.KeystoneBackend\u0027]"},{"line_number":35,"context_line":"AUTH_USER_MODEL \u003d \u0027openstack_auth.User\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"OPENSTACK_KEYSTONE_URL \u003d \"http://localhost:5000/v3\""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_108d5e30","line":35,"updated":"2015-07-09 19:28:06.000000000","message":"why not just \u0027openstack_auth.user.User\u0027?","commit_id":"fc4b4447d034dd19f8fd7c66b55d824038d80016"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"ca233110c24db413b5f625954d64bd8bdabdd108","unresolved":false,"context_lines":[{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"AUTHENTICATION_BACKENDS \u003d [\u0027openstack_auth.backend.KeystoneBackend\u0027]"},{"line_number":35,"context_line":"AUTH_USER_MODEL \u003d \u0027openstack_auth.User\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"OPENSTACK_KEYSTONE_URL \u003d \"http://localhost:5000/v3\""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba3cc151_a0aa0fd1","line":35,"in_reply_to":"ba3cc151_108d5e30","updated":"2015-07-10 09:11:07.000000000","message":"that raises:\nImproperlyConfigured: AUTH_USER_MODEL must be of the form \u0027app_label.model_name\u0027","commit_id":"fc4b4447d034dd19f8fd7c66b55d824038d80016"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"a98d23a3597563c935747c262bb52f255dedca9c","unresolved":false,"context_lines":[{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"AUTHENTICATION_BACKENDS \u003d [\u0027openstack_auth.backend.KeystoneBackend\u0027]"},{"line_number":35,"context_line":"AUTH_USER_MODEL \u003d \u0027openstack_auth.User\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"OPENSTACK_KEYSTONE_URL \u003d \"http://localhost:5000/v3\""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"9a41bdd9_810d3f40","line":35,"updated":"2015-07-13 21:50:39.000000000","message":"why not just use \u0027openstack_auth.user.User\u0027 here?\n\nthis is just a test anyway, don\u0027t need to look pretty","commit_id":"1b52aa014559af9d07c78ac4515cc8c22caa8b89"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"308ab3667e7fa331f259bf3c0b8958aac3e12e42","unresolved":false,"context_lines":[{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"AUTHENTICATION_BACKENDS \u003d [\u0027openstack_auth.backend.KeystoneBackend\u0027]"},{"line_number":35,"context_line":"AUTH_USER_MODEL \u003d \u0027openstack_auth.User\u0027"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"OPENSTACK_KEYSTONE_URL \u003d \"http://localhost:5000/v3\""},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"9a41bdd9_0e514062","line":35,"in_reply_to":"9a41bdd9_810d3f40","updated":"2015-07-14 11:44:10.000000000","message":"unfortunately, AUTH_USER_MODEL has to follow the form \u0027myapp.MyUser\u0027; I honestly tried to avoid this (and the __init__.py import/hack)","commit_id":"1b52aa014559af9d07c78ac4515cc8c22caa8b89"}],"openstack_auth/user.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"854a302f7d905a291a9fb8186f25e4e5442d0e88","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"3afb71cf_e87a3923","line":403,"updated":"2015-06-10 17:03:05.000000000","message":"this also need to consider the region of the user too.\n\nThe service catalog contains services from different region, we should only check if the service is available on the region the current user is scoped to.\n\nLogic is something similar to: https://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/backend.py#L236-L239\n\nmaybe you can refactor the code to make it reusable","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"8103e6751341c057bad2a9d26ce0d3f5c799f7f0","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_a0bf1dfb","line":403,"in_reply_to":"3afb71cf_e87a3923","updated":"2015-07-07 11:48:59.000000000","message":"At this stage, you only see one region. (the one, where the current user is logged in)","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"718a382c18f1183650745fa8e1dd9981dd55fab4","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_948126fe","line":403,"in_reply_to":"3afb71cf_e87a3923","updated":"2015-07-06 15:53:42.000000000","message":"It seems like this is creeping into multiple things for this patch.  Would there be a way to split this patch in two and just get the django 1.8 support first?","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"},{"author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"change_message_id":"99093f91fee54f8aabee6264b81f4a51015ea2f8","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_ad9ffc5d","line":403,"in_reply_to":"ba3cc151_697faf66","updated":"2015-07-07 20:25:59.000000000","message":"AnonymousUser doesn\u0027t support _meta classes. \nPreviously, Anonymoususers were restricted users, now they contain really only a minimum feature set.\n \nhttps://docs.djangoproject.com/en/1.8/releases/1.8/#model-meta-api\n\nUnfortunately, we need to re-implement permission checks then. (see inherited classes for User class).\n\nhttps://docs.djangoproject.com/en/1.8/topics/auth/customizing/#specifying-a-custom-user-model","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"a9c0f1bc1a431920dfe5e4e94f90c0fa9936dc0e","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_697faf66","line":403,"in_reply_to":"ba3cc151_a0bf1dfb","updated":"2015-07-07 17:21:07.000000000","message":"Eric is right, should the extra permission check move to separate patch?since this is change in the logic of permission check.\n\nIt is unclear to me why this additional is needed for Django1.8 and how it is related to the admin user and AbstractBaseUser.","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"364cf425ff9c1ec0f04f6d7f17b17c5975a160c8","unresolved":false,"context_lines":[{"line_number":400,"context_line":"            if enabled_service:"},{"line_number":401,"context_line":"                if isinstance(enabled_service, list):"},{"line_number":402,"context_line":"                    enabled_service \u003d enabled_service[0]"},{"line_number":403,"context_line":"                for service in self.service_catalog:"},{"line_number":404,"context_line":"                    service_type \u003d service.get(\u0027type\u0027, \u0027\u0027)"},{"line_number":405,"context_line":"                    if service_type \u003d\u003d enabled_service:"},{"line_number":406,"context_line":"                        return True"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_04dcb671","line":403,"in_reply_to":"ba3cc151_ad9ffc5d","updated":"2015-07-08 02:00:39.000000000","message":"So then returning back to Lin\u0027s first comment - with this code we are not checking regions.... so a user with a swift region and a compute region.... will see both show up in permissions and one part of the UI will constantly be broken.   :\\\n\nThis outer class has self._services_region available to it - why can\u0027t we use this???  This would enable you to filter and show the services that exist in the current region.","commit_id":"adfc494ec17ee43847d7c0c833dad9c178f29358"}],"tox.ini":[{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"2caeb51ad7716edec50e4c07a0bb17af01689e84","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[tox]"},{"line_number":2,"context_line":"minversion \u003d 1.8"},{"line_number":3,"context_line":"skipsdist \u003d True"},{"line_number":4,"context_line":"envlist \u003d py27,py27dj14,py27dj15,py27dj16,pep8,py33,py34"},{"line_number":5,"context_line":""}],"source_content_type":"text/x-properties","patch_set":5,"id":"ba3cc151_1b893e26","line":2,"updated":"2015-07-08 22:39:55.000000000","message":"this is the min version for tox, not for django","commit_id":"c4a260705d459afdcc53e9f140329dfd1b5c54cc"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"acb8e2df7c7927a51e8856d694473f5fcf54271c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"[tox]"},{"line_number":2,"context_line":"minversion \u003d 1.6"},{"line_number":3,"context_line":"skipsdist \u003d True"},{"line_number":4,"context_line":"envlist \u003d py27,py27dj14,py27dj15,py27dj16,pep8,py33,py34"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"[testenv]"}],"source_content_type":"text/x-properties","patch_set":11,"id":"3a50d1a3_02184774","line":3,"updated":"2015-07-31 20:04:17.000000000","message":"New environments need to be listed here.","commit_id":"4fc543a807e74304d15e8c9f9bbfe26443539460"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"acb8e2df7c7927a51e8856d694473f5fcf54271c","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    python -m coverage html --include\u003d\u0027openstack_auth/*\u0027 --omit\u003d\u0027openstack_auth/tests/*\u0027 -d \u0027reports\u0027"},{"line_number":25,"context_line":"    python -m coverage xml --include\u003d\u0027openstack_auth/*\u0027 --omit\u003d\u0027openstack_auth/tests/*\u0027"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"[testenv:py27dj16]"},{"line_number":28,"context_line":"commands \u003d pip install django\u003e\u003d1.6,\u003c1.7"},{"line_number":29,"context_line":"           python openstack_auth/tests/run_tests.py {posargs}"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-properties","patch_set":11,"id":"3a50d1a3_022fe788","line":27,"updated":"2015-07-31 20:04:17.000000000","message":"Maybe dj16 and dj15 tests should be removed?","commit_id":"4fc543a807e74304d15e8c9f9bbfe26443539460"}]}
