Monday, 2016-01-25

*** coolsvap|away is now known as coolsvap05:19
*** davidlenwell has quit IRC07:00
*** davidlenwell has joined #storyboard07:02
*** davidlenwell has quit IRC07:24
*** coolsvap is now known as coolsvap|away07:25
*** davidlenwell has joined #storyboard07:26
*** davidlenwell has quit IRC07:29
*** jtomasek has joined #storyboard07:29
*** davidlenwell has joined #storyboard07:33
*** davidlenwell has quit IRC07:41
*** davidlenwell has joined #storyboard07:45
*** coolsvap|away is now known as coolsvap08:16
Zaramorning, storyboard!10:01
betherlyhey Zara and all10:06
betherlyughhhhhhhh came into the office today as midc cycle on and boss and co worker people around10:06
betherlybuuuuuut...the network setup here etc has completely screwed my localrc and rendered my vms useless10:07
betherlyyayyyy!10:07
Zara;_;10:07
Zaraactually this calls for blue tears10:07
Zara;_;10:07
Zaradid you get it to stop pretending it didn't have enough memory?10:08
betherlyZara: nooope10:09
betherlynothing fun like that10:09
betherlyso now i have 2 issues10:09
betherlythe pretty major one being that i cant use it...at all10:09
Zaracan you make a new one?10:09
betherlyye thats what im trying10:11
* betherly crying10:11
betherlydoes not encourage me to work from the office lol10:11
Zaraheh, I'm in the reverse position where I never figured out how to access my storyboard VM from my browser at home, so I always have to come in to do development.10:12
betherlythats sucky10:12
Zarathe best bit is that I can still access the VM through the terminal, I just can't see any of the changes. xD10:12
ZaraI hope your new one is successful, anyway! :)10:13
betherlyohhh thats fun :/10:14
Zaraat least this weekend we tried virtualbox on windows, so now I think I should just do that sometime. it's funny because the setup is the reverse of the virt-manager setup (in virt-manager, you pick your iso first and then add storage after, whereas in virtualbox it seems you pick your iso at the end...)10:20
Zara('we' being me + bf, not storyboard or anything)10:20
Zarathe rechecks seem to like https://review.openstack.org/#/c/270406/ at last!10:25
ZaraI need to get on testing these patches...11:35
Zaraah, after clicking 'archive board', the user is taken back to boards/worklists page, but clicking 'archive worklist' keeps the user on the worklist detail page. I think they should both go back to boards/worklists page12:23
Zarain general the WorklistDeleteController and BoardArchiveController are probably more different than they should be (I think they're both meant to archive, too!).12:37
* SotK wonders what the problematic difference is (other than the naming)?12:39
Zarahmm... they handle redirects differently, but the code doesn't suggest the behaviour should be different, since 'redirect' is set to 'true' in worklistdetailcontroller12:40
Zaraso now I'm confused12:40
Zarabut yeah, wondering why one just goes to the dashboard while the other checks if it should redirect or not first12:41
SotKah, that's because WorklistDeleteController is also used when checking if you want to archive a board's lane12:41
Zaraaha12:41
SotKand in that situation you don't want to redirect to the dashboard12:41
Zarayeah12:41
SotKbut boards don't have that limitation, and should always redirect12:41
Zaraokay, yeah, that makes sense. still confused about why it's not redirecting when it should be, then!12:42
SotKoh hm, it doesn't redirect? :/12:43
Zarayeah, it didn't for me just then (boards do, though)12:43
Zaragonna try again12:44
SotKhm, apparently it doesn't12:44
Zarayeah :/12:44
Zaraam I right in thinking that the controller files are named a little differently in worklists (from boards) because they are also lanes?12:46
Zaraeg: 'add_board_controller.js' vs 'add_controller.js'12:46
SotKnope, its because I'm apparently terrible at naming things consistently :)12:48
Zarahahaha12:48
Zarayeah, we should fix that xD12:48
ZaraI only just noticed it so...12:48
SotKyeah, I'll send a patch to tidy things up once I've finished this speedups stuff12:49
SotKI realised why it doesn't redirect... the stuff in the resolve: section when creating a modal has to be functions which return the value you want, not just the value12:50
Zarasounds familiar. I think I had that sort of problem a lot with the subscriptions stuff12:50
Zara(hah, I was gonna offer to mess with the controller titles, but I've still got review to do and you'll have a better idea of what'll break when names change. still, can look if it's useful.)12:51
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix redirection when deleting worklists  https://review.openstack.org/27208012:54
Zarabwahahaha yes that was much faster than I'd've been.12:54
* SotK notices he's put "deleting" instead of "archiving" again...12:58
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Fix redirection when archiving worklists  https://review.openstack.org/27208012:58
Zara:) I think there are a few things in the code round those parts that refer to deleting.13:01
Zaraeg: 'app/worklists/template/delete.html'13:02
Zara(I'm testing the server-side resolving patch atm, seems fine so far with my webclient)13:03
Zarahm, when I move lanes around...13:06
Zara500: PUT /api/v1/boards/22: 'Board' object has no attribute 'permissions'13:06
SotK\o/13:07
Zara=D you're welcome!13:07
Zarayup, just checked it's fine on master, so looks like that patch is responsible.13:07
SotKhm, it seems to be working here13:09
Zarathe lanes still move for me13:10
SotKcan you paste the traceback from the API by any chance?13:10
ZaraI just get a 50013:10
Zara2016-01-25 13:06:20.487 22911 ERROR wsme.api [-] Server-side error: "'Board' object has no attribute 'permissions'". Detail:13:10
ZaraTraceback (most recent call last):13:10
Zara  File "/home/ubuntu/storyboard/.tox/venv/local/lib/python2.7/site-packages/wsmeext/pecan.py", line 84, in callfunction13:10
Zara    result = f(self, *args, **kwargs)13:10
Zara  File "/home/ubuntu/storyboard/storyboard/api/v1/boards.py", line 246, in put13:10
Zara    if visible(board, user_id):13:10
Zara  File "/home/ubuntu/storyboard/storyboard/api/v1/boards.py", line 41, in visible13:10
Zara    permissions = boards_api.get_permissions(board, user)13:10
Zara  File "/home/ubuntu/storyboard/storyboard/db/api/boards.py", line 117, in get_permissions13:10
Zara    return [permission.codename for permission in board.permissions13:10
ZaraAttributeError: 'Board' object has no attribute 'permissions'13:10
Zarashould've done that on paste.openstack.org but it wasn't that long...13:10
SotKo.O13:11
Zarawell that's a good sign13:11
SotKoh heh, I'm an idiot13:12
Zaraif you're an idiot there's no hope for any of us.13:13
Zarabut I assume that means you've worked out what's up!13:13
SotKyeah, I was passing the WSME board object rather than the database model of the board13:14
SotKdidn't used to be a problem since visible() used to do boards_api.get(board.id), but I got rid of that as it was pointless most of the time13:15
Zaraah, I see it's changed in various places from `board.id` or `board_id` to just `board`13:25
Zaraaaand  `board = boards_api.get(board_id)` comes after visible, editable and update_lanes13:27
*** coolsvap is now known as coolsvap|away13:51
Zarahttps://review.openstack.org/#/c/270406/ needs a workflow +1, not sure if we should do the +2 and +1 to merge with these sorts of things, or if one +2 is sufficient15:49
Zara\o/15:50
openstackgerritMerged openstack-infra/storyboard: Remove argparse from requirements  https://review.openstack.org/27040615:56
Zaragah, so my 'show most recently created first' patch worked for stories in the stories list, but not stories in a project.16:34
Zarahave fixed it now16:35
Zarawonder if I've missed any other places...16:36
Zarahm, projects in project groups16:38
openstackgerritZara proposed openstack-infra/storyboard-webclient: Put most recently created things at top of lists  https://review.openstack.org/27217616:43
*** mrmartin has joined #storyboard17:02
openstackgerritZara proposed openstack-infra/storyboard-webclient: Rename board and worklist controllers  https://review.openstack.org/27221118:04
Zaranight-night, storyboard!18:09
*** openstackgerrit has quit IRC19:02
*** openstackgerrit has joined #storyboard19:03
*** mrmartin has quit IRC19:16
*** mrmartin has joined #storyboard20:17
*** mrmartin has quit IRC20:18
*** davidlenwell has quit IRC21:16
*** davidlenwell has joined #storyboard21:18
*** davidlenwell has quit IRC21:55
*** davidlenwell has joined #storyboard21:56
*** davidlenwell has quit IRC22:34
*** davidlenwell has joined #storyboard22:36
*** jtomasek has quit IRC23:32
*** jtomasek has joined #storyboard23:44

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