Thursday, 2016-07-21

*** olaph has quit IRC06:01
*** matthewbodkin has joined #storyboard08:01
SotKgood morning storyboard!08:35
pedroalvarezgood morning!08:37
Zaraanteaya: thanks, we find something new every time! :)09:05
Zaraoh yeah, forgot to mention, checked and I don't know how to create stories via python client, so it's not milestones specific and I've probably forgotten how. I remember it taking a while to work out the syntax last time.15:02
Zarafor any clienty things15:02
Zarafor now I'll just go through and update things that are missing fields, try to uncover the create mystery later15:03
Zara(esp since I'm learning CRUD stuff in the background anyway so I might have the knowlege in a bit)15:03
Zarathe client doesn't currently get user emails but it probably shouldn't be able to do that anyway?15:06
Zarahm, and users have an is_active and is_staff field in the db, but I can't find anything in the client or listed in the xml for those, so maybe the api doesn't cover those.15:08
SotKyeah, the wsme model for users doesn't include those for some reason15:10
SotKI guess because they're not public fields and also never needed in the webclient15:10
Zaraheh15:11
ZaraI won't lose sleep over it, just found a 'this seems broken?' note on my db schema that I was matching the python client against xD15:11
SotKin fact they aren't used anywhere15:11
Zarahahaha15:11
Zarayeah, I'm guessing there was a plan to add functionality with them later15:12
Zaraat some point15:12
Zaraokay, I won't rush to add emails to thepython client since they shouldn't be visible via it anyway15:12
Zarahorrible sentence but you get what I mean15:12
SotKI do15:13
SotKthe user's own email will be visible though15:13
SotKbut idk how much the python library will be used for things like looking at the user's email anyway15:13
ZaraI feel like if someone's only method of discovering their own email is to run the python storyboardclient, they have bigger problems in life15:14
Zarathat is one complicated situation15:14
Zara(also hm, browsing to the api directly still hides my email, so I'm not sure if it would be visible)15:15
SotKit would be if you were setting the Authorized header (which the python client does when an access token is given to it)15:17
Zaraah, right, yeah, I was just looking in the browser15:17
ZaraI've kept my access token in the client so I don't forget to put it there when updating things15:18
Zaraand then wonder why it doesn't work xD15:18
ZaraI'll check that, then15:18
Zaraat sooome poitn15:18
Zara*point15:18
ZaraI've just noticed the client has user_tokens.py, and there doesn't seem to be anything titled user_tokens in the db, so that's my next interesting investigation15:19
Zarawell that took forever (it finally occurred to me to look for the syntax in the test suite15:32
Zaraokay, both adam and myself are superusers on this instance, and I am able to see his access tokens.15:35
ZaraI can't if I don't supply a token15:35
Zaraand I don't know what happens if I supply a token from non-admin15:35
SotKyou should be unable to see them15:36
SotK(as non-admin I mean)15:36
Zarayeah, that's what I'd hope for; I haven't checked it though (specifically through the python client)15:37
Zaraanyway, python client tokens are accesstokens; I don't think there's anything about refreshtokens in there yet15:41
Zaracool, yeah, hidden to non-admin15:44
Zaraand I really like the message15:45
ZaraForbidden: You are not admin and can't do this. (HTTP 403)15:45
Zaraidk why but it made me smile15:45
SotKmatthewbodkin: the instructions for getting a Launchpad login and OpenStack account are here: http://docs.openstack.org/infra/manual/developers.html#account-setup15:52
matthewbodkinarghh when I go to verify my openstack account it keeps saying there was an error!!16:11
matthewbodkinI can log into storyboard fine but not openstack16:11
Zarawhich bit of the docs were you following where you had the error? (there are lots of different openstack sites so I'm not sure which one 'openstack' refers to here)16:13
matthewbodkinI've done it problem solved no need to worry16:13
Zaraahaha16:13
Zaracool16:13
matthewbodkinI think it's fine now but thanks :)16:13
Zaranp :) It's been a while since I made an account so generally the more context, the better.16:14
matthewbodkinRight I think everything is done now for me then yes?16:15
matthewbodkinI'm all set up? :D16:15
SotKhave you done this part too? http://docs.openstack.org/infra/storyboard/install/development.html#make-user-an-admin-current-bug16:16
Zarawell, you've got a working storyboard instance! I'm not sure if you're set up to contribute yet; you need to follow the steps until 'development workflow' on that page sotk linked16:16
Zaraoh snap16:16
Zarathe license agreement bit catches a lot of people out so I recommend reading it over first, then reading it again as you follow along doing the steps16:17
Zarabut seriously, well done for getting it working so fast! :) it might not feel like it but it was.16:20
matthewbodkinThat's only because I'm getting on a plane to America in about 12 hours and I only realise last night, hey I don't have clothes that fit me any more16:24
Zarahaha (not sure if this was from another channel and I'm missing some context, but hey, still interesting! :P) where are you planning to visit?16:27
matthewbodkinyou didn't realise I go on holiday tomorrow? I was just saying that because I'm rushing to get things done before I go16:39
Zaraah no, I knew that, I misread it, nvm xD (I had to do a lastminute dash for clothes for a convention earlier in the year, so can sympathise)16:41
Zarahm, expires_at isn't a thing16:51
*** matthewbodkin has quit IRC17:09
anteayadid we see that markus added a comment to https://storyboard.openstack.org/#!/story/2000675 ?17:13
Zarayeah, I've seen it.17:15
* SotK too17:15
SotKnot had time to compose a useful response yet though17:15
anteayaokay great, thank you, just wanted to confirm you saw it17:55
*** persia has quit IRC19:01
*** persia_ has quit IRC19:01
*** thrace_ has quit IRC19:01
*** thrace has joined #storyboard20:35
*** persia has joined #storyboard20:35
*** persia_ has joined #storyboard20:35
Zarawhew, finished* mapping out the python client. my diagram's a bit out of date but it works fairly well for an overview. haven't yet checked POSTS. roughly, we need to add permissions, worklists&boards and due_dates. which isn't surprising. there are some things that seem to be missing, but that we don't use (story_types and may_mutate_to)21:06
ZaraI have more detail on each thing but it's not very interesting to post here right now, so I'm off to bed!21:07
Zara'night21:07
anteayag'night21:12

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