)]}'
{"doc/source/topics/settings.rst":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"2a5a1236b742f91a6384bf143a31ed6942562ae8","unresolved":false,"context_lines":[{"line_number":1224,"context_line":".. versionadded:: 2015.2(Liberty)"},{"line_number":1225,"context_line":""},{"line_number":1226,"context_line":"If set to ``True``, JavaScript files and static angular html template files will be"},{"line_number":1227,"context_line":"automatically discovered from the `static` folder in each apps listed in ADD_INSTALLED_APPS."},{"line_number":1228,"context_line":""},{"line_number":1229,"context_line":"JavaScript source files will be ordered based on naming convention: files with extension"},{"line_number":1230,"context_line":"`.module.js` listed first, followed by other JavaScript source files."}],"source_content_type":"text/x-rst","patch_set":23,"id":"ba3cc151_db0e8b8b","line":1227,"updated":"2015-07-01 22:48:10.000000000","message":"nit: should be \"app\" not \"apps\"?","commit_id":"41b1b42dc0021ecdd3841671cba87dc702e0b342"}],"horizon/static/horizon/js/horizon.forms.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[{"line_number":197,"context_line":"  horizon.forms.handle_object_upload_source();"},{"line_number":198,"context_line":"  horizon.forms.datepicker();"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"  if (horizon.conf \u0026\u0026 !horizon.conf.disable_password_reveal) {"},{"line_number":201,"context_line":"    horizon.forms.add_password_fields_reveal_buttons($(\"body\"));"},{"line_number":202,"context_line":"    horizon.modals.addModalInitFunction("},{"line_number":203,"context_line":"      horizon.forms.add_password_fields_reveal_buttons);"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_d3782192","line":200,"updated":"2015-06-22 06:02:34.000000000","message":"I\u0027m not clear on the reason for this change, and I believe it would potentially mask a bug that could affect the application and make it behave very strangely.\n\nUnder what situation would horizon.conf not be present *and* we want this code not to throw an error?","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"horizon/static/horizon/js/horizon.modals.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[{"line_number":299,"context_line":"  horizon.modals.addModalInitFunction(function(modal) {"},{"line_number":300,"context_line":"    horizon.datatables.validate_button($(modal).find(\".table_wrapper \u003e form\"));"},{"line_number":301,"context_line":"  });"},{"line_number":302,"context_line":"  if (horizon.utils) {"},{"line_number":303,"context_line":"    horizon.modals.addModalInitFunction(horizon.utils.loadAngular);"},{"line_number":304,"context_line":"  }"},{"line_number":305,"context_line":""}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_f34a0555","line":302,"updated":"2015-06-22 06:02:34.000000000","message":"See comment on horizon.forms.js","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"horizon/static/horizon/js/horizon.tabs.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[{"line_number":37,"context_line":"};"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"horizon.addInitFunction(horizon.tabs.init \u003d function () {"},{"line_number":40,"context_line":"  var data \u003d horizon.cookies \u0026\u0026 horizon.cookies.get(\"tabs\") || {};"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"  $(\".tab-content\").find(\".js-tab-pane\").addClass(\"tab-pane\");"},{"line_number":43,"context_line":"  horizon.modals.addModalInitFunction(function (el) {"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_1348c95a","line":40,"updated":"2015-06-22 06:02:34.000000000","message":"See comment on horizon.forms.js","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"openstack_dashboard/dashboards/admin/static/dashboard/admin/namespace-controller.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f31da2c3c55e183e71eadf2c0faf98e3fd746ee","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":"  angular.module(\u0027hz.dashboard.tech-debt\u0027)"},{"line_number":4,"context_line":"    .controller(\u0027hzNamespaceResourceTypeFormController\u0027, function($scope, $window) {"},{"line_number":5,"context_line":"      $scope.resource_types \u003d $window.resource_types;"},{"line_number":6,"context_line":""}],"source_content_type":"text/javascript","patch_set":14,"id":"fa32b979_f8ed15f0","line":3,"updated":"2015-06-19 23:44:51.000000000","message":"This is under the tech-debt module, should go under /static/dashboard/core/tech-debt instead.","commit_id":"298667909643c521c466fcb46230a76ffe7cad13"}],"openstack_dashboard/dashboards/project/static/dashboard/project/launch-instance/configuration/load-edit.js":[{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.dashboard.project.launch-instance\u0027)"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  .directive(\u0027loadEdit\u0027, [\u0027dashboard.project.basePath\u0027, \u0027$timeout\u0027,"},{"line_number":7,"context_line":"    function (path, $timeout) {"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"      function link($scope, $element) {"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_b759ac37","line":6,"updated":"2015-06-22 21:26:01.000000000","message":"-1: should be hz.dashboard.project.basePath","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"openstack_dashboard/dashboards/project/static/dashboard/project/project.module.js":[{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    \u0027hz.dashboard.project.launch-instance\u0027"},{"line_number":6,"context_line":"  ])"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    .constant(\u0027dashboard.project.basePath\u0027, \u0027/static/dashboard/project/\u0027);"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_7909cf2b","line":8,"updated":"2015-06-22 21:26:01.000000000","message":"-1: hz.dashboard.project.basePath","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"fe33f705c7be11103307b2e77ffe94728febb081","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    \u0027hz.dashboard.project.launch-instance\u0027"},{"line_number":6,"context_line":"  ])"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    .constant(\u0027dashboard.project.basePath\u0027, \u0027/static/dashboard/project/\u0027);"},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_22f7b18d","line":8,"in_reply_to":"fa32b979_7909cf2b","updated":"2015-06-26 22:24:33.000000000","message":"I also noticed that current users of dashboardBasePath (like keypair.js) have not been refactored to use this constant, but are instead injecting the incorrect one from dashboard.module.js","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"openstack_dashboard/enabled/_10_project.py":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[{"line_number":21,"context_line":"# A list of applications to be added to INSTALLED_APPS."},{"line_number":22,"context_line":"ADD_INSTALLED_APPS \u003d [\u0027openstack_dashboard.dashboards.project\u0027]"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"ADD_ANGULAR_MODULES \u003d [\u0027hz.dashboard\u0027]"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"LAUNCH_INST \u003d \u0027dashboard/launch-instance/\u0027"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":18,"id":"fa32b979_135f690f","side":"PARENT","line":24,"updated":"2015-06-22 06:02:34.000000000","message":"This should be \u0027hz.dashboard.project\u0027","commit_id":"0bc18321fcd562f22a1e0577bfb7662dce16efa1"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":21,"context_line":"# A list of applications to be added to INSTALLED_APPS."},{"line_number":22,"context_line":"ADD_INSTALLED_APPS \u003d [\u0027openstack_dashboard.dashboards.project\u0027]"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"ADD_ANGULAR_MODULES \u003d [\u0027hz.dashboard\u0027]"}],"source_content_type":"text/x-python","patch_set":18,"id":"fa32b979_1951a3d8","line":24,"updated":"2015-06-22 21:26:01.000000000","message":"-1: hz.dashboard.project?","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"openstack_dashboard/static/dashboard/core/dashboard.module.js":[{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"d76c67d4be4829e3ec599ee8eb09b8de18365bcc","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":"  angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.project\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.tech-debt\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.workflow\u0027"}],"source_content_type":"text/javascript","patch_set":10,"id":"fa32b979_177c7fea","line":4,"updated":"2015-06-18 20:16:24.000000000","message":"-1: this isn\u0027t correct. We want dashboard.module.js to live in openstack_dashboard/static/dashboard.\n\n/core should have its own module \"core.module.js\"","commit_id":"ac3750a8c05c7f1d3173d373827fb35a009d2137"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f31da2c3c55e183e71eadf2c0faf98e3fd746ee","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":"  angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.project\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.tech-debt\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.workflow\u0027"}],"source_content_type":"text/javascript","patch_set":14,"id":"fa32b979_98a089a7","line":4,"updated":"2015-06-19 23:44:51.000000000","message":"aren\u0027t we getting rid of this module? tech-debt and workflow should go under core right?","commit_id":"298667909643c521c466fcb46230a76ffe7cad13"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.project\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.tech-debt\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.workflow\u0027"},{"line_number":8,"context_line":"  ])"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_531df10d","line":5,"updated":"2015-06-22 06:02:34.000000000","message":"This needs to not be listed here. Actually, this whole module needs to be renamed hz.dashboard.core and *only* include the core stuff.","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.project\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.tech-debt\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.workflow\u0027"},{"line_number":8,"context_line":"  ])"}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_99b7f3f4","line":5,"in_reply_to":"fa32b979_531df10d","updated":"2015-06-22 21:26:01.000000000","message":"+1","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"},{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.dashboard\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.dashboard.project\u0027,"},{"line_number":6,"context_line":"    \u0027hz.dashboard.tech-debt\u0027,"},{"line_number":7,"context_line":"    \u0027hz.dashboard.workflow\u0027"},{"line_number":8,"context_line":"  ])"},{"line_number":9,"context_line":""}],"source_content_type":"text/javascript","patch_set":18,"id":"fa32b979_f9c87f76","line":6,"updated":"2015-06-22 21:26:01.000000000","message":"These need to be renamed to hz.dashboard.core.*","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"}],"openstack_dashboard/static/dashboard/core/workflow/workflow.spec.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"fa32b979_f30205b4","side":"PARENT","line":4,"updated":"2015-06-22 06:02:34.000000000","message":"hz.dashboard.core.workflow","commit_id":"0bc18321fcd562f22a1e0577bfb7662dce16efa1"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"9dd4d47ee7bff7f5722d8e2526ff5a7a1daeb4d6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"fa32b979_1300c9a9","side":"PARENT","line":6,"updated":"2015-06-22 06:02:34.000000000","message":"hz.dashboard.core.workflow","commit_id":"0bc18321fcd562f22a1e0577bfb7662dce16efa1"}],"openstack_dashboard/utils/settings.py":[{"author":{"_account_id":14307,"name":"Tyr Johanson","email":"tyr@hpe.com","username":"tyr"},"change_message_id":"0e237bce717d3ca5802f12c6f509e44d15fe0f54","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        _apps \u003d config.get(\u0027ADD_INSTALLED_APPS\u0027, False)"},{"line_number":117,"context_line":"        if _apps:"},{"line_number":118,"context_line":"            for _app in _apps:"},{"line_number":119,"context_line":"                base_path \u003d \u0027/\u0027.join(_app.split(\u0027.\u0027)) + \u0027/static/\u0027"},{"line_number":120,"context_line":"            fd.populate_horizon_config(horizon_config, base_path)"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        apps.extend(config.get(\u0027ADD_INSTALLED_APPS\u0027, []))"}],"source_content_type":"text/x-python","patch_set":18,"id":"fa32b979_d94d7b9a","line":119,"updated":"2015-06-22 21:26:01.000000000","message":"-1: This is not the correct way to convert a Python module path to a file system path. Python modules are located in the PYTHONPATH, which can be specified on the command line, and can include modules that are not part of the horizon source. Additionally, this ADD_INSTALLED_APPS may refer to a module directory (foo/bar/__init__.py) or a module file (foo/bar.pyc). You can\u0027t assume that the last part of the path is a directory.\n\nInstead, you want to treat that string as a Python module, import it, then examine the \"__file__\" attribute. This will always end in \"*.py\" or \"*.pyc\". You can then strip off the everything after the last \"/\" and use that as your filesystem path.  This will give you a fully qualified filesystem path that will handle modules that are on the PYTHONPATH but do not live in /horizon/openstack_dashboard/dashboards/\n\nSee import_submodules() above for some examples of Python module utilities that might help.","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e7b85e174cf6cdc38444b781308175b71379f899","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        _apps \u003d config.get(\u0027ADD_INSTALLED_APPS\u0027, False)"},{"line_number":117,"context_line":"        if _apps:"},{"line_number":118,"context_line":"            for _app in _apps:"},{"line_number":119,"context_line":"                base_path \u003d \u0027/\u0027.join(_app.split(\u0027.\u0027)) + \u0027/static/\u0027"},{"line_number":120,"context_line":"            fd.populate_horizon_config(horizon_config, base_path)"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        apps.extend(config.get(\u0027ADD_INSTALLED_APPS\u0027, []))"}],"source_content_type":"text/x-python","patch_set":18,"id":"ba3cc151_5bacf89f","line":119,"in_reply_to":"fa32b979_d94d7b9a","updated":"2015-06-30 22:28:01.000000000","message":"Thanks Tyr a lot for the education, done as suggested. :)","commit_id":"6d4be99d00b9bda65ce895e4a00dc18a9a80d758"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"2a5a1236b742f91a6384bf143a31ed6942562ae8","unresolved":false,"context_lines":[{"line_number":122,"context_line":"                module \u003d importlib.import_module(_app)"},{"line_number":123,"context_line":"                base_path \u003d os.path.join(module.__path__[0], \u0027static/\u0027)"},{"line_number":124,"context_line":"                fd.populate_horizon_config(horizon_config, base_path)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"        for category, exc_list in config.get(\u0027ADD_EXCEPTIONS\u0027, {}).iteritems():"},{"line_number":127,"context_line":"            exceptions[category] \u003d tuple(set(exceptions.get(category, ())"},{"line_number":128,"context_line":"                                             + exc_list))"}],"source_content_type":"text/x-python","patch_set":23,"id":"ba3cc151_dbd3ebd3","line":125,"updated":"2015-07-01 22:48:10.000000000","message":"Is there a reason for no test?","commit_id":"41b1b42dc0021ecdd3841671cba87dc702e0b342"}]}
