Thursday, 2016-01-21

*** coolsvap|away is now known as coolsvap04:49
*** jtomasek has joined #storyboard07:55
*** openstackgerrit has quit IRC10:02
*** openstackgerrit has joined #storyboard10:02
Zarahuh, jenkins didn't like that... wonder what's up?10:15
Zara(removing argparse)10:15
pedroalvarezI think it just failed in jenkins, but it should work. Although there is a bit of debate because this will drop support for python 2.6, and removing it is not really fixingh anything10:22
pedroalvarez(from other changes with the same topic https://review.openstack.org/#/q/topic:rm-argparse)10:22
Zaragah, what's going on with this redirect patch11:37
Zarait's reported as a problem in the style check, but it needs to be that way to work... so I'm guessing I need to do it differently, and it's some angular quirk that I don't know or have forgotten11:38
Zarahttps://review.openstack.org/#/c/270337/11:39
Zara(if it's just function () then it doesn't redirect properly, whereas function (Story) works )11:39
Zarabut that's declaring the variable twice since it's already in the upper scope11:40
pedroalvarezdoes it still work if you rename "Story" ?11:42
* pedroalvarez <- no idea about js and Angular11:42
Zara(but if I *don't* declare it there, then it doesn't seem to get the value of the variable from the upper scope, so... wha? )11:42
Zaraif I rename it, I get '*placeholder* is declared but never used'11:42
Zarathough I should check if everything still works11:43
pedroalvarezI mean something like this: http://paste.openstack.org/show/484546/11:44
pedroalvarezit will be used.. no reason to say 'is declared but never used'11:44
Zarahah I forgot to change it inside the function to match up, that might be it... xD11:45
pedroalvarezif that works, then I would call it "NewStory" :)11:46
Zarayup, that worked11:46
Zarathanks11:46
pedroalvareznice :)11:46
pedroalvareznp11:46
Zaraheh, I was actually using that as my test variable, but not in camelCase. though the function is called newStory, so that might get confusing.11:47
pedroalvarezfair11:51
ZaraI'm going with createdStory for now, because I couldn't think of something better and all the good names were taken (newStory and story) ;_;11:51
openstackgerritZara proposed openstack-infra/storyboard-webclient: Always go to Story Detail Page after adding Story  https://review.openstack.org/27033711:53
pedroalvarezmakes sense :)11:54
ZaraI should turn off emails in my test instance... my inbox is full of 'story fdkslfjdksfjdsl was created'11:56
pedroalvarezadd a filter for them :)11:57
Zarathat would also work11:58
*** coolsvap is now known as coolsvap|away12:07
SotKdoes calling the variable `story` not work?12:18
Zarano, it said it had been used12:18
ZaraIt wouldn't let me have 'story' and 'Story', hehe12:19
Zara(though it's possible I'd done something else strange so I'll check jic)12:20
ZaraI tried it at the last minute last night; may have been tired and got errors for  unrelated reasons!12:21
SotK`story` doesn't look to be defined in the parent scope, so I don't see why it would give an error about that12:22
Zarayeah, it seems fine. I'm guessing it was a different error and I didn't change it in the body of the function to match.12:23
Zarathen thought it was the declaring variables twice error12:24
Zarathis is why I should just go home when I'm tired... eh, I'll post the 'story' version now, anyway :P12:25
openstackgerritZara proposed openstack-infra/storyboard-webclient: Always go to Story Detail Page after adding Story  https://review.openstack.org/27033712:26
openstackgerritZara proposed openstack-infra/storyboard-webclient: Change Hover Cursor for Interactable Titles  https://review.openstack.org/27077612:47
Zara(I'm very sleepy today so going through old bugs and fixing the little ones)12:50
Zarain case anyone is wondering why the heck hover cursors are a priority for me :P12:50
pedroalvarezhaha12:51
pedroalvarezjust tested, looks good to me :)12:52
Zara\o/12:53
*** jtomasek has quit IRC13:09
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix some minor project group issues  https://review.openstack.org/26962714:00
*** jtomasek has joined #storyboard14:31
pedroalvarezthanks for fixing that one :014:52
pedroalvarez:)14:52
openstackgerritMerged openstack-infra/storyboard-webclient: Fix some minor project group issues  https://review.openstack.org/26962715:07
Zara\o/15:07
Zaragardening tasks etc-- so, for emails, we're just waiting on jeblair's patches? afaik there isn't anything else we can do on that side.15:47
SotKthat is my understanding, yes15:47
Zaracool.. guess it depends how they go, but hopefully it's just a few syntax tweaks and then infra will get their emails! :)15:48
ZaraI should say 'our' emails but I'm used to using recentEvents by now.15:48
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard-webclient: Logging in no longer causes page refresh.  https://review.openstack.org/27088216:06
krotscheckZara: ^^16:06
Zarakrotscheck: Thank you! I'm so excited! =D16:06
krotscheckNow to see if I can reproduce this refresh token nonsense16:07
pedroalvareztopic => king_of_the_north16:07
pedroalvarez:)16:07
krotscheckUrm, actually16:08
ZaraI hope to send news of the coronation to successbot soon16:08
Zarauh oh16:08
krotscheckDon't merge that16:08
krotscheckI've got an infinite token refresh loop.16:08
krotscheck:D16:08
* krotscheck goes and figures that out16:08
Zarawe're still waaaay closer than before. :)16:09
krotscheckZara, pedroalvarez: Ok, nevermind, it's fine to merge. My loop was caused by a misconfig - THe server expired tokens after 5 seconds, but my internal refresh time would check for "expire_time" minus "600 seconds", which resulted in a negative timeout value.16:16
krotscheckAlso, I'm no longer seeing the 40116:16
SotK\o/16:17
SotKthanks krotscheck!16:17
krotscheckThough there are some edge cases about an expired token that y'all might want to look at.16:17
krotschecki.e. "If the refresh timer doesn't fire/work what happens"16:17
krotscheckTo test manually, you'll have to set your local storyboard-api token expiry to "small", and then manually adjust your webclient's pre_expire_delta.js to something "less than small".16:18
paulsherwoodheard elsewhere... 'email notifications *for comments* etc too please'16:19
Zarahm, there should already be notifications for comments.16:20
pedroalvarezyup, there are16:20
Zarakrotscheck: cool, will test now! :)16:20
pedroalvarezkrotscheck: nice, will test16:20
krotscheckI've added more detailed instructions to the review.16:22
Zarathank you16:25
krotscheckHrm, tests fail, just a sec16:29
krotscheckAhhh, phantomJS doesn't support the URL class.16:30
krotscheckHrm16:30
ZaraI'm following the steps and still being logged out and getting 401s; wondering if I've definitely configured the right things16:48
Zara# Time in seconds before an access_token expires16:48
Zaraaccess_token_ttl = 516:48
Zara# Time in seconds before an refresh_token expires16:48
Zararefresh_token_ttl = 516:48
Zarawondering if it should just be the refresh token...16:49
Zaraoh, nvm, logging in itself is fine16:50
ZaraI think everything is behaving as expected, since the bit I mentioned there is the 2nd part of the fix...16:51
Zarayep, that seems fine.16:56
*** davidlenwell has quit IRC16:58
*** davidlenwell has joined #storyboard16:59
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard-webclient: Logging in no longer causes page refresh.  https://review.openstack.org/27088217:00
Zara\o/17:02
krotscheckYeah, I figured: our users don't use phantom, let's not test on phantom, let's test on chrome instead.17:06
krotscheckThough i can split that into a separate patch.17:06
krotscheck....wait a sec. Wasn't the king of the north beheaded?17:07
*** coolsvap|away has quit IRC17:07
Zarahm, good point, we could do with a luckier title17:07
ZaraI used it because we're based in the North of England, but it doesn't work well as a metaphor17:08
Zaravery-successful-king-in-the-north-unlike-that-other-guy?17:08
paulsherwoodZara, pedroalvarez - ok thanks17:08
ZaraI'm heading off in a minute-- does anyone need anything before I vanish for the night?17:22
pedroalvareznope from me :)17:26
* pedroalvarez goes to test the patch with the right settings17:26
Zaraokay, night! :)17:29
*** davidlenwell has quit IRC17:50
*** davidlenwell has joined #storyboard17:55
*** mrmartin has joined #storyboard18:52
*** mrmartin has quit IRC19:45
krotscheckDerp still broken,19:50
krotscheckOk, I'm shifting to daycare mode, will be available when naps happen, but I'm focused on getting an NPM mirror into infra over in #openstack-infra, so I won't be able to update things until tomorow.19:51
krotscheckFeel free to take on that patch and fix the silly browser things.19:51
*** yarkot has joined #storyboard20:45
*** yarkot has quit IRC21:18

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