Tuesday, 2015-04-21

*** cody-somerville has joined #openstack-horizon00:03
*** jbell8 has quit IRC00:06
*** yamamoto has quit IRC00:08
*** alexvictorchan has quit IRC00:11
*** jbell8 has joined #openstack-horizon00:13
*** openstackgerrit has quit IRC00:22
*** openstackgerrit has joined #openstack-horizon00:23
*** jbell8 has quit IRC00:28
openstackgerritShaoquan Chen proposed openstack/horizon: Increasing gap between form-groups  https://review.openstack.org/17562300:31
openstackgerritDan Nguyen proposed openstack/horizon: Retrieve domain scoped token  https://review.openstack.org/14808200:34
*** openstack has joined #openstack-horizon00:36
openstackgerritDan Nguyen proposed openstack/horizon: Retrieve domain scoped token  https://review.openstack.org/14808200:42
*** ybathia has quit IRC00:43
*** gyee has quit IRC00:46
*** SimonChung1 has quit IRC00:48
*** jbell8 has joined #openstack-horizon00:49
*** tqtran has quit IRC00:53
*** jbell8 has quit IRC01:00
*** yamamoto has joined #openstack-horizon01:00
*** jwy has quit IRC01:03
*** dboik has joined #openstack-horizon01:05
*** dboik_ has joined #openstack-horizon01:06
openfly...01:07
*** dboik has quit IRC01:10
*** clu_ has quit IRC01:13
*** zhenguo has joined #openstack-horizon01:21
*** drupalmonkey has quit IRC01:24
*** nlahouti has quit IRC01:25
*** jingjing_ren has quit IRC01:30
*** jwy has joined #openstack-horizon01:33
openstackgerritLi Yingjun proposed openstack/horizon: Add support for attaching interface  https://review.openstack.org/17525601:34
openstackgerritLi Yingjun proposed openstack/horizon: Detach interface support  https://review.openstack.org/17532201:34
*** SimonChung has joined #openstack-horizon01:46
*** bpokorny_ has quit IRC01:52
*** jingjing_ren has joined #openstack-horizon02:01
*** SimonChung1 has joined #openstack-horizon02:02
*** hightall has joined #openstack-horizon02:02
*** SimonChung has quit IRC02:05
*** jwy has quit IRC02:05
*** jingjing_ren has quit IRC02:06
*** harlowja is now known as harlowja_away02:35
*** harlowja_away is now known as harlowja02:37
*** stevemar has joined #openstack-horizon02:39
*** bpokorny has joined #openstack-horizon02:46
*** bpokorny has quit IRC02:46
*** bpokorny has joined #openstack-horizon02:47
openstackgerritLi Yingjun proposed openstack/horizon: Remove unsed verbose_name  https://review.openstack.org/16610702:54
*** lhcheng has quit IRC02:54
*** jbell8 has joined #openstack-horizon03:04
*** jbell8 has quit IRC03:18
*** akroy has joined #openstack-horizon03:21
akroyhow to install horizon without nova03:21
*** lhcheng has joined #openstack-horizon03:22
*** annashen has joined #openstack-horizon03:42
*** bpokorny has quit IRC03:43
*** jbell8 has joined #openstack-horizon03:49
openstackgerritLin Hua Cheng proposed openstack/horizon: Hide Cancel button if no cancel_url is provided  https://review.openstack.org/17570203:49
*** jbell8 has quit IRC03:53
*** harlowja is now known as harlowja_away03:56
openstackgerritMerged openstack/horizon: Only show data sources if they are relevant for job  https://review.openstack.org/17556303:56
openstackgerritMerged openstack/horizon: Fix the redundant error message during user create  https://review.openstack.org/17446904:03
*** annashen has quit IRC04:05
*** annashen has joined #openstack-horizon04:06
*** annashen has quit IRC04:11
*** iamjarvo has joined #openstack-horizon04:14
*** lhcheng has quit IRC04:21
*** amotoki has joined #openstack-horizon04:24
*** ishant has joined #openstack-horizon04:26
*** akroy has quit IRC04:44
*** Sukhdev has joined #openstack-horizon04:44
*** annashen has joined #openstack-horizon04:45
*** nlahouti has joined #openstack-horizon04:47
*** nlahouti has quit IRC04:51
*** nlahouti has joined #openstack-horizon04:51
*** Longgeek has joined #openstack-horizon04:52
*** zhenguo has quit IRC04:57
*** neelabh has joined #openstack-horizon04:58
*** vkmc has quit IRC05:02
*** lhcheng has joined #openstack-horizon05:07
*** vkmc has joined #openstack-horizon05:08
*** SimonChung1 has quit IRC05:10
*** neillc is now known as neillc_away05:12
*** SimonChung has joined #openstack-horizon05:20
*** neelashah has quit IRC05:20
*** lhcheng_ has joined #openstack-horizon05:26
*** lhcheng has quit IRC05:29
*** jcoufal has joined #openstack-horizon05:31
*** iamjarvo has quit IRC05:31
*** iamjarvo has joined #openstack-horizon05:37
*** tnovacik has joined #openstack-horizon05:38
*** lhcheng_ has quit IRC05:52
*** iamjarvo has quit IRC05:54
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Imported Translations from Transifex  https://review.openstack.org/17572806:02
*** ishant has quit IRC06:05
*** akroy has joined #openstack-horizon06:08
akroyhow to install horizon without nova ?06:08
*** masco has joined #openstack-horizon06:09
*** mrunge has joined #openstack-horizon06:12
*** cody-somerville has quit IRC06:14
*** jingjing_ren has joined #openstack-horizon06:15
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/17573706:17
*** lhcheng has joined #openstack-horizon06:18
*** jingjing_ren has quit IRC06:20
*** annashen has quit IRC06:23
*** krykowski has joined #openstack-horizon06:29
*** neelabh has quit IRC06:31
*** jamielennox is now known as jamielennox|away06:34
*** bfic has joined #openstack-horizon06:36
*** akroy has quit IRC06:36
*** MaxV has joined #openstack-horizon06:39
*** Sukhdev has quit IRC06:44
*** neelabh has joined #openstack-horizon06:44
*** MaxV has quit IRC06:48
*** jprovazn has joined #openstack-horizon06:48
*** lhcheng has quit IRC06:51
*** romainh has joined #openstack-horizon07:04
*** jtomasek has joined #openstack-horizon07:06
*** zhenguo has joined #openstack-horizon07:10
*** pcaruana has quit IRC07:11
*** nlahouti has quit IRC07:20
*** amerine has joined #openstack-horizon07:23
*** jtomasek has quit IRC07:34
*** jamielennox|away is now known as jamielennox07:43
*** MaxV has joined #openstack-horizon07:44
*** stevemar has quit IRC07:49
*** Miouge has joined #openstack-horizon07:58
*** amerine has quit IRC07:58
*** mpavlase has joined #openstack-horizon08:07
*** zz_ttrifonov is now known as ttrifonov08:07
*** robcresswell_afk is now known as robcresswell08:09
*** ygbo has joined #openstack-horizon08:13
*** Ala has joined #openstack-horizon08:13
*** yamamoto has quit IRC08:15
*** e0ne has joined #openstack-horizon08:34
*** Longgeek has quit IRC08:42
*** bluex-pl has joined #openstack-horizon09:00
*** bluex-pl has quit IRC09:01
*** bluex-pl has joined #openstack-horizon09:01
*** yamamoto has joined #openstack-horizon09:04
*** krykowski has quit IRC09:09
*** akrivoka has joined #openstack-horizon09:10
*** Longgeek has joined #openstack-horizon09:14
*** neelabh has quit IRC09:30
openstackgerritDimitri Mazmanov proposed openstack/horizon: Fix error message on project create  https://review.openstack.org/17509609:30
*** hightall has quit IRC09:33
*** tosky has joined #openstack-horizon09:34
*** yamamoto has quit IRC09:34
*** yamamoto has joined #openstack-horizon09:36
*** alexpilotti has quit IRC09:37
*** neelabh has joined #openstack-horizon09:44
openstackgerritMerged openstack/horizon: Hide Cancel button if no cancel_url is provided  https://review.openstack.org/17570209:44
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/17573709:45
*** tnovacik has quit IRC09:46
*** yamamoto has quit IRC09:50
*** neelabh has quit IRC09:50
*** e0ne is now known as e0ne_10:02
*** e0ne_ is now known as e0ne10:04
*** tnovacik has joined #openstack-horizon10:04
*** oro has joined #openstack-horizon10:10
openstackgerritMasco Kaliyamoorthy proposed openstack/horizon: added network id field in admin's update network model  https://review.openstack.org/17280510:18
openstackgerritIlya Tyaptin proposed openstack/horizon: Using a one 'statistics_list' for all resources  https://review.openstack.org/17543010:23
*** bfic has quit IRC10:23
*** bfic has joined #openstack-horizon10:25
*** akrivoka has quit IRC10:29
*** neelabh has joined #openstack-horizon10:30
*** e0ne is now known as e0ne_10:33
*** e0ne_ is now known as e0ne10:34
*** krykowski has joined #openstack-horizon10:37
*** vishwanathj has joined #openstack-horizon10:41
*** doug-fish has left #openstack-horizon10:53
*** jprovazn has quit IRC10:58
*** mrunge has quit IRC10:58
*** tosky_ has joined #openstack-horizon11:02
*** tosky_ has quit IRC11:02
*** tosky has quit IRC11:03
*** neelabh has quit IRC11:05
*** jprovazn has joined #openstack-horizon11:05
*** bfic has quit IRC11:05
*** tosky has joined #openstack-horizon11:07
*** jtomasek has joined #openstack-horizon11:13
*** jprovazn has quit IRC11:13
*** neelabh has joined #openstack-horizon11:16
*** bfic has joined #openstack-horizon11:23
*** jprovazn has joined #openstack-horizon11:28
*** bfic has quit IRC11:34
neelabhhttps://github.com/openstack/horizon/blob/stable/juno/horizon/static/horizon/js/horizon.users.js  in this js file there is one css class "error", please tell me the directory of error class11:40
*** alexpilotti has joined #openstack-horizon11:41
*** mrunge has joined #openstack-horizon11:41
*** tnovacik has quit IRC11:46
openstackgerritDimitri Mazmanov proposed openstack/horizon: Fix error message on user create  https://review.openstack.org/17549511:47
*** jcoufal_ has joined #openstack-horizon11:47
*** bfic has joined #openstack-horizon11:48
*** jcoufal has quit IRC11:50
neelabhhttps://github.com/openstack/horizon/blob/stable/juno/horizon/static/horizon/js/horizon.users.js  in this js file there is one css class "error"is used, please tell me the directory where this error css class is defined11:52
*** yamamoto has joined #openstack-horizon11:53
*** yingjun has joined #openstack-horizon11:54
*** neelabh has quit IRC11:58
*** neelabh has joined #openstack-horizon12:03
*** neelabh has quit IRC12:05
*** raildo has joined #openstack-horizon12:06
*** yamamoto has quit IRC12:12
*** alokb has joined #openstack-horizon12:14
*** lblanchard has joined #openstack-horizon12:17
*** neelabh has joined #openstack-horizon12:19
neelabh this js file there is one css class "error"is used, please tell me the directory where this error css class is defined12:19
neelabhhttps://github.com/openstack/horizon/blob/stable/juno/horizon/static/horizon/js/horizon.users.js  in this js file there is one css class "error"is used, please tell me the directory where this error css class is defined12:19
*** aix has joined #openstack-horizon12:21
robcresswellneelabh: Searching and filtering by SCSS is the easiest way to find the relevant files :) https://github.com/openstack/horizon/search?l=scss&q=error&utf8=%E2%9C%9312:21
*** yingjun has quit IRC12:22
robcresswellneelabh: Alternatively, it may be defined in one of the libraries we use, like Bootstrap, although I believe bootstrap uses warning/danger, rather than error. May be worth looking in to.12:22
*** lblanchard has quit IRC12:22
*** yamamoto has joined #openstack-horizon12:23
*** yingjun has joined #openstack-horizon12:27
neelabh<robcresswell> thanks  for your replay, I am asking in horizon.users.js they using $(row).parent().addClass("error"); so I am searching this error class12:27
*** yingjun has quit IRC12:28
robcresswellneelabh: I'm not sure what the question is I'm afraid. That link above will highlight every usage of "error" in the CSS.12:29
*** yamamoto has quit IRC12:30
neelabhthanks, as you suggested I may be bootstrap css class12:30
robcresswellneelabh: sambetts Just pointed out that it may just be old code that hasn't been cleaned up.12:34
neelabh<robcresswell>: k12:35
*** _crobertsrh is now known as crobertsrh12:35
sambettsneelabh: I was working on this patch, and found that they were using the error class and it wasn't doing anything/didn't exist, so this switches stuff over to the alert classes which actually work https://review.openstack.org/#/c/172957/12:37
neelabh<sambetts> Thanks12:37
*** neelashah has joined #openstack-horizon12:37
neelabh<sambetts> Thanks , I am working on horizon dashboard on my local machine when I open this link => http://127.0.0.1:8080/admin/users/  It fetches the data from the server. So I am searching the client side javascript which insert the fetch data into users table12:42
neelabhPlease tell me where the javascript file for this purpose12:43
*** yamamoto has joined #openstack-horizon12:44
sambettsneelabh: All javascript is in the horizon/static folder, and they are all very well named files, also tables aren't normally populated via an AJAX request, the template is pre-built on the server side, so the data will be there on page load12:47
*** amotoki has quit IRC12:48
*** yamamoto has quit IRC12:52
*** mrunge has quit IRC12:58
*** yamamoto has joined #openstack-horizon13:01
*** sseago has quit IRC13:03
*** sseago has joined #openstack-horizon13:03
*** masco has quit IRC13:03
*** e0ne is now known as e0ne_13:04
*** tnovacik has joined #openstack-horizon13:05
*** yamamoto has quit IRC13:05
*** Longgeek has quit IRC13:05
*** e0ne_ is now known as e0ne13:06
*** neelabh has quit IRC13:07
*** neelabh has joined #openstack-horizon13:07
*** jprovazn has quit IRC13:10
*** jprovazn has joined #openstack-horizon13:14
*** e0ne is now known as e0ne_13:16
*** yamamoto has joined #openstack-horizon13:17
*** yamamoto has joined #openstack-horizon13:17
*** zhenguo has quit IRC13:17
openstackgerritDimitri Mazmanov proposed openstack/horizon: Fix error message on user create  https://review.openstack.org/17549513:18
*** yamamoto has quit IRC13:19
*** e0ne_ is now known as e0ne13:21
*** sseago has quit IRC13:22
*** doug-fish has joined #openstack-horizon13:22
*** sseago has joined #openstack-horizon13:22
*** absubram has joined #openstack-horizon13:24
*** Longgeek has joined #openstack-horizon13:24
*** absubram has quit IRC13:24
*** Longgeek has quit IRC13:24
*** absubram has joined #openstack-horizon13:25
*** Longgeek has joined #openstack-horizon13:25
*** e0ne is now known as e0ne_13:26
*** e0ne_ is now known as e0ne13:26
*** bswartz has joined #openstack-horizon13:27
*** peristeri has joined #openstack-horizon13:27
*** ttrifonov is now known as zz_ttrifonov13:28
openstackgerritVlad Okhrimenko proposed openstack/horizon: Add backend for Horizon memcache  https://review.openstack.org/17167913:32
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: WIP Angularize Identity Projects  https://review.openstack.org/16559513:35
*** radez_g0n3 is now known as radez13:38
*** EmilienM has quit IRC13:40
*** EmilienM has joined #openstack-horizon13:41
*** dboik_ has quit IRC13:43
*** cbits has joined #openstack-horizon13:45
*** Drago has joined #openstack-horizon13:47
*** Drago has quit IRC13:48
*** Drago has joined #openstack-horizon13:48
*** Drago has left #openstack-horizon13:48
*** lblanchard has joined #openstack-horizon13:49
*** neelabh has quit IRC13:49
*** Piet has quit IRC13:51
*** jtriley has joined #openstack-horizon13:52
*** julim has joined #openstack-horizon13:52
*** max2 has joined #openstack-horizon13:53
*** tnovacik has quit IRC13:53
*** lhcheng has joined #openstack-horizon13:53
*** amotoki has joined #openstack-horizon13:54
*** max2 has quit IRC13:54
*** max2 has joined #openstack-horizon13:54
*** yamamoto has joined #openstack-horizon13:55
*** Sukhdev has joined #openstack-horizon13:57
*** dboik has joined #openstack-horizon14:01
*** jtriley_ has joined #openstack-horizon14:03
*** jtriley has quit IRC14:05
openstackgerritShilla Saebi proposed openstack/horizon: made changes per doc conventions to policy.rst  https://review.openstack.org/17503214:08
*** jcoufal_ has quit IRC14:08
*** bfic has quit IRC14:10
*** cbits has left #openstack-horizon14:12
openstackgerritShilla Saebi proposed openstack/horizon: Changes to testing.rst per doc convention  https://review.openstack.org/17497214:13
*** iamjarvo has joined #openstack-horizon14:18
*** iamjarvo has quit IRC14:18
*** iamjarvo has joined #openstack-horizon14:19
*** iamjarvo has quit IRC14:19
*** iamjarvo has joined #openstack-horizon14:20
*** annashen has joined #openstack-horizon14:29
*** vijendar has joined #openstack-horizon14:30
*** dboik has quit IRC14:30
*** dboik has joined #openstack-horizon14:31
*** mrunge has joined #openstack-horizon14:32
*** jtriley_ has quit IRC14:32
*** annashen has quit IRC14:34
*** iamjarvo has quit IRC14:36
*** iamjarvo has joined #openstack-horizon14:38
*** jtriley has joined #openstack-horizon14:38
*** gerchardon has quit IRC14:45
*** iamjarvo has quit IRC14:48
*** max2 has quit IRC14:49
*** mattfarina has joined #openstack-horizon14:50
openstackgerritDoug Hellmann proposed openstack/django_openstack_auth: Update README to work with release tools  https://review.openstack.org/17591114:52
*** iamjarvo has joined #openstack-horizon14:55
openstackgerritRob Cresswell proposed openstack/horizon: Fix various Networking forms urls  https://review.openstack.org/17591714:57
*** stevemar has joined #openstack-horizon14:58
*** emw has joined #openstack-horizon15:01
*** garthb has joined #openstack-horizon15:03
*** garthb_ has joined #openstack-horizon15:03
*** cbader has joined #openstack-horizon15:05
openstackgerritRob Cresswell proposed openstack/horizon: Fix various Networking forms urls  https://review.openstack.org/17591715:12
openstackgerritMatt Borland proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815215:13
*** krykowski has quit IRC15:14
*** julim has quit IRC15:16
*** amerine has joined #openstack-horizon15:17
*** julim has joined #openstack-horizon15:18
*** mpavlase has quit IRC15:21
*** jbell8 has joined #openstack-horizon15:27
*** Sukhdev has quit IRC15:31
*** tnovacik has joined #openstack-horizon15:31
*** annashen has joined #openstack-horizon15:31
*** dsneddon has quit IRC15:33
*** dsneddon has joined #openstack-horizon15:33
*** dsneddon has quit IRC15:34
*** dsneddon has joined #openstack-horizon15:35
*** dsneddon has quit IRC15:35
*** dsneddon has joined #openstack-horizon15:36
*** annashen has quit IRC15:36
*** david-lyle has quit IRC15:36
*** tnovacik has quit IRC15:39
*** amotoki has quit IRC15:41
*** amotoki has joined #openstack-horizon15:43
*** amotoki has quit IRC15:43
*** bpokorny has joined #openstack-horizon15:46
*** alexvictorchan has joined #openstack-horizon15:49
*** gyee has joined #openstack-horizon15:50
*** nlahouti has joined #openstack-horizon15:55
*** dboik has quit IRC15:56
*** dboik has joined #openstack-horizon15:57
*** dboik has quit IRC15:58
*** dboik has joined #openstack-horizon15:58
*** Sukhdev has joined #openstack-horizon15:58
*** dboik has quit IRC15:59
*** dboik has joined #openstack-horizon15:59
*** SimonChung has quit IRC16:01
*** david-lyle has joined #openstack-horizon16:02
*** ChanServ sets mode: +o david-lyle16:02
*** mrunge_ has joined #openstack-horizon16:04
openstackgerritJiri Tomasek proposed openstack/tuskar-ui: Removed Less remains, updated MANIFEST.in  https://review.openstack.org/17596416:05
*** AlkaD has joined #openstack-horizon16:06
*** mrunge has quit IRC16:06
openstackgerritMatt Borland proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815216:10
*** tqtran has joined #openstack-horizon16:13
alexvictorchanis there a list of Horizon related summit talks somewhere?16:14
*** max2 has joined #openstack-horizon16:14
*** vishwanathj has quit IRC16:14
*** vishwanathj has joined #openstack-horizon16:15
robcresswellalexvictorchan: There's an etherpad for the summit session planning https://etherpad.openstack.org/p/horizon-liberty-summit16:15
alexvictorchanrobcresswell: cool, thanks!16:16
david-lylealexvictorchan: those are design summit sessions16:16
robcresswellalexvictorchan: And the general talks are colour coded on here https://libertydesignsummit.sched.org/16:17
david-lyleah, robcresswell was filling that in16:17
robcresswellSorry, was looking for link16:17
*** ygbo has quit IRC16:17
* david-lyle goes back into hiding16:17
alexvictorchanthanks guys16:17
*** romainh has left #openstack-horizon16:18
*** Ala has quit IRC16:19
*** vishwanathj has quit IRC16:19
*** iamjarvo has quit IRC16:20
*** Sukhdev has quit IRC16:22
*** yamamoto has quit IRC16:22
*** rhagarty_ has quit IRC16:25
*** max2 has quit IRC16:25
*** rhagarty has quit IRC16:25
*** jtriley has quit IRC16:27
*** jtriley has joined #openstack-horizon16:29
*** jtriley has quit IRC16:29
*** jtriley has joined #openstack-horizon16:29
openstackgerritThai Tran proposed openstack/horizon: Fixed dashboard angular translation issue  https://review.openstack.org/17461516:30
openstackgerritMatt Borland proposed openstack/horizon: Add Angular service to provide translation  https://review.openstack.org/17597616:32
*** annashen has joined #openstack-horizon16:32
*** annashen has quit IRC16:37
*** iamjarvo has joined #openstack-horizon16:37
openstackgerritDavid Lyle proposed openstack/horizon: Angular alert service - refactor use  https://review.openstack.org/17356216:38
*** vishwanathj has joined #openstack-horizon16:39
*** mrunge_ has quit IRC16:39
openstackgerritWu Hong Guang proposed openstack/horizon: Integration test - Setup TestCase for multi user env  https://review.openstack.org/14772116:41
*** SimonChung has joined #openstack-horizon16:42
tqtranrobcresswell: just updated the etherpad, i added a session per our discussion yesterday16:42
robcresswelltqtran: Nice. I'll get drafting. Hangout Friday/Monday, and you can tell me what I've done wrong? :p16:44
tqtransounds great16:44
tqtran:)16:44
openstackgerritAlok Barsode proposed openstack/horizon: Policy should support AND and OR checks for panels  https://review.openstack.org/17598216:44
*** e0ne has quit IRC16:45
*** jtomasek has quit IRC16:47
*** radez is now known as radez_g0n316:47
*** tqtran has quit IRC16:48
*** jingjing_ren has joined #openstack-horizon16:48
*** max2 has joined #openstack-horizon16:48
*** matt-borland has joined #openstack-horizon16:52
*** vishwanathj has quit IRC16:52
*** Piet has joined #openstack-horizon16:52
*** robcresswell is now known as robcresswell_afk16:53
*** vishwanathj has joined #openstack-horizon16:54
*** jingjin__ has joined #openstack-horizon16:56
*** harlowja_away is now known as harlowja16:57
*** jingjin__ has quit IRC16:58
*** jingjing_ren has quit IRC16:58
*** jingjing_ren has joined #openstack-horizon16:58
*** jingjing_ren has quit IRC16:58
*** vishwanathj has quit IRC16:58
*** annashen has joined #openstack-horizon16:59
*** jwy has joined #openstack-horizon17:01
*** emw has quit IRC17:01
*** julim has quit IRC17:01
*** vishwanathj has joined #openstack-horizon17:03
*** jingjing_ren has joined #openstack-horizon17:03
*** julim has joined #openstack-horizon17:04
*** matt-borland has quit IRC17:05
*** Sukhdev has joined #openstack-horizon17:05
*** vishwanathj has quit IRC17:06
*** max2 has quit IRC17:06
*** vishwanathj has joined #openstack-horizon17:06
*** vishwanathj has quit IRC17:08
*** david-lyle has quit IRC17:08
*** vishwanathj has joined #openstack-horizon17:08
*** Sukhdev has quit IRC17:12
*** MaxV has quit IRC17:14
*** bluex-pl has quit IRC17:15
openstackgerritMatt Borland proposed openstack/horizon: Add Angular service to provide translation  https://review.openstack.org/17597617:15
*** matt-borland has joined #openstack-horizon17:15
*** alexvictorchan has quit IRC17:18
*** alexvictorchan has joined #openstack-horizon17:19
openstackgerritMerged openstack/django_openstack_auth: Update README to work with release tools  https://review.openstack.org/17591117:21
*** matt-borland has quit IRC17:25
*** matt-borland has joined #openstack-horizon17:25
*** radez_g0n3 is now known as radez17:27
*** SimonChung has quit IRC17:28
*** SimonChung1 has joined #openstack-horizon17:29
*** tosky has quit IRC17:29
*** SimonChung1 has quit IRC17:29
*** SimonChung has joined #openstack-horizon17:29
*** SimonChung1 has joined #openstack-horizon17:29
*** SimonChung has quit IRC17:29
*** SimonChung has joined #openstack-horizon17:30
*** SimonChung1 has quit IRC17:30
*** kmartin has joined #openstack-horizon17:31
*** e0ne has joined #openstack-horizon17:33
*** e0ne is now known as e0ne_17:33
*** e0ne_ is now known as e0ne17:34
*** aix has quit IRC17:37
openstackgerritMerged openstack/horizon: Angular alert/messaging service  https://review.openstack.org/13425017:39
*** jwy has quit IRC17:40
*** iamjarvo has quit IRC17:44
*** e0ne is now known as e0ne_17:44
*** e0ne_ is now known as e0ne17:45
*** jtriley_ has joined #openstack-horizon17:45
*** jtriley has quit IRC17:49
*** jtriley_ has quit IRC17:50
*** e0ne is now known as e0ne_17:51
*** e0ne_ has quit IRC17:56
*** lhcheng_ has joined #openstack-horizon17:57
*** vishwanathj has quit IRC17:58
*** vishwanathj has joined #openstack-horizon17:59
*** lhcheng has quit IRC18:00
*** lhcheng_ is now known as lhcheng18:01
*** nlahouti has quit IRC18:01
*** btully has quit IRC18:02
*** btully has joined #openstack-horizon18:02
*** vishwanathj has quit IRC18:03
*** nlahouti has joined #openstack-horizon18:04
*** Ephur_ has joined #openstack-horizon18:04
*** Ephur has quit IRC18:05
*** alexvictorchan has quit IRC18:06
*** SimonChung1 has joined #openstack-horizon18:06
*** SimonChung has quit IRC18:06
*** Ephur_ has quit IRC18:09
*** e0ne has joined #openstack-horizon18:10
*** yamamoto has joined #openstack-horizon18:10
*** jeffDeville has joined #openstack-horizon18:14
*** yamamoto has quit IRC18:15
*** ybathia has joined #openstack-horizon18:16
*** SimonChung has joined #openstack-horizon18:16
*** SimonChung has quit IRC18:17
*** SimonChung2 has joined #openstack-horizon18:17
*** SimonChung has joined #openstack-horizon18:18
*** SimonChung2 has quit IRC18:18
*** SimonChung1 has quit IRC18:18
*** alexvictorchan has joined #openstack-horizon18:19
*** tnovacik has joined #openstack-horizon18:27
*** jeffDeville has quit IRC18:31
*** jeffDeville has joined #openstack-horizon18:31
*** tqtran has joined #openstack-horizon18:32
*** alexvictorchan has quit IRC18:36
*** openstackgerrit has quit IRC18:37
*** openstackgerrit has joined #openstack-horizon18:38
*** david-lyle has joined #openstack-horizon18:39
*** ChanServ sets mode: +o david-lyle18:39
*** SimonChung1 has joined #openstack-horizon18:43
*** SimonChung has quit IRC18:43
*** alexvictorchan has joined #openstack-horizon18:43
*** jingjing_ren has quit IRC18:43
*** Piet has quit IRC18:45
*** ccrouch has quit IRC18:46
*** ccrouch has joined #openstack-horizon18:46
*** david-ly_ has joined #openstack-horizon18:46
*** david-lyle has quit IRC18:46
esphello, has anyone seen an issue launching instances(the non-angular way) where this error shows up in horizon18:46
esp /opt/stack/envs/openstack/loca1/lib/python2.7/s-packages/cinder/api/openstack/wsgipy:78818:46
esp^ cinder get_body call18:47
esphttps://github.com/openstack/cinder/blob/stable/juno/cinder/api/openstack/wsgi.py#L78818:47
bswartzdavid-ly_: ping18:47
*** ZZelle has quit IRC18:48
*** ZZelle has joined #openstack-horizon18:48
*** jeffDevi_ has joined #openstack-horizon18:51
*** jeffDeville has quit IRC18:52
*** jeffDeville has joined #openstack-horizon18:53
*** SimonChung1 has quit IRC18:54
*** SimonChung has joined #openstack-horizon18:54
*** SimonChung has quit IRC18:54
*** SimonChung has joined #openstack-horizon18:54
*** jwy has joined #openstack-horizon18:55
*** jeffDevi_ has quit IRC18:56
*** tqtran has quit IRC18:56
*** wuhg has quit IRC18:59
*** jeffDevi_ has joined #openstack-horizon19:01
*** jeffDeville has quit IRC19:01
*** crobertsrh has quit IRC19:02
*** vishwanathj has joined #openstack-horizon19:02
*** vishwanathj has quit IRC19:03
*** vishwanathj has joined #openstack-horizon19:03
*** SimonChung has quit IRC19:03
*** SimonChung1 has joined #openstack-horizon19:03
*** SimonChung has joined #openstack-horizon19:05
*** SimonChung1 has quit IRC19:05
*** SimonChung1 has joined #openstack-horizon19:06
*** SimonChung has quit IRC19:06
*** alexvictorchan has quit IRC19:07
*** vishwanathj has quit IRC19:08
*** jeffDevi_ has quit IRC19:10
*** alexvictorchan has joined #openstack-horizon19:10
*** iamjarvo has joined #openstack-horizon19:10
*** iamjarvo has quit IRC19:10
*** iamjarvo has joined #openstack-horizon19:11
*** jeffDeville has joined #openstack-horizon19:11
*** drupalmonkey has joined #openstack-horizon19:13
*** crobertsrh has joined #openstack-horizon19:15
*** jeffDevi_ has joined #openstack-horizon19:15
*** jeffDeville has quit IRC19:16
*** david-ly_ has quit IRC19:18
*** gyee has quit IRC19:23
*** jeffDevi_ has quit IRC19:24
*** jeffDeville has joined #openstack-horizon19:24
*** iamjarvo has quit IRC19:32
*** jcoufal has joined #openstack-horizon19:33
*** alexpilotti has quit IRC19:36
*** jeffDevi_ has joined #openstack-horizon19:39
*** SimonChung has joined #openstack-horizon19:40
*** SimonChung1 has quit IRC19:40
*** jeffDeville has quit IRC19:41
openstackgerritMatt Borland proposed openstack/horizon: Add Angular service to provide translation  https://review.openstack.org/17597619:43
*** jingjing_ren has joined #openstack-horizon19:48
*** ericpeterson has joined #openstack-horizon19:48
ericpetersonanybody want a very easy bug / fix?19:49
ericpetersonhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L35  is wrong19:49
ericpetersonhttps://docs.djangoproject.com/en/1.7/ref/settings/#secure-proxy-ssl-header   should be 'HTTP_X_FORWARDED_PROTO'19:49
*** jeffDevi_ has quit IRC19:49
*** jeffDeville has joined #openstack-horizon19:51
*** jingjing_ren has quit IRC19:52
*** tqtran has joined #openstack-horizon19:54
*** jeffDeville has quit IRC19:55
*** AlkaD has quit IRC19:56
*** AlkaD has joined #openstack-horizon19:57
*** SimonChung1 has joined #openstack-horizon19:58
*** SimonChung has quit IRC19:58
ericpetersonhttps://bugs.launchpad.net/horizon/+bug/1446836   I even filed the bug for some lucky soul19:59
openstackLaunchpad bug 1446836 in OpenStack Dashboard (Horizon) "incorrect SSL header used in example config" [Undecided,New]19:59
*** jeffDeville has joined #openstack-horizon19:59
*** vishwanathj has joined #openstack-horizon20:00
*** AlkaD has quit IRC20:01
*** nlahouti has quit IRC20:02
*** vishwana_ has joined #openstack-horizon20:04
*** nlahouti has joined #openstack-horizon20:04
*** vishwanathj has quit IRC20:04
*** annashen has quit IRC20:08
*** jeffDeville has quit IRC20:08
*** AlkaD has joined #openstack-horizon20:09
*** jeffDeville has joined #openstack-horizon20:12
alexvictorchanericpeterson: I’ll take it!20:13
ericpetersonthanks :)   should be pretty straightforward20:14
*** jeffDeville has quit IRC20:15
alexvictorchanwell, I took another bug from you but it hasn’t gotten much attention :(20:15
alexvictorchanhttps://bugs.launchpad.net/horizon/+bug/144472520:15
openstackLaunchpad bug 1444725 in OpenStack Dashboard (Horizon) "logout url is hard coded / wrong" [Medium,In progress] - Assigned to Alex Chan (alexc2-3)20:15
*** bswartz has left #openstack-horizon20:15
*** jcoufal has quit IRC20:15
*** e0ne is now known as e0ne_20:17
*** jeffDeville has joined #openstack-horizon20:18
*** jingjing_ren has joined #openstack-horizon20:19
*** dboik has quit IRC20:20
*** david-lyle has joined #openstack-horizon20:21
*** ChanServ sets mode: +o david-lyle20:21
*** dboik has joined #openstack-horizon20:21
*** jeffDeville has quit IRC20:27
*** jeffDeville has joined #openstack-horizon20:27
tqtranTravT, matt-borland, ongk, david-lyle, lhcheng: I'm doing a code walkthrough for the identity users angular table. If you're interested, feel free to join us. Starting at 2pm on hangout, will post link shortly.20:28
tqtran2pm PST that is20:29
*** nlahouti has quit IRC20:30
TravTtqtran: i'll be there.20:31
*** Sukhdev has joined #openstack-horizon20:31
openstackgerritAlex Chan proposed openstack/horizon: incorrect SSL header used in example config  https://review.openstack.org/17606120:32
*** iamjarvo has joined #openstack-horizon20:33
openstackgerritAlex Chan proposed openstack/horizon: incorrect SSL header used in example config  https://review.openstack.org/17606120:34
*** jeffDeville has quit IRC20:34
*** jeffDeville has joined #openstack-horizon20:35
*** Piet has joined #openstack-horizon20:37
*** raildo has quit IRC20:43
*** neelashah has quit IRC20:44
openstackgerritAaron Sahlin proposed openstack/horizon: Angularize Identity Users Panel  https://review.openstack.org/13376720:47
openstackgerritAaron Sahlin proposed openstack/horizon: Show message when filtering yields no items  https://review.openstack.org/17503520:47
openstackgerritSam Betts proposed openstack/horizon: Ensure log messages are not translation objects  https://review.openstack.org/17397420:48
*** jeffDeville has quit IRC20:50
*** mpavlase has joined #openstack-horizon20:50
*** alexpilotti has joined #openstack-horizon20:51
*** openstackgerrit has quit IRC20:52
*** openstackgerrit has joined #openstack-horizon20:52
*** nlahouti has joined #openstack-horizon20:53
*** Ephur has joined #openstack-horizon20:55
*** julim has quit IRC20:57
tqtranTravT, matt-borland, ongk, david-lyle, lhcheng: https://plus.google.com/hangouts/_/gyn35uykvimywomziz4lu7cbxqa?hl=en20:58
TravTcoming, just a seconds.20:59
asahlintqtran: mind if I join in as well?21:00
tqtranof course not!21:00
tqtranopen to all21:00
*** absubram has quit IRC21:01
*** annashen has joined #openstack-horizon21:01
*** stevemar2 has joined #openstack-horizon21:01
*** stevemar has quit IRC21:01
*** absubram has joined #openstack-horizon21:01
lhchengtqtran: is this going to be recorded?21:02
*** clu_ has joined #openstack-horizon21:02
tqtrannot sure how to record it21:02
*** stevemar2 has quit IRC21:02
tqtrani plan on going over it again at the summit21:03
lhchengI don't access to hangout21:03
tqtranthis is to help people review it21:03
tqtranoh... damn21:03
lhchengoh okay, I'll listen the live one later then21:03
*** iamjarvo has quit IRC21:03
tqtranok sorry about that lin21:03
r1chardj0n3smorning21:03
lhchengno worries, thanks for the invite!21:03
*** stevemar has joined #openstack-horizon21:04
*** SimonChung has joined #openstack-horizon21:04
*** SimonChung1 has quit IRC21:04
*** crobertsrh is now known as _croberts21:05
*** absubram has quit IRC21:05
*** annashen has quit IRC21:06
*** absubram has joined #openstack-horizon21:06
*** matt-borland has quit IRC21:07
*** tnovacik has quit IRC21:07
*** ybathia has quit IRC21:08
*** lblanchard has quit IRC21:12
openstackgerritDimitri Mazmanov proposed openstack/horizon: Fix error message on project create  https://review.openstack.org/17509621:15
*** ybathia has joined #openstack-horizon21:16
*** ybathia has quit IRC21:16
*** dboik_ has joined #openstack-horizon21:18
*** ybathia has joined #openstack-horizon21:18
*** vahidh has joined #openstack-horizon21:19
*** iamjarvo has joined #openstack-horizon21:20
*** vijendar has quit IRC21:20
*** MaxV has joined #openstack-horizon21:20
*** ybathia has quit IRC21:20
*** dboik has quit IRC21:21
*** mattfarina has quit IRC21:26
*** e0ne_ has quit IRC21:31
*** vishwana_ has quit IRC21:32
*** peristeri has quit IRC21:34
*** iamjarvo has quit IRC21:38
*** ybathia has joined #openstack-horizon21:42
*** doug-fish has left #openstack-horizon21:43
ongkclu_: ping21:45
clu_hi ongk!21:46
ongkhello! I saw that you +2 this patch (https://review.openstack.org/#/c/174654/). It’s got a few dependencies. Have you had a chance to look through those?21:46
*** dboik_ has quit IRC21:46
*** dboik has joined #openstack-horizon21:47
clu_ongk - sure I'll look at those21:47
ongkclu_: Great! Thanks!21:47
ongkclu_: feel free to ping btully or me if you need a walk through21:49
clu_ongk: ok :)21:49
*** MaxV has quit IRC21:54
*** AlkaD has quit IRC21:57
*** stevemar has quit IRC22:00
*** harlowja is now known as harlowja_away22:00
*** gyee has joined #openstack-horizon22:01
*** ybathia has quit IRC22:01
*** jtriley has joined #openstack-horizon22:02
*** ericpete_ has joined #openstack-horizon22:05
*** harlowja_away is now known as harlowja22:05
*** ericpeterson has quit IRC22:08
tqtranlhcheng: https://review.openstack.org/#/c/174615/ fixes the translation issue22:09
tqtranin angular, let me walk you through the flow22:09
lhchenghow does NG picks up the translation file?22:09
tqtranhttps://github.com/openstack/horizon/blob/master/horizon/templates/horizon/_scripts.html#L822:09
*** ericpete_ has quit IRC22:09
*** jbell8 has quit IRC22:09
*** jbell8 has joined #openstack-horizon22:10
tqtranso basically, django picks up the js file and parses it to extract stuff to shove into the po file22:10
tqtranin addition, the django catalog object is populated with this stuff via that url22:10
lhchengdoes that mean the js po file must always be in horizon?22:11
lhchengsince the views is set to  "'horizon:jsi18n' 'horizon' "22:12
*** SimonChung has quit IRC22:13
*** SimonChung1 has joined #openstack-horizon22:13
tqtranno it doesn't but it has to :)22:13
tqtranso basically, you can generated a separate po file for dashboard js files22:13
tqtranand insert another url to get it22:13
tqtranand include it your _script.html22:14
tqtrannow you end up with 2 i18n file, both containing the django catalog object22:14
*** jbell8 has quit IRC22:14
tqtranthe problem is that the later one will override the first. so you will end up with only translation strings in dashboard22:14
tqtranso the solution proposed here appends the translation in dashboard into horizon22:15
lhchengtqtran: oh it doesn't append to it?22:15
tqtrannot if you have 2 separate po files22:16
lhchengwouldn't the django.po have the same issue too?22:16
tqtranit does, but its all server-side22:16
tqtranso no overriding takes place22:16
tqtranit only becomes a problem when you fetch the django l18n template twice22:16
tqtranbecause the django i18n template both contaings the same django catalog object22:17
tqtranlet me see if i can pastebin it22:18
tqtranhttp://pastebin.com/xkjq1Suq22:19
lhchengthat views it can take multiple packages: https://github.com/django/django/blob/master/django/views/i18n.py#L29522:19
tqtrandjango.catalog object contains the translated version22:19
*** vishwanathj has joined #openstack-horizon22:20
lhchengit seems having the translation separate for openstack_dashboard is cleaner22:20
lhchengshoving it to horizon seems more of a hack, if someone is customizing the NG module they'll have the same problem anyway22:21
lhchengwould passing 'horizon+openstack_dashboard' as argument work?22:21
*** iamjarvo has joined #openstack-horizon22:22
tqtranso the javascript_catalog method is per view basis?22:22
lhchengit can take a list of packages22:23
lhcheng "'horizon:jsi18n' 'horizon' "  => "'horizon:jsi18n' horizon+openstack_dashboard' "22:24
tqtranhttps://github.com/openstack/horizon/blob/master/horizon/site_urls.py#L3522:27
tqtranso the url is define there, does it make sense that horizon should know about dashboard? or are we creating another file to host url in the dashboard side?22:27
tqtranand if we do that, we'd still end up with two i18n object, which wouldn't solve the overriding issue22:28
*** SimonChung1 has quit IRC22:28
*** SimonChung has joined #openstack-horizon22:28
tqtranis there example of how to use get_javascript_catalog(locale, domain, packages)?22:29
tqtrani'll google and see if it will fit our needs22:29
lhchenghmm I assume it might be merging it, idk22:30
lhchengbut would be worthwhile to look at22:30
tqtranok so basically, it looks like its on a per view basis22:30
tqtranhttp://stackoverflow.com/questions/1963517/how-to-give-package-names-to-django-javascript-catalog-view22:30
lhchengit would be an concern for customizing22:30
tqtranyou have to define a url for each view, then load the packages that are in that module22:31
tqtranthats not how it works in horizon today, we load the entire catalog22:31
tqtranmight have to change that in the future22:31
*** Sukhdev has quit IRC22:31
tqtranit wouldn't be a concern, as long as you include js files, it will pick it up22:31
tqtrannot sure what you mean by customizing. you mean like adding in new js files?22:33
lhchengyeah22:33
*** ybathia has joined #openstack-horizon22:33
tqtranso before the angular stuff, you only add static files to horizon and django would pick it up22:33
tqtrannow with the angular stuff, you do the same. with the exception that you can add static files to dashboard as well22:34
tqtranas far as you're concern, the translation will get pick up in both places and work properly22:34
tqtranso customization isn't an issue22:34
tqtranwe could go with the approach you mentioned, but that would require us to include the package for every view (or need to write some script to do that dynamically for us)22:35
tqtrannvm i take that back :P22:35
tqtranapparently its only for the i18n view. ok so you could include the dashboard package there, but that would require horizon to know about dashboard22:36
tqtranis that ok?22:36
lhchengseems like horizon code already knows about dashboard code: https://github.com/openstack/horizon/blob/master/horizon/templates/horizon/_scripts.html#L26-L322:39
lhchengtqtran: I don't think horizon should know about dashboard22:39
lhchengtqtran: should probably have a way to override that from dashboard22:40
*** jbell8 has joined #openstack-horizon22:41
david-lyletqtran: lhcheng that was noted as an item to refactor i believe22:41
tqtrandavid-lyle, lhcheng: actually, all of those are in horizon22:41
tqtrandashboard code is included via the plugin mechanism, let me find example22:42
tqtranhttps://review.openstack.org/#/c/133767/67/openstack_dashboard/enabled/_25_identity.py22:42
tqtranhttps://github.com/openstack/horizon/tree/master/openstack_dashboard/enabled22:42
tqtranall of those scripts are re-usable components22:43
tqtranand thus, they belong in horizon22:43
david-lyletqtran: should be in dashboard no22:44
david-lylethe service code22:44
david-lylenot the widgets22:44
*** jtriley has quit IRC22:44
tqtranyeah, can move the service code to dashboard22:44
david-lylethat's the point of contention22:44
tqtrani'll write up a bug to track it22:44
david-lyleright lhcheng22:44
david-lyle?22:44
lhchengif the angular code is already in the horizon, why do you still need the symlink for the translation?22:45
david-lylemost angular code is in openstack_dashboard22:45
david-lylethe actual implementations of launch instance e.g.22:45
david-lylethe common widgets are in horizon22:46
david-lylethe services are in horizon, but should be in openstack_dashboard22:46
*** mpavlase has quit IRC22:47
tqtranbasically, we have code for dashboard specific to each panel22:47
lhchengdavid-lyle: okay.. there are really two sets of javascript code then.22:47
tqtranfor example, the identity users table22:47
david-lylelhcheng: yes22:47
lhchengone for horizon and one for dashboard22:47
tqtranyes, one for widget stuff, and one for dashboard22:47
lhchengI think it makes sense to have a separate translation file for them22:47
lhchengprobably just have to look harder how to do it22:48
tqtranwe can do that, but you'll end up having to fetch 2 translation catalog, which will override each other22:48
tqtranok, I'm open to ideas :)22:49
*** dboik_ has joined #openstack-horizon22:50
lhchengtqtran: yeah, seems like the _scripts.html need to be overridden by dashboard22:53
lhchengto be able to set "'horizon:jsi18n' horizon+openstack_dashboard' "22:53
lhchengtry out if that syntax works22:53
*** dboik has quit IRC22:53
*** Longgeek has quit IRC22:54
tqtranlet me try22:55
lhchengnot really sure if that generates two catalog or just combine it into one22:55
lhchengthe doc is not that clar22:55
lhcheng*clear22:55
lhchengfor multiple packages, looks like it jst merges into one catalog22:57
lhchenghttps://github.com/django/django/blob/master/django/views/i18n.py#L216-L21922:57
*** dboik_ has quit IRC22:59
*** jbell8 has quit IRC23:00
tqtranim testing it out now, one sec23:03
*** annashen has joined #openstack-horizon23:03
*** vahidh has quit IRC23:04
tqtranlooks like it combined it. at least thats what the catalog object shows. but for some reason, the gettext is not picking it up23:07
tqtrantranslation inside the launch instance looks bare still23:08
*** annashen has quit IRC23:08
*** vishwanathj has quit IRC23:08
tqtrannote that im using the pseudo translate tool, so it should all be there23:08
lhchengtqtran: cool, not django problem anymore :P23:09
lhchenglol23:09
lhchengwhat is "pseudo translate tool" ?23:09
tqtranits something doug introduced recently23:10
tqtranbasically, it appends a bunch of internation characters to everything23:11
tqtranso the things that arent translatable will show up23:11
tqtranas plain english text23:11
*** yamamoto has joined #openstack-horizon23:11
*** SimonChung has quit IRC23:12
*** SimonChung1 has joined #openstack-horizon23:12
tqtranlhcheng: hehe not so fast mr. lin23:13
tqtranlhcheng: so looks like it only returned the horizon translation strings. but i cant be sure its a django thing or my translation script. have to double check again23:14
*** neillc_away is now known as neillc23:17
lhchengmaybe the translation tool doesn't take into account the new djangojs.po file?23:17
lhchenghave to add it to its config or something..23:18
tqtranoh....23:20
tqtranright you are23:20
tqtranforgot about that23:20
tqtranbut that doesnt explain why im not seeing the dashboard translation stuff in the catalog23:20
tqtranhttp://localhost:8001/i18n/js/openstack_dashboard/23:21
*** yamamoto has quit IRC23:21
tqtrancatalog is blank23:21
tqtraneventhough the po file contain stuff in it23:21
*** bswartz has joined #openstack-horizon23:22
*** bswartz has left #openstack-horizon23:22
*** bswartz has joined #openstack-horizon23:22
*** bswartz has left #openstack-horizon23:22
tqtranBAM!23:23
tqtranit works now, i had to re-add the *23:24
*** vishwanathj has joined #openstack-horizon23:24
lhchengawesome!23:24
tqtranok, so where should we add the i18n script override?23:24
tqtranshould i create a new block statement for it? or just use an existing one? like custom_js_files?23:26
lhchengI think eventually the _scripts.html have to overridden by dashboard anyway or at least we need to provide that options.  If a deployer would be adding new JS file, they have to append their package too in the translation lookup.23:26
tqtranright23:26
tqtranwhich is why i wanted to move that to dashboard a while back23:26
tqtranbut i got some pretty fierce resistance23:27
tqtran:P23:27
*** Drago has joined #openstack-horizon23:27
lhchengah move the _scripts.html?23:27
lhchenghehe23:27
tqtranpeople wanted to keep widgets related scripts in horizon23:27
tqtranor anything library related23:27
tqtranhaha yeah, i wanted to consolidate with conf first, then move it to dashboard23:28
tqtranbecause we aren't really using it in horizon23:28
lhchenghmm I guess depends which is the least impactful approach. would adding a new block statement be backward compatible?23:28
tqtranit can be define there, but the real usage is in dashboard23:28
tqtranit should be23:29
tqtranbackward in a sense that its all pre-angular23:29
lhchengyeah23:29
lhcheng you can add a new block statement, and default it to the old value.23:30
lhchengthat should be fine23:30
tqtranok sounds good, i'll do that23:30
*** bpokorny has quit IRC23:30
lhchengcool23:31
tqtrancan i extend _scripts in dashboard?23:34
openstackgerritCindy Lu proposed openstack/horizon: WIP Angular Users Panel settings-dependent features  https://review.openstack.org/17613023:38
lhchengI think so... david-lyle ^23:38
david-lyleholy sh... what?23:39
*** iamjarvo has quit IRC23:40
*** vishwanathj has quit IRC23:41
*** vishwanathj has joined #openstack-horizon23:41
tqtran{% extends "horizon/qunit.html" %}23:42
tqtranops23:42
tqtran{% extends "horizon/_scripts.html" %}23:43
tqtranmaximum recursion depth exceeded in cmp23:43
david-lylethat seems odd23:43
lhchengdavid-lyle: we need to override this line: https://github.com/openstack/horizon/blob/master/horizon/templates/horizon/_scripts.html#L823:43
david-lyleto override in openstack_dashboard something in horizon23:43
lhchengto load translation from dashboard23:44
*** tjones1 has joined #openstack-horizon23:44
tqtranthis approach is a bit more complicated than my 2 line fix lol23:44
david-lylecan't we add a custom block?23:44
david-lyleor..23:44
lhchengtranslations coming from string in the JS code in dashboard23:44
lhchengtqtran: lol, it will useful in the long run :)23:45
lhcheng*will be23:45
tqtranwe are adding a custom block, but i still have to extend and then replace that single block23:45
david-lylewhy not in here somewhere https://github.com/openstack/horizon/tree/master/openstack_dashboard/static/dashboard23:45
*** vishwana_ has joined #openstack-horizon23:45
*** vishwanathj has quit IRC23:46
david-lyleyou still need the horizon translations, no?23:46
tqtranyes we do23:46
*** zhenguo has joined #openstack-horizon23:47
tqtranso basically, the approach was to request for i18n using this url: http://localhost:8001/i18n/js/horizon+openstack_dashboard23:47
tqtranthe idea is that django will combine it for you23:47
tqtranbut as lin mentioned, https://github.com/openstack/horizon/blob/master/horizon/templates/horizon/_scripts.html#L8, this line would have to be overriden23:48
*** garthb_ has quit IRC23:48
*** garthb has quit IRC23:48
tqtranhence the need for block, but at the same time, its not just a complete replacement. we have to extend then replace that block.23:48
tqtransince we still need the other scripts to load23:48
tqtranbut im getting error :(23:48
*** ericksonsantos has quit IRC23:48
*** ericksonsantos has joined #openstack-horizon23:49
*** rhagarty has joined #openstack-horizon23:51
*** rhagarty_ has joined #openstack-horizon23:51
david-lylenew block earlier right under the line that you want override23:52
tqtranah....23:54
tqtranapparently you can't extend and replace at the same time23:54
*** nlahouti has quit IRC23:54
tqtranif you extend, it has to be a different file name23:55
tqtranif you replace, use the same name23:55
tqtranbut you can't do both23:55
* tqtran facepalm.23:55
*** rwsu has quit IRC23:56
*** yamamoto has joined #openstack-horizon23:57
*** SimonChung has joined #openstack-horizon23:57
*** SimonChung1 has quit IRC23:57
*** radez is now known as radez_g0n323:58
tqtranhm that cant be right?23:58
tqtranhttps://code.djangoproject.com/wiki/ExtendingTemplates23:59
*** SimonChung has quit IRC23:59

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!