Friday, 2015-11-27

*** openstackgerrit has quit IRC06:23
*** openstackgerrit has joined #storyboard06:39
*** coolsvap has quit IRC07:39
*** coolsvap has joined #storyboard07:47
*** wuhg has joined #storyboard07:48
*** ttx_ is now known as ttx08:07
*** NikitaKonovalov has quit IRC08:16
*** NikitaKonovalov has joined #storyboard08:20
*** NikitaKonovalov2 has joined #storyboard08:28
*** NikitaKo- has joined #storyboard08:37
*** ttx_ has joined #storyboard08:40
*** ttx has quit IRC08:41
*** NikitaKonovalov has quit IRC08:41
*** NikitaKo- is now known as NikitaKonovalov08:41
*** NikitaKonovalov2 has quit IRC08:42
*** ttx_ is now known as ttx08:42
*** NikitaKonovalov2 has joined #storyboard08:59
*** ttx has quit IRC09:02
*** NikitaKonovalov has quit IRC09:02
*** coolsvap has quit IRC09:02
*** openstackgerrit has quit IRC09:02
*** NikitaKonovalov2 is now known as NikitaKonovalov09:03
*** NikitaKonovalov has quit IRC09:10
*** ttx has joined #storyboard09:12
*** coolsvap has joined #storyboard09:12
*** NikitaKonovalov has joined #storyboard09:19
*** b3rnard0- has quit IRC09:23
*** openstackgerrit has joined #storyboard09:26
*** b3rnard0 has joined #storyboard09:26
*** NikitaKonovalov has quit IRC09:33
*** ttx has quit IRC09:33
*** coolsvap has quit IRC09:33
*** ttx has joined #storyboard09:34
*** coolsvap has joined #storyboard09:34
*** NikitaKonovalov has joined #storyboard09:45
*** NikitaKonovalov has quit IRC09:55
*** NikitaKonovalov has joined #storyboard10:06
*** b3rnard0 has quit IRC10:18
ZaraSotK_: ah, okay, thanks for explaining!10:18
*** davidlenwell_ has quit IRC10:20
*** davidlenwell has joined #storyboard10:20
*** b3rnard0 has joined #storyboard10:24
openstackgerritMerged openstack-infra/storyboard-webclient: Replace "New Story" button in the top bar with a dropdown menu  https://review.openstack.org/23197210:29
SotK\o/10:29
*** NikitaKonovalov2 has joined #storyboard10:32
*** NikitaKonovalov has quit IRC10:34
*** ttx has quit IRC10:34
*** coolsvap has quit IRC10:34
*** NikitaKonovalov2 is now known as NikitaKonovalov10:34
*** coolsvap- has joined #storyboard10:34
pedroalvareznice10:41
* pedroalvarez upgrades his storyboard instance10:41
SotKnow we just need https://review.openstack.org/#/c/231973/ and everything for single-user worklists/boards will be merged :D10:41
*** ttx has joined #storyboard10:42
*** ttx has quit IRC10:45
paulsherwood400: POST /api/v1/openid/token?grant_type=refresh_token&refresh_token=p7jUlG3vRqZe0sutQqx8BMLpeFu1XW: No error details available.10:46
paulsherwoodwhen visiting https://storyboard.openstack.org/#!/10:46
openstackgerritMerged openstack-infra/storyboard-webclient: Fix top-right search for project groups  https://review.openstack.org/25046510:46
*** ttx has joined #storyboard10:46
SotKpaulsherwood: does it happen if you try again?10:47
paulsherwoodSotK: no10:48
ZaraI suspected it related to: https://storyboard.openstack.org/#!/story/2000407 , though odd that it's a 400 and not a 40110:51
Zarastory needs updating; I think we got to the bottom of that yesterday, and it involves patching puppet?10:52
SotKI've seen that api call break when my token expires before now I think10:52
paulsherwoodcna't reproduce now, anyway10:52
SotKno way to be sure without access to the production logs10:52
paulsherwoodghost in the macchine? :)10:52
SotKpaulsherwood: if it comes back in about an hour, it's definitely the issue Zara linked10:52
SotKZara: FSVO bottom, yes10:53
paulsherwoodok i'll try, if i remember (or someone pings me)10:53
SotKincreasing the lifetime of the tokens will make it less annoying for sure10:53
Zarapaulsherwood: if you look at your list of authentication tokens  (in 'profile' on the sidebar, then the key icon on the submenu), it should tell you when the last one expired/when the current one was generated10:54
SotKbut really we should implement the request caching stuff mentioned in https://storyboard.openstack.org/#!/story/3610:55
Zara(if you're not logged in then those icons won't be there, but otherwise there might be some information)10:55
Zarayeah10:55
Zaraooh, recent events are displaying properly on my dashboard now10:55
Zaranice, thanks10:55
SotKwhat does properly mean? :D10:56
*** b3rnard0 has quit IRC10:58
Zarathey seem to be displaying for stories other than ones I've created. Maybe the timing was just luck, but it seems like it's picking up on more of them.10:58
SotKdo you have one for the comment I just left on https://storyboard.openstack.org/#!/story/2000402 ?11:00
* SotK realises Zara might not be subscribed to that11:00
SotKI still think we should autosubscribe people to stories they create11:01
paulsherwood+111:01
ZaraSotK: I wasn't subscribed to it; feel free to comment again. :)11:01
*** b3rnard0 has joined #storyboard11:02
* SotK comments11:03
Zaranothing's showing up :/11:04
SotK:(11:04
ZaraI have one for a story creation for jjb, which I think is because I'm subscribed to the project group11:09
Zaraand one for a task creation in one of my stories11:10
*** b3rnard0 has quit IRC11:10
pedroalvarezdoh: "400: POST /api/v1/worklists: Unknown attribute for argument worklist: editing"11:15
SotKheh, is that with newer wsme?11:15
pedroalvarezI guess is the same kind of issue yes11:16
*** b3rnard0 has joined #storyboard11:17
pedroalvarezIt does work with older wsme, yes11:18
Zarahave looked at my weird drag and drop issues with worklists in another browser-- everything works as expected in chrome. in iceweasel, it's usable, but a bit odd.11:18
Zara(a bit odd= you have to start dragging, then let go of mouse button, then click to drop. though drag and drop works on occasion. 'click, release, click' without any dragging won't work, as worklist item then acts as a link to the story or task.)11:22
Zarain chrome, drag and drop just works.11:22
* pedroalvarez opens iceweasel11:23
*** ttx has quit IRC11:24
*** coolsvap- has quit IRC11:25
*** NikitaKonovalov has quit IRC11:25
Zarahopefully, we'll all have different experiences, just to make it exciting.11:25
SotKit worked fine in iceweasel for me fwiw11:26
SotKalthough it highlighted bits when I dragged11:26
pedroalvarezworked fine here too11:26
pedroalvarezoh, worklists11:27
pedroalvarezI was testing boards11:27
SotKoh, me too11:27
SotKI have the clicky issue on worklists11:28
SotK:(11:28
pedroalvarezme too11:28
pedroalvarezsometimes it works nice11:28
pedroalvarezsometimes you have to click again11:29
SotKoh, iceweasel is trying to drag the link I think11:29
SotKhappens in boards too if you drag the link part11:30
Zara\o/11:35
SotKI wonder how many other browsers attempt to drag links like that11:35
*** ttx has joined #storyboard11:36
pedroalvarezany solution in mind?11:36
* SotK is investigating to see if he can disable the dragging behaviour somehow11:36
pedroalvareznew button showing up in storyboard.openstack.org :)11:37
ZaraI'm curious about the reasons for it; presumably it suits someone's workflow somewhere. is it so you can open a link in a different, existing window or something?11:37
Zaraor just a bug :P11:38
Zarathis https://review.openstack.org/#/c/231973/ still seems to depend on an outdated version of a patch11:38
pedroalvarezI was wondering if only allowing drag and drop when clicking on the icon would be a good idea11:38
SotKZara: yeah, its so you can drag the link to somewhere I think (eg a new tab or window)11:39
SotKChrome does it too, but in a way that doesn't break everything11:39
SotKpedroalvarez: I did it like that at first, but it was unintuitive and annoying (especially on mobile)11:39
Zarapedroalvarez: iirc we tried that earlier and there were issues with it.11:39
Zarasnap11:39
pedroalvarezgood we know why not :)11:40
Zaranow we all just have to patch iceweasel and everything'll be fiiiiiine...11:43
*** cody-somerville has quit IRC11:43
*** cody-somerville- has quit IRC11:43
*** dabukalam has quit IRC11:43
*** betherly has quit IRC11:43
*** jjardon has quit IRC11:43
pedroalvarezhahah, it might be possible to do it in our codebase :)11:44
Zara(what's up with all the netsplitting today) would be good, though I'm guessing the angularjs codebase would turn out to be the place to fix it.11:47
Zaraor maybe the modules we import11:47
* SotK suspects it might need a patch to ng-sortable, but isn't sure11:47
Zarayeah11:47
*** cody-somerville has joined #storyboard11:48
*** betherly has joined #storyboard11:48
*** jjardon has joined #storyboard11:48
ZaraI doubt it's anything storyboard-specific, though it'd be great if there were just some config option11:48
pedroalvarezI found this http://stackoverflow.com/questions/3873595/how-to-disable-firefoxs-default-drag-and-drop-on-all-images-behavior-with-jquer11:50
pedroalvarezbut from there to our solution ... might not be easy, at least for me11:51
Zaraat a glance, it starts off with jquery stuff, but there's stuff that looks more relevant to us farther down.11:51
Zarathat suggests it's just a question of adding an attribute 'onmousedown=false' to the relevant tags11:52
Zarabut that's witchcraft to me11:53
Zaraquick to code, if it works11:53
* SotK worries that might break the dragging we want too11:53
SotKI'm going to see if event.preventDefault() works11:53
Zaraah, yeah, assuming the name of the attribute means 'the user hasn't clicked', I assume it'd stop all dragging11:54
Zaraor just 'don't do anything when the user clicks'11:54
Zaraif only there were a  'onmousedown=stopbeingannoying'11:55
SotKgrr, doing event.preventDefault() in the drag callbacks doesn't help11:59
SotKadding an event listener to do it worked though \o/12:04
* SotK prepares a patch12:04
ZaraSotKman, SotKman, does whatever a SotKman can~12:05
* pedroalvarez is ready to test :)12:07
SotKthat's also fixed the highlighting of half the page12:07
pedroalvarez:D12:09
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix confusing drag behaviour on some browsers  https://review.openstack.org/25077112:10
*** cody-somerville- has joined #storyboard12:11
*** coolsvap has joined #storyboard12:11
*** dabukalam has joined #storyboard12:12
*** NikitaKonovalov has joined #storyboard12:12
*** wuhg has quit IRC12:15
pedroalvarezthat just works12:22
pedroalvarez:)12:22
Zarait seems a bit weird for an angular thing to be accessing the document directly12:30
*** wuhg has joined #storyboard12:30
*** coolsvap has quit IRC12:38
*** NikitaKonovalov has quit IRC12:39
*** dabukalam has quit IRC12:40
*** cody-somerville- has quit IRC12:40
*** cody-somerville- has joined #storyboard12:40
*** dabukalam has joined #storyboard12:42
*** coolsvap has joined #storyboard12:44
*** NikitaKonovalov has joined #storyboard12:44
SotKso, it seems angular's $document doesn't expose enough functionality to add an event listener12:50
* SotK tries a different thing12:51
SotKok, got it working using $document now :)12:54
* SotK resends12:54
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix confusing drag behaviour on some browsers  https://review.openstack.org/25077112:59
*** wuhg has quit IRC13:00
* pedroalvarez tests13:00
pedroalvarezdoes that solution look better to you Zara?13:00
*** wuhg has joined #storyboard13:06
Zarasorry, wasn't looking at this tab!13:09
Zarawill test now13:09
Zarahmmm, function (e) -- does that have to be one letter?13:14
Zarait does solve the issue, so if 'e' can be replaced with something more informative, or if there's a reason it has to be 'e', I'm ready to merge it.13:19
* pedroalvarez likes Zara's reviews 13:23
Zara:) most of my review comments seem to end up on irc, so on gerrit it always looks like I just +2 everything right away13:32
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix confusing drag behaviour on some browsers  https://review.openstack.org/25077113:42
SotKthere :P13:42
*** wuhg has quit IRC14:01
pedroalvarezZara: I agree that IRC reviews are more friendly, but  it might be good to note those comments on gerrit as well.14:01
Zarayeah, whether they end up on gerrit tends to depend on whether the patch gets fixed too fast for me to copy them up xD14:25
openstackgerritMerged openstack-infra/storyboard-webclient: Fix confusing drag behaviour on some browsers  https://review.openstack.org/25077114:26
*** ttx has quit IRC14:27
*** ttx has joined #storyboard14:48
openstackgerritMerged openstack-infra/storyboard-webclient: Link to the relevant story in comment notifications  https://review.openstack.org/24927315:00
*** thrace has quit IRC15:27
*** thrace has joined #storyboard15:29
Zarahave we heard anything further from anyone about the email patches?15:52
SotKnope15:52
* SotK hasn't seen jeblair around15:52
Zaraah, okay. :S15:53
*** cody-somerville has quit IRC15:55
*** cody-somerville has joined #storyboard16:08
*** cody-somerville has quit IRC16:46
*** ttx has quit IRC16:46
* pedroalvarez suggests SotK to upgrade WSME on his instance :)16:53
*** cody-somerville has joined #storyboard16:54
* SotK is using whatever tox is deciding to install16:54
SotKhow many broken bits are there? :/16:54
pedroalvarezjust the one I pointed out before I think16:54
pedroalvarezbut I think it might be good for you tou use the restrictive version of wsme16:54
pedroalvarezor at least, limit WSME version in the requirements16:55
*** ttx has joined #storyboard16:56
SotKyeah, it would make sense I think16:56
Zarayeah, we should at least be using whatever storyboard.openstack.org will be using, since that's the biggest consumer of storyboard.16:56
pedroalvareznote that if storyboard.openstack.org is re-deployed, it will be a bit broken17:00
Zarayeah, we don't want that. :(17:00
*** cody-somerville has quit IRC17:27
*** cody-somerville has joined #storyboard17:31
SotKshould we enforce <0.8, or >=0.8 and make sure it always works with that?17:50
Zaramaybe <0.8 until we upgrade our own wsmes and fix things?17:50
Zarathen make it >=0.8 after that17:51
SotKthat sounds like the most sensible plan to me too17:51
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Limit WSME to <0.8  https://review.openstack.org/25092017:56
*** cody-somerville has quit IRC18:00
*** cody-somerville has joined #storyboard18:02
*** cody-somerville has quit IRC18:07
*** cody-somerville has joined #storyboard18:20
pedroalvarezreviewed18:34
Zara\o/18:35
openstackgerritMerged openstack-infra/storyboard: Limit WSME to <0.8  https://review.openstack.org/25092018:42

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