)]}'
{"openstack_dashboard/context_processors.py":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"a0b061e31bb16dc3a91d11580ea3848c6ad00634","unresolved":false,"context_lines":[{"line_number":67,"context_line":"    regex \u003d re.compile(r\u0027^openstack_dashboard\u0027)"},{"line_number":68,"context_line":"    all_plugins \u003d conf.HORIZON_CONFIG[\u0027plugins\u0027]"},{"line_number":69,"context_line":"    external_plugins \u003d filter(lambda i: not regex.search(i), all_plugins)"},{"line_number":70,"context_line":"    js_catalog.extend(external_plugins)"},{"line_number":71,"context_line":"    context[\u0027JS_CATALOG\u0027] \u003d \u0027+\u0027.join(js_catalog)"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    return context"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_0413d10e","line":70,"updated":"2016-01-07 21:29:36.000000000","message":"I would prefer to use more modern Python patterns here:\n\n    js_catalog.extend(p for p in all_plugins if not regex.search(p))\n\nrather than the pattern we\u0027re moving away from (filter/lambda)","commit_id":"86e3815cd8a2bbcefe04625446b70d5256701724"}],"openstack_dashboard/utils/settings.py":[{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"848d326a90e43593e82cb102b926ae07fbd09e56","unresolved":false,"context_lines":[{"line_number":148,"context_line":"            config.pop(\"__builtins__\", None)"},{"line_number":149,"context_line":"            panel_customization.append(config)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"        if config.get(\u0027ADD_JS_CATALOG\u0027, False):"},{"line_number":152,"context_line":"            if config.get(\u0027DASHBOARD\u0027):"},{"line_number":153,"context_line":"                js_catalog.append(key)"},{"line_number":154,"context_line":"            elif config.get(\u0027PANEL\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a740942_e7c3d955","line":151,"updated":"2015-12-10 23:21:50.000000000","message":"The values that needs to be added here are the applications listed in ADD_INSTALLED_APPS. I don\u0027t know how you\u0027d find the translations if the app is installed in some other way (Is that even allowed?)\n\nMaybe ADD_JS_CATALOGS should be a list of applications to contribute to the JS catalog? (Likely a duplicate of ADD_INSTALLED_APPS)","commit_id":"67ef578f653a2486cf85ec2b192fede3dca58943"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"0efd62f43afbbdf4a57998b315eed80750ee9344","unresolved":false,"context_lines":[{"line_number":148,"context_line":"            config.pop(\"__builtins__\", None)"},{"line_number":149,"context_line":"            panel_customization.append(config)"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"        if config.get(\u0027ADD_JS_CATALOG\u0027, False):"},{"line_number":152,"context_line":"            if config.get(\u0027DASHBOARD\u0027):"},{"line_number":153,"context_line":"                js_catalog.append(key)"},{"line_number":154,"context_line":"            elif config.get(\u0027PANEL\u0027):"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a740942_c54d759a","line":151,"in_reply_to":"7a740942_e7c3d955","updated":"2015-12-11 01:00:13.000000000","message":"I took a look into this. Turns out that we use ADD_INSTALLED_APPS for internal dashboards and panels as well, which falls under the openstack_dashboard domain.\n\nI do not know if there is an easy way to figure out if it is an internal dashboard or a plugin. Will most likely have to check the module\u0027s path, but even that is tricky since all enabled files go into openstack_dashboard/enabled or openstack_dashboard/local/enabled. Ideally, plugins should go into local/enabled but that is not strictly enforce and not documented anywhere at the moment. Let\u0027s have a few others weigh in on this.","commit_id":"67ef578f653a2486cf85ec2b192fede3dca58943"}],"releasenotes/notes/enable-js-catalog-plugin-1885df911148247a.yaml":[{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"6992309cfa1ee7613d9c240c76c6de978e869c84","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"    - Allow external plugins to contribute translations to the javascript"},{"line_number":4,"context_line":"      message catalog."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"fixes:"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5a710552_e409b72d","line":3,"updated":"2015-12-15 19:12:59.000000000","message":"JavaScript","commit_id":"86e3815cd8a2bbcefe04625446b70d5256701724"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"93d9a1f870ded4e0f9e8cd2fbfb99ff4afc915f0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"    - Allow external plugins to contribute translations to the javascript"},{"line_number":4,"context_line":"      message catalog."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"fixes:"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"fa69d971_d6bf0cce","line":3,"updated":"2016-01-11 21:38:06.000000000","message":"You still need to fix *JavaScript here","commit_id":"c6e62cb40ddf97272bdb05f9bc62569b9b503c38"}],"releasenotes/notes/enable-jscatalog-plugin-ee0ed15b56bd5d62.yaml":[{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"848d326a90e43593e82cb102b926ae07fbd09e56","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    to contribute translations to the javascript message catalog."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"fixes:"},{"line_number":7,"context_line":"  - Then inability for plugins to contribute translations to the javascript"},{"line_number":8,"context_line":"  message catalog. Right now our files are hardcoded to allow only contributions"},{"line_number":9,"context_line":"  from horizon and openstack_dashboard applications"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7a740942_147895c3","line":7,"updated":"2015-12-10 23:21:50.000000000","message":"Remember these will go into release notes and will be read in the future. I think some different tenses might help. Maybe\n\nProvided the ability for plugins to contribute translations to the JavaScript message catalog. Previously the horizon and openstack_dahboard applications were hardcoded.","commit_id":"67ef578f653a2486cf85ec2b192fede3dca58943"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"0efd62f43afbbdf4a57998b315eed80750ee9344","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    to contribute translations to the javascript message catalog."},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"fixes:"},{"line_number":7,"context_line":"  - Then inability for plugins to contribute translations to the javascript"},{"line_number":8,"context_line":"  message catalog. Right now our files are hardcoded to allow only contributions"},{"line_number":9,"context_line":"  from horizon and openstack_dashboard applications"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7a740942_40abb3d6","line":7,"in_reply_to":"7a740942_147895c3","updated":"2015-12-11 01:00:13.000000000","message":"Done","commit_id":"67ef578f653a2486cf85ec2b192fede3dca58943"}]}
