)]}'
{"horizon/static/angular/action-list/action-list.scss":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"bebb9248bb2588a2ed069feee482a3c5f49e7a53","unresolved":false,"context_lines":[{"line_number":7,"context_line":"    @extend .btn.disabled;"},{"line_number":8,"context_line":"  }"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  a.btn-danger {"},{"line_number":11,"context_line":"    @extend .dropdown-menu .btn.btn-danger;"},{"line_number":12,"context_line":"    background: none;"},{"line_number":13,"context_line":"  }"}],"source_content_type":"text/x-scss","patch_set":46,"id":"9a80dd14_9d31785b","line":10,"updated":"2015-03-19 22:34:10.000000000","message":"try text-danger?","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"}],"horizon/static/angular/table/table.scss":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":354,"context_line":"  }"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"  .pagination \u003e li \u003e a,"},{"line_number":357,"context_line":"  .pagination \u003e li \u003e span {"},{"line_number":358,"context_line":"    cursor: pointer;"},{"line_number":359,"context_line":"  }"},{"line_number":360,"context_line":"}"}],"source_content_type":"text/x-scss","patch_set":64,"id":"3ab451fb_f63560f7","line":357,"updated":"2015-04-17 00:01:49.000000000","message":"can this be combined?\n\n.pagination \u003e li \u003e a, span { ... }","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":354,"context_line":"  }"},{"line_number":355,"context_line":""},{"line_number":356,"context_line":"  .pagination \u003e li \u003e a,"},{"line_number":357,"context_line":"  .pagination \u003e li \u003e span {"},{"line_number":358,"context_line":"    cursor: pointer;"},{"line_number":359,"context_line":"  }"},{"line_number":360,"context_line":"}"}],"source_content_type":"text/x-scss","patch_set":64,"id":"dac4157f_bee79c3f","line":357,"in_reply_to":"3ab451fb_f63560f7","updated":"2015-04-20 16:51:26.000000000","message":"Don\u0027t think you can do it like that. That would target .pagination \u003e li \u003e a and all spans. Can do something like .pagination \u003e li { \u0026 \u003e a, \u0026 \u003e span } but that is not much better :P","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"}],"horizon/static/horizon/js/angular/dashboards/hz.identity.users.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"25e35498528b1f705f36dfb54592320f6b71db70","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  app.controller(\u0027hzIdentityUsersCtrl\u0027,"},{"line_number":7,"context_line":"    function($scope, $http, $modal) {"},{"line_number":8,"context_line":"      $scope.idata \u003d [];"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"      $scope.getUsers \u003d function() {"},{"line_number":11,"context_line":"        $http.get(\u0027/api/keystone/users/\u0027)"},{"line_number":12,"context_line":"          .success(function(res) {"}],"source_content_type":"text/javascript","patch_set":18,"id":"3a961159_15e9e8e5","line":9,"updated":"2014-12-12 01:45:16.000000000","message":"I think all of the interaction to the server should be in an identity service that is injected into the controller.  The controller should just wire together the directive and the service.","commit_id":"7f0841a37b75eaad76690e8be92ae41c105265cd"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":30,"context_line":"              var message \u003d interpolate(trans, [newUser.name]);"},{"line_number":31,"context_line":"              horizon.alert(\u0027success\u0027, message);"},{"line_number":32,"context_line":"            })"},{"line_number":33,"context_line":"            .error(function(res, status) {"},{"line_number":34,"context_line":"              horizon.alert(\u0027error\u0027, gettext(\u0027Unable to create the user.\u0027));"},{"line_number":35,"context_line":"            });"},{"line_number":36,"context_line":"        }"}],"source_content_type":"text/javascript","patch_set":21,"id":"3a961159_8df12c97","line":33,"updated":"2014-12-13 00:41:27.000000000","message":"function post(newUser) { ... } should be declared out of $scope.createUser \u003d function() {..}, otherwise whenever use call $scope.createUser, you re-declare the function, it is slow and use more memory.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"3aca849df8c308149f49460425e58964b6739b5a","unresolved":false,"context_lines":[{"line_number":30,"context_line":"              var message \u003d interpolate(trans, [newUser.name]);"},{"line_number":31,"context_line":"              horizon.alert(\u0027success\u0027, message);"},{"line_number":32,"context_line":"            })"},{"line_number":33,"context_line":"            .error(function(res, status) {"},{"line_number":34,"context_line":"              horizon.alert(\u0027error\u0027, gettext(\u0027Unable to create the user.\u0027));"},{"line_number":35,"context_line":"            });"},{"line_number":36,"context_line":"        }"}],"source_content_type":"text/javascript","patch_set":21,"id":"3a961159_e318ffd4","line":33,"in_reply_to":"3a961159_1099cf6d","updated":"2014-12-13 05:05:59.000000000","message":"It should still be declared the controller constructor function scope, so it is still closure function that can have access to all the variable it currently access. The problem is that it is declared in $scope.createUser function, and that is not necessary.\n\n$modal.open(options).result.then(function(){...}) actually has the same problem. when call $scope.createUser(), we always re-declare the same function. This function does not access any local variables defined in $scope.createUser, so it can be moved out of $scope.createUser. but it still have all access to local variables defined in the controller constructor function.\n\nThat said, this is minor though. I do not have strong opinion on it.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":30,"context_line":"              var message \u003d interpolate(trans, [newUser.name]);"},{"line_number":31,"context_line":"              horizon.alert(\u0027success\u0027, message);"},{"line_number":32,"context_line":"            })"},{"line_number":33,"context_line":"            .error(function(res, status) {"},{"line_number":34,"context_line":"              horizon.alert(\u0027error\u0027, gettext(\u0027Unable to create the user.\u0027));"},{"line_number":35,"context_line":"            });"},{"line_number":36,"context_line":"        }"}],"source_content_type":"text/javascript","patch_set":21,"id":"3a961159_1099cf6d","line":33,"in_reply_to":"3a961159_8df12c97","updated":"2014-12-13 02:14:14.000000000","message":"$modal.open(options).result.then(post) is equivalent to\n$modal.open(options).result.then(function(){...}) yet we do that all the time.\n\nWe save a bit of memory, but pollute the space outside of its intended scope. Also, if the post function is outside, it will not have access to those parameters (as is in the case of editUser).","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"b91a4a693299882227ff38772f59c08574ff589b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"              var message \u003d interpolate(trans, [newUser.name]);"},{"line_number":31,"context_line":"              horizon.alert(\u0027success\u0027, message);"},{"line_number":32,"context_line":"            })"},{"line_number":33,"context_line":"            .error(function(res, status) {"},{"line_number":34,"context_line":"              horizon.alert(\u0027error\u0027, gettext(\u0027Unable to create the user.\u0027));"},{"line_number":35,"context_line":"            });"},{"line_number":36,"context_line":"        }"}],"source_content_type":"text/javascript","patch_set":21,"id":"3a961159_eda70109","line":33,"in_reply_to":"3a961159_e318ffd4","updated":"2014-12-14 22:49:04.000000000","message":"Let me clarify. if you pass in a parameter (user) as in the case of editUser below.\n \n function put(updatedUser){....}\n $scope.editUser \u003d function(user){...}\n\nand you have the put function outside of $scope.editUser, you will not have access to the user object. And you cannot simply just supply the put function with it either because the parameters are injected by the hzIdentityUsersFormCtrl.\n\n $modal.open(options).result.then(put);\n\nhope that makes sense.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":53,"context_line":"      };"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"      $scope.editUser \u003d function(user) {"},{"line_number":56,"context_line":"        function put(updatedUser) {"},{"line_number":57,"context_line":"          var putData \u003d {"},{"line_number":58,"context_line":"            current: user,"},{"line_number":59,"context_line":"            update: updatedUser"}],"source_content_type":"text/javascript","patch_set":21,"id":"3a961159_ed31d05a","line":56,"updated":"2014-12-13 00:41:27.000000000","message":"Same here, this function should be declared out of here.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"49fb578f353206bab4bc519057fbb77e63055dde","unresolved":false,"context_lines":[{"line_number":13,"context_line":"            $scope.data \u003d res.items;"},{"line_number":14,"context_line":"          })"},{"line_number":15,"context_line":"          .error(function() {"},{"line_number":16,"context_line":"            horizon.alert(\u0027error\u0027, gettext(\u0027Unable to retrieve users\u0027));"},{"line_number":17,"context_line":"          });"},{"line_number":18,"context_line":"      };"},{"line_number":19,"context_line":""}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_23a16af7","line":16,"updated":"2015-01-15 00:19:18.000000000","message":"What is the standard desired syntax here for internationalization?  I do see a slightly different pattern (makes it look like they python convention).  As Thai pointed out in irc, there is also ngettext.\n\nSee here for the other pattern: https://review.openstack.org/#/c/136437/2/horizon/static/horizon/js/angular/controllers/metadata-widget-controller.js  \n\nJust would like to see consistency.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"e7f542fba97c49a2b5566101c0d31b75843dcd8d","unresolved":false,"context_lines":[{"line_number":13,"context_line":"            $scope.data \u003d res.items;"},{"line_number":14,"context_line":"          })"},{"line_number":15,"context_line":"          .error(function() {"},{"line_number":16,"context_line":"            horizon.alert(\u0027error\u0027, gettext(\u0027Unable to retrieve users\u0027));"},{"line_number":17,"context_line":"          });"},{"line_number":18,"context_line":"      };"},{"line_number":19,"context_line":""}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_7a84c9b0","line":16,"in_reply_to":"3a961159_23a16af7","updated":"2015-01-15 22:51:05.000000000","message":"Syntax used in the other pattern aren\u0027t actually recognized by ./run_tests.sh --makemessages.  The usage here should be the model because it\u0027s the only one that works with our current translation tools as they are configured now.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"9da630d8d98100a66c185ebb7ecf7c694f5e03e4","unresolved":false,"context_lines":[{"line_number":13,"context_line":"            $scope.data \u003d res.items;"},{"line_number":14,"context_line":"          })"},{"line_number":15,"context_line":"          .error(function() {"},{"line_number":16,"context_line":"            horizon.alert(\u0027error\u0027, gettext(\u0027Unable to retrieve users\u0027));"},{"line_number":17,"context_line":"          });"},{"line_number":18,"context_line":"      };"},{"line_number":19,"context_line":""}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_d234a7fc","line":16,"in_reply_to":"3a961159_7a84c9b0","updated":"2015-01-16 17:26:56.000000000","message":"I will update the JavaScript / Angular best practices to indicate as such.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"44d3cd5eabd4443159b8f102a8b01b6c906e9de6","unresolved":false,"context_lines":[{"line_number":13,"context_line":"            $scope.data \u003d res.items;"},{"line_number":14,"context_line":"          })"},{"line_number":15,"context_line":"          .error(function() {"},{"line_number":16,"context_line":"            horizon.alert(\u0027error\u0027, gettext(\u0027Unable to retrieve users\u0027));"},{"line_number":17,"context_line":"          });"},{"line_number":18,"context_line":"      };"},{"line_number":19,"context_line":""}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_4168e487","line":16,"in_reply_to":"3a961159_d234a7fc","updated":"2015-01-16 18:56:08.000000000","message":"Thanks, Aaron!","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"a6f9fc4d8ad53fe7183c5106aff15e04eba2bad4","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            current: user,"},{"line_number":59,"context_line":"            update: updatedUser"},{"line_number":60,"context_line":"          };"},{"line_number":61,"context_line":"          var url \u003d \u0027/api/keystone/users/\u0027 + updatedUser.id;"},{"line_number":62,"context_line":"          $http.put(url, updatedUser)"},{"line_number":63,"context_line":"            .success(function(res) {"},{"line_number":64,"context_line":"              var message \u003d gettext(\u0027User has been updated successfully.\u0027);"}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_bb9c335d","line":61,"updated":"2015-01-09 16:59:06.000000000","message":"Should be passing the putData on the put call?   Or if the current user is not needed in the body, don\u0027t need the putData variable.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"58f6f0ff0d1462552b0520e3b502c693740cebc7","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        $modal.open(options).result.then(put);"},{"line_number":88,"context_line":"      };"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"      $scope.ToggleEabled \u003d function(user) {"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"        user.enabled \u003d !user.enabled;"},{"line_number":93,"context_line":""}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_3d3c29e1","line":90,"updated":"2015-01-15 00:49:47.000000000","message":"nit: should this be \"toggleEnable\" to be consistent with action names (editUser, deleteUsers)?","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"2613cc1489db3173252607fa44321599b076d111","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  var app \u003d angular.module(\u0027hz.identity.users\u0027, [\u0027ui.bootstrap\u0027, \u0027hz.modal\u0027, \u0027hz.api\u0027]);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  app.controller(\u0027hzIdentityUsersCtrl\u0027,"},{"line_number":7,"context_line":"    function($scope, $http, $log, $modal, hzModal, keystoneAPI) {"},{"line_number":8,"context_line":"      $scope.idata \u003d [];"},{"line_number":9,"context_line":"      $scope.checked \u003d {};"},{"line_number":10,"context_line":""}],"source_content_type":"text/javascript","patch_set":27,"id":"fa81d914_6fba706f","line":7,"updated":"2015-01-30 15:49:30.000000000","message":"No longer need $http, correct?   Is $log there for future use?","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"07aa08cbb999b6af81abd7566c56d530ace997d9","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  var app \u003d angular.module(\u0027hz.identity.users\u0027, [\u0027ui.bootstrap\u0027, \u0027hz.modal\u0027, \u0027hz.api\u0027]);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  app.controller(\u0027hzIdentityUsersCtrl\u0027,"},{"line_number":7,"context_line":"    function($scope, $http, $log, $modal, hzModal, keystoneAPI) {"},{"line_number":8,"context_line":"      $scope.idata \u003d [];"},{"line_number":9,"context_line":"      $scope.checked \u003d {};"},{"line_number":10,"context_line":""}],"source_content_type":"text/javascript","patch_set":27,"id":"da86d52c_3993a950","line":7,"in_reply_to":"fa81d914_6fba706f","updated":"2015-02-03 04:49:26.000000000","message":"Done","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"2613cc1489db3173252607fa44321599b076d111","unresolved":false,"context_lines":[{"line_number":192,"context_line":"    });"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"  app.controller(\u0027hzIdentityUsersFormCtrl\u0027,"},{"line_number":195,"context_line":"    function($scope, $http, $modalInstance, items, context) {"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"      $scope.context \u003d context;"},{"line_number":198,"context_line":"      $scope.user \u003d items ? items[0] : {};"}],"source_content_type":"text/javascript","patch_set":27,"id":"fa81d914_4fd04cc9","line":195,"updated":"2015-01-30 15:49:30.000000000","message":"should include keystoneAPI, then use below instead of $http","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"07aa08cbb999b6af81abd7566c56d530ace997d9","unresolved":false,"context_lines":[{"line_number":192,"context_line":"    });"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"  app.controller(\u0027hzIdentityUsersFormCtrl\u0027,"},{"line_number":195,"context_line":"    function($scope, $http, $modalInstance, items, context) {"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"      $scope.context \u003d context;"},{"line_number":198,"context_line":"      $scope.user \u003d items ? items[0] : {};"}],"source_content_type":"text/javascript","patch_set":27,"id":"da86d52c_997c9522","line":195,"in_reply_to":"fa81d914_4fd04cc9","updated":"2015-02-03 04:49:26.000000000","message":"Done","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"2613cc1489db3173252607fa44321599b076d111","unresolved":false,"context_lines":[{"line_number":208,"context_line":"      };"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"      if (!items) {"},{"line_number":211,"context_line":"        $http.get(\u0027/api/keystone/roles/\u0027)"},{"line_number":212,"context_line":"          .success(function(res) {"},{"line_number":213,"context_line":"            $scope.roles \u003d res.items;"},{"line_number":214,"context_line":"            angular.forEach($scope.roles, function(role) {"}],"source_content_type":"text/javascript","patch_set":27,"id":"fa81d914_afdaa8e5","line":211,"updated":"2015-01-30 15:49:30.000000000","message":"Should be using keystoneAPI.getRoles().","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"07aa08cbb999b6af81abd7566c56d530ace997d9","unresolved":false,"context_lines":[{"line_number":208,"context_line":"      };"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":"      if (!items) {"},{"line_number":211,"context_line":"        $http.get(\u0027/api/keystone/roles/\u0027)"},{"line_number":212,"context_line":"          .success(function(res) {"},{"line_number":213,"context_line":"            $scope.roles \u003d res.items;"},{"line_number":214,"context_line":"            angular.forEach($scope.roles, function(role) {"}],"source_content_type":"text/javascript","patch_set":27,"id":"da86d52c_f9711145","line":211,"in_reply_to":"fa81d914_afdaa8e5","updated":"2015-02-03 04:49:26.000000000","message":"Done","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"2613cc1489db3173252607fa44321599b076d111","unresolved":false,"context_lines":[{"line_number":223,"context_line":"          });"},{"line_number":224,"context_line":"      }"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"      $http.get(\u0027/api/keystone/projects/\u0027)"},{"line_number":227,"context_line":"        .success(function(res) {"},{"line_number":228,"context_line":"          $scope.projects \u003d res.items;"},{"line_number":229,"context_line":"          if (items) {"}],"source_content_type":"text/javascript","patch_set":27,"id":"fa81d914_0ff1f46a","line":226,"updated":"2015-01-30 15:49:30.000000000","message":"Should be using keystoneAPI.getProjects().","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"07aa08cbb999b6af81abd7566c56d530ace997d9","unresolved":false,"context_lines":[{"line_number":223,"context_line":"          });"},{"line_number":224,"context_line":"      }"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"      $http.get(\u0027/api/keystone/projects/\u0027)"},{"line_number":227,"context_line":"        .success(function(res) {"},{"line_number":228,"context_line":"          $scope.projects \u003d res.items;"},{"line_number":229,"context_line":"          if (items) {"}],"source_content_type":"text/javascript","patch_set":27,"id":"da86d52c_1990a542","line":226,"in_reply_to":"fa81d914_0ff1f46a","updated":"2015-02-03 04:49:26.000000000","message":"Done","commit_id":"a42728c900babe8d808250d85f1f94a5efa64b87"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0bb81dfe1841bd0b97854ea81f4b87ecd0075318","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        $modal.open(options).result.then(submit);"},{"line_number":67,"context_line":"      };"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"      $scope.ToggleEabled \u003d function(user) {"},{"line_number":70,"context_line":"        user.enabled \u003d !user.enabled;"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        function success(res) {"}],"source_content_type":"text/javascript","patch_set":33,"id":"da86d52c_0c445c72","line":69,"updated":"2015-02-05 20:31:37.000000000","message":"Shouldn\u0027t this be ToggleEnabled?  Missing the \"n\"","commit_id":"75b24b682e76347735cb57945703cef86999fe03"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"f99efd24adb0518896c7aa3fe93d921bf8804e86","unresolved":false,"context_lines":[{"line_number":66,"context_line":"        $modal.open(options).result.then(submit);"},{"line_number":67,"context_line":"      };"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"      $scope.ToggleEabled \u003d function(user) {"},{"line_number":70,"context_line":"        user.enabled \u003d !user.enabled;"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        function success(res) {"}],"source_content_type":"text/javascript","patch_set":33,"id":"da86d52c_1e1b26cb","line":69,"in_reply_to":"da86d52c_0c445c72","updated":"2015-02-10 03:45:20.000000000","message":"Actually, the typo was in both places, so ... ;)\n\n[fixed]","commit_id":"75b24b682e76347735cb57945703cef86999fe03"}],"horizon/static/horizon/js/angular/hz.table.js":[{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":10,"context_line":"      template: \u0027\u003cinput type\u003d\"checkbox\"\u003e\u0027,"},{"line_number":11,"context_line":"      scope: { rows: \u0027\u003dhzSelectAll\u0027 },"},{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_2b2b3aec","line":13,"updated":"2014-11-20 19:39:16.000000000","message":"You definitely don\u0027t want mode to be \"single\". This is the mode that is passed to ctrl.select for each row, and if it is single, it will unselect all the other rows. So each row gets selected in turn, and unselects the others.\n\nI would just hardcode this to \"multiple\" in the ctrl.select call, below.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":11,"context_line":"      scope: { rows: \u0027\u003dhzSelectAll\u0027 },"},{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"},{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_6b0c6295","line":14,"updated":"2014-11-20 19:39:16.000000000","message":"The link function, where you are getting the attr from, is only executed at rendering, not when the checkbox is clicked. So \"checked\" is always undefined; it is not an attr here. Just delete this line.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"},{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"},{"line_number":18,"context_line":"              checked?"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_6b8382cc","line":15,"updated":"2014-11-20 19:39:16.000000000","message":"NOW is time to set the checked variable. This works, though there may be a better jQuery way:\nvar checked \u003d e.currentTarget.checked;","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"91d45529b15433c3f2616c24a11eb9235e74c89d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"},{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"},{"line_number":18,"context_line":"              checked?"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_8366b2b9","line":15,"in_reply_to":"5a890539_58ba156f","updated":"2014-11-21 17:04:43.000000000","message":"I tried this, though I don\u0027t entirely follow it:\n\n        attr.$observe(\u0027hzSelectAll\u0027, function (hzSelectAll){\n          var checked \u003d $parse(hzSelectAll)(scope);\n          scope.$apply(function(){\n            angular.forEach(scope.rows, function(row) {\n              if(row.isSelected !\u003d\u003d checked)\n                ctrl.select(row, \"multiple\");\n            });\n          });\n        });\n\nSeems like the $observe function is getting called when the page draws, which caused:\nError: [$rootScope:inprog] $digest already in progress\non the scope.$apply line.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"280e42a6ad9968d74dec5035bd1ddd221f4da826","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"},{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"},{"line_number":18,"context_line":"              checked?"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_58ba156f","line":15,"in_reply_to":"5a890539_6b8382cc","updated":"2014-11-21 00:30:01.000000000","message":"The more angular approach is to $observe the attribute. See the checkmark implementation in angboard for an example:\n\nhttps://github.com/r1chardj0n3s/angboard/blob/master/app/scripts/directives/checkmark.js","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"029e4be44557a55ebe642a7b51c0650d8ccf3e1a","unresolved":false,"context_lines":[{"line_number":12,"context_line":"      link: function(scope, element, attr, ctrl) {"},{"line_number":13,"context_line":"        var mode \u003d attr.stSelectMode || \u0027single\u0027;"},{"line_number":14,"context_line":"        var checked \u003d element.attr(\u0027checked\u0027);"},{"line_number":15,"context_line":"        element.bind(\u0027change\u0027, function(e) {"},{"line_number":16,"context_line":"          scope.$apply(function(){"},{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"},{"line_number":18,"context_line":"              checked?"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_d20b22d4","line":15,"in_reply_to":"5a890539_8366b2b9","updated":"2014-11-21 19:54:09.000000000","message":"You\u0027re still not thinking angular ;)\n\nThe action in the angular.forEach should be to modify a *model variable* not the DOM. \n\nIn almost all cases if you find yourself modifying the DOM in angular, you\u0027re doing it wrong :)","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":17,"context_line":"            angular.forEach(scope.rows, function(row) {"},{"line_number":18,"context_line":"              checked?"},{"line_number":19,"context_line":"                ctrl.select(row, mode):"},{"line_number":20,"context_line":"                console.log(\"no\");"},{"line_number":21,"context_line":"            });"},{"line_number":22,"context_line":"          });"},{"line_number":23,"context_line":"        });"}],"source_content_type":"text/javascript","patch_set":4,"id":"5a890539_abdacae6","line":20,"updated":"2014-11-20 19:39:16.000000000","message":"Lines 18-20 should be replaced with:\nif(row.isSelected !\u003d\u003d checked)\nctrl.select(row, mode);\n\nThe select command just toggles the selection, so toggle if it does not match the select-all checkbox at the top.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  app.directive(\u0027hzSelectAll\u0027, function(){"},{"line_number":70,"context_line":"    return {"},{"line_number":71,"context_line":"      restrict: \u0027A\u0027,"},{"line_number":72,"context_line":"      require: [\u0027^^stTable\u0027, \u0027^^hzTablePost\u0027],"},{"line_number":73,"context_line":"      scope: { rows: \u0027\u003dhzSelectAll\u0027 },"},{"line_number":74,"context_line":"      link: function(scope, element, attr, ctrls){"},{"line_number":75,"context_line":"        var smTableCtrl \u003d ctrls[0];"}],"source_content_type":"text/javascript","patch_set":13,"id":"5a890539_fc5ec311","line":72,"updated":"2014-12-04 21:28:13.000000000","message":"Only need one ^ before each external controller, as far as I know.","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"58f6f0ff0d1462552b0520e3b502c693740cebc7","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  }); // end of directive"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"  /** A directive to select and unselect all rows */"},{"line_number":25,"context_line":"  app.directive(\u0027hzSelectAll\u0027, function(){"},{"line_number":26,"context_line":"    return {"},{"line_number":27,"context_line":"      restrict: \u0027A\u0027,"},{"line_number":28,"context_line":"      require: [\u0027^^stTable\u0027, \u0027^^hzTable\u0027],"}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_08172da4","line":25,"updated":"2015-01-15 00:49:47.000000000","message":"Delete User button should enabled/disabled based on checkbox selection.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"}],"horizon/static/horizon/js/horizon.forms.js":[{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"a6f9fc4d8ad53fe7183c5106aff15e04eba2bad4","unresolved":false,"context_lines":[{"line_number":203,"context_line":""},{"line_number":204,"context_line":"  // Bind event handlers to confirm dangerous actions."},{"line_number":205,"context_line":"  // Stops angular form buttons from triggering this event"},{"line_number":206,"context_line":"  $(\"body\").on(\"click\", \"form button:not([ng-click]).btn-danger\", function (evt) {"},{"line_number":207,"context_line":"    horizon.datatables.confirm(this);"},{"line_number":208,"context_line":"    evt.preventDefault();"},{"line_number":209,"context_line":"  });"}],"source_content_type":"text/javascript","patch_set":25,"id":"3a961159_fba31b41","line":206,"updated":"2015-01-09 16:59:06.000000000","message":"Need to hand keyboard action as well?  (keyup)","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"}],"openstack_dashboard/api/rest/keystone.py":[{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"a6f9fc4d8ad53fe7183c5106aff15e04eba2bad4","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                \u0027/api/keystone/users/%s\u0027 % new_user.id,"},{"line_number":94,"context_line":"                new_user.to_dict()"},{"line_number":95,"context_line":"            )"},{"line_number":96,"context_line":"        elif action \u003d\u003d \u0027disable\u0027:"},{"line_number":97,"context_line":"            api.keystone.user_update_enabled("},{"line_number":98,"context_line":"                request,"},{"line_number":99,"context_line":"                data.get(\u0027id\u0027),"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a961159_7b148b4d","line":96,"updated":"2015-01-09 16:59:06.000000000","message":"Should update method comments since added new action support.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"1559b27f2c6c499f97d0158dcb364781007afb8a","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                \u0027/api/keystone/users/%s\u0027 % new_user.id,"},{"line_number":94,"context_line":"                new_user.to_dict()"},{"line_number":95,"context_line":"            )"},{"line_number":96,"context_line":"        elif action \u003d\u003d \u0027disable\u0027:"},{"line_number":97,"context_line":"            api.keystone.user_update_enabled("},{"line_number":98,"context_line":"                request,"},{"line_number":99,"context_line":"                data.get(\u0027id\u0027),"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a961159_8a428766","line":96,"in_reply_to":"3a961159_7b148b4d","updated":"2015-01-13 01:07:21.000000000","message":"Actually, this code should not be here at all.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"8521d0f5b71334bfb7702da5b1a8ae0b9def019a","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                \u0027/api/keystone/users/%s\u0027 % new_user.id,"},{"line_number":94,"context_line":"                new_user.to_dict()"},{"line_number":95,"context_line":"            )"},{"line_number":96,"context_line":"        elif action \u003d\u003d \u0027disable\u0027:"},{"line_number":97,"context_line":"            api.keystone.user_update_enabled("},{"line_number":98,"context_line":"                request,"},{"line_number":99,"context_line":"                data.get(\u0027id\u0027),"}],"source_content_type":"text/x-python","patch_set":25,"id":"3a961159_6f38e63b","line":96,"in_reply_to":"3a961159_8a428766","updated":"2015-01-16 03:53:21.000000000","message":"I think this was done prior to me finding out that I can use PUT.","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e90257cfbcabe8ab17dc2e56a34dc9248fc21246","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        This action returns the new user object on success."},{"line_number":70,"context_line":"        \"\"\""},{"line_number":71,"context_line":"        # not sure why email is forced to None, but other code does it"},{"line_number":72,"context_line":"        domain \u003d api.keystone.get_default_domain(request)"},{"line_number":73,"context_line":"        new_user \u003d api.keystone.user_create("},{"line_number":74,"context_line":"            request,"}],"source_content_type":"text/x-python","patch_set":41,"id":"9a80dd14_b6f244e1","line":71,"updated":"2015-03-18 06:25:31.000000000","message":"Can\u0027t assume we always are creating user in the default domain. This is a simplification that can\u0027t persist once we\u0027re changing the front end to create users.\n\nLooking at the existing code this looks like a bug duplicated from user/forms.py","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"590127ee466f1d4d0a36255a83589ce89bfdda3c","unresolved":false,"context_lines":[{"line_number":154,"context_line":"            tenantID \u003d request.DATA[\u0027tenantId\u0027]"},{"line_number":155,"context_line":"            request.DATA[\u0027project\u0027] \u003d api.keystone.tenant_get(request, tenantID)"},{"line_number":156,"context_line":"            api.keystone.user_update(request, user, **request.DATA)"},{"line_number":157,"context_line":"            print \"hi i got here!!!!!!\""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"@urls.register"}],"source_content_type":"text/x-python","patch_set":41,"id":"9a80dd14_f8ad98eb","line":157,"updated":"2015-03-17 21:11:35.000000000","message":"Whoops :)","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2041e0cf9076e01bd1de1c5bb4330bd8755620fc","unresolved":false,"context_lines":[{"line_number":154,"context_line":"            tenantID \u003d request.DATA[\u0027tenantId\u0027]"},{"line_number":155,"context_line":"            request.DATA[\u0027project\u0027] \u003d api.keystone.tenant_get(request, tenantID)"},{"line_number":156,"context_line":"            api.keystone.user_update(request, user, **request.DATA)"},{"line_number":157,"context_line":"            print \"hi i got here!!!!!!\""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"@urls.register"}],"source_content_type":"text/x-python","patch_set":41,"id":"9a80dd14_7eace3ed","line":157,"in_reply_to":"9a80dd14_f8ad98eb","updated":"2015-03-19 10:01:23.000000000","message":"Done","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"bebb9248bb2588a2ed069feee482a3c5f49e7a53","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        This action returns the new user object on success."},{"line_number":70,"context_line":"        \"\"\""},{"line_number":71,"context_line":"        # not sure why email is forced to None, but other code does it"},{"line_number":72,"context_line":"        domain \u003d api.keystone.get_default_domain(request)"},{"line_number":73,"context_line":"        print request.DATA"},{"line_number":74,"context_line":"        new_user \u003d api.keystone.user_create("}],"source_content_type":"text/x-python","patch_set":46,"id":"9a80dd14_3dbdecb1","line":71,"updated":"2015-03-19 22:34:10.000000000","message":"still need to check domain id\nand clean up comments.","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"}],"openstack_dashboard/api/rest/utils.py":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9458d53ef9bfe58d1efb47a51030602baa466529","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            if login_required and not request.user.is_authenticated():"},{"line_number":74,"context_line":"                return JSONResponse(\u0027not logged in\u0027, 401)"},{"line_number":75,"context_line":"            #if not request.is_ajax():"},{"line_number":76,"context_line":"            #    return JSONResponse(\u0027request must be AJAX\u0027, 400)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"            # decode the JSON body if present"},{"line_number":79,"context_line":"            request.DATA \u003d None"}],"source_content_type":"text/x-python","patch_set":17,"id":"3a961159_420949dc","line":76,"updated":"2014-12-10 03:02:43.000000000","message":"what\u0027s this all about then?","commit_id":"be5723c5ed48fc841aafa9b045deaed4e2e27efc"}],"openstack_dashboard/dashboards/identity/users/templates/users/create_test.html":[{"author":{"_account_id":7509,"name":"Jiri Tomasek","email":"jtomasek@redhat.com","username":"jtomasek"},"change_message_id":"a34d32481100d91fc0c8f52a058778f06c49c62f","unresolved":false,"context_lines":[{"line_number":6,"context_line":"\u003cform name\u003d\"form\" ng-submit\u003d\"submit(form.$valid)\" novalidate\u003e"},{"line_number":7,"context_line":"  {% csrf_token %}"},{"line_number":8,"context_line":"  \u003cdiv class\u003d\"modal-body clearfix\"\u003e"},{"line_number":9,"context_line":"    \u003cdiv class\u003d\"left\"\u003e"},{"line_number":10,"context_line":"      \u003cfieldset\u003e"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"        \u003cdiv class\u003d\"form-group required\""}],"source_content_type":"text/html","patch_set":25,"id":"fa81d914_891c2e15","line":9,"updated":"2015-01-29 15:43:18.000000000","message":"It is better to use bootstrap grid for the columns instead of left/right class\n(see https://review.openstack.org/#/c/113519/27/horizon/templates/horizon/common/_modal_form.html)","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"}],"openstack_dashboard/dashboards/identity/users/templates/users/form.html":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003c!-- Modal-header: Simple title describing purpose of this pane. --\u003e"},{"line_number":4,"context_line":"\u003cdiv class\u003d\"modal-header\"\u003e"}],"source_content_type":"text/html","patch_set":54,"id":"da9b358b_8195ba41","line":1,"updated":"2015-03-27 23:03:17.000000000","message":"Is it possible to have this file working as a static Angular template and having all the localization vis JS gettext()? this way we can easily reuse this when turning it to a true single page application. \n\n-- not a blocker","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":25,"context_line":"            {% trans \"User Name\" %}"},{"line_number":26,"context_line":"          \u003c/label\u003e"},{"line_number":27,"context_line":"          \u003cinput required"},{"line_number":28,"context_line":"            id\u003d\"name\""},{"line_number":29,"context_line":"            name\u003d\"name\""},{"line_number":30,"context_line":"            class\u003d\"form-control\""},{"line_number":31,"context_line":"            type\u003d\"text\""}],"source_content_type":"text/html","patch_set":54,"id":"da9b358b_01052ac1","line":28,"updated":"2015-03-27 23:03:17.000000000","message":"Isn\u0027t this ID too simple to be guaranteed to be unique?\n\n-- not a blocker.","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            ng-show\u003d\"form.cpassword.$error.match \u0026\u0026 form.cpassword.$dirty\"\u003e"},{"line_number":127,"context_line":"            {% trans \"A matching confirmation password is required.\" %}"},{"line_number":128,"context_line":"          \u003c/p\u003e"},{"line_number":129,"context_line":"        \u003c/div\u003e"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        \u003c!--"},{"line_number":132,"context_line":"          Primary project selection (required)"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_74147ff4","line":129,"updated":"2015-03-30 19:54:57.000000000","message":"will you add the Admin Password double check on Change Password field later?","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            ng-show\u003d\"form.cpassword.$error.match \u0026\u0026 form.cpassword.$dirty\"\u003e"},{"line_number":127,"context_line":"            {% trans \"A matching confirmation password is required.\" %}"},{"line_number":128,"context_line":"          \u003c/p\u003e"},{"line_number":129,"context_line":"        \u003c/div\u003e"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        \u003c!--"},{"line_number":132,"context_line":"          Primary project selection (required)"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_4a279012","line":129,"in_reply_to":"da9b358b_74147ff4","updated":"2015-03-30 20:54:22.000000000","message":"no i\u0027ll add it now.","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":86,"context_line":"              ng-model\u003d\"user.password\""},{"line_number":87,"context_line":"              placeholder\u003d\"{% trans \u0027Enter a password\u0027 %}\"\u003e"},{"line_number":88,"context_line":"            \u003cspan ng-click\u003d\"show\u003d!show\""},{"line_number":89,"context_line":"              class\u003d\"form-control-feedback glyphicon glyphicon-eye-{$show?\u0027close\u0027:\u0027open\u0027$}\"\u003e"},{"line_number":90,"context_line":"            \u003c/span\u003e"},{"line_number":91,"context_line":"          \u003c/div\u003e"},{"line_number":92,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""}],"source_content_type":"text/html","patch_set":64,"id":"3ab451fb_511d3e65","line":89,"updated":"2015-04-17 00:01:49.000000000","message":"still using glyphicons - it\u0027s eye/eye-slash \n\nhttp://fortawesome.github.io/Font-Awesome/icon/eye/","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":86,"context_line":"              ng-model\u003d\"user.password\""},{"line_number":87,"context_line":"              placeholder\u003d\"{% trans \u0027Enter a password\u0027 %}\"\u003e"},{"line_number":88,"context_line":"            \u003cspan ng-click\u003d\"show\u003d!show\""},{"line_number":89,"context_line":"              class\u003d\"form-control-feedback glyphicon glyphicon-eye-{$show?\u0027close\u0027:\u0027open\u0027$}\"\u003e"},{"line_number":90,"context_line":"            \u003c/span\u003e"},{"line_number":91,"context_line":"          \u003c/div\u003e"},{"line_number":92,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""}],"source_content_type":"text/html","patch_set":64,"id":"dac4157f_3ef38c0c","line":89,"in_reply_to":"3ab451fb_511d3e65","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":119,"context_line":"              hz-password-match\u003d\"form.password\""},{"line_number":120,"context_line":"              placeholder\u003d\"{% trans \u0027Confirm the password\u0027 %}\"\u003e"},{"line_number":121,"context_line":"            \u003cspan ng-click\u003d\"cshow\u003d!cshow\""},{"line_number":122,"context_line":"              class\u003d\"form-control-feedback glyphicon glyphicon-eye-{$cshow?\u0027close\u0027:\u0027open\u0027$}\"\u003e"},{"line_number":123,"context_line":"            \u003c/span\u003e"},{"line_number":124,"context_line":"          \u003c/div\u003e"},{"line_number":125,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""}],"source_content_type":"text/html","patch_set":64,"id":"3ab451fb_f12a0a7e","line":122,"updated":"2015-04-17 00:01:49.000000000","message":"same","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":119,"context_line":"              hz-password-match\u003d\"form.password\""},{"line_number":120,"context_line":"              placeholder\u003d\"{% trans \u0027Confirm the password\u0027 %}\"\u003e"},{"line_number":121,"context_line":"            \u003cspan ng-click\u003d\"cshow\u003d!cshow\""},{"line_number":122,"context_line":"              class\u003d\"form-control-feedback glyphicon glyphicon-eye-{$cshow?\u0027close\u0027:\u0027open\u0027$}\"\u003e"},{"line_number":123,"context_line":"            \u003c/span\u003e"},{"line_number":124,"context_line":"          \u003c/div\u003e"},{"line_number":125,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""}],"source_content_type":"text/html","patch_set":64,"id":"dac4157f_1ef8c8e4","line":122,"in_reply_to":"3ab451fb_f12a0a7e","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003c!-- Modal-header: Simple title describing purpose of this pane. --\u003e"},{"line_number":4,"context_line":"\u003cdiv class\u003d\"modal-header\"\u003e"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_c31710a2","line":1,"updated":"2015-04-20 21:01:32.000000000","message":"Should we consider using pure client-side template here?","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003c!-- Modal-header: Simple title describing purpose of this pane. --\u003e"},{"line_number":4,"context_line":"\u003cdiv class\u003d\"modal-header\"\u003e"}],"source_content_type":"text/html","patch_set":66,"id":"bab921fb_6e3b429d","line":1,"in_reply_to":"dac4157f_c31710a2","updated":"2015-04-24 22:49:06.000000000","message":"For now, lets keep it intact. I wanted to keep the templates together. Once the table.html can be made static, I\u0027ll also convert this.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":6,"context_line":"\u003c/div\u003e"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"\u003c!-- Modal-form: The body of this pane. --\u003e"},{"line_number":9,"context_line":"\u003cform novalidate name\u003d\"form\" ng-submit\u003d\"submit(form.$valid)\"\u003e"},{"line_number":10,"context_line":"  \u003cdiv class\u003d\"modal-body clearfix\"\u003e"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"    \u003c!-- Modal-form-left: Contains the form controls --\u003e"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_637de41b","line":9,"updated":"2015-04-20 21:01:32.000000000","message":"A form name should be unique within a web page. \"form\" is too generic guarantee it uniqueness. Consider a more specific name.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":6,"context_line":"\u003c/div\u003e"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"\u003c!-- Modal-form: The body of this pane. --\u003e"},{"line_number":9,"context_line":"\u003cform novalidate name\u003d\"form\" ng-submit\u003d\"submit(form.$valid)\"\u003e"},{"line_number":10,"context_line":"  \u003cdiv class\u003d\"modal-body clearfix\"\u003e"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"    \u003c!-- Modal-form-left: Contains the form controls --\u003e"}],"source_content_type":"text/html","patch_set":66,"id":"bab921fb_4ee99e7f","line":9,"in_reply_to":"dac4157f_637de41b","updated":"2015-04-24 22:49:06.000000000","message":"I can see the use case like the wizard where multiple forms may co-exist. In this case, I only envision one form active at a time. Having said that, having a more unique form name doesn\u0027t hurt either.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            {% trans \"Email\" %}"},{"line_number":52,"context_line":"          \u003c/label\u003e"},{"line_number":53,"context_line":"          \u003cinput"},{"line_number":54,"context_line":"            id\u003d\"email\""},{"line_number":55,"context_line":"            name\u003d\"email\""},{"line_number":56,"context_line":"            class\u003d\"form-control\""},{"line_number":57,"context_line":"            type\u003d\"email\""}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_031e28ba","line":54,"updated":"2015-04-20 21:01:32.000000000","message":"same concern on ID here.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            {% trans \"Email\" %}"},{"line_number":52,"context_line":"          \u003c/label\u003e"},{"line_number":53,"context_line":"          \u003cinput"},{"line_number":54,"context_line":"            id\u003d\"email\""},{"line_number":55,"context_line":"            name\u003d\"email\""},{"line_number":56,"context_line":"            class\u003d\"form-control\""},{"line_number":57,"context_line":"            type\u003d\"email\""}],"source_content_type":"text/html","patch_set":66,"id":"bab921fb_0e8ba6c4","line":54,"in_reply_to":"dac4157f_031e28ba","updated":"2015-04-24 22:49:06.000000000","message":"The only purpose of ID is so that when user click on label, it will focus on this input. But I do agree that it does not hurt to have a more unique ID.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":79,"context_line":"          \u003c/label\u003e"},{"line_number":80,"context_line":"          \u003cdiv class\u003d\"has-feedback\" ng-init\u003d\"show\u003dfalse\"\u003e"},{"line_number":81,"context_line":"            \u003cinput required"},{"line_number":82,"context_line":"              id\u003d\"password\""},{"line_number":83,"context_line":"              name\u003d\"password\""},{"line_number":84,"context_line":"              class\u003d\"form-control\""},{"line_number":85,"context_line":"              type\u003d\"{$show?\u0027text\u0027:\u0027password\u0027$}\""}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_a383fccb","line":82,"updated":"2015-04-20 21:01:32.000000000","message":"and here.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  \u003ch3 class\u003d\"modal-title\"\u003e{$ ::context.title $}\u003c/h3\u003e"},{"line_number":6,"context_line":"\u003c/div\u003e"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"\u003c!-- Modal-form: The body of this pane. --\u003e"},{"line_number":9,"context_line":"\u003cform novalidate name\u003d\"form\" ng-submit\u003d\"submit(form.$valid)\"\u003e"},{"line_number":10,"context_line":"  \u003cdiv class\u003d\"modal-body clearfix\"\u003e"},{"line_number":11,"context_line":""}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_32af0283","line":8,"updated":"2015-04-21 23:10:08.000000000","message":"I\u0027m fine with this as is for initial look and feel since it matches old... but there is all this pretty warning icon based look and feel in launch instance that.  Can we have a discussion on look and feel in future UX reviews (can be later patch)?","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":5,"context_line":"  \u003ch3 class\u003d\"modal-title\"\u003e{$ ::context.title $}\u003c/h3\u003e"},{"line_number":6,"context_line":"\u003c/div\u003e"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"\u003c!-- Modal-form: The body of this pane. --\u003e"},{"line_number":9,"context_line":"\u003cform novalidate name\u003d\"form\" ng-submit\u003d\"submit(form.$valid)\"\u003e"},{"line_number":10,"context_line":"  \u003cdiv class\u003d\"modal-body clearfix\"\u003e"},{"line_number":11,"context_line":""}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_71be7a66","line":8,"in_reply_to":"dac4157f_32af0283","updated":"2015-04-24 23:18:35.000000000","message":"I agree that look and feel should change. I actually asked Piet to mock something up a while back, but not sure what came out of it. But yes, lets address in subsequent patch.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"33543f341fc3b9f4ec595e6f69a33c248766882b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            placeholder\u003d\"{% trans \u0027Enter a user name\u0027 %}\"\u003e"},{"line_number":36,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""},{"line_number":37,"context_line":"            ng-show\u003d\"idusersform.name.$invalid \u0026\u0026 idusersform.name.$dirty\"\u003e"},{"line_number":38,"context_line":"            {% trans \"A user name is required.\" %}"},{"line_number":39,"context_line":"          \u003c/p\u003e"},{"line_number":40,"context_line":"        \u003c/div\u003e"},{"line_number":41,"context_line":""}],"source_content_type":"text/html","patch_set":83,"id":"1aca2d91_39c0037b","line":38,"updated":"2015-05-08 03:17:06.000000000","message":"Might be confusing to show this message when user enters a username longer than 255 characters","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aff6aa5d22916464b2833ecd786b98acd64f65ee","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            placeholder\u003d\"{% trans \u0027Enter a user name\u0027 %}\"\u003e"},{"line_number":36,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""},{"line_number":37,"context_line":"            ng-show\u003d\"idusersform.name.$invalid \u0026\u0026 idusersform.name.$dirty\"\u003e"},{"line_number":38,"context_line":"            {% trans \"A user name is required.\" %}"},{"line_number":39,"context_line":"          \u003c/p\u003e"},{"line_number":40,"context_line":"        \u003c/div\u003e"},{"line_number":41,"context_line":""}],"source_content_type":"text/html","patch_set":83,"id":"1aca2d91_e9fbc1bf","line":38,"in_reply_to":"1aca2d91_39c0037b","updated":"2015-05-20 07:47:09.000000000","message":"how about \"A user name that is 255 characters or less is required.\"?","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"a805a364148a1e2a645f47ef60dd639320f9e284","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            placeholder\u003d\"{% trans \u0027Enter a user name\u0027 %}\"\u003e"},{"line_number":36,"context_line":"          \u003cp class\u003d\"help-block alert alert-danger\""},{"line_number":37,"context_line":"            ng-show\u003d\"idusersform.name.$invalid \u0026\u0026 idusersform.name.$dirty\"\u003e"},{"line_number":38,"context_line":"            {% trans \"A user name is required.\" %}"},{"line_number":39,"context_line":"          \u003c/p\u003e"},{"line_number":40,"context_line":"        \u003c/div\u003e"},{"line_number":41,"context_line":""}],"source_content_type":"text/html","patch_set":83,"id":"7a016987_4b7bab8c","line":38,"in_reply_to":"1aca2d91_e9fbc1bf","updated":"2015-05-20 21:26:59.000000000","message":"maybe could use some $error handlers, so different messages would be displayed depending on the validation error. it would be something like:\n\n\u003cp class\u003d\"...\" ng-show\u003d\"idusersform.name.$error.required\"\u003e\nMessage for required field.\n\u003c/p\u003e\n\n\u003cp class\u003d\"...\" ng-show\u003d\"idusersform.name.$error.maxlength\"\u003e\nMessage for max string length.\n\u003c/p\u003e","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% load i18n %}"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"\u003c!-- Modal-header: Simple title describing purpose of this pane. --\u003e"},{"line_number":4,"context_line":"\u003cdiv class\u003d\"modal-header\"\u003e"},{"line_number":5,"context_line":"  \u003ch3 class\u003d\"modal-title\"\u003e{$ ::context.title $}\u003c/h3\u003e"}],"source_content_type":"text/html","patch_set":84,"id":"7a016987_1b8daf7b","line":2,"updated":"2015-05-14 05:46:31.000000000","message":"This form does auto-dismiss when clicking off of it (rather than the explicit close).  Is that planned in a follow-on patch?","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":196,"context_line":"      \u003cp ng-show\u003d\"context.mode \u003d\u003d\u003d \u0027create\u0027\"\u003e"},{"line_number":197,"context_line":"        {% blocktrans %}"},{"line_number":198,"context_line":"          Create a new user and set related properties"},{"line_number":199,"context_line":"          including the Primary Project and Role."},{"line_number":200,"context_line":"        {% endblocktrans %}"},{"line_number":201,"context_line":"      \u003c/p\u003e"},{"line_number":202,"context_line":"      \u003cp ng-show\u003d\"context.mode \u003d\u003d\u003d \u0027edit\u0027\"\u003e"}],"source_content_type":"text/html","patch_set":84,"id":"7a016987_be52eddb","line":199,"updated":"2015-05-14 18:23:56.000000000","message":"nit: include text in form.js?","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/dashboards/identity/users/templates/users/table.html":[{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"0e477eed0ff01d0f11baadd20443ac92439d8b7c","unresolved":false,"context_lines":[{"line_number":83,"context_line":"        {$ ::context.header.name $}"},{"line_number":84,"context_line":"      \u003c/th\u003e"},{"line_number":85,"context_line":"      \u003cth class\u003d\"rsp-p2\" st-sort\u003d\"email\"\u003e{$ ::context.header.email $}\u003c/th\u003e"},{"line_number":86,"context_line":"      \u003cth class\u003d\"rsp-p1\" st-sort\u003d\"tenantId\"\u003e{$ ::context.header.id $}\u003c/th\u003e"},{"line_number":87,"context_line":"      \u003cth class\u003d\"rsp-p2 text-center\" st-sort\u003d\"enabled\"\u003e{$ ::context.header.enabled $}\u003c/th\u003e"},{"line_number":88,"context_line":"      \u003cth class\u003d\"action-col\"\u003e{$ ::context.header.action $}\u003c/th\u003e"},{"line_number":89,"context_line":"    \u003c/tr\u003e"}],"source_content_type":"text/html","patch_set":53,"id":"fa963961_cb0e3de5","line":86,"updated":"2015-03-26 14:28:13.000000000","message":"I know this is still marked WIP, but noticed as I am applying Magic Search, you have st-sort set to tenantId, but header and what your displaying is User Id.","commit_id":"4bea29c2c3a7fb7c01a2f10995dea6482596d001"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  default-sort\u003d\"email\""},{"line_number":15,"context_line":"  default-sort-reverse\u003d\"true\""},{"line_number":16,"context_line":"  ng-controller\u003d\"identityUsersCtrl\""},{"line_number":17,"context_line":"  ng-init\u003d\"userID \u003d \u0027{{ request.user.id }}\u0027\""},{"line_number":18,"context_line":"  class\u003d\"table-striped table-rsp table-detail modern\"\u003e"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  \u003c!--"}],"source_content_type":"text/html","patch_set":54,"id":"da9b358b_e1e126d2","line":17,"updated":"2015-03-27 23:03:17.000000000","message":"Should we use {$ request.user.id $} for consistency here?","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    \u003ctr\u003e"},{"line_number":32,"context_line":"      \u003cth colspan\u003d\"100\" class\u003d\"search-header\"\u003e"},{"line_number":33,"context_line":"        \u003c!--search-bar group-classes\u003d\"input-group-sm\" icon-classes\u003d\"fa-search\"\u003e\u003c/search-bar\u003e"},{"line_number":34,"context_line":"        \u003cdiv class\u003d\"right-dock\"\u003e"},{"line_number":35,"context_line":"          \u003cbutton"},{"line_number":36,"context_line":"            type\u003d\"button\""},{"line_number":37,"context_line":"            class\u003d\"btn btn-default btn-sm\""}],"source_content_type":"text/html","patch_set":54,"id":"da9b358b_61f51682","line":34,"updated":"2015-03-27 23:03:17.000000000","message":"This is dead code? can we remove it?","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            ng-click\u003d\"actions.deleted.batchDelete()\"\u003e"},{"line_number":46,"context_line":"              \u003ci class\u003d\"fa fa-trash-o\"\u003e\u003c/i\u003e"},{"line_number":47,"context_line":"          \u003c/button\u003e"},{"line_number":48,"context_line":"        \u003c/div--\u003e"},{"line_number":49,"context_line":"        \u003csearch-bar group-classes\u003d\"input-group-sm\" icon-classes\u003d\"fa-search\"\u003e"},{"line_number":50,"context_line":"          \u003caction-list class\u003d\"btn-addon\"\u003e"},{"line_number":51,"context_line":"            \u003caction"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_e579fcfd","line":48,"updated":"2015-03-30 19:54:57.000000000","message":"if not in use, remove","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            ng-click\u003d\"actions.deleted.batchDelete()\"\u003e"},{"line_number":46,"context_line":"              \u003ci class\u003d\"fa fa-trash-o\"\u003e\u003c/i\u003e"},{"line_number":47,"context_line":"          \u003c/button\u003e"},{"line_number":48,"context_line":"        \u003c/div--\u003e"},{"line_number":49,"context_line":"        \u003csearch-bar group-classes\u003d\"input-group-sm\" icon-classes\u003d\"fa-search\"\u003e"},{"line_number":50,"context_line":"          \u003caction-list class\u003d\"btn-addon\"\u003e"},{"line_number":51,"context_line":"            \u003caction"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_0a7868f1","line":48,"in_reply_to":"da9b358b_e579fcfd","updated":"2015-03-30 20:54:22.000000000","message":"Done","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"      \u003c!-- Table-row-info-column --\u003e"},{"line_number":117,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ user.name $}\u003c/td\u003e"},{"line_number":118,"context_line":"      \u003ctd class\u003d\"rsp-p2\"\u003e\u003ca ng-href\u003d\"{$user.email$}\"\u003e{$ user.email $}\u003c/a\u003e\u003c/td\u003e"},{"line_number":119,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ user.id $}\u003c/td\u003e"},{"line_number":120,"context_line":"      \u003ctd class\u003d\"rsp-p2 text-center\"\u003e"},{"line_number":121,"context_line":"        \u003ci ng-show\u003d\"user.enabled\" class\u003d\"fa fa-check text-success\"\u003e\u003c/i\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_c03ca695","line":118,"updated":"2015-03-30 19:54:57.000000000","message":"clicking on link goes to a \u0027Page Not Found\u0027","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"      \u003c!-- Table-row-info-column --\u003e"},{"line_number":117,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ user.name $}\u003c/td\u003e"},{"line_number":118,"context_line":"      \u003ctd class\u003d\"rsp-p2\"\u003e\u003ca ng-href\u003d\"{$user.email$}\"\u003e{$ user.email $}\u003c/a\u003e\u003c/td\u003e"},{"line_number":119,"context_line":"      \u003ctd class\u003d\"rsp-p1\"\u003e{$ user.id $}\u003c/td\u003e"},{"line_number":120,"context_line":"      \u003ctd class\u003d\"rsp-p2 text-center\"\u003e"},{"line_number":121,"context_line":"        \u003ci ng-show\u003d\"user.enabled\" class\u003d\"fa fa-check text-success\"\u003e\u003c/i\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_aaccdc35","line":118,"in_reply_to":"da9b358b_c03ca695","updated":"2015-03-30 20:54:22.000000000","message":"Fixed, was missing mailto:\u003cemail\u003e","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":147,"context_line":"              callback\u003d\"actions.enable.toggle\" item\u003d\"user\"\u003e"},{"line_number":148,"context_line":"                {$ user.enabled?"},{"line_number":149,"context_line":"                  \u0027{% trans \"Disable\" %}\u0027:"},{"line_number":150,"context_line":"                  \u0027{% trans \"Enable\" %}\u0027"},{"line_number":151,"context_line":"              $}"},{"line_number":152,"context_line":"            \u003c/action\u003e"},{"line_number":153,"context_line":"            \u003caction"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_80145ef5","line":150,"updated":"2015-03-30 19:54:57.000000000","message":"need to swap order","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":147,"context_line":"              callback\u003d\"actions.enable.toggle\" item\u003d\"user\"\u003e"},{"line_number":148,"context_line":"                {$ user.enabled?"},{"line_number":149,"context_line":"                  \u0027{% trans \"Disable\" %}\u0027:"},{"line_number":150,"context_line":"                  \u0027{% trans \"Enable\" %}\u0027"},{"line_number":151,"context_line":"              $}"},{"line_number":152,"context_line":"            \u003c/action\u003e"},{"line_number":153,"context_line":"            \u003caction"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_4a031043","line":150,"in_reply_to":"da9b358b_80145ef5","updated":"2015-03-30 20:54:22.000000000","message":"Ordering is correct. When user is enabled, the option we should display is disabled and vice versa. Otherwise, if user is enabled, and we display enabled option, there will be no way to toggle the state.","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":189,"context_line":"          \u003cdd\u003e{$ user.id $}\u003c/dd\u003e"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"          \u003cdt\u003e{$ ::context.header.enabled $}\u003c/dt\u003e"},{"line_number":192,"context_line":"          \u003cdd\u003e{$ user.enabled $}\u003c/dd\u003e"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"        \u003c/dl\u003e"},{"line_number":195,"context_line":"      \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_e0044a7f","line":192,"updated":"2015-03-30 19:54:57.000000000","message":"Domain Name should be included too","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":189,"context_line":"          \u003cdd\u003e{$ user.id $}\u003c/dd\u003e"},{"line_number":190,"context_line":""},{"line_number":191,"context_line":"          \u003cdt\u003e{$ ::context.header.enabled $}\u003c/dt\u003e"},{"line_number":192,"context_line":"          \u003cdd\u003e{$ user.enabled $}\u003c/dd\u003e"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"        \u003c/dl\u003e"},{"line_number":195,"context_line":"      \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_0a82a894","line":192,"in_reply_to":"da9b358b_e0044a7f","updated":"2015-03-30 20:54:22.000000000","message":"Domain name is actually not a part of the returned API object. We can fetch the domain and role associated with this user, but that can be added in a subsequent patch.","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    \u003ctr\u003e"},{"line_number":207,"context_line":"      \u003ctd colspan\u003d\"100\"\u003e"},{"line_number":208,"context_line":"        \u003cspan class\u003d\"display\"\u003e{$ iusers.length|itemCount $}\u003c/span\u003e"},{"line_number":209,"context_line":"        \u003cdiv st-pagination\u003d\"\" st-items-by-page\u003d\"10\" st-displayed-pages\u003d\"10\"\u003e\u003c/div\u003e"},{"line_number":210,"context_line":"      \u003c/td\u003e"},{"line_number":211,"context_line":"    \u003c/tr\u003e"},{"line_number":212,"context_line":"  \u003c/tfoot\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_40f65690","line":209,"updated":"2015-03-30 19:54:57.000000000","message":"customizable later","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":206,"context_line":"    \u003ctr\u003e"},{"line_number":207,"context_line":"      \u003ctd colspan\u003d\"100\"\u003e"},{"line_number":208,"context_line":"        \u003cspan class\u003d\"display\"\u003e{$ iusers.length|itemCount $}\u003c/span\u003e"},{"line_number":209,"context_line":"        \u003cdiv st-pagination\u003d\"\" st-items-by-page\u003d\"10\" st-displayed-pages\u003d\"10\"\u003e\u003c/div\u003e"},{"line_number":210,"context_line":"      \u003c/td\u003e"},{"line_number":211,"context_line":"    \u003c/tr\u003e"},{"line_number":212,"context_line":"  \u003c/tfoot\u003e"}],"source_content_type":"text/html","patch_set":57,"id":"da9b358b_8a447874","line":209,"in_reply_to":"da9b358b_40f65690","updated":"2015-03-30 20:54:22.000000000","message":"Looking into","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"70f340f83f3319190c3501d409a302728ea40fb3","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  default-sort\u003d\"name\""},{"line_number":15,"context_line":"  default-sort-reverse\u003d\"false\""},{"line_number":16,"context_line":"  ng-controller\u003d\"identityUsersCtrl\""},{"line_number":17,"context_line":"  ng-init\u003d\"userID \u003d \u0027{{ request.user.id }}\u0027\""},{"line_number":18,"context_line":"  class\u003d\"table-striped table-rsp table-detail modern\"\u003e"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  \u003c!--"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_c1db911a","line":17,"updated":"2015-04-20 17:22:00.000000000","message":"Should this be {$ request.user.id $} ?","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6a4e47411f444b5d8b6c6cb43db3a3f9391ab47e","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  default-sort\u003d\"name\""},{"line_number":15,"context_line":"  default-sort-reverse\u003d\"false\""},{"line_number":16,"context_line":"  ng-controller\u003d\"identityUsersCtrl\""},{"line_number":17,"context_line":"  ng-init\u003d\"userID \u003d \u0027{{ request.user.id }}\u0027\""},{"line_number":18,"context_line":"  class\u003d\"table-striped table-rsp table-detail modern\"\u003e"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  \u003c!--"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_7474859b","line":17,"in_reply_to":"dac4157f_c1db911a","updated":"2015-04-20 17:26:36.000000000","message":"{{ .. }} is correct, we are embedding the request user id server-side. The HTML is a Django-Angular template.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"70f340f83f3319190c3501d409a302728ea40fb3","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      \u003ctd class\u003d\"select-col\"\u003e"},{"line_number":88,"context_line":"        \u003cinput type\u003d\"checkbox\""},{"line_number":89,"context_line":"          ng-model\u003d\"selected[user.id].checked\""},{"line_number":90,"context_line":"          ng-change\u003d\"updateSelectCount(user)\"\u003e"},{"line_number":91,"context_line":"      \u003c/td\u003e"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"      \u003c!--"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_c1771101","line":90,"updated":"2015-04-20 17:22:00.000000000","message":"Use hz-select\u003d\"user\" here instead of ng-change\u003d\"updateSelectCount(user)\"","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6a4e47411f444b5d8b6c6cb43db3a3f9391ab47e","unresolved":false,"context_lines":[{"line_number":87,"context_line":"      \u003ctd class\u003d\"select-col\"\u003e"},{"line_number":88,"context_line":"        \u003cinput type\u003d\"checkbox\""},{"line_number":89,"context_line":"          ng-model\u003d\"selected[user.id].checked\""},{"line_number":90,"context_line":"          ng-change\u003d\"updateSelectCount(user)\"\u003e"},{"line_number":91,"context_line":"      \u003c/td\u003e"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"      \u003c!--"}],"source_content_type":"text/html","patch_set":66,"id":"dac4157f_d46591e1","line":90,"in_reply_to":"dac4157f_c1771101","updated":"2015-04-20 17:26:36.000000000","message":"Done","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"2f6d1364080125155a3bd80ccc1231e306dfddd5","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      \u003cth class\u003d\"select-col\"\u003e"},{"line_number":63,"context_line":"        \u003cinput type\u003d\"checkbox\""},{"line_number":64,"context_line":"          hz-select-all\u003d\"users\""},{"line_number":65,"context_line":"          ng-checked\u003d\"numSelected \u003d\u003d\u003d users.length\"\u003e"},{"line_number":66,"context_line":"      \u003c/th\u003e"},{"line_number":67,"context_line":"      \u003cth class\u003d\"expander\"\u003e\u003c/th\u003e"},{"line_number":68,"context_line":"      \u003cth class\u003d\"rsp-p1\" st-sort\u003d\"name\" st-sort-default\u003d\"name\"\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_86d574ba","line":65,"updated":"2015-04-21 21:45:18.000000000","message":"Whoops, missed this last time. Don\u0027t need ng-checked anymore.\n\nhz-select-all should use \u0027iusers\u0027","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      \u003cth class\u003d\"select-col\"\u003e"},{"line_number":63,"context_line":"        \u003cinput type\u003d\"checkbox\""},{"line_number":64,"context_line":"          hz-select-all\u003d\"users\""},{"line_number":65,"context_line":"          ng-checked\u003d\"numSelected \u003d\u003d\u003d users.length\"\u003e"},{"line_number":66,"context_line":"      \u003c/th\u003e"},{"line_number":67,"context_line":"      \u003cth class\u003d\"expander\"\u003e\u003c/th\u003e"},{"line_number":68,"context_line":"      \u003cth class\u003d\"rsp-p1\" st-sort\u003d\"name\" st-sort-default\u003d\"name\"\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_d10b0629","line":65,"in_reply_to":"dac4157f_86d574ba","updated":"2015-04-24 23:18:35.000000000","message":"Done","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  \u003ctbody\u003e"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    \u003ctr ng-repeat-start\u003d\"user in iusers\" ng-class\u003d\"{\u0027st-selected\u0027: checked[user.id]}\"\u003e"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"      \u003c!--"},{"line_number":83,"context_line":"        Table-row-checkbox:"}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_46519c61","line":80,"updated":"2015-04-21 23:10:08.000000000","message":"Use track by for performance.\n\nhttp://www.codelord.net/2014/04/15/improving-ng-repeat-performance-with-track-by/","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"  \u003ctbody\u003e"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    \u003ctr ng-repeat-start\u003d\"user in iusers\" ng-class\u003d\"{\u0027st-selected\u0027: checked[user.id]}\"\u003e"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"      \u003c!--"},{"line_number":83,"context_line":"        Table-row-checkbox:"}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_5cf02dfe","line":80,"in_reply_to":"dac4157f_46519c61","updated":"2015-04-24 23:18:35.000000000","message":"Done","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":122,"context_line":"              {% trans \u0027Edit\u0027 %}"},{"line_number":123,"context_line":"          \u003c/action\u003e"},{"line_number":124,"context_line":"          \u003cmenu\u003e"},{"line_number":125,"context_line":"            \u003caction"},{"line_number":126,"context_line":"              button-type\u003d\"menu-item\""},{"line_number":127,"context_line":"              callback\u003d\"actions.password.open\" item\u003d\"user\"\u003e"},{"line_number":128,"context_line":"                {% trans \u0027Change Password\u0027 %}"}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_c667ec23","line":125,"updated":"2015-04-21 23:10:08.000000000","message":"In the future, (not this patch), let\u0027s figure out how a deployer could add actions without having to modify this file and then have merge conflicts.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":122,"context_line":"              {% trans \u0027Edit\u0027 %}"},{"line_number":123,"context_line":"          \u003c/action\u003e"},{"line_number":124,"context_line":"          \u003cmenu\u003e"},{"line_number":125,"context_line":"            \u003caction"},{"line_number":126,"context_line":"              button-type\u003d\"menu-item\""},{"line_number":127,"context_line":"              callback\u003d\"actions.password.open\" item\u003d\"user\"\u003e"},{"line_number":128,"context_line":"                {% trans \u0027Change Password\u0027 %}"}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_7cd2d15d","line":125,"in_reply_to":"dac4157f_c667ec23","updated":"2015-04-24 23:18:35.000000000","message":"Yep, discussion for later.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    --\u003e"},{"line_number":158,"context_line":"    \u003ctr ng-repeat-end class\u003d\"detail-row\"\u003e"},{"line_number":159,"context_line":"      \u003ctd class\u003d\"detail\" colspan\u003d\"100\"\u003e"},{"line_number":160,"context_line":"        \u003cdl class\u003d\"dl-horizontal\"\u003e"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"          \u003cdt ng-if\u003d\"user.domain_id\"\u003e{$ ::context.header.domainId $}\u003c/dt\u003e"},{"line_number":163,"context_line":"          \u003cdd ng-if\u003d\"user.domain_id\"\u003e{$ user.domain_id $}\u003c/dd\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_31e704b2","line":160,"updated":"2015-04-21 23:10:08.000000000","message":"We need some spacing here.  It is crammed over too far.  Probably just an empty td  \u003ctd\u003e\u003c/td\u003e","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    --\u003e"},{"line_number":158,"context_line":"    \u003ctr ng-repeat-end class\u003d\"detail-row\"\u003e"},{"line_number":159,"context_line":"      \u003ctd class\u003d\"detail\" colspan\u003d\"100\"\u003e"},{"line_number":160,"context_line":"        \u003cdl class\u003d\"dl-horizontal\"\u003e"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"          \u003cdt ng-if\u003d\"user.domain_id\"\u003e{$ ::context.header.domainId $}\u003c/dt\u003e"},{"line_number":163,"context_line":"          \u003cdd ng-if\u003d\"user.domain_id\"\u003e{$ user.domain_id $}\u003c/dd\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_71655a1c","line":160,"in_reply_to":"dac4157f_31e704b2","updated":"2015-04-24 23:18:35.000000000","message":"I\u0027ll address via css instead.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"88acc0bf9c8a4f5d59c0a87e9b4a72c4edf8b900","unresolved":false,"context_lines":[{"line_number":175,"context_line":"          \u003cdd\u003e{$ user.id $}\u003c/dd\u003e"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"          \u003cdt\u003e{$ ::context.header.enabled $}\u003c/dt\u003e"},{"line_number":178,"context_line":"          \u003cdd\u003e{$ user.enabled $}\u003c/dd\u003e"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        \u003c/dl\u003e"},{"line_number":181,"context_line":"      \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"dac4157f_29f1bd01","line":178,"updated":"2015-04-22 13:29:51.000000000","message":"Should use yesno filter maybe?","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":175,"context_line":"          \u003cdd\u003e{$ user.id $}\u003c/dd\u003e"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"          \u003cdt\u003e{$ ::context.header.enabled $}\u003c/dt\u003e"},{"line_number":178,"context_line":"          \u003cdd\u003e{$ user.enabled $}\u003c/dd\u003e"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"        \u003c/dl\u003e"},{"line_number":181,"context_line":"      \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":67,"id":"bab921fb_d17666d6","line":178,"in_reply_to":"dac4157f_29f1bd01","updated":"2015-04-24 23:18:35.000000000","message":"Done","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"1e5bfe00227b08ec4bed795dd770cc137381dd64","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    --\u003e"},{"line_number":61,"context_line":"    \u003ctr\u003e"},{"line_number":62,"context_line":"      \u003cth class\u003d\"select-col\"\u003e"},{"line_number":63,"context_line":"        \u003cinput type\u003d\"checkbox\" hz-select-all\u003d\"isusers\"\u003e"},{"line_number":64,"context_line":"      \u003c/th\u003e"},{"line_number":65,"context_line":"      \u003cth class\u003d\"expander\"\u003e\u003c/th\u003e"},{"line_number":66,"context_line":"      \u003cth class\u003d\"rsp-p1\" st-sort\u003d\"name\" st-sort-default\u003d\"name\"\u003e"}],"source_content_type":"text/html","patch_set":72,"id":"bab921fb_2fd41abb","line":63,"updated":"2015-04-25 00:38:26.000000000","message":"I think you want iusers with the extra \u0027s\u0027 after the \u0027i\u0027","commit_id":"4422eaab5afea180b19c90ea8658c56a806a2014"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c256af343cf816ef9987ca7c2647c67fc275c21e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    --\u003e"},{"line_number":61,"context_line":"    \u003ctr\u003e"},{"line_number":62,"context_line":"      \u003cth class\u003d\"select-col\"\u003e"},{"line_number":63,"context_line":"        \u003cinput type\u003d\"checkbox\" hz-select-all\u003d\"isusers\"\u003e"},{"line_number":64,"context_line":"      \u003c/th\u003e"},{"line_number":65,"context_line":"      \u003cth class\u003d\"expander\"\u003e\u003c/th\u003e"},{"line_number":66,"context_line":"      \u003cth class\u003d\"rsp-p1\" st-sort\u003d\"name\" st-sort-default\u003d\"name\"\u003e"}],"source_content_type":"text/html","patch_set":72,"id":"bab921fb_f0001268","line":63,"in_reply_to":"bab921fb_2fd41abb","updated":"2015-04-26 08:30:41.000000000","message":"ops no wonder :P","commit_id":"4422eaab5afea180b19c90ea8658c56a806a2014"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"33543f341fc3b9f4ec595e6f69a33c248766882b","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            \u003caction"},{"line_number":36,"context_line":"              action-classes\u003d\"\u0027btn btn-default btn-sm\u0027\""},{"line_number":37,"context_line":"              callback\u003d\"actions.create.open\"\u003e"},{"line_number":38,"context_line":"              \u003ci class\u003d\"fa fa-user-plus\"\u003e\u003c/i\u003e"},{"line_number":39,"context_line":"              {% trans \u0027Create User\u0027 %}"},{"line_number":40,"context_line":"            \u003c/action\u003e"},{"line_number":41,"context_line":"          \u003c/action-list\u003e"}],"source_content_type":"text/html","patch_set":83,"id":"1aca2d91_99e15701","line":38,"updated":"2015-05-08 03:17:06.000000000","message":"For consistency, can the icons use \u003cspan\u003e? For the new launch instance, we were following the convention of using \u003cspan\u003e for icons rather than \u003ci\u003e. Bootstrap 3 now also follows this.\n\nI shall update the documentation in tables :)","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aff6aa5d22916464b2833ecd786b98acd64f65ee","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            \u003caction"},{"line_number":36,"context_line":"              action-classes\u003d\"\u0027btn btn-default btn-sm\u0027\""},{"line_number":37,"context_line":"              callback\u003d\"actions.create.open\"\u003e"},{"line_number":38,"context_line":"              \u003ci class\u003d\"fa fa-user-plus\"\u003e\u003c/i\u003e"},{"line_number":39,"context_line":"              {% trans \u0027Create User\u0027 %}"},{"line_number":40,"context_line":"            \u003c/action\u003e"},{"line_number":41,"context_line":"          \u003c/action-list\u003e"}],"source_content_type":"text/html","patch_set":83,"id":"1aca2d91_e94d013f","line":38,"in_reply_to":"1aca2d91_99e15701","updated":"2015-05-20 07:47:09.000000000","message":"\u003ci\u003e makes more sense to me as they represent the icon tag. and font awesome seems to be promoting this instead of span. since we are moving away from bootstrap icon, i would prefer to stick with \u003ci\u003e","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":35,"context_line":"            \u003caction"},{"line_number":36,"context_line":"              action-classes\u003d\"\u0027btn btn-default btn-sm\u0027\""},{"line_number":37,"context_line":"              callback\u003d\"actions.create.open\"\u003e"},{"line_number":38,"context_line":"              \u003ci class\u003d\"fa fa-user-plus\"\u003e\u003c/i\u003e"},{"line_number":39,"context_line":"              {% trans \u0027Create User\u0027 %}"},{"line_number":40,"context_line":"            \u003c/action\u003e"},{"line_number":41,"context_line":"          \u003c/action-list\u003e"}],"source_content_type":"text/html","patch_set":84,"id":"7a016987_1b480f5b","line":38,"updated":"2015-05-14 05:46:31.000000000","message":"Kelly\u0027s question in 83 on span usage here?","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/dashboards/identity/users/templates/users/test.html":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"280e42a6ad9968d74dec5035bd1ddd221f4da826","unresolved":false,"context_lines":[{"line_number":42,"context_line":"      \u003c/tr\u003e"},{"line_number":43,"context_line":"    \u003c/thead\u003e"},{"line_number":44,"context_line":"    \u003ctbody\u003e"},{"line_number":45,"context_line":"      \u003ctr ng-repeat\u003d\"user in data\"\u003e"},{"line_number":46,"context_line":"        \u003ctd class\u003d\"multi_check_column\"\u003e"},{"line_number":47,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-row\u003d\"user\"\u003e"},{"line_number":48,"context_line":"        \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5a890539_fe880924","line":45,"updated":"2014-11-21 00:30:01.000000000","message":"This should be \"user in idata\" otherwise pagination etc won\u0027t work.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"91d45529b15433c3f2616c24a11eb9235e74c89d","unresolved":false,"context_lines":[{"line_number":42,"context_line":"      \u003c/tr\u003e"},{"line_number":43,"context_line":"    \u003c/thead\u003e"},{"line_number":44,"context_line":"    \u003ctbody\u003e"},{"line_number":45,"context_line":"      \u003ctr ng-repeat\u003d\"user in data\"\u003e"},{"line_number":46,"context_line":"        \u003ctd class\u003d\"multi_check_column\"\u003e"},{"line_number":47,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-row\u003d\"user\"\u003e"},{"line_number":48,"context_line":"        \u003c/td\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5a890539_8045c844","line":45,"in_reply_to":"5a890539_fe880924","updated":"2014-11-21 17:04:43.000000000","message":"OH!!!!\nSuggestion: more descriptive variable names than data \u0026 idata. :-)","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":44,"context_line":"    \u003ctbody\u003e"},{"line_number":45,"context_line":"      \u003ctr ng-repeat\u003d\"user in data\"\u003e"},{"line_number":46,"context_line":"        \u003ctd class\u003d\"multi_check_column\"\u003e"},{"line_number":47,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-row\u003d\"user\"\u003e"},{"line_number":48,"context_line":"        \u003c/td\u003e"},{"line_number":49,"context_line":"        \u003ctd\u003e{$ user.username $}\u003c/td\u003e"},{"line_number":50,"context_line":"        \u003ctd\u003e\u003ca ng-href\u003d\"{$ user.email $}\"\u003e{$ user.email $}\u003c/a\u003e\u003c/td\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5a890539_d0c8a777","line":47,"updated":"2014-11-20 19:39:16.000000000","message":"add st-select-mode\u003d\"multiple\" and then you can select more than one user at a time.","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"61a737a894df2582ed1ddcad0e01f577cf8ca5a5","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        \u003ctd class\u003d\"multi_check_column\"\u003e"},{"line_number":47,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-row\u003d\"user\"\u003e"},{"line_number":48,"context_line":"        \u003c/td\u003e"},{"line_number":49,"context_line":"        \u003ctd\u003e{$ user.username $}\u003c/td\u003e"},{"line_number":50,"context_line":"        \u003ctd\u003e\u003ca ng-href\u003d\"{$ user.email $}\"\u003e{$ user.email $}\u003c/a\u003e\u003c/td\u003e"},{"line_number":51,"context_line":"        \u003ctd\u003e{$ user.id $}\u003c/td\u003e"},{"line_number":52,"context_line":"        \u003ctd\u003e{$ user.enabled $}\u003c/td\u003e"}],"source_content_type":"text/html","patch_set":4,"id":"5a890539_bc24dac6","line":49,"updated":"2014-11-20 19:39:16.000000000","message":"should be user.name, not user.username. Then your User Name column will be populated. You must have been feeling lonely...","commit_id":"aefe3bdb8a0ca0644999a6b35fb2b2d22e8b42f8"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ad18d5890532929c9927bf1dcabc2577d591af31","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                \u003cspan class\u003d\"glyphicon glyphicon-plus\"\u003e\u003c/span\u003e"},{"line_number":28,"context_line":"                Create User"},{"line_number":29,"context_line":"              \u003c/button\u003e"},{"line_number":30,"context_line":"              \u003cbutton class\u003d\"{$btn$} btn-danger\" type\u003d\"button\"\u003e"},{"line_number":31,"context_line":"                \u003cspan class\u003d\"glyphicon glyphicon-remove\"\u003e\u003c/span\u003e"},{"line_number":32,"context_line":"                Delete Users"},{"line_number":33,"context_line":"              \u003c/button\u003e"}],"source_content_type":"text/html","patch_set":9,"id":"5a890539_2f2f0f8a","line":30,"updated":"2014-11-27 06:47:00.000000000","message":"One way to hook this into hz-table-post could be to have hz-action\u003d\"delete_many\" which would invoke $scope.delete_many(selected_ids) (so the hzAction directive sets up a click handler which evaluates the name to find the callable and pulls the selected ids from the parent hzTablePost).","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"69b1faef838de5fe9e51b6066f30d71d15c36b64","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                \u003cspan class\u003d\"glyphicon glyphicon-plus\"\u003e\u003c/span\u003e"},{"line_number":28,"context_line":"                Create User"},{"line_number":29,"context_line":"              \u003c/button\u003e"},{"line_number":30,"context_line":"              \u003cbutton class\u003d\"{$btn$} btn-danger\" type\u003d\"button\"\u003e"},{"line_number":31,"context_line":"                \u003cspan class\u003d\"glyphicon glyphicon-remove\"\u003e\u003c/span\u003e"},{"line_number":32,"context_line":"                Delete Users"},{"line_number":33,"context_line":"              \u003c/button\u003e"}],"source_content_type":"text/html","patch_set":9,"id":"5a890539_1338abd3","line":30,"in_reply_to":"5a890539_2f2f0f8a","updated":"2014-11-28 00:12:04.000000000","message":"Agh, can\u0027t edit my last comment, so adding a new one. Re-reading it, I was unclear.\n\ndelete_many() would be a method on the hzIdentityUsersCtrl $scope, hence hz-action\u003d\"delete_many\" would resolve to finding that method, and when the action is invoked through the click handler, the hzAction controller would invoke that callable with the selected ids from hzTablePost.\n\nI hope that\u0027s clearer :)","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":40,"context_line":"      \u003c!-- Table Headers --\u003e"},{"line_number":41,"context_line":"      \u003ctr\u003e"},{"line_number":42,"context_line":"        \u003cth class\u003d\"multi_select_column\"\u003e"},{"line_number":43,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-all\u003d\"idata\"\u003e"},{"line_number":44,"context_line":"        \u003c/th\u003e"},{"line_number":45,"context_line":"        \u003cth\u003eUser Name\u003c/th\u003e"},{"line_number":46,"context_line":"        \u003cth\u003eEmail\u003c/th\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_3c2dab46","line":43,"updated":"2014-12-04 21:28:13.000000000","message":"hz-select-all\u003d\"data\"\nnot \"idata\"\nIf it is idata, it only selects the current page.\nSuggest improving names, when you get around to it, something like \"sourceData\" and \"tableData\".","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        \u003cth class\u003d\"multi_select_column\"\u003e"},{"line_number":43,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-all\u003d\"idata\"\u003e"},{"line_number":44,"context_line":"        \u003c/th\u003e"},{"line_number":45,"context_line":"        \u003cth\u003eUser Name\u003c/th\u003e"},{"line_number":46,"context_line":"        \u003cth\u003eEmail\u003c/th\u003e"},{"line_number":47,"context_line":"        \u003cth\u003eID\u003c/th\u003e"},{"line_number":48,"context_line":"        \u003cth\u003eEnabled\u003c/th\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_bcafdbe1","line":45,"updated":"2014-12-04 21:28:13.000000000","message":"change to:\n\u003cth st-sort\u003d\u0027name\u0027\u003e","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":43,"context_line":"          \u003cinput type\u003d\"checkbox\" hz-select-all\u003d\"idata\"\u003e"},{"line_number":44,"context_line":"        \u003c/th\u003e"},{"line_number":45,"context_line":"        \u003cth\u003eUser Name\u003c/th\u003e"},{"line_number":46,"context_line":"        \u003cth\u003eEmail\u003c/th\u003e"},{"line_number":47,"context_line":"        \u003cth\u003eID\u003c/th\u003e"},{"line_number":48,"context_line":"        \u003cth\u003eEnabled\u003c/th\u003e"},{"line_number":49,"context_line":"        \u003cth\u003eAction\u003c/th\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_fcb5e331","line":46,"updated":"2014-12-04 21:28:13.000000000","message":"\u003cth st-sort\u003d\u0027email\u0027\u003e","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        \u003c/th\u003e"},{"line_number":45,"context_line":"        \u003cth\u003eUser Name\u003c/th\u003e"},{"line_number":46,"context_line":"        \u003cth\u003eEmail\u003c/th\u003e"},{"line_number":47,"context_line":"        \u003cth\u003eID\u003c/th\u003e"},{"line_number":48,"context_line":"        \u003cth\u003eEnabled\u003c/th\u003e"},{"line_number":49,"context_line":"        \u003cth\u003eAction\u003c/th\u003e"},{"line_number":50,"context_line":"      \u003c/tr\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_3c83eb56","line":47,"updated":"2014-12-04 21:28:13.000000000","message":"\u003cth st-sort\u003d\u0027id\u0027\u003e","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"678df657dfe48ee1b2d6f2795b9e387cd7bc0a8d","unresolved":false,"context_lines":[{"line_number":45,"context_line":"        \u003cth\u003eUser Name\u003c/th\u003e"},{"line_number":46,"context_line":"        \u003cth\u003eEmail\u003c/th\u003e"},{"line_number":47,"context_line":"        \u003cth\u003eID\u003c/th\u003e"},{"line_number":48,"context_line":"        \u003cth\u003eEnabled\u003c/th\u003e"},{"line_number":49,"context_line":"        \u003cth\u003eAction\u003c/th\u003e"},{"line_number":50,"context_line":"      \u003c/tr\u003e"},{"line_number":51,"context_line":"    \u003c/thead\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_9c7cdf72","line":48,"updated":"2014-12-04 21:28:13.000000000","message":"\u003cth st-sort\u003d\u0027enabled\u0027\u003e","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":11902,"name":"Randy Bertram","email":"rbertram@us.ibm.com","username":"rbertram"},"change_message_id":"d31fb8630c66582a76b3504da371e144209959d0","unresolved":false,"context_lines":[{"line_number":56,"context_line":"        \u003ctd class\u003d\"multi_select_column\"\u003e"},{"line_number":57,"context_line":"          \u003cinput type\u003d\"checkbox\" ng-model\u003d\"selected[user.id]\"\u003e"},{"line_number":58,"context_line":"        \u003c/td\u003e"},{"line_number":59,"context_line":"        \u003ctd\u003e{$user.username$}\u003c/td\u003e"},{"line_number":60,"context_line":"        \u003ctd\u003e\u003ca ng-href\u003d\"{$user.email$}\"\u003e{$user.email$}\u003c/a\u003e\u003c/td\u003e"},{"line_number":61,"context_line":"        \u003ctd\u003e{$user.id$}\u003c/td\u003e"},{"line_number":62,"context_line":"        \u003ctd\u003e"}],"source_content_type":"text/html","patch_set":13,"id":"5a890539_bb3a85ca","line":59,"updated":"2014-12-04 19:33:12.000000000","message":"Should be user.name, not user.username. This is causing first column (\"user name\") to be blank.","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"{% endblock page_header %}"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"{% block main %}"},{"line_number":10,"context_line":"\u003cdiv ng-controller\u003d\"hzIdentityUsersCtrl\" ng-init\u003d\"btn\u003d\u0027btn btn-default btn-sm\u0027\"\u003e"},{"line_number":11,"context_line":"  \u003cform hz-table-post action\u003d\"/identity/users/test/\" method\u003d\"POST\"\u003e{% csrf_token %}"},{"line_number":12,"context_line":"  \u003ctable st-table\u003d\"idata\" st-safe-src\u003d\"data\" class\u003d\"table table-bordered table-striped\"\u003e"},{"line_number":13,"context_line":"    \u003cthead\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_cd07b480","line":10,"updated":"2014-12-13 00:41:27.000000000","message":"Consider do initialization in controller. Check angularjs api documentation here for suggestions:\n\nhttps://docs.angularjs.org/api/ng/directive/ngInit\n\n``The only appropriate use of ngInit is for aliasing special properties of ngRepeat, as seen in the demo below. Besides this case, you should use controllers rather than ngInit to initialize values on a scope.``","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":7,"context_line":"{% endblock page_header %}"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"{% block main %}"},{"line_number":10,"context_line":"\u003cdiv ng-controller\u003d\"hzIdentityUsersCtrl\" ng-init\u003d\"btn\u003d\u0027btn btn-default btn-sm\u0027\"\u003e"},{"line_number":11,"context_line":"  \u003cform hz-table-post action\u003d\"/identity/users/test/\" method\u003d\"POST\"\u003e{% csrf_token %}"},{"line_number":12,"context_line":"  \u003ctable st-table\u003d\"idata\" st-safe-src\u003d\"data\" class\u003d\"table table-bordered table-striped\"\u003e"},{"line_number":13,"context_line":"    \u003cthead\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_70a13393","line":10,"in_reply_to":"3a961159_cd07b480","updated":"2014-12-13 02:14:14.000000000","message":"yup removing them.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        \u003ctd class\u003d\"actions_column\"\u003e"},{"line_number":61,"context_line":"          \u003cdiv class\u003d\"btn-group\"\u003e"},{"line_number":62,"context_line":"            \u003cbutton class\u003d\"{$btn$}\" type\u003d\"button\" ng-click\u003d\"editUser(user)\"\u003eEdit\u003c/button\u003e"},{"line_number":63,"context_line":"            \u003ca class\u003d\"{$btn$} dropdown-toggle\" data-toggle\u003d\"dropdown\"\u003e"},{"line_number":64,"context_line":"              \u003cspan class\u003d\"caret\"\u003e\u003c/span\u003e"},{"line_number":65,"context_line":"            \u003c/a\u003e"},{"line_number":66,"context_line":"            \u003c!-- Dropdown list --\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_4d7f4415","line":63,"updated":"2014-12-13 00:41:27.000000000","message":"Please use \u003cbutton\u003e rather that \u003ca\u003e if it is a button. Using a will cause some issue:\n- Accessibility issue.\n- When mouse over there will be cause something showing in browser to the link, which is ugly.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":60,"context_line":"        \u003ctd class\u003d\"actions_column\"\u003e"},{"line_number":61,"context_line":"          \u003cdiv class\u003d\"btn-group\"\u003e"},{"line_number":62,"context_line":"            \u003cbutton class\u003d\"{$btn$}\" type\u003d\"button\" ng-click\u003d\"editUser(user)\"\u003eEdit\u003c/button\u003e"},{"line_number":63,"context_line":"            \u003ca class\u003d\"{$btn$} dropdown-toggle\" data-toggle\u003d\"dropdown\"\u003e"},{"line_number":64,"context_line":"              \u003cspan class\u003d\"caret\"\u003e\u003c/span\u003e"},{"line_number":65,"context_line":"            \u003c/a\u003e"},{"line_number":66,"context_line":"            \u003c!-- Dropdown list --\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_10b0efdb","line":63,"in_reply_to":"3a961159_4d7f4415","updated":"2014-12-13 02:14:14.000000000","message":"Done","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":64,"context_line":"              \u003cspan class\u003d\"caret\"\u003e\u003c/span\u003e"},{"line_number":65,"context_line":"            \u003c/a\u003e"},{"line_number":66,"context_line":"            \u003c!-- Dropdown list --\u003e"},{"line_number":67,"context_line":"            \u003cul class\u003d\"dropdown-menu row_actions clearfix\"\u003e"},{"line_number":68,"context_line":"              \u003cli class\u003d\"clearfix\"\u003e"},{"line_number":69,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle\""},{"line_number":70,"context_line":"                  type\u003d\"button\" ng-click\u003d\"disableUser(user)\""}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_6dcc008a","line":67,"updated":"2014-12-13 00:41:27.000000000","message":"why this class name `row_actions` do not using `-` to separate word like `row-actions`?","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":64,"context_line":"              \u003cspan class\u003d\"caret\"\u003e\u003c/span\u003e"},{"line_number":65,"context_line":"            \u003c/a\u003e"},{"line_number":66,"context_line":"            \u003c!-- Dropdown list --\u003e"},{"line_number":67,"context_line":"            \u003cul class\u003d\"dropdown-menu row_actions clearfix\"\u003e"},{"line_number":68,"context_line":"              \u003cli class\u003d\"clearfix\"\u003e"},{"line_number":69,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle\""},{"line_number":70,"context_line":"                  type\u003d\"button\" ng-click\u003d\"disableUser(user)\""}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_30b32bea","line":67,"in_reply_to":"3a961159_6dcc008a","updated":"2014-12-13 02:14:14.000000000","message":"reusing legacy css.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":68,"context_line":"              \u003cli class\u003d\"clearfix\"\u003e"},{"line_number":69,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle\""},{"line_number":70,"context_line":"                  type\u003d\"button\" ng-click\u003d\"disableUser(user)\""},{"line_number":71,"context_line":"                  ng-disabled\u003d\"user.id\u003d\u003d\u003d\u0027{{request.user.id}}\u0027\"\u003e"},{"line_number":72,"context_line":"                  Disable User"},{"line_number":73,"context_line":"                \u003c/button\u003e"},{"line_number":74,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle btn-danger\""}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_6de5e007","line":71,"updated":"2014-12-13 00:41:27.000000000","message":"\u0027{{request.user.id}}\u0027 will conver null to `null`. It is better to have a JS function call as a angular expression here.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":68,"context_line":"              \u003cli class\u003d\"clearfix\"\u003e"},{"line_number":69,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle\""},{"line_number":70,"context_line":"                  type\u003d\"button\" ng-click\u003d\"disableUser(user)\""},{"line_number":71,"context_line":"                  ng-disabled\u003d\"user.id\u003d\u003d\u003d\u0027{{request.user.id}}\u0027\"\u003e"},{"line_number":72,"context_line":"                  Disable User"},{"line_number":73,"context_line":"                \u003c/button\u003e"},{"line_number":74,"context_line":"                \u003cbutton class\u003d\"btn btn-default btn-sm btn-toggle btn-danger\""}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_90c3ff36","line":71,"in_reply_to":"3a961159_6de5e007","updated":"2014-12-13 02:14:14.000000000","message":"There is absolutely no way for user.id to be null. So I think it is ok the way it is.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    \u003ctfoot\u003e"},{"line_number":85,"context_line":"      \u003ctr\u003e"},{"line_number":86,"context_line":"        \u003ctd colspan\u003d\"99\"\u003e"},{"line_number":87,"context_line":"          \u003cspan class\u003d\"display\"\u003eDisplaying {$idata.length$} items\u003c/span\u003e"},{"line_number":88,"context_line":"          \u003cdiv st-pagination\u003d\"\" st-items-by-page\u003d\"5\" st-displayed-pages\u003d\"10\"\u003e\u003c/div\u003e"},{"line_number":89,"context_line":"        \u003c/td\u003e"},{"line_number":90,"context_line":"      \u003c/tr\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_8daccc8d","line":87,"updated":"2014-12-13 00:41:27.000000000","message":"This way, it is hard to do localization/internationalization layer. Consider using ng-bind for the whole string. Using ng-bind is also good for late perf optimization if we find we have too many data binding. We can easily define a new custom directive, for example `bind-once` to populate the string without true angular binding, that will save a log of angular watch functions.\n\nThe same to other similar places.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    \u003ctfoot\u003e"},{"line_number":85,"context_line":"      \u003ctr\u003e"},{"line_number":86,"context_line":"        \u003ctd colspan\u003d\"99\"\u003e"},{"line_number":87,"context_line":"          \u003cspan class\u003d\"display\"\u003eDisplaying {$idata.length$} items\u003c/span\u003e"},{"line_number":88,"context_line":"          \u003cdiv st-pagination\u003d\"\" st-items-by-page\u003d\"5\" st-displayed-pages\u003d\"10\"\u003e\u003c/div\u003e"},{"line_number":89,"context_line":"        \u003c/td\u003e"},{"line_number":90,"context_line":"      \u003c/tr\u003e"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_f0e363d6","line":87,"in_reply_to":"3a961159_8daccc8d","updated":"2014-12-13 02:14:14.000000000","message":"Good point, i\u0027ll add a note as a TODO.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":90,"context_line":"      \u003c/tr\u003e"},{"line_number":91,"context_line":"    \u003c/tfoot\u003e"},{"line_number":92,"context_line":"  \u003c/table\u003e"},{"line_number":93,"context_line":"  \u003c/form\u003e"},{"line_number":94,"context_line":"\u003c/div\u003e"},{"line_number":95,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_4dcd8465","line":93,"updated":"2014-12-13 00:41:27.000000000","message":"\u003c/table\u003e\n    \u003c/form\u003e\n\nLooks like here indentation is not correct.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":90,"context_line":"      \u003c/tr\u003e"},{"line_number":91,"context_line":"    \u003c/tfoot\u003e"},{"line_number":92,"context_line":"  \u003c/table\u003e"},{"line_number":93,"context_line":"  \u003c/form\u003e"},{"line_number":94,"context_line":"\u003c/div\u003e"},{"line_number":95,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":21,"id":"3a961159_d0e027cf","line":93,"in_reply_to":"3a961159_4dcd8465","updated":"2014-12-13 02:14:14.000000000","message":"Done","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"58f6f0ff0d1462552b0520e3b502c693740cebc7","unresolved":false,"context_lines":[{"line_number":27,"context_line":"                {% trans \"Create User\" %}"},{"line_number":28,"context_line":"              \u003c/button\u003e"},{"line_number":29,"context_line":"              \u003cbutton class\u003d\"btn btn-default btn-sms btn-danger\""},{"line_number":30,"context_line":"                type\u003d\"button\" ng-click\u003d\"deleteUsers()\"\u003e"},{"line_number":31,"context_line":"                \u003cspan class\u003d\"glyphicon glyphicon-remove\"\u003e\u003c/span\u003e"},{"line_number":32,"context_line":"                {% trans \"Delete Users\" %}"},{"line_number":33,"context_line":"              \u003c/button\u003e"}],"source_content_type":"text/html","patch_set":25,"id":"3a961159_8364dee5","line":30,"updated":"2015-01-15 00:49:47.000000000","message":"need an ngDisabled","commit_id":"4f9ead7ce73b363af537952a97532ffba4efdd03"}],"openstack_dashboard/dashboards/identity/users/urls.py":[{"author":{"_account_id":7509,"name":"Jiri Tomasek","email":"jtomasek@redhat.com","username":"jtomasek"},"change_message_id":"d0b8fc9573a596e6aaba877295d2972083ad4e36","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.html\"),"},{"line_number":31,"context_line":"        name\u003d\u0027index\u0027),"},{"line_number":32,"context_line":"    url(r\u0027^creato/$\u0027,"},{"line_number":33,"context_line":"        template.as_view(template_name\u003d\"identity/users/create_test.html\"),"},{"line_number":34,"context_line":"        name\u003d\u0027creato\u0027),"},{"line_number":35,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/update/$\u0027,"},{"line_number":36,"context_line":"        views.UpdateView.as_view(), name\u003d\u0027update\u0027),"}],"source_content_type":"text/x-python","patch_set":9,"id":"5a890539_59d5e9b7","line":33,"updated":"2014-11-28 13:10:47.000000000","message":"Continuing from comment on hz.identity.users.js the template would be called \"identity/users/new.html\" and route r\u0027^new/$\u0027","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/update/$\u0027,"},{"line_number":29,"context_line":"        views.UpdateView.as_view(), name\u003d\u0027update\u0027),"},{"line_number":30,"context_line":"    url(r\u0027^create/$\u0027, views.CreateView.as_view(), name\u003d\u0027create\u0027),"},{"line_number":31,"context_line":"    url(r\u0027^test/$\u0027,"},{"line_number":32,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.html\"),"},{"line_number":33,"context_line":"        name\u003d\u0027testo\u0027),"},{"line_number":34,"context_line":"    url(r\u0027^test/create/$\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"3a961159_6df7a0d3","line":31,"updated":"2014-12-13 00:41:27.000000000","message":"Why do we want to expose testing in production?","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/update/$\u0027,"},{"line_number":29,"context_line":"        views.UpdateView.as_view(), name\u003d\u0027update\u0027),"},{"line_number":30,"context_line":"    url(r\u0027^create/$\u0027, views.CreateView.as_view(), name\u003d\u0027create\u0027),"},{"line_number":31,"context_line":"    url(r\u0027^test/$\u0027,"},{"line_number":32,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.html\"),"},{"line_number":33,"context_line":"        name\u003d\u0027testo\u0027),"},{"line_number":34,"context_line":"    url(r\u0027^test/create/$\u0027,"}],"source_content_type":"text/x-python","patch_set":21,"id":"3a961159_10e70fe5","line":31,"in_reply_to":"3a961159_6df7a0d3","updated":"2014-12-13 02:14:14.000000000","message":"when the patch is ready and legacy code is removed, i will remove WIP status","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"bebb9248bb2588a2ed069feee482a3c5f49e7a53","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.table.html\")),"},{"line_number":41,"context_line":"    url(r\u0027^test/create/$\u0027,"},{"line_number":42,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.create.html\")),"},{"line_number":43,"context_line":"    url(r\u0027^test/edit/$\u0027,"},{"line_number":44,"context_line":"        template.as_view(template_name\u003d\"identity/users/test.edit.html\")),)"}],"source_content_type":"text/x-python","patch_set":46,"id":"9a80dd14_3d424cab","line":43,"updated":"2015-03-19 22:34:10.000000000","message":"remove link, not needed.","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/change_password/$\u0027,"},{"line_number":38,"context_line":"        views.ChangePasswordView.as_view(), name\u003d\u0027change_password\u0027),"},{"line_number":39,"context_line":"    url(r\u0027^test/$\u0027,"},{"line_number":40,"context_line":"        template.as_view(template_name\u003d\"identity/users/table.html\")),"},{"line_number":41,"context_line":"    url(r\u0027^test/form/$\u0027,"},{"line_number":42,"context_line":"        template.as_view(template_name\u003d\"identity/users/form.html\")),)"}],"source_content_type":"text/x-python","patch_set":54,"id":"da9b358b_e17da6e8","line":40,"updated":"2015-03-27 23:03:17.000000000","message":"Just wondering if it possible to make it as a static angular template.","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"ae615b64b51e12931d4c483f8e547a42279f02e8","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/detail/$\u0027,"},{"line_number":36,"context_line":"        views.DetailView.as_view(), name\u003d\u0027detail\u0027),"},{"line_number":37,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/change_password/$\u0027,"},{"line_number":38,"context_line":"        views.ChangePasswordView.as_view(), name\u003d\u0027change_password\u0027),"},{"line_number":39,"context_line":"    url(r\u0027^test/$\u0027,"},{"line_number":40,"context_line":"        template.as_view(template_name\u003d\"identity/users/table.html\")),"},{"line_number":41,"context_line":"    url(r\u0027^test/form/$\u0027,"}],"source_content_type":"text/x-python","patch_set":67,"id":"dac4157f_cc8cab37","line":38,"updated":"2015-04-21 22:02:07.000000000","message":"note to self. move to demo patch.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/detail/$\u0027,"},{"line_number":36,"context_line":"        views.DetailView.as_view(), name\u003d\u0027detail\u0027),"},{"line_number":37,"context_line":"    url(r\u0027^(?P\u003cuser_id\u003e[^/]+)/change_password/$\u0027,"},{"line_number":38,"context_line":"        views.ChangePasswordView.as_view(), name\u003d\u0027change_password\u0027),"},{"line_number":39,"context_line":"    url(r\u0027^test/$\u0027,"},{"line_number":40,"context_line":"        template.as_view(template_name\u003d\"identity/users/table.html\")),"},{"line_number":41,"context_line":"    url(r\u0027^test/form/$\u0027,"}],"source_content_type":"text/x-python","patch_set":67,"id":"dac4157f_92800e48","line":38,"in_reply_to":"dac4157f_cc8cab37","updated":"2015-04-21 23:10:08.000000000","message":"Thai, we\u0027ll work on getting that feature patch up like we discussed. Something like: \n\nfeature_flags \u003d {\n\n    launch_instance_ng: {\n\n        enabled: False,\n\n        status: “Beta”,\n\n        description: “ blah blah blah”,\n\n    },\n\n    user_table_ng: {\n\n        enabled: False,\n\n        status: “Prototype”,\n\n        description: “An example angular tables page. ”, \n\n    }\n\n}","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"}],"openstack_dashboard/enabled/_25_identity.py":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":24,"context_line":"ADD_ANGULAR_MODULES \u003d [\u0027hz.dashboard\u0027]"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"ADD_JS_FILES \u003d ["},{"line_number":27,"context_line":"    \u0027dashboard/dashboard.module.js\u0027,"},{"line_number":28,"context_line":"    \u0027dashboard/identity/users/users.js\u0027,"},{"line_number":29,"context_line":"    \u0027dashboard/identity/users/form.js\u0027,"},{"line_number":30,"context_line":"    \u0027dashboard/identity/users/table.js\u0027,"}],"source_content_type":"text/x-python","patch_set":66,"id":"dac4157f_638a84c1","line":27,"updated":"2015-04-20 21:01:32.000000000","message":"This file has been included in _10_project.py Maybe we need to consider having a _0_common.py for those common files and the root module name.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":24,"context_line":"ADD_ANGULAR_MODULES \u003d [\u0027hz.dashboard\u0027]"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"ADD_JS_FILES \u003d ["},{"line_number":27,"context_line":"    \u0027dashboard/dashboard.module.js\u0027,"},{"line_number":28,"context_line":"    \u0027dashboard/identity/users/users.js\u0027,"},{"line_number":29,"context_line":"    \u0027dashboard/identity/users/form.js\u0027,"},{"line_number":30,"context_line":"    \u0027dashboard/identity/users/table.js\u0027,"}],"source_content_type":"text/x-python","patch_set":66,"id":"bab921fb_2e71cae0","line":27,"in_reply_to":"dac4157f_638a84c1","updated":"2015-04-24 22:49:06.000000000","message":"yeah, might make sense to do just that. I\u0027ll remove for now. Lets address the common file for root modules in a different patch.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":36,"context_line":"]"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"ADD_JS_SPEC_FILES \u003d ["},{"line_number":39,"context_line":"    \u0027dashboard/dashboard.module.spec.js\u0027,"},{"line_number":40,"context_line":"    \u0027dashboard/identity/users/tests/form.spec.js\u0027,"},{"line_number":41,"context_line":"    \u0027dashboard/identity/users/tests/table.spec.js\u0027,"},{"line_number":42,"context_line":"    \u0027dashboard/identity/users/tests/action.create.spec.js\u0027,"}],"source_content_type":"text/x-python","patch_set":66,"id":"dac4157f_438780b5","line":39,"updated":"2015-04-20 21:01:32.000000000","message":"Same here.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"]"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"ADD_JS_SPEC_FILES \u003d ["},{"line_number":39,"context_line":"    \u0027dashboard/dashboard.module.spec.js\u0027,"},{"line_number":40,"context_line":"    \u0027dashboard/identity/users/tests/form.spec.js\u0027,"},{"line_number":41,"context_line":"    \u0027dashboard/identity/users/tests/table.spec.js\u0027,"},{"line_number":42,"context_line":"    \u0027dashboard/identity/users/tests/action.create.spec.js\u0027,"}],"source_content_type":"text/x-python","patch_set":66,"id":"bab921fb_ce824e94","line":39,"in_reply_to":"dac4157f_438780b5","updated":"2015-04-24 22:49:06.000000000","message":"Done","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"}],"openstack_dashboard/static/dashboard/dashboard.module.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.launch-instance\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.workflow\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.identity.users\u0027"},{"line_number":8,"context_line":"  ]);"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  module.constant(\u0027dashboardBasePath\u0027, \u0027/static/dashboard/\u0027);"}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_e3bc546e","line":7,"updated":"2015-04-20 21:01:32.000000000","message":"Where is hz.dashboard.identity?","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.launch-instance\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.workflow\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.identity.users\u0027"},{"line_number":8,"context_line":"  ]);"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"  module.constant(\u0027dashboardBasePath\u0027, \u0027/static/dashboard/\u0027);"}],"source_content_type":"text/javascript","patch_set":66,"id":"bab921fb_295c24ec","line":7,"in_reply_to":"dac4157f_e3bc546e","updated":"2015-04-24 22:49:06.000000000","message":"Done","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"}],"openstack_dashboard/static/dashboard/identity/identity.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  angular.module(\u0027hz.dashboard.identity\u0027, ["},{"line_number":28,"context_line":"    \u0027hz.dashboard.identity.users\u0027"},{"line_number":29,"context_line":"  ]);"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_c00ba27c","line":30,"updated":"2015-05-14 05:46:31.000000000","message":"should be in identity.module.js\n\nhttps://github.com/johnpapa/angular-styleguide#style-y001","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/action.create.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":38,"context_line":"      success: gettext(\u0027User %s was successfully created.\u0027)"},{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    function action(scope) {"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"      /*jshint validthis: true */"},{"line_number":44,"context_line":"      var self \u003d this;"}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_e6eea28a","line":41,"updated":"2015-04-20 21:01:32.000000000","message":"This is a constructor function. consider renaming it as Action.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":38,"context_line":"      success: gettext(\u0027User %s was successfully created.\u0027)"},{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    function action(scope) {"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"      /*jshint validthis: true */"},{"line_number":44,"context_line":"      var self \u003d this;"}],"source_content_type":"text/javascript","patch_set":66,"id":"bab921fb_2913040f","line":41,"in_reply_to":"dac4157f_e6eea28a","updated":"2015-04-24 22:49:06.000000000","message":"Done","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027createAction\u0027, [\u0027keystoneAPI\u0027, \u0027$modal\u0027,"},{"line_number":32,"context_line":"  function(keystoneAPI, modal) {"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    var context \u003d {"},{"line_number":35,"context_line":"      mode: \u0027create\u0027,"}],"source_content_type":"text/javascript","patch_set":67,"id":"dac4157f_12c51e5a","line":32,"updated":"2015-04-21 23:10:08.000000000","message":"+1 to this syntax. I think we need to make anonymous functions the new standard like you did here.  The other way we did in other files is confusing.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"14b3c0b4287d99e6b98953a00be5c93a7ccea386","unresolved":false,"context_lines":[{"line_number":43,"context_line":"      /*jshint validthis: true */"},{"line_number":44,"context_line":"      var self \u003d this;"},{"line_number":45,"context_line":"      var option \u003d {"},{"line_number":46,"context_line":"        templateUrl: \u0027form\u0027,"},{"line_number":47,"context_line":"        controller: \u0027formCtrl\u0027,"},{"line_number":48,"context_line":"        resolve: {"},{"line_number":49,"context_line":"          user: function(){ return {}; },"}],"source_content_type":"text/javascript","patch_set":67,"id":"dac4157f_311ca411","line":46,"updated":"2015-04-21 21:38:26.000000000","message":"I\u0027m concerned that it might take someone a very long time to figure out how this form/action/modal stuff hangs together. I think some little comments here and there along the lines of \"configure the modal to use the local form.html and form.js\" or something.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":43,"context_line":"      /*jshint validthis: true */"},{"line_number":44,"context_line":"      var self \u003d this;"},{"line_number":45,"context_line":"      var option \u003d {"},{"line_number":46,"context_line":"        templateUrl: \u0027form\u0027,"},{"line_number":47,"context_line":"        controller: \u0027formCtrl\u0027,"},{"line_number":48,"context_line":"        resolve: {"},{"line_number":49,"context_line":"          user: function(){ return {}; },"}],"source_content_type":"text/javascript","patch_set":67,"id":"bab921fb_1c3e35da","line":46,"in_reply_to":"dac4157f_1252bedd","updated":"2015-04-24 23:18:35.000000000","message":"Done. Added some more comments to the form controller as well.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":43,"context_line":"      /*jshint validthis: true */"},{"line_number":44,"context_line":"      var self \u003d this;"},{"line_number":45,"context_line":"      var option \u003d {"},{"line_number":46,"context_line":"        templateUrl: \u0027form\u0027,"},{"line_number":47,"context_line":"        controller: \u0027formCtrl\u0027,"},{"line_number":48,"context_line":"        resolve: {"},{"line_number":49,"context_line":"          user: function(){ return {}; },"}],"source_content_type":"text/javascript","patch_set":67,"id":"dac4157f_1252bedd","line":46,"in_reply_to":"dac4157f_311ca411","updated":"2015-04-21 23:10:08.000000000","message":"+1 to Richard\u0027s comment.  I looked at this and found myself wondering for a second why I couldn\u0027t figure out where the directive was (templateUrl, controller)","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"}],"openstack_dashboard/static/dashboard/identity/users/action.delete.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"b6aff9656b334b29d3e7fbf18acc042f4274432e","unresolved":false,"context_lines":[{"line_number":51,"context_line":"      this.batchDelete \u003d function() {"},{"line_number":52,"context_line":"        var ids \u003d [], names \u003d [];"},{"line_number":53,"context_line":"        angular.forEach(scope.selected, function(row) {"},{"line_number":54,"context_line":"            if (row.checked){"},{"line_number":55,"context_line":"              ids.push(row.item.id);"},{"line_number":56,"context_line":"              names.push(row.item.name);"},{"line_number":57,"context_line":"            }"}],"source_content_type":"text/javascript","patch_set":54,"id":"da9b358b_01952ae3","line":54,"updated":"2015-03-27 23:03:17.000000000","message":"Indentation is 4 spaces here, should be 2.","commit_id":"c66ae33fd14af75aa1a5eb96a84a56bc4fa2ffea"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    var context \u003d {"},{"line_number":35,"context_line":"      title: gettext(\u0027Confirm Delete User\u0027),"},{"line_number":36,"context_line":"      message: gettext(\u0027You have selected %s. Please confirm your selection. This action cannot be undone.\u0027),"},{"line_number":37,"context_line":"      submit: gettext(\u0027Delete user\u0027),"},{"line_number":38,"context_line":"      success: gettext(\u0027Deleted users: %s.\u0027),"},{"line_number":39,"context_line":"      error: gettext(\u0027Deleted users: %s.\u0027)"},{"line_number":40,"context_line":"    };"}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_f1620aad","line":37,"updated":"2015-04-17 00:01:49.000000000","message":"May also be \"Delete users\"","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    var context \u003d {"},{"line_number":35,"context_line":"      title: gettext(\u0027Confirm Delete User\u0027),"},{"line_number":36,"context_line":"      message: gettext(\u0027You have selected %s. Please confirm your selection. This action cannot be undone.\u0027),"},{"line_number":37,"context_line":"      submit: gettext(\u0027Delete user\u0027),"},{"line_number":38,"context_line":"      success: gettext(\u0027Deleted users: %s.\u0027),"},{"line_number":39,"context_line":"      error: gettext(\u0027Deleted users: %s.\u0027)"},{"line_number":40,"context_line":"    };"}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_eaaaef18","line":37,"in_reply_to":"3ab451fb_f1620aad","updated":"2015-04-20 16:51:26.000000000","message":"Legacy users table does not add pluralization either. Can be address in subsequent patch.","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"}],"openstack_dashboard/static/dashboard/identity/users/action.edit.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"590127ee466f1d4d0a36255a83589ce89bfdda3c","unresolved":false,"context_lines":[{"line_number":36,"context_line":"   * @ngService"},{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   * @Description"},{"line_number":39,"context_line":"   * Brings up the create user modal dialog."},{"line_number":40,"context_line":"   * On submit, create a new user and display a success message."},{"line_number":41,"context_line":"   * On cancel, do nothing."},{"line_number":42,"context_line":"   */"}],"source_content_type":"text/javascript","patch_set":41,"id":"9a80dd14_78e8c816","line":39,"updated":"2015-03-17 21:11:35.000000000","message":"\"edit\" and \"create\" are used interchangeably through here. Should be more consistent I think.","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2041e0cf9076e01bd1de1c5bb4330bd8755620fc","unresolved":false,"context_lines":[{"line_number":36,"context_line":"   * @ngService"},{"line_number":37,"context_line":"   *"},{"line_number":38,"context_line":"   * @Description"},{"line_number":39,"context_line":"   * Brings up the create user modal dialog."},{"line_number":40,"context_line":"   * On submit, create a new user and display a success message."},{"line_number":41,"context_line":"   * On cancel, do nothing."},{"line_number":42,"context_line":"   */"}],"source_content_type":"text/javascript","patch_set":41,"id":"9a80dd14_1ea207fc","line":39,"in_reply_to":"9a80dd14_78e8c816","updated":"2015-03-19 10:01:23.000000000","message":"Done","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"590127ee466f1d4d0a36255a83589ce89bfdda3c","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      this.open \u003d function(user){"},{"line_number":56,"context_line":"        option.resolve.user \u003d function(){ return user; };"},{"line_number":57,"context_line":"        modal.open(option).result.then(function(updatedUser) {"},{"line_number":58,"context_line":"          keystoneAPI.createUser(updatedUser)"},{"line_number":59,"context_line":"            .success(function(response) {"},{"line_number":60,"context_line":"              var message \u003d interpolate(editLabel.success, [updatedUser.name]);"},{"line_number":61,"context_line":"              horizon.alert(\u0027success\u0027, message);"}],"source_content_type":"text/javascript","patch_set":41,"id":"9a80dd14_b8408008","line":58,"updated":"2015-03-17 21:11:35.000000000","message":"It says \"edit\" above... I think this is incorrect.","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2041e0cf9076e01bd1de1c5bb4330bd8755620fc","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      this.open \u003d function(user){"},{"line_number":56,"context_line":"        option.resolve.user \u003d function(){ return user; };"},{"line_number":57,"context_line":"        modal.open(option).result.then(function(updatedUser) {"},{"line_number":58,"context_line":"          keystoneAPI.createUser(updatedUser)"},{"line_number":59,"context_line":"            .success(function(response) {"},{"line_number":60,"context_line":"              var message \u003d interpolate(editLabel.success, [updatedUser.name]);"},{"line_number":61,"context_line":"              horizon.alert(\u0027success\u0027, message);"}],"source_content_type":"text/javascript","patch_set":41,"id":"9a80dd14_3ea7cb0c","line":58,"in_reply_to":"9a80dd14_b8408008","updated":"2015-03-19 10:01:23.000000000","message":"Done","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"f2a97304e48cf1740dd856529cfaad3d9be9cbb5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, edit user and display a success message."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027editAction\u0027, [\u0027keystoneAPI\u0027, \u0027$modal\u0027,"},{"line_number":32,"context_line":"  function(keystoneAPI, modal) {"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    var context \u003d {"}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_77b6c7dd","line":31,"updated":"2015-04-20 19:46:25.000000000","message":"Maybe I\u0027m wrong, but if we move to a more single-page app couldn\u0027t this name \u0027editAction\u0027 cause some more collisions, since it\u0027s not subject to any kind of namespace?","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, edit user and display a success message."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027editAction\u0027, [\u0027keystoneAPI\u0027, \u0027$modal\u0027,"},{"line_number":32,"context_line":"  function(keystoneAPI, modal) {"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    var context \u003d {"}],"source_content_type":"text/javascript","patch_set":66,"id":"bab921fb_49b518ec","line":31,"in_reply_to":"dac4157f_77b6c7dd","updated":"2015-04-24 22:49:06.000000000","message":"Yes it could. Needs renaming.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"}],"openstack_dashboard/static/dashboard/identity/users/action.password.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":35,"context_line":"      mode: \u0027password\u0027,"},{"line_number":36,"context_line":"      title: gettext(\u0027Change Password\u0027),"},{"line_number":37,"context_line":"      submit:  gettext(\u0027Save\u0027),"},{"line_number":38,"context_line":"      success: gettext(\u0027User %s has been updated successfully.\u0027)"},{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    function action(scope) {"}],"source_content_type":"text/javascript","patch_set":57,"id":"da9b358b_256364de","line":38,"updated":"2015-03-30 19:54:57.000000000","message":"*Password for user %s has been updated successfully.","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":35,"context_line":"      mode: \u0027password\u0027,"},{"line_number":36,"context_line":"      title: gettext(\u0027Change Password\u0027),"},{"line_number":37,"context_line":"      submit:  gettext(\u0027Save\u0027),"},{"line_number":38,"context_line":"      success: gettext(\u0027User %s has been updated successfully.\u0027)"},{"line_number":39,"context_line":"    };"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    function action(scope) {"}],"source_content_type":"text/javascript","patch_set":57,"id":"da9b358b_4a2670cf","line":38,"in_reply_to":"da9b358b_256364de","updated":"2015-03-30 20:54:22.000000000","message":"Done","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":11881,"name":"Aaron Sahlin","email":"asahlin@us.ibm.com","username":"asahlin"},"change_message_id":"ad3f27bae483f872aa62591e0ef12a5bbec942c1","unresolved":false,"context_lines":[{"line_number":73,"context_line":"            // if the user changed his/her own password"},{"line_number":74,"context_line":"            // automatically log the user out"},{"line_number":75,"context_line":"            if (updatedUser.id \u003d\u003d\u003d scope.userID){"},{"line_number":76,"context_line":"              window.location.replace(\u0027/auth/logout\u0027);"},{"line_number":77,"context_line":"            }"},{"line_number":78,"context_line":"          });"},{"line_number":79,"context_line":"      };"}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_03b06942","line":76,"updated":"2015-04-20 19:43:38.000000000","message":"This is fine for now, but once/if this patch https://review.openstack.org/#/c/174550 goes in.. this line should read LOGOUT_URL from settings.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"}],"openstack_dashboard/static/dashboard/identity/users/actions/create.js":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"48da647217170085c6716b86ff102d63ca9e5f02","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, create a new user and display a success message."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersCreate\u0027, function(keystoneAPI, $modal) {"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    var context \u003d {"},{"line_number":34,"context_line":"      mode: \u0027create\u0027,"}],"source_content_type":"text/javascript","patch_set":71,"id":"bab921fb_c2045619","line":31,"updated":"2015-04-25 00:00:04.000000000","message":"I think there are disagreement on using implicit dependency injection in the community right now. Can we wait until we all have a consensus on this?","commit_id":"503aa9584693d6b7ace7050d39097432e81fca7e"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"33543f341fc3b9f4ec595e6f69a33c248766882b","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          .success(function(response) {"},{"line_number":66,"context_line":"            scope.users.push(response);"},{"line_number":67,"context_line":"            var message \u003d interpolate(context.success, [newUser.name]);"},{"line_number":68,"context_line":"            horizon.alert(\u0027success\u0027, message);"},{"line_number":69,"context_line":"            horizon.autoDismissAlerts();"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            // remove the passwords from user object"}],"source_content_type":"text/javascript","patch_set":83,"id":"1aca2d91_59f5ff80","line":68,"updated":"2015-05-08 03:17:06.000000000","message":"Use toastService? Or are you waiting for Cindy\u0027s auto dismiss patch to go through?","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aff6aa5d22916464b2833ecd786b98acd64f65ee","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          .success(function(response) {"},{"line_number":66,"context_line":"            scope.users.push(response);"},{"line_number":67,"context_line":"            var message \u003d interpolate(context.success, [newUser.name]);"},{"line_number":68,"context_line":"            horizon.alert(\u0027success\u0027, message);"},{"line_number":69,"context_line":"            horizon.autoDismissAlerts();"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            // remove the passwords from user object"}],"source_content_type":"text/javascript","patch_set":83,"id":"1aca2d91_a95389e1","line":68,"in_reply_to":"1aca2d91_59f5ff80","updated":"2015-05-20 07:47:09.000000000","message":"waiting on toast service to have autodismiss.","commit_id":"66fe6de4d870e7d08f87750da022ed0357855895"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersCreate\u0027, function(keystoneAPI, $modal) {"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    var context \u003d {"},{"line_number":34,"context_line":"      mode: \u0027create\u0027,"},{"line_number":35,"context_line":"      title: gettext(\u0027Create User\u0027),"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_806daa34","line":32,"updated":"2015-05-14 05:46:31.000000000","message":"The style guide generally does not suggest using anonymous functions:\n\nhttps://github.com/johnpapa/angular-styleguide#style-y024\n\nso, instead of \n\n .factory(\u0027idusersCreate\u0027, function(keystoneAPI, $modal) {\n\nuse  something like:\n\n.factory(\u0027idusersCreate\u0027, userCreateFormFactory);\n\nfunction userCreateFormFactory(keystoneAPI, $modal) {","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      submit:  gettext(\u0027Create\u0027),"},{"line_number":37,"context_line":"      success: gettext(\u0027User %s was successfully created.\u0027)"},{"line_number":38,"context_line":"    };"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    function Action(scope) {"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"      /*jshint validthis: true */"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_80b00a8d","line":39,"updated":"2015-05-14 05:46:31.000000000","message":"So, now that I read this a bit more carefully, unless I\u0027m missing something using a factory to create a constructor function is not covered by the style guide. And using the style guide normal methodology would mean you\u0027d have to do something like have a setter on the factory object (setScope - bad I think) rather than a constructor. Or really, you could be returning a factory rather than something than a constructor that takes new.\n\nE.g. usage:\n\nfunction(createUserFormFactory, function() {\n createUserFormFactory.newForm(scope);\n}\n\nIf that is the case and you really want to use a constructor function rather than return a factory, maybe we should submit a change to the style guide for this use case?\n\nOtherwise, it should follow this style: https://github.com/johnpapa/angular-styleguide#style-y052","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":48,"context_line":"      // for evaluation by the form controller"},{"line_number":49,"context_line":"      var option \u003d {"},{"line_number":50,"context_line":"        templateUrl: \u0027form\u0027,"},{"line_number":51,"context_line":"        controller: \u0027idusersFormCtrl\u0027,"},{"line_number":52,"context_line":"        resolve: {"},{"line_number":53,"context_line":"          user: function(){ return {}; },"},{"line_number":54,"context_line":"          context: function(){ return context; }"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_0031ba0b","line":51,"updated":"2015-05-14 05:46:31.000000000","message":"uber-nit: idusersFormCtrl or idUsersFormCtrl?  I see some inconsistencies with idusersform as well in other places.","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":65,"context_line":"          .success(function(response) {"},{"line_number":66,"context_line":"            scope.users.push(response);"},{"line_number":67,"context_line":"            var message \u003d interpolate(context.success, [newUser.name]);"},{"line_number":68,"context_line":"            horizon.alert(\u0027success\u0027, message);"},{"line_number":69,"context_line":"            horizon.autoDismissAlerts();"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            // remove the passwords from user object"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_9b72bfac","line":68,"updated":"2015-05-14 05:46:31.000000000","message":"Kelly\u0027s question on toastService in patch set 83.","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/actions/delete.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fafbf0406a5db9106881d9183189c3c6caa1a524","unresolved":false,"context_lines":[{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersDelete\u0027, [\u0027keystoneAPI\u0027, \u0027simpleModalService\u0027,"},{"line_number":32,"context_line":"  function(keystoneAPI, smodal) {"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    var context \u003d {"},{"line_number":35,"context_line":"      title: gettext(\u0027Confirm Delete User\u0027),"}],"source_content_type":"text/javascript","patch_set":75,"id":"5ad0253b_b8fd9570","line":32,"updated":"2015-04-28 16:33:40.000000000","message":"So, I was just looking at the johnpapa style guide and if we follow that we actually should not be using anonymous functions. I think we should make a deliberate decision here.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y024\n\nIt is also worth noting that in the style guide it makes it very readable code by using hoisting (rather than in the past where we\u0027ve put the function above and injecting into the module below).\n\nangular\n    .module(\u0027app\u0027)\n    .factory(\u0027someFactory\u0027, someFactory);\n\nfunction someFactory() { }\n\nI also want to point out that the style guide also wants bindable members to be higher and to leverage hoisting.  Sean and I both have talked about this several times that we believe it creates much more readable code as well.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y033\nhttps://github.com/johnpapa/angular-styleguide#style-y034\nhttps://github.com/johnpapa/angular-styleguide#style-y053","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"fc0a14efdb97bd6695afe59938743bbe7f2467b2","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, delete selected users."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersDelete\u0027, [\u0027keystoneAPI\u0027, \u0027simpleModalService\u0027,"},{"line_number":32,"context_line":"  function(keystoneAPI, smodal) {"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    var context \u003d {"}],"source_content_type":"text/javascript","patch_set":76,"id":"5ad0253b_a679e631","line":31,"updated":"2015-04-28 22:11:33.000000000","message":"bump","commit_id":"18a236d28964b73dd35f5c1e0cc148b702d0dc90"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":77,"context_line":""},{"line_number":78,"context_line":"      // on success, remove the users from the model"},{"line_number":79,"context_line":"      // need to also remove deleted users from selected list"},{"line_number":80,"context_line":"      self.submit \u003d function(ids, namelist) {"},{"line_number":81,"context_line":"        keystoneAPI.deleteUsers(ids)"},{"line_number":82,"context_line":"          .success(function() {"},{"line_number":83,"context_line":"            var message \u003d interpolate(context.success, [namelist]);"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_be1aed6c","line":80,"updated":"2015-05-14 18:23:56.000000000","message":"include policy check: https://github.com/openstack/keystone/blob/master/etc/policy.v3cloudsample.json","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/actions/edit.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fafbf0406a5db9106881d9183189c3c6caa1a524","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, edit user and display a success message."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersEdit\u0027, function(keystoneAPI, $modal) {"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    var context \u003d {"},{"line_number":34,"context_line":"      mode: \u0027edit\u0027,"}],"source_content_type":"text/javascript","patch_set":75,"id":"5ad0253b_b843556c","line":31,"updated":"2015-04-28 16:33:40.000000000","message":"Same comment as elsewhere: \n\nSo, I was just looking at the johnpapa style guide and if we follow that we actually should not be using anonymous functions. I think we should make a deliberate decision here (and elsewhere) as we look to solidify the code base.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y024\n\nIt is also worth noting that in the style guide it makes it very readable code by using hoisting (rather than in the past where we\u0027ve put the function above and injecting into the module below).\n\nangular\n    .module(\u0027app\u0027)\n    .factory(\u0027someFactory\u0027, someFactory);\n\nfunction someFactory() { }\n\nI also want to point out that the style guide also wants bindable members to be higher and to leverage hoisting.  Sean and I both have talked about this several times that we believe it creates much more readable code as well.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y033\nhttps://github.com/johnpapa/angular-styleguide#style-y034\nhttps://github.com/johnpapa/angular-styleguide#style-y053","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"}],"openstack_dashboard/static/dashboard/identity/users/actions/enable.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fafbf0406a5db9106881d9183189c3c6caa1a524","unresolved":false,"context_lines":[{"line_number":27,"context_line":"   * Allow admin to enable or disable a user."},{"line_number":28,"context_line":"   */"},{"line_number":29,"context_line":"  .factory(\u0027idusersEnable\u0027, function(keystoneAPI) {"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    var context \u003d {"},{"line_number":32,"context_line":"      enabledSuccess: gettext(\u0027Enabled user %s.\u0027),"},{"line_number":33,"context_line":"      disabledSuccess: gettext(\u0027Disabled user %s.\u0027),"}],"source_content_type":"text/javascript","patch_set":75,"id":"5ad0253b_1bc5a35a","line":30,"updated":"2015-04-28 16:33:40.000000000","message":"Same discussion here as elsewhere.","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"}],"openstack_dashboard/static/dashboard/identity/users/actions/password.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":28,"context_line":"   * On submit, update user password and display a success message."},{"line_number":29,"context_line":"   * On cancel, do nothing."},{"line_number":30,"context_line":"   */"},{"line_number":31,"context_line":"  .factory(\u0027idusersPassword\u0027, function(keystoneAPI, $modal) {"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    var context \u003d {"},{"line_number":34,"context_line":"      mode: \u0027password\u0027,"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_73e26ed7","line":31,"updated":"2015-05-14 18:23:56.000000000","message":"as Travis mentioned, idUsersPassword","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/form.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3f45d47fa2dffdf4152f0a48b9c4f899c66fa437","unresolved":false,"context_lines":[{"line_number":24,"context_line":"   * @ng-controller"},{"line_number":25,"context_line":"   *"},{"line_number":26,"context_line":"   * @description"},{"line_number":27,"context_line":"   * This controller is use for the create and edit user form."},{"line_number":28,"context_line":"   * Refer to angular-bootstrap $modalInstance for further reading."},{"line_number":29,"context_line":"   */"},{"line_number":30,"context_line":"  .controller(\u0027formCtrl\u0027, ["}],"source_content_type":"text/javascript","patch_set":45,"id":"9a80dd14_a302c809","line":27,"updated":"2015-03-19 09:56:43.000000000","message":"*create, edit, and password form","commit_id":"c0ed453b1965d4b6a5c73ee3e7367a345465e9ad"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"f2a97304e48cf1740dd856529cfaad3d9be9cbb5","unresolved":false,"context_lines":[{"line_number":27,"context_line":"   * This controller is use for the create and edit user form."},{"line_number":28,"context_line":"   * Refer to angular-bootstrap $modalInstance for further reading."},{"line_number":29,"context_line":"   */"},{"line_number":30,"context_line":"  .controller(\u0027formCtrl\u0027, ["},{"line_number":31,"context_line":"    \u0027$scope\u0027, \u0027$modalInstance\u0027, \u0027keystoneAPI\u0027, \u0027user\u0027, \u0027context\u0027,"},{"line_number":32,"context_line":"    function(scope, modalInstance, keystoneAPI, user, context) {"},{"line_number":33,"context_line":""}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_41e8a17c","line":30,"updated":"2015-04-20 19:46:25.000000000","message":"Seems like this should be more descriptive name, if for no other reason than to avoid name collisions.","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"924694ad13e60714083174b504ac2bb7f0725ad4","unresolved":false,"context_lines":[{"line_number":27,"context_line":"   * This controller is use for the create and edit user form."},{"line_number":28,"context_line":"   * Refer to angular-bootstrap $modalInstance for further reading."},{"line_number":29,"context_line":"   */"},{"line_number":30,"context_line":"  .controller(\u0027formCtrl\u0027, ["},{"line_number":31,"context_line":"    \u0027$scope\u0027, \u0027$modalInstance\u0027, \u0027keystoneAPI\u0027, \u0027user\u0027, \u0027context\u0027,"},{"line_number":32,"context_line":"    function(scope, modalInstance, keystoneAPI, user, context) {"},{"line_number":33,"context_line":""}],"source_content_type":"text/javascript","patch_set":66,"id":"bab921fb_714f9a6b","line":30,"in_reply_to":"dac4157f_41e8a17c","updated":"2015-04-24 22:49:06.000000000","message":"Done","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":20,"context_line":"  angular.module(\u0027hz.dashboard.identity.users\u0027)"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  /**"},{"line_number":23,"context_line":"   * @ngdoc formCtrl"},{"line_number":24,"context_line":"   * @ng-controller"},{"line_number":25,"context_line":"   *"},{"line_number":26,"context_line":"   * @description"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_beee6dea","line":23,"updated":"2015-05-14 18:23:56.000000000","message":"*idUsersFormCtrl","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  /**"},{"line_number":23,"context_line":"   * @ngdoc formCtrl"},{"line_number":24,"context_line":"   * @ng-controller"},{"line_number":25,"context_line":"   *"},{"line_number":26,"context_line":"   * @description"},{"line_number":27,"context_line":"   * The interaction between action and form is complicated."}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_1ee8e1e1","line":24,"updated":"2015-05-14 18:23:56.000000000","message":"*ngController","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/identity.scss":[{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"4054548ba46cfe54233deb35591e339a20c8ec55","unresolved":false,"context_lines":[{"line_number":1,"context_line":"@import \"users/users\";"}],"source_content_type":"text/x-scss","patch_set":75,"id":"7ad32947_a8263566","line":1,"updated":"2015-04-28 14:44:05.000000000","message":"This file seems to be in the parent folder already.","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"}],"openstack_dashboard/static/dashboard/identity/users/table.js":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e90257cfbcabe8ab17dc2e56a34dc9248fc21246","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      enable: new enableAction(scope)"},{"line_number":57,"context_line":"    };"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    // on load, fetch table data and populate it"},{"line_number":60,"context_line":"    keystoneAPI.getUsers().success(function(response) {"},{"line_number":61,"context_line":"      scope.users \u003d response.items;"},{"line_number":62,"context_line":"    });"}],"source_content_type":"text/javascript","patch_set":41,"id":"9a80dd14_f6167c48","line":59,"updated":"2015-03-18 06:25:31.000000000","message":"Missing policy check to determine which keystone API to call.","commit_id":"d1b8ad64e827b7bcd8e707252fa4e27da2193950"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"bf3dc421c34f31e6fa7a2ef55754e128afb993fd","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    \u0027editAction\u0027,"},{"line_number":37,"context_line":"    \u0027passwordAction\u0027,"},{"line_number":38,"context_line":"    \u0027deleteAction\u0027,"},{"line_number":39,"context_line":"    \u0027enableAction\u0027,"},{"line_number":40,"context_line":"    function("},{"line_number":41,"context_line":"      scope,"},{"line_number":42,"context_line":"      tableLabels,"}],"source_content_type":"text/javascript","patch_set":46,"id":"9a80dd14_2ef4b8ef","line":39,"updated":"2015-03-20 15:19:55.000000000","message":"create, edit and password actions should not be enabled if \napi.keystone.keystone_can_edit_user() returns false.\n\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/tables.py#L40","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"bebb9248bb2588a2ed069feee482a3c5f49e7a53","unresolved":false,"context_lines":[{"line_number":70,"context_line":"      .error(function(){"},{"line_number":71,"context_line":"        policyAPI.check({ rules: [[\u0027identity\u0027, \u0027identity:list_users\u0027]] })"},{"line_number":72,"context_line":"          .success(function(response) {"},{"line_number":73,"context_line":"            response.allowed ?"},{"line_number":74,"context_line":"              horizon.alert(\u0027error\u0027, tableLabels.error.api):"},{"line_number":75,"context_line":"              horizon.alert(\u0027info\u0027, tableLabels.error.priviledge);"},{"line_number":76,"context_line":"          });"}],"source_content_type":"text/javascript","patch_set":46,"id":"9a80dd14_bd0d5c91","line":73,"updated":"2015-03-19 22:34:10.000000000","message":"reverse the order of check.","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f5ead9dc2961671d50646725b3d475de9d3310e9","unresolved":false,"context_lines":[{"line_number":70,"context_line":"      .error(function(){"},{"line_number":71,"context_line":"        policyAPI.check({ rules: [[\u0027identity\u0027, \u0027identity:list_users\u0027]] })"},{"line_number":72,"context_line":"          .success(function(response) {"},{"line_number":73,"context_line":"            response.allowed ?"},{"line_number":74,"context_line":"              horizon.alert(\u0027error\u0027, tableLabels.error.api):"},{"line_number":75,"context_line":"              horizon.alert(\u0027info\u0027, tableLabels.error.priviledge);"},{"line_number":76,"context_line":"          });"}],"source_content_type":"text/javascript","patch_set":46,"id":"9a80dd14_bd5b9c84","line":73,"in_reply_to":"9a80dd14_bd0d5c91","updated":"2015-03-19 22:36:09.000000000","message":"https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/views.py#L48","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"7cdddfe7662f4e6b62bbdf9116cea78a8e010343","unresolved":false,"context_lines":[{"line_number":70,"context_line":"      .error(function(){"},{"line_number":71,"context_line":"        policyAPI.check({ rules: [[\u0027identity\u0027, \u0027identity:list_users\u0027]] })"},{"line_number":72,"context_line":"          .success(function(response) {"},{"line_number":73,"context_line":"            response.allowed ?"},{"line_number":74,"context_line":"              horizon.alert(\u0027error\u0027, tableLabels.error.api):"},{"line_number":75,"context_line":"              horizon.alert(\u0027info\u0027, tableLabels.error.priviledge);"},{"line_number":76,"context_line":"          });"}],"source_content_type":"text/javascript","patch_set":46,"id":"9a80dd14_1819167a","line":73,"in_reply_to":"9a80dd14_bd5b9c84","updated":"2015-03-19 22:45:36.000000000","message":"basically the get_user is configurable, we need to support it.","commit_id":"2d6e2224d7a585592c647710456e631ebb247f4c"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"da7d46fabe6d907b7bf415b6120d09e86b24d45e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    scope.context \u003d {"},{"line_number":40,"context_line":"      header: {"},{"line_number":41,"context_line":"        domainId: gettext(\u0027Domain ID\u0027),"},{"line_number":42,"context_line":"        tenantId: gettext(\u0027Tenant ID\u0027),"},{"line_number":43,"context_line":"        name: gettext(\u0027User Name\u0027),"},{"line_number":44,"context_line":"        email: gettext(\u0027Email\u0027),"},{"line_number":45,"context_line":"        id: gettext(\u0027User ID\u0027),"}],"source_content_type":"text/javascript","patch_set":57,"id":"da9b358b_20c91279","line":42,"updated":"2015-03-30 19:54:57.000000000","message":"- should be updated to Project ID\n- missing Domain Name","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"eb77c1193f8c2ceaacf8eb21d6783a6438ea5961","unresolved":false,"context_lines":[{"line_number":39,"context_line":"    scope.context \u003d {"},{"line_number":40,"context_line":"      header: {"},{"line_number":41,"context_line":"        domainId: gettext(\u0027Domain ID\u0027),"},{"line_number":42,"context_line":"        tenantId: gettext(\u0027Tenant ID\u0027),"},{"line_number":43,"context_line":"        name: gettext(\u0027User Name\u0027),"},{"line_number":44,"context_line":"        email: gettext(\u0027Email\u0027),"},{"line_number":45,"context_line":"        id: gettext(\u0027User ID\u0027),"}],"source_content_type":"text/javascript","patch_set":57,"id":"da9b358b_8d09322f","line":42,"in_reply_to":"da9b358b_20c91279","updated":"2015-03-30 20:54:22.000000000","message":"Done. Will not be adding Domain Name in this patch.","commit_id":"6b6dd61e4f53aabca1deedf45e684a077aec9cf1"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      CreateAction, EditAction, PasswordAction,"},{"line_number":37,"context_line":"      DeleteAction, EnableAction) {"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    scope.context \u003d {"},{"line_number":40,"context_line":"      header: {"},{"line_number":41,"context_line":"        domainId: gettext(\u0027Domain ID\u0027),"},{"line_number":42,"context_line":"        tenantId: gettext(\u0027Project ID\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_16ee8c8b","line":39,"updated":"2015-04-17 00:01:49.000000000","message":"need to indent this and all subsequent stuff.","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":36,"context_line":"      CreateAction, EditAction, PasswordAction,"},{"line_number":37,"context_line":"      DeleteAction, EnableAction) {"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    scope.context \u003d {"},{"line_number":40,"context_line":"      header: {"},{"line_number":41,"context_line":"        domainId: gettext(\u0027Domain ID\u0027),"},{"line_number":42,"context_line":"        tenantId: gettext(\u0027Project ID\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_ea4e6fc0","line":39,"in_reply_to":"3ab451fb_16ee8c8b","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        email: gettext(\u0027Email\u0027),"},{"line_number":45,"context_line":"        id: gettext(\u0027User ID\u0027),"},{"line_number":46,"context_line":"        enabled: gettext(\u0027Enabled\u0027),"},{"line_number":47,"context_line":"        action: gettext(\u0027Action\u0027)"},{"line_number":48,"context_line":"      },"},{"line_number":49,"context_line":"      action: {"},{"line_number":50,"context_line":"        edit: gettext(\u0027Edit\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_b6ec7890","line":47,"updated":"2015-04-17 00:01:49.000000000","message":"should be called \"Actions\"","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        email: gettext(\u0027Email\u0027),"},{"line_number":45,"context_line":"        id: gettext(\u0027User ID\u0027),"},{"line_number":46,"context_line":"        enabled: gettext(\u0027Enabled\u0027),"},{"line_number":47,"context_line":"        action: gettext(\u0027Action\u0027)"},{"line_number":48,"context_line":"      },"},{"line_number":49,"context_line":"      action: {"},{"line_number":50,"context_line":"        edit: gettext(\u0027Edit\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_2a6ea72f","line":47,"in_reply_to":"3ab451fb_b6ec7890","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        edit: gettext(\u0027Edit\u0027),"},{"line_number":51,"context_line":"        enable: gettext(\u0027Enable\u0027),"},{"line_number":52,"context_line":"        disable: gettext(\u0027Disable\u0027),"},{"line_number":53,"context_line":"        deleted: gettext(\u0027Delete\u0027)"},{"line_number":54,"context_line":"      },"},{"line_number":55,"context_line":"      error: {"},{"line_number":56,"context_line":"        api: gettext(\u0027Unable to retrieve users\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_96029c3d","line":53,"updated":"2015-04-17 00:01:49.000000000","message":"these are not being used in table.html","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":50,"context_line":"        edit: gettext(\u0027Edit\u0027),"},{"line_number":51,"context_line":"        enable: gettext(\u0027Enable\u0027),"},{"line_number":52,"context_line":"        disable: gettext(\u0027Disable\u0027),"},{"line_number":53,"context_line":"        deleted: gettext(\u0027Delete\u0027)"},{"line_number":54,"context_line":"      },"},{"line_number":55,"context_line":"      error: {"},{"line_number":56,"context_line":"        api: gettext(\u0027Unable to retrieve users\u0027),"}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_6a35bf44","line":53,"in_reply_to":"3ab451fb_96029c3d","updated":"2015-04-20 16:51:26.000000000","message":"Good point. I was debating whether or not to use trans. Ultimately decided to go with trans since we will eventually have something like that in angular. This makes for easier migration.","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":54,"context_line":"      },"},{"line_number":55,"context_line":"      error: {"},{"line_number":56,"context_line":"        api: gettext(\u0027Unable to retrieve users\u0027),"},{"line_number":57,"context_line":"        priviledge: gettext(\u0027Insufficient privilege level to view user information.\u0027)"},{"line_number":58,"context_line":"      }"},{"line_number":59,"context_line":"    };"},{"line_number":60,"context_line":""}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_56fc143e","line":57,"updated":"2015-04-17 00:01:49.000000000","message":"privilege*","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":54,"context_line":"      },"},{"line_number":55,"context_line":"      error: {"},{"line_number":56,"context_line":"        api: gettext(\u0027Unable to retrieve users\u0027),"},{"line_number":57,"context_line":"        priviledge: gettext(\u0027Insufficient privilege level to view user information.\u0027)"},{"line_number":58,"context_line":"      }"},{"line_number":59,"context_line":"    };"},{"line_number":60,"context_line":""}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_8a7ed3e2","line":57,"in_reply_to":"3ab451fb_56fc143e","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":81,"context_line":"              });"},{"line_number":82,"context_line":"          }"},{"line_number":83,"context_line":"          else if (horizon) {"},{"line_number":84,"context_line":"            horizon.alert(\u0027info\u0027, scope.context.error.priviledge);"},{"line_number":85,"context_line":"          }"},{"line_number":86,"context_line":"        });"},{"line_number":87,"context_line":"    };"}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_16956ce3","line":84,"updated":"2015-04-17 00:01:49.000000000","message":"privilege*","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":81,"context_line":"              });"},{"line_number":82,"context_line":"          }"},{"line_number":83,"context_line":"          else if (horizon) {"},{"line_number":84,"context_line":"            horizon.alert(\u0027info\u0027, scope.context.error.priviledge);"},{"line_number":85,"context_line":"          }"},{"line_number":86,"context_line":"        });"},{"line_number":87,"context_line":"    };"}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_9e5298dc","line":84,"in_reply_to":"3ab451fb_16956ce3","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"acb26432d37b6df403d6f459fee4f1fabbf85bdb","unresolved":false,"context_lines":[{"line_number":56,"context_line":"      scope.iusers \u003d [];"},{"line_number":57,"context_line":"      scope.checked \u003d {};"},{"line_number":58,"context_line":"      scope.actions \u003d {"},{"line_number":59,"context_line":"        create: new CreateAction(scope),"},{"line_number":60,"context_line":"        edit: new EditAction(scope),"},{"line_number":61,"context_line":"        password: new PasswordAction(scope),"},{"line_number":62,"context_line":"        deleted: new DeleteAction(scope),"}],"source_content_type":"text/javascript","patch_set":66,"id":"dac4157f_66b1728f","line":59,"updated":"2015-04-20 21:01:32.000000000","message":"When reading, it sounds like it is creating an `action` object. :)","commit_id":"e22642ab68ccf21cb69cfedea5d9f4bb45b0fb9d"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"efd7413e0e834d3fbb041668894cf7c22a01fd83","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    function("},{"line_number":35,"context_line":"      scope, policyAPI, keystoneAPI,"},{"line_number":36,"context_line":"      CreateAction, EditAction, PasswordAction,"},{"line_number":37,"context_line":"      DeleteAction, EnableAction) {"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"      scope.context \u003d {"},{"line_number":40,"context_line":"        header: {"}],"source_content_type":"text/javascript","patch_set":67,"id":"bab921fb_123d432b","line":37,"updated":"2015-04-23 22:06:24.000000000","message":"The case here doesn\u0027t match the argument names declared for DI.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":34,"context_line":"    function("},{"line_number":35,"context_line":"      scope, policyAPI, keystoneAPI,"},{"line_number":36,"context_line":"      CreateAction, EditAction, PasswordAction,"},{"line_number":37,"context_line":"      DeleteAction, EnableAction) {"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"      scope.context \u003d {"},{"line_number":40,"context_line":"        header: {"}],"source_content_type":"text/javascript","patch_set":67,"id":"bab921fb_f16f2a29","line":37,"in_reply_to":"bab921fb_123d432b","updated":"2015-04-24 23:18:35.000000000","message":"Removing the extra DI in the code.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":27,"context_line":"   * Controller for the identity users table."},{"line_number":28,"context_line":"   * Serve as the focal point for table actions."},{"line_number":29,"context_line":"   */"},{"line_number":30,"context_line":"  .controller(\u0027idusersTableCtrl\u0027, ["},{"line_number":31,"context_line":"    \u0027$scope\u0027,"},{"line_number":32,"context_line":"    \u0027policyAPI\u0027,"},{"line_number":33,"context_line":"    \u0027keystoneAPI\u0027,"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_3e871d11","line":30,"updated":"2015-05-14 18:23:56.000000000","message":"different pattern than: https://review.openstack.org/#/c/133767/84/openstack_dashboard/static/dashboard/identity/users/form.js","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":36,"context_line":"    \u0027idusersPassword\u0027,"},{"line_number":37,"context_line":"    \u0027idusersDelete\u0027,"},{"line_number":38,"context_line":"    \u0027idusersEnable\u0027,"},{"line_number":39,"context_line":"    function("},{"line_number":40,"context_line":"      scope,"},{"line_number":41,"context_line":"      policyAPI,"},{"line_number":42,"context_line":"      keystoneAPI,"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_d01a3817","line":39,"updated":"2015-05-14 18:23:56.000000000","message":"as Travis mentioned, avoid anonymous functions https://github.com/johnpapa/angular-styleguide#style-y024,\n\nfuture suggestion... will we follow this too?: https://github.com/johnpapa/angular-styleguide#style-y091\n\nangular\n    .module(\u0027app\u0027)\n    .controller(\u0027idUsersTableCtrl\u0027, idUsersTableCtrl);\n\nidUsersTableCtrl.$inject \u003d [\u0027$scope\u0027, policyAPI, ... ];\n\nfunction idUsersTableCtrl($scope, policyAPI, ... ) {\n}","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    \u0027idusersDelete\u0027,"},{"line_number":38,"context_line":"    \u0027idusersEnable\u0027,"},{"line_number":39,"context_line":"    function("},{"line_number":40,"context_line":"      scope,"},{"line_number":41,"context_line":"      policyAPI,"},{"line_number":42,"context_line":"      keystoneAPI,"},{"line_number":43,"context_line":"      CreateAction,"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_30aaacd5","line":40,"updated":"2015-05-14 18:23:56.000000000","message":"keep this called $scope","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":84,"context_line":"                .success(function(response) {"},{"line_number":85,"context_line":"                  scope.users \u003d response.items;"},{"line_number":86,"context_line":"                });"},{"line_number":87,"context_line":"            }"},{"line_number":88,"context_line":"            else if (horizon) {"},{"line_number":89,"context_line":"              horizon.alert(\u0027info\u0027, scope.context.error.privilege);"},{"line_number":90,"context_line":"            }"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_1078d0c3","line":87,"updated":"2015-05-14 18:23:56.000000000","message":"just wondering, for the future, do we want to flatten chains if there are more than 2 levels?\nhttp://solutionoptimist.com/2013/12/27/javascript-promise-chains-2/","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c43b665d772b5e309b8553b71245721bebf33fac","unresolved":false,"context_lines":[{"line_number":86,"context_line":"                });"},{"line_number":87,"context_line":"            }"},{"line_number":88,"context_line":"            else if (horizon) {"},{"line_number":89,"context_line":"              horizon.alert(\u0027info\u0027, scope.context.error.privilege);"},{"line_number":90,"context_line":"            }"},{"line_number":91,"context_line":"          });"},{"line_number":92,"context_line":"      };"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_f0e4140e","line":89,"updated":"2015-05-14 18:23:56.000000000","message":"toast!","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/tests/action.password.spec.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fd9649fc958257e6d9e6801dd61ecb58f1215f5c","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"      // mock the keystone editUser api"},{"line_number":46,"context_line":"      // return the same user back"},{"line_number":47,"context_line":"      api \u003d $injector.get(\u0027keystoneAPI\u0027);"},{"line_number":48,"context_line":"      spyOn(api, \u0027editUser\u0027).and.callFake(function(){"},{"line_number":49,"context_line":"        return fakeAPI;"},{"line_number":50,"context_line":"      });"}],"source_content_type":"text/javascript","patch_set":67,"id":"dac4157f_f2bbcae3","line":47,"updated":"2015-04-21 23:10:08.000000000","message":"there is a shorthand syntax that I think you can use here.  Just do _keystoneAPI_\n\nSee:\n\nhttps://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/angular/services/hz.api.config.spec.js#L33","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"01afb7114fe8f4a79f5b4f423c42c3a700c08b66","unresolved":false,"context_lines":[{"line_number":44,"context_line":""},{"line_number":45,"context_line":"      // mock the keystone editUser api"},{"line_number":46,"context_line":"      // return the same user back"},{"line_number":47,"context_line":"      api \u003d $injector.get(\u0027keystoneAPI\u0027);"},{"line_number":48,"context_line":"      spyOn(api, \u0027editUser\u0027).and.callFake(function(){"},{"line_number":49,"context_line":"        return fakeAPI;"},{"line_number":50,"context_line":"      });"}],"source_content_type":"text/javascript","patch_set":67,"id":"bab921fb_31e6c2b0","line":47,"in_reply_to":"dac4157f_f2bbcae3","updated":"2015-04-24 23:18:35.000000000","message":"I prefer this approach since I\u0027m injecting 3 things here. It looks cleaner.","commit_id":"c02d8ac6c3760ebb188f686f67dc28d94066b8bc"}],"openstack_dashboard/static/dashboard/identity/users/tests/table.spec.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"859527a671f45288bfe9dc46477e2532dad57759","unresolved":false,"context_lines":[{"line_number":15,"context_line":" */"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"/* jshint globalstrict: true */"},{"line_number":18,"context_line":"\u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"describe(\u0027Identity users table controller\u0027, function() {"},{"line_number":21,"context_line":""}],"source_content_type":"text/javascript","patch_set":64,"id":"3ab451fb_d69ee406","line":18,"updated":"2015-04-17 00:01:49.000000000","message":"wrap in (function() {...}) ();","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c30b58c7b153a580b6b91fd3eb8275e5fe58fe01","unresolved":false,"context_lines":[{"line_number":15,"context_line":" */"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"/* jshint globalstrict: true */"},{"line_number":18,"context_line":"\u0027use strict\u0027;"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"describe(\u0027Identity users table controller\u0027, function() {"},{"line_number":21,"context_line":""}],"source_content_type":"text/javascript","patch_set":64,"id":"dac4157f_be555cc7","line":18,"in_reply_to":"3ab451fb_d69ee406","updated":"2015-04-20 16:51:26.000000000","message":"Done","commit_id":"3467b116c0b97ce867ed00c38cc8213ab5b15565"}],"openstack_dashboard/static/dashboard/identity/users/users.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"fafbf0406a5db9106881d9183189c3c6caa1a524","unresolved":false,"context_lines":[{"line_number":26,"context_line":"   * to support and display the identity users panel."},{"line_number":27,"context_line":"   */"},{"line_number":28,"context_line":"  angular.module(\u0027hz.dashboard.identity.users\u0027, []);"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":75,"id":"5ad0253b_f85f8d73","line":29,"updated":"2015-04-28 16:33:40.000000000","message":"I think this file should be named users.module.js  If we start following the styleguide of 1 component per file (I\u0027m not as sold on that) and what I\u0027ve read as a best practice to at least put modules in their own file, it will make it easier to find the module definitions.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y001","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"0f738ac31a3e5eb0a166aaedb76ef02a5e2dd473","unresolved":false,"context_lines":[{"line_number":26,"context_line":"   * to support and display the identity users panel."},{"line_number":27,"context_line":"   */"},{"line_number":28,"context_line":"  angular.module(\u0027hz.dashboard.identity.users\u0027, []);"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":84,"id":"7a016987_9b24ffaf","line":29,"updated":"2015-05-14 05:46:31.000000000","message":"As mentioned in path set 75, I think this file should be named users.module.js to follow the style guide of 1 component per file and what I\u0027ve read as a best practice to at least put modules in their own file, it will make it easier to find the module definitions.\n\nhttps://github.com/johnpapa/angular-styleguide#style-y001\n\nAlso see:\n\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/static/dashboard/dashboard.module.js","commit_id":"5edba9e2d0065f8ee123b7180baed381e71fadde"}],"openstack_dashboard/static/dashboard/identity/users/users.scss":[{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"4054548ba46cfe54233deb35591e339a20c8ec55","unresolved":false,"context_lines":[{"line_number":2,"context_line":"table[ng-controller\u003d\"idusersTableCtrl\"] {"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  .detail-expanded dl.dl-horizontal {"},{"line_number":5,"context_line":"    padding-left: 2em;"},{"line_number":6,"context_line":"  }"},{"line_number":7,"context_line":"}"}],"source_content_type":"text/x-scss","patch_set":75,"id":"7ad32947_26edb78b","line":5,"updated":"2015-04-28 14:44:05.000000000","message":"It\u0027d be useful for this rule to affect the other identity angularized tables. Maybe we could address this in a different future patch.","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"ccc43aae3dd483fcd4e59046e3f05c720a13dfdb","unresolved":false,"context_lines":[{"line_number":2,"context_line":"table[ng-controller\u003d\"idusersTableCtrl\"] {"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  .detail-expanded dl.dl-horizontal {"},{"line_number":5,"context_line":"    padding-left: 2em;"},{"line_number":6,"context_line":"  }"},{"line_number":7,"context_line":"}"}],"source_content_type":"text/x-scss","patch_set":75,"id":"5ad0253b_040540c1","line":5,"in_reply_to":"7ad32947_26edb78b","updated":"2015-04-28 17:42:15.000000000","message":"Yep, can always move this to the identiy.scss if needed.","commit_id":"0edc109bdbdd35a70e2f69d5ca07624f0f1b770e"}],"openstack_dashboard/static/dashboard/js/hz.identity.users.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ad18d5890532929c9927bf1dcabc2577d591af31","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function() {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var app \u003d angular.module(\u0027hz.table\u0027);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  /** Directive to fetch table data on load */"},{"line_number":7,"context_line":"  app.controller(\u0027hzIdentityUsersCtrl\u0027,"}],"source_content_type":"text/javascript","patch_set":9,"id":"5a890539_cf3e8bb9","line":4,"updated":"2014-11-27 06:47:00.000000000","message":"Should be in a different module (perhaps all the dashboard controllers etc. could go in the dashboard module?)","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c318dfbb1dfd011fbdcca2afcc3e6adb51e33305","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function() {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var app \u003d angular.module(\u0027hz.table\u0027);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  /** Directive to fetch table data on load */"},{"line_number":7,"context_line":"  app.controller(\u0027hzIdentityUsersCtrl\u0027,"}],"source_content_type":"text/javascript","patch_set":9,"id":"5a890539_923379f5","line":4,"in_reply_to":"5a890539_cf3e8bb9","updated":"2014-12-01 21:14:14.000000000","message":"yeah, it really should be in different module.","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":7509,"name":"Jiri Tomasek","email":"jtomasek@redhat.com","username":"jtomasek"},"change_message_id":"d0b8fc9573a596e6aaba877295d2972083ad4e36","unresolved":false,"context_lines":[{"line_number":18,"context_line":"          });"},{"line_number":19,"context_line":"      };"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"      $scope.create \u003d function(){"},{"line_number":22,"context_line":"        var modalInstance \u003d $modal.open({"},{"line_number":23,"context_line":"          templateUrl: \u0027/identity/users/creato/\u0027,"},{"line_number":24,"context_line":"          //controller: \u0027ModalInstanceCtrl\u0027,"}],"source_content_type":"text/javascript","patch_set":9,"id":"5a890539_5987a9d7","line":21,"updated":"2014-11-28 13:10:47.000000000","message":"Just an idea - wouldn\u0027t it be better to call this method \u0027new\u0027 or \u0027newUser\u0027? as \u0027create\u0027 method I\u0027d imagine would be called on submit of the new user creation form?(regardless if this controller is used also for modal or not)\n\nSame way we would have methods \u0027edit\u0027 and \u0027update\u0027 for editting existent user.","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ad18d5890532929c9927bf1dcabc2577d591af31","unresolved":false,"context_lines":[{"line_number":30,"context_line":"      $scope.delete \u003d function(ids){"},{"line_number":31,"context_line":"        var data \u003d { action: \u0027delete\u0027, ids: ids };"},{"line_number":32,"context_line":"        console.log(\"delete user \" + ids);"},{"line_number":33,"context_line":"        $http.post(\u0027/api/keystone/users/\u0027, data)"},{"line_number":34,"context_line":"          .success(function(data){"},{"line_number":35,"context_line":"            console.log(\"successful \" + data);"},{"line_number":36,"context_line":"          })"}],"source_content_type":"text/javascript","patch_set":9,"id":"5a890539_cf65abe3","line":33,"updated":"2014-11-27 06:47:00.000000000","message":"I\u0027ve actually been thinking some more about this and I don\u0027t think it is a good idea to have an implementation of multi-delete in the server. I would very much like to see the REST API be as thin as possible layer over the underlying clients already in Horizon. To that end, I think the handling of the delete_many case should be done in the client. This would give added benefit that we could provide progress feedback as users are deleted, and we could run several deletes in parallel if we wished to.\n\nIn fact, I think that the POST action on /api/keystone/users/ should only create a new user, just like it is in the keystone service API. We should alter the service API behaviour only in rare circumstances.","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c318dfbb1dfd011fbdcca2afcc3e6adb51e33305","unresolved":false,"context_lines":[{"line_number":30,"context_line":"      $scope.delete \u003d function(ids){"},{"line_number":31,"context_line":"        var data \u003d { action: \u0027delete\u0027, ids: ids };"},{"line_number":32,"context_line":"        console.log(\"delete user \" + ids);"},{"line_number":33,"context_line":"        $http.post(\u0027/api/keystone/users/\u0027, data)"},{"line_number":34,"context_line":"          .success(function(data){"},{"line_number":35,"context_line":"            console.log(\"successful \" + data);"},{"line_number":36,"context_line":"          })"}],"source_content_type":"text/javascript","patch_set":9,"id":"5a890539_526751ea","line":33,"in_reply_to":"5a890539_cf65abe3","updated":"2014-12-01 21:14:14.000000000","message":"refer to emailing list example. I agree we should keep api layer as thin as possible. but apply business logic where it make sense.","commit_id":"3f4cdb3b46df0d9d86cda4efcd6c9b0b882af4c9"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"0376eef74fe371fe83fd68d3ee5beb952512c03c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"      $scope.list();"},{"line_number":45,"context_line":"  });"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  app.controller(\u0027hzIdentityRolesCtrl\u0027,"},{"line_number":48,"context_line":"    function($scope, $http){"},{"line_number":49,"context_line":"      $http.get(\u0027/api/keystone/roles/\u0027)"},{"line_number":50,"context_line":"        .success(function(data){"}],"source_content_type":"text/javascript","patch_set":13,"id":"5a890539_3731a55a","line":47,"updated":"2014-12-03 00:52:03.000000000","message":"This should be called \"hzIdentityCreateCtrl\" because that\u0027s the view it backs.","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"cc202fe3be353c8892c98c1b5f01313b90f9a539","unresolved":false,"context_lines":[{"line_number":44,"context_line":"      $scope.list();"},{"line_number":45,"context_line":"  });"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"  app.controller(\u0027hzIdentityRolesCtrl\u0027,"},{"line_number":48,"context_line":"    function($scope, $http){"},{"line_number":49,"context_line":"      $http.get(\u0027/api/keystone/roles/\u0027)"},{"line_number":50,"context_line":"        .success(function(data){"}],"source_content_type":"text/javascript","patch_set":13,"id":"5a890539_2dc0724f","line":47,"in_reply_to":"5a890539_3731a55a","updated":"2014-12-03 02:09:06.000000000","message":"yup, need to rename a bunch of things and provide more docs. just havent gotten around to it yet.","commit_id":"a540a00ea31f96ab5e699b3365171565ce58876f"}],"openstack_dashboard/static/dashboard/scss/horizon.scss":[{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":646,"context_line":""},{"line_number":647,"context_line":"table[st-table] {"},{"line_number":648,"context_line":""},{"line_number":649,"context_line":"  div.table_actions {"},{"line_number":650,"context_line":"    padding: 0.5em;"},{"line_number":651,"context_line":"    background: #f1f1f1;"},{"line_number":652,"context_line":"    border-radius: 0.5em 0 0 0;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_2d23d8a7","line":649,"updated":"2014-12-13 00:41:27.000000000","message":"Consider removing general element tag from selector if possible. Having a non-semantic tag name in selector make the selector unnecessarily complicated and making refactoring HTML harder.\n\nThe same applies to selector bellow.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":649,"context_line":"  div.table_actions {"},{"line_number":650,"context_line":"    padding: 0.5em;"},{"line_number":651,"context_line":"    background: #f1f1f1;"},{"line_number":652,"context_line":"    border-radius: 0.5em 0 0 0;"},{"line_number":653,"context_line":"    border: 1px solid #ddd;"},{"line_number":654,"context_line":"    border-bottom: none;"},{"line_number":655,"context_line":"    position: relative;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_4d4e643c","line":652,"updated":"2014-12-13 00:41:27.000000000","message":"Using px is alway better that em, unless you have good reason.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":649,"context_line":"  div.table_actions {"},{"line_number":650,"context_line":"    padding: 0.5em;"},{"line_number":651,"context_line":"    background: #f1f1f1;"},{"line_number":652,"context_line":"    border-radius: 0.5em 0 0 0;"},{"line_number":653,"context_line":"    border: 1px solid #ddd;"},{"line_number":654,"context_line":"    border-bottom: none;"},{"line_number":655,"context_line":"    position: relative;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_50d437eb","line":652,"in_reply_to":"3a961159_4d4e643c","updated":"2014-12-13 02:14:14.000000000","message":"from my understanding, em is better because it scales with font. pixels is good when you know that things are fixed.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"3aca849df8c308149f49460425e58964b6739b5a","unresolved":false,"context_lines":[{"line_number":649,"context_line":"  div.table_actions {"},{"line_number":650,"context_line":"    padding: 0.5em;"},{"line_number":651,"context_line":"    background: #f1f1f1;"},{"line_number":652,"context_line":"    border-radius: 0.5em 0 0 0;"},{"line_number":653,"context_line":"    border: 1px solid #ddd;"},{"line_number":654,"context_line":"    border-bottom: none;"},{"line_number":655,"context_line":"    position: relative;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_238687db","line":652,"in_reply_to":"3a961159_50d437eb","updated":"2014-12-13 05:05:59.000000000","message":"Designer will never design radius of a box with the size of font inside of it, it is quite strange for them. I think you can confirm this the a designer.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":666,"context_line":"  }"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"  th.bare {"},{"line_number":669,"context_line":"    background: none !important;"},{"line_number":670,"context_line":"    border: none !important;"},{"line_number":671,"context_line":"    padding: 0;"},{"line_number":672,"context_line":"  }"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_0dca9ca0","line":669,"updated":"2014-12-13 00:41:27.000000000","message":"Please re-think using important. It will stop CSS from cascading. that it usually a problem. It will also make custom style very difficult.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":666,"context_line":"  }"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"  th.bare {"},{"line_number":669,"context_line":"    background: none !important;"},{"line_number":670,"context_line":"    border: none !important;"},{"line_number":671,"context_line":"    padding: 0;"},{"line_number":672,"context_line":"  }"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_30016b6a","line":669,"in_reply_to":"3a961159_0dca9ca0","updated":"2014-12-13 02:14:14.000000000","message":"In legacy code, table actions sits on top of the table. In this code, I decided to move it into the table header so that when we introducing scrolling in the future, the header will be fixed. However, the styling for th has a permanent background color that I can only override by using !important. We can always revisit the styles as a bug.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":672,"context_line":"  }"},{"line_number":673,"context_line":""},{"line_number":674,"context_line":"  .st-selected td {"},{"line_number":675,"context_line":"    background: beige !important;"},{"line_number":676,"context_line":"  }"},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  div[st-pagination] .pagination {"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_2d7f5867","line":675,"updated":"2014-12-13 00:41:27.000000000","message":"background: beige !important;\n\nPlease re-think using important. It will stop CSS from cascading. that it usually a problem. It will also make custom style very difficult.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  div[st-pagination] .pagination {"},{"line_number":679,"context_line":"    margin: 0;"},{"line_number":680,"context_line":"    float: right;"},{"line_number":681,"context_line":"  }"},{"line_number":682,"context_line":"}"},{"line_number":683,"context_line":""}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_0df37c0a","line":680,"updated":"2014-12-13 00:41:27.000000000","message":"Minor:\n\nposition: absolute;\nright: 0;\n\nis better.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  div[st-pagination] .pagination {"},{"line_number":679,"context_line":"    margin: 0;"},{"line_number":680,"context_line":"    float: right;"},{"line_number":681,"context_line":"  }"},{"line_number":682,"context_line":"}"},{"line_number":683,"context_line":""}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_50fb5778","line":680,"in_reply_to":"3a961159_0df37c0a","updated":"2014-12-13 02:14:14.000000000","message":"I think its just personal preference here \u003dP","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"3aca849df8c308149f49460425e58964b6739b5a","unresolved":false,"context_lines":[{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  div[st-pagination] .pagination {"},{"line_number":679,"context_line":"    margin: 0;"},{"line_number":680,"context_line":"    float: right;"},{"line_number":681,"context_line":"  }"},{"line_number":682,"context_line":"}"},{"line_number":683,"context_line":""}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_235da779","line":680,"in_reply_to":"3a961159_50fb5778","updated":"2014-12-13 05:05:59.000000000","message":"using float changes element order, which in many applications is considered as a bug of accessibility.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"4908a8fa8526fb0ac7a2d80e5d17ffe4a636babe","unresolved":false,"context_lines":[{"line_number":679,"context_line":"    margin: 0;"},{"line_number":680,"context_line":"    float: right;"},{"line_number":681,"context_line":"  }"},{"line_number":682,"context_line":"}"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":".nowrap-col {"},{"line_number":685,"context_line":"  white-space: nowrap;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_ad66e8b8","line":682,"updated":"2014-12-13 00:41:27.000000000","message":"It may better to have a specific style file for these CSS rule, rather that but very thing in this file. A good practice is using this file only for importing other CSS file and rename this file to index.css/index.scss.","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c5d7dfa60da3dd7528419872992e7c8f848afeba","unresolved":false,"context_lines":[{"line_number":679,"context_line":"    margin: 0;"},{"line_number":680,"context_line":"    float: right;"},{"line_number":681,"context_line":"  }"},{"line_number":682,"context_line":"}"},{"line_number":683,"context_line":""},{"line_number":684,"context_line":".nowrap-col {"},{"line_number":685,"context_line":"  white-space: nowrap;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"3a961159_70f69390","line":682,"in_reply_to":"3a961159_ad66e8b8","updated":"2014-12-13 02:14:14.000000000","message":"Done","commit_id":"1ed8000e363e639334210df2a2d249f076d90159"}]}
