Wednesday, 2015-02-04

openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added functional tests for the OAuth Endpoint  https://review.openstack.org/15275200:57
krotscheck700 lines of tests.00:57
krotscheckNote that they don’t actually pass, because our oauth endpoint doesn’t actually do what it’s supposed to.00:58
krotscheckAnyone can feel free to jump in and help fix it :)01:00
*** cody-somerville has quit IRC01:25
*** Piet has quit IRC01:33
*** cody-somerville has joined #storyboard02:14
*** cody-somerville has quit IRC02:24
*** coolsvap_ is now known as coolsvap05:57
*** mrmartin has joined #storyboard06:17
*** alexismonville has joined #storyboard07:04
yolandak, i'll take a look this morning07:38
*** jcoufal has joined #storyboard07:54
*** alexismonville has quit IRC08:05
*** mrmartin has quit IRC08:33
*** mrmartin has joined #storyboard08:37
*** gforcada has joined #storyboard08:40
*** alexismonville has joined #storyboard08:45
*** gforcada has quit IRC08:45
*** MaxV has joined #storyboard08:49
*** gforcada has joined #storyboard09:16
rcarrillocruzkrotscheck: i'm cool taking that task09:23
rcarrillocruzlet's sync up when you are online (was off yesterday)09:23
*** ssam2 has joined #storyboard09:48
*** jcoufal_ has joined #storyboard09:52
*** jcoufal has quit IRC09:53
*** jtomasek has joined #storyboard10:12
*** gforcada has left #storyboard10:14
*** yolanda has quit IRC10:54
*** yolanda has joined #storyboard10:54
*** mattfarina has joined #storyboard11:44
*** alexismonville1 has joined #storyboard12:13
openstackgerritMerged openstack-infra/storyboard: Fix NotFound errors  https://review.openstack.org/15213712:13
openstackgerritMerged openstack-infra/storyboard: Fix status code on delete  https://review.openstack.org/15160312:13
*** ilyashakhat_ has joined #storyboard12:17
*** alexismonville has quit IRC12:20
*** ilyashakhat has quit IRC12:20
*** mase_x200 has joined #storyboard12:33
*** mase_x200 has quit IRC12:44
*** mase_x200 has joined #storyboard12:56
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044712:57
*** jesusaurus has quit IRC13:00
*** ongk has quit IRC13:00
*** ongk has joined #storyboard13:03
*** jesusaurus has joined #storyboard13:05
*** mase_x200 has quit IRC13:10
*** mrmartin has quit IRC13:36
*** alexismonville1 has quit IRC13:39
openstackgerrityolanda.robla proposed openstack-infra/storyboard-webclient: Fix in project groups validation  https://review.openstack.org/15213313:50
yolandakrotscheck, about validation errors, the only place i've seen that is on the auth screen. The others just log an error on the console to show the real error13:50
*** alexismonville has joined #storyboard13:54
*** reed has joined #storyboard14:14
*** mrmartin has joined #storyboard14:25
yolandakrotscheck, when you come online, i've been looking at that code for http interceptor but i can't follow quite well where the notifications are consumed to generate and display an error14:26
*** alexismonville has quit IRC15:07
*** jcoufal has joined #storyboard15:09
*** alexismonville has joined #storyboard15:09
*** jcoufal_ has quit IRC15:12
*** mattfarina has quit IRC15:27
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added new way to filter stories by tags  https://review.openstack.org/15295115:39
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044715:43
*** CTtpollard has quit IRC15:44
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044715:51
*** CTtpollard has joined #storyboard15:57
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added branches to storyboard  https://review.openstack.org/15044715:58
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added milestones  https://review.openstack.org/15250015:58
openstackgerritAleksey Ripinen proposed openstack-infra/storyboard: Added new way to filter stories by tags  https://review.openstack.org/15295116:00
*** mattfarina has joined #storyboard16:12
*** coolsvap is now known as coolsvap_16:28
*** MaxV has quit IRC17:06
*** alexismonville has quit IRC17:11
*** jcoufal has quit IRC17:26
krotscheckyolanda: Ok, I’m back17:28
krotscheckSo, I didn’t actually write the OAuth things, I believe that was all NikitaKonovalov17:28
krotscheckAll I did was speed-read the spec and wrote some tests.17:28
yolandaRicardo told me he will take care of the oauth things17:29
krotscheckAwesome17:30
yolandai was trying to see why errors aren't shown, i saw that you have an http interceptor17:30
yolandathat sends an event17:30
*** Piet has joined #storyboard17:30
yolandabut i don't see where are they trapped17:30
krotscheckYeah, and that error is supposed to be picked up by the error environment17:30
yolandawhich is that error environmetn?17:31
yolandais there something on place to consume that errors and show an alert?17:31
yolandai saw a Notification class, but i see that this is only consuming events at launching the app17:32
krotscheckapp/notification/service/notification_service.js I think17:32
krotscheckIt’s supposed to add global interceptors that remain persistent17:32
yolandai put logs there and it's not actively consuming messages17:33
krotscheckIf those are getting removed, that’s a problem.17:33
yolandai raise an error for example in project groups, a dupe one17:33
*** jtomasek has quit IRC17:33
yolandai can see error is published by the broadcaster17:33
yolandabut doesn't arrive to the notification service17:33
krotscheckInteresting17:34
krotscheckSo, the message interception lives in the notification_controller, loaded by the notifications directive.17:35
krotscheckWait a sec, did something merge recently?17:36
yolandai approved a pair of changes today, the ones about the abort17:36
krotscheckHrm.17:36
krotscheckOk.17:36
yolanda<openstackgerrit> Merged openstack-infra/storyboard: Fix NotFound errors  https://review.openstack.org/15213717:36
yolanda<openstackgerrit> Merged openstack-infra/storyboard: Fix status code on delete  https://review.openstack.org/15160317:36
krotscheckDid it break login?17:36
yolandai'm logged17:37
yolandalet me logout/login17:37
yolandait's fine for me17:37
krotscheckCool17:38
krotscheckI just want to make sure things don’t break.17:38
*** ssam2 has quit IRC17:38
yolandamm, i commented that bit on the code17:44
yolanda                // Iterate through the interceptors.17:44
yolanda                    if (!!interceptors[i].method(n)) {17:44
yolanda                        return;17:44
yolanda                    }17:44
yolanda                }*/17:44
yolandaand show alerts appearing for first time17:44
yolandaso there may be something odd there17:45
yolandamm, i can see it17:51
yolandamethod is something lke17:51
yolandaif (message.type === 'http') {17:52
yolanda                if (message.message === 401) {17:52
yolanda                    // An unauthorized error. Refreshing the access token17:52
yolanda                    // might help.17:52
yolanda                    handle_401();17:52
yolanda                }17:52
yolanda                if (message.message === 403) {17:52
yolanda                    // Forbidden error. A user should be warned tha he is17:52
yolanda                    // doing something wrong.17:52
yolanda                    handle_403();17:52
yolanda                }17:52
yolanda                return true; // Stop processing this notifications.17:52
yolandaour error code is 40017:52
yolandaso just ignored17:52
yolandawe need to properly handle 400 errors on that list, or any other error codes that may come17:52
krotscheckHrm.17:53
* krotscheck doesn’t have enough of that code in memory yet.17:53
yolandaweird for me is that this code is on auth/notification/auth_error_handling.js17:53
yolandaand no auth related17:53
yolandai think new interceptors need to be added17:54
*** coolsvap_ is now known as coolsvap17:57
yolandai'll continue with that, looks as now i'm on the way...17:58
krotscheckkk17:59
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added functional tests for the OAuth Endpoint  https://review.openstack.org/15275218:14
*** coolsvap is now known as coolsvap_18:20
*** alexismonville has joined #storyboard18:22
*** alexismonville has quit IRC18:30
*** frvge has joined #storyboard18:45
frvgeHi all, I'm trying to link Ubuntu One to Storyboard, but I always get a 500 error so I'm unable to use Storyboard. The error message unfortunately isn't very helpful :(18:45
krotscheckfrvge: We’ve got a similar report from a different user, who disabled the various data requests that storyboard depends on. Did you uncheck name/email on ubuntu one perhaps?18:46
frvgeI'll have a look. It was the first time I also used Ubuntu One.18:47
krotscheckfrvge: Unlikely then.18:47
frvgeBoth are checked.18:48
krotscheckfrvge: At the moment, we still have some holes in how the data we get back from Ubuntu One is handled. Empty values, or ones with odd characters, tend to blow up.18:48
frvgeMy surname contains a space.18:48
krotscheckfrvge: both? There should be three: Full name, username, email address.18:48
krotscheckThat might be the problem :)18:49
frvgeThe site has requested some personal information, please choose what you would like to share:   Full name: Frank van Gemeren  Email address: xxxxx@gmail.com Yes, log me in  or cancel18:49
krotscheckHuhn.18:50
frvgeMaybe something messed up. I can try to remove my account from Ubuntu One18:50
krotscheckfrvge: Let me do a bit of research, back in 1018:50
frvgeTHanks. It's way past end of business day here, so I'm off here. :) I just re-registered with just "Frank" as name, and it's still failing for me.18:52
krotscheckfrvge: Yeah, there’s a missing field from the request, and I’m trying to figure out where that can be set.18:53
krotscheckfrvge: I’m afraid it may have been deprecated.18:53
frvgekrotscheck: ok. If you could look into it, that'd be much appreciated.18:54
krotscheckfrvge: Would you mind logging into launchpad to see if you can set it there?18:54
krotscheckhttps://launchpad.net/18:54
krotscheckfrvge: It should be the ‘launchpad id'18:55
frvgekrotscheck: pinkywithabrain18:55
krotscheckCool18:56
frvge**18:56
frvge^^ :)18:56
krotscheckfrvge: So if you go to https://launchpad.net/~pinkywithabrain/+edit you can see it in the ‘name’ field?18:57
frvgekortscheck: correct.18:58
krotscheckGood. Can you log into storyboard again and see if it asks for three fields now?18:58
krotscheckIf not, then I have to do some fast patching.18:58
frvgekrotscheck: works :) thanks18:59
krotscheckfrvge: You’re welcome!19:00
krotscheckfrvge: Filed https://storyboard.openstack.org/#!/story/2000152 for future improvements.19:09
frvgekrotscheck: Thank you.19:15
*** frvge has quit IRC19:16
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added functional tests for the OAuth Endpoint  https://review.openstack.org/15275219:53
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added functional tests for the OAuth Endpoint  https://review.openstack.org/15275219:55
krotscheckrcarrillocruz: I had to add some test cases to the OAuth tests due to the errors that came up in the channel earlier today.19:55
krotscheckAlso, the actual error checks were wrong.19:55
rcarrillocruzk, i haven't been able to look at it yet anyway, this week I'm oncall and having fun with tickets and issues19:58
rcarrillocruzkrotscheck: your amendment to my change re: notificationhook got a -1 from Jenkins, needing a rebase19:58
rcarrillocruzjust a FYI in case you didn't see19:58
krotscheckrcarrillocruz: That’s what I’m working on right now.19:59
krotscheckrcarrillocruz: Gotcah19:59
rcarrillocruzcool19:59
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Explicit Hook Priorities  https://review.openstack.org/15225320:00
*** mattfarina has quit IRC20:24
*** cody-somerville has joined #storyboard20:24
*** mattfarina has joined #storyboard20:58
*** mattfarina has quit IRC20:58
*** mrmartin has quit IRC21:15
*** mrmartin has joined #storyboard21:17
*** mrmartin has quit IRC21:22
*** Piet has quit IRC21:33
*** alexismonville has joined #storyboard21:52
*** alexismonville has quit IRC22:18
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: OAuth Functional Tests  https://review.openstack.org/15306822:22
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard: Added OAuth check for response_type 'code'  https://review.openstack.org/15306922:22
krotscheck If anyone has pointers on ^^ to figure out how to properly recast the exception into the right kind of response, I’d be muchly appreciative :)22:32
*** mattfarina has joined #storyboard22:44
*** alexismonville has joined #storyboard22:59
*** mattfarina has quit IRC23:04
*** reed has quit IRC23:24
*** alexismonville has quit IRC23:25
*** alexismonville1 has joined #storyboard23:25
*** alexismonville has joined #storyboard23:45
*** alexismonville1 has quit IRC23:45

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