Thursday, 2015-11-26

*** openstack has joined #storyboard05:55
*** mrmartin has quit IRC06:15
*** openstack has quit IRC07:28
*** openstack has joined #storyboard14:06
*** openstackstatus has joined #storyboard14:06
*** ChanServ sets mode: +v openstackstatus14:06
openstackgerritZara proposed openstack-infra/storyboard-webclient: Align story subscription stars on right  https://review.openstack.org/25041714:42
ZaraI wrote that patch hours ago and forgot about it, hm.14:43
pedroalvarezZara: arrghh! gerrit shows a whitespace in red!!14:43
Zaraand there's an extra whitespace!14:43
Zarasnap!14:43
Zaraargh!14:43
openstackgerritZara proposed openstack-infra/storyboard-webclient: Align story subscription stars on right  https://review.openstack.org/25041714:44
pedroalvarezshould we poke Monty Taylor regarding this patch? https://review.openstack.org/#/c/240345/14:45
Zarayeah, though I think we're mainly waiting on a response from jeblair about that one14:54
SotKalso waiting on jeblair for https://review.openstack.org/#/c/240346/14:54
* SotK hopes to get to poking him today14:55
pedroalvarezoh true, Monty only -1ed as a reminder14:55
ZaraI thought you also needed to update that second one, SotK?14:55
Zarato match the inline comment14:56
SotKoh yeah14:57
SotKoops14:57
SotK:)14:57
ZaraI keep forgetting about that one too, or I'd've mentioned it earlier, sorry.14:57
Zaratime to tackle some reviews...14:58
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Allow boolean preferences  https://review.openstack.org/24166115:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Factory subject is now a template file.  https://review.openstack.org/24034515:02
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Single event email worker.  https://review.openstack.org/24034615:02
SotKhttps://review.openstack.org/#/c/241661/ should be mergeable now15:03
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix SubscriptionEvents not making it into the database  https://review.openstack.org/24030115:04
Zarawoop, I'll take a look!15:04
SotKand now https://review.openstack.org/240301 should be too15:04
Zaraargh15:05
openstackgerritMerged openstack-infra/storyboard-webclient: Add a page to view a board  https://review.openstack.org/23197115:14
openstackgerritMerged openstack-infra/storyboard: Allow boolean preferences  https://review.openstack.org/24166115:18
SotK\o/15:19
openstackgerritMerged openstack-infra/storyboard: Fix SubscriptionEvents not making it into the database  https://review.openstack.org/24030115:25
ZaraThmergedsday15:26
Zarahm, doesn't really work15:26
pedroalvarezZara: just tested your "move the start to the right" patch15:27
SotKI wonder if https://review.openstack.org/240301 will fix the weirdness with recent events on storyboard.o.o15:28
pedroalvarezit is nicer, but it doesn't really match with the stories list15:28
Zarayeah, I think the stars should be *right* at the end15:29
ZaraI didn't look too closely at that, but actually it might just be a question of moving a class down on the template. I'll look at that now.15:29
pedroalvarez-1ed in gerrit so that is noted15:31
ZaraI'm guessing that template needs a general so that the relevant bits look more like these: https://github.com/openstack-infra/storyboard-webclient/blob/master/src/app/search/template/story_search_item.html15:37
Zara(that's where the list of stories is displayed from; the story list template gets that one from src/app/search/...)15:38
Zarawhereas the stories that are displayed within a project come from a template that looks like this: https://github.com/openstack-infra/storyboard-webclient/blob/master/src/app/stories/template/story_list_item.html15:38
ZaraI think it's just a question of mkaing the latter look more like the former, may not have time for it today15:39
Zara*making15:39
Zara*a general fix15:40
pedroalvarezIt does look weird to me that the list of stories in a project look different than the full list of stories15:41
Zarayup15:43
SotKI agree15:44
Zarait's probably quite a fun bug to fix, as bugs go; supect it's mainly a question of playing 'spot the difference' between the relevant sections of those templates15:48
ZaraI reserve the right to be horribly wrong on that \o/15:48
Zaraso top right search is referred to in storyboard/header_controller.js; TIL (writing it down so that maybe it sticks)15:53
ZaraI guess that's common sense since it's in the header15:53
Zarabut hey15:53
openstackgerritZara proposed openstack-infra/storyboard-webclient: Fix top-right search for project groups  https://review.openstack.org/25046515:56
* pedroalvarez reviews16:00
SotKZara: when you were looking at access tokens, where did you find the 3600 value?16:06
Zaraprofile/controller/profile_token_new_controller.js , iirc16:07
pedroalvarezhm.. I thought I knew the answer16:08
Zarathough that was the webclient end16:08
* SotK may have discovered the answer at last16:08
pedroalvarezhttps://github.com/openstack-infra/puppet-storyboard/blob/master/manifests/application.pp#L3616:08
*** pleia2_ is now known as pleia216:08
SotKindeed16:09
pedroalvarez:)16:09
SotKin storyboard.conf:16:09
SotK 53 # Time in seconds before an access_token expires16:09
SotK 54 # access_token_ttl = 360016:09
pedroalvarezexactly16:09
ZaraI thought I also tried changing that and it made no difference16:09
Zarabut I could be misremembering16:09
ZaraI notice there are also a bunch of 3600s in the api16:10
SotKif that doesn't work then something is majorly broken16:10
Zaragrepping gets me: api/app.py:               default=3600,16:10
Zaraapi/v1/wmodels.py:            expires_in=360016:10
Zaraapi/v1/wmodels.py:            expires_in=3600)16:10
Zaraapi/middleware/cors_middleware.py:                 allowed_headers=None, max_age=3600):16:10
Zarain the api16:10
SotKthe wmodels ones are examples I believe16:11
Zaraah, okay16:11
SotKand the other two are for CORS cache timeouts16:11
* SotK tries changing it to see what happens16:11
* pedroalvarez wonders what are we trying to fix with that16:12
Zarawe think it relates to the annoying 401.16:12
pedroalvarezI knew it :)16:12
pedroalvarezthat will only delay  it, right?16:12
Zarayup16:12
pedroalvarezaccess_token_ttl = 99999999999999999916:13
SotKtrying to do the first task in https://storyboard.openstack.org/#!/story/3616:13
Zara(it's a workaround, but better than nothing, imo. My preferred time would probably be about a week, fwiw.)16:13
* pedroalvarez clicks and 401!!!!!!!!!16:14
SotK:D16:14
Zarasaaaaaaaaaame16:14
ZaraI looked at this very briefly before Tokyo but I was mainly concentrating on printing off boarding passes by that point. :S16:14
* SotK gets a new token.... "Current U8V1aB3mwMfAjn6RPrTUSXCTJSOjizin 3 minutes in a day"16:14
SotK\o/16:14
pedroalvarezyay16:14
Zara\o/16:15
pedroalvarezso.. you have to patch puppet?16:15
SotKI guess so16:15
SotKwe should set a sensible default in the example config too16:17
pedroalvarezheheh, will you be able to test puppet changes?16:24
pedroalvarezI just gave up when trying to use puppet...16:24
SotKperhaps, I think storyboard's vagrantfile uses puppet somehow16:25
* SotK notices puppet-storyboard has a vagrantfile and tries using that16:27
pedroalvarezargh, I might be stupid after all16:28
Zaralooking at review comments on project group search-- I agree that would be a better approach; there's some reason why changing it to project_group.detail doesn't work. it's something to do with the urls, I think; it works for project_group.list because the url is /list , but detail has a url of /project_group/detail/id. There's probably a fix for it, I just wasn't able to get it to work last time I looked at it, so that's why it's that16:29
Zarabut that was partly because I knew way less angularjs, so I can take another look.16:30
pedroalvarezi see..16:48
pedroalvarezHm.. feel free to ignore my comment if other reviewers agree with your solution16:49
pedroalvarezto be honest I thought that doing what I suggested would be easy.16:49
Zarait requires shifting some things around, but it might not be very difficult and it's just my ignorance showing. Just had a look at it and didn't get any closer. It's not the most urgent thing and I'd rather the codebase gets more consistent if possible. Hopefully someone who knows angularjs a bit better can explain what's going on and how I can fix it...16:54
ZaraI'm happy to leave it hanging around in review for now, anyway.16:54
*** wendar_ is now known as wendar16:56
pedroalvarezZara: I found this: http://paste.baserock.org/oyekoqadix17:04
pedroalvareznot sure if that helps17:04
pedroalvarezwell, I guess you have investigated that too17:05
Zarayeah, iirc I had to change it that way originally to get it to work, though I don't really understand *why* that worked... \o/17:05
pedroalvarezhah17:05
pedroalvarez:)17:05
Zaraso originally, there were two project group pages17:06
Zaraone from an admin menu, and one from the 'project groups' menu17:06
Zarawith completely different layouts17:06
Zaraso I combined them, partly to learn more about the codebase, partly because it was just confusing17:07
Zarawell, mainly because it was just confusing17:07
Zara(on one page, clicking a project title would navigate to the project, on the other, it'd edit the project title, and so on.)17:07
Zaraso now it's one page that just displays extra admin options to admin17:08
Zara*but* the code is partly my work, so. :/17:08
Zarathere's definitely some weirdness in it.17:08
ZaraI should probably change :id to {id:[0-9]+} , though, so it's more consistent.17:14
Zaraeven if I don't know how to change everything around that yet :S17:15
SotKthe vagrant file did a lot of grumbling, ground my laptop to a halt, then failed17:16
SotK\o/17:16
pedroalvarez:D17:16
pedroalvarezoh, I should be sad17:17
SotKdoesn't seem like it failed for any sensible reason, a command just timed out17:18
openstackgerritZara proposed openstack-infra/storyboard-webclient: List id for url consistently  https://review.openstack.org/25050517:23
ZaraI think that's probably my least significant change so far17:24
Zarashould hopefully make it easier to see what the important differences are between the project groups code and the code for stories and projects17:24
Zaraso one day, someone can work out what's going on. maybe it'll be me, who knows...17:25
Zaraack, completely forgot about dropdown 'new...' button, sorry, will review now (meant to review it first thing this morning, ahahaha)17:31
* SotK decides puppet can wait for tomorrow17:32
Zarahm, there's a 'private' checkbox for worklists/boards, but afaik the permissions stuff hasn't been merged yet, so does that do anything?17:39
Zaraif it doesn't, I'm in favour of hiding it, or at least letting the user know that it's not implemented yet17:40
Zaradifferent patch, but have to say, I still find the drag'n'drop for worklists a bit weird, since you have to start dragging to move them (because if you just click, you open the story listed), but then let go and click to place them. I'd expect it to either be drag and drop, or click, release, and click again.17:44
Zaraodd comment from gerrit here about this depending on an outdated patch set: https://review.openstack.org/#/c/231973/18:00
Zarawell, outdated patch.18:00
ZaraI believe some form of rebasing is needed, anyway18:00
pedroalvarezyes, my guess is that this patch depends on some of the previous versions of the other patch18:02
pedroalvarezI normally see this when I edit the patch (or commit msg) using the web UI18:03
pedroalvarezwhich looks like the case here18:03
Zaramakes sense18:03
Zarabtw, I think we should think about releases and things, once boards/worklists are merged, since that's a pretty significant change and I'd like to say 'get this version of storyboard for worklists and boards!'. versioning has fallen by the wayside, but I'd like to get it started again.18:06
pedroalvarezyeah, and set goals for next release :)18:09
Zarayeah, we're getting toward that (focussing on notification, at least), but the exact goals still need to be worked out18:10
ZaraI'm veering toward 'email notifications with some basic filtering' as a goal, but idk if that's not ambitious enough.18:11
Zaraanyway, more tomorrow, 'night!18:14
*** openstackgerrit has quit IRC18:49
*** paulsher1ood has joined #storyboard18:59
*** jtomasek has quit IRC19:01
*** SotK has quit IRC19:01
*** Zara___ has quit IRC19:01
*** Zara has quit IRC19:01
*** paulsherwood has quit IRC19:01
*** persia has quit IRC19:01
*** krotscheck has quit IRC19:01
*** coolsvap has quit IRC19:01
*** gothicmindfood has quit IRC19:01
*** tlbr has quit IRC19:01
*** NikitaKonovalov has quit IRC19:01
*** cody-somerville has quit IRC19:01
*** cody-somerville- has quit IRC19:01
*** dabukalam has quit IRC19:01
*** betherly has quit IRC19:01
*** jjardon has quit IRC19:01
*** ttx has quit IRC19:01
*** Zara_ has joined #storyboard19:08
*** SotK_ has joined #storyboard19:08
*** krotscheck has joined #storyboard19:08
*** coolsvap has joined #storyboard19:08
*** gothicmindfood has joined #storyboard19:08
*** tlbr has joined #storyboard19:08
*** NikitaKonovalov has joined #storyboard19:08
*** 92AAB9ZGC has joined #storyboard19:10
*** ttx has joined #storyboard19:10
*** openstackgerrit has joined #storyboard19:10
SotK_Zara: it's very weird that you're having to click to drop things, I've never had that problem19:11
* SotK_ imagines persia will have an opinion on releases :)19:11
SotK_I certainly think at least some kind of announcement email is in order when we get boards and worklists though19:13
SotK_the private box does do something without the permissions patch, it makes the board/worklist visible to only the person who created it19:14
*** cody-somerville has joined #storyboard19:14
*** cody-somerville- has joined #storyboard19:14
*** dabukalam has joined #storyboard19:14
*** betherly has joined #storyboard19:14
*** jjardon has joined #storyboard19:14
*** paulsherwood has joined #storyboard19:24
*** paulsher1ood has quit IRC19:26
*** persia_ has quit IRC19:39
*** SotK_ is now known as SotK19:59
*** jtomasek has joined #storyboard20:42
*** Zara has joined #storyboard20:44
*** ttx_ has joined #storyboard20:56
*** 92AAB9ZGC has quit IRC20:57
*** ttx has quit IRC20:57
*** openstackgerrit has quit IRC21:06
*** openstackgerrit has joined #storyboard21:07
*** openstackgerrit has quit IRC23:47
*** openstackgerrit_ has joined #storyboard23:48
*** openstackgerrit_ is now known as openstackgerrit23:48

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