*** olaph has quit IRC | 06:01 | |
*** matthewbodkin has joined #storyboard | 08:01 | |
SotK | good morning storyboard! | 08:35 |
---|---|---|
pedroalvarez | good morning! | 08:37 |
Zara | anteaya: thanks, we find something new every time! :) | 09:05 |
Zara | oh 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 |
Zara | for any clienty things | 15:02 |
Zara | for now I'll just go through and update things that are missing fields, try to uncover the create mystery later | 15:03 |
Zara | (esp since I'm learning CRUD stuff in the background anyway so I might have the knowlege in a bit) | 15:03 |
Zara | the client doesn't currently get user emails but it probably shouldn't be able to do that anyway? | 15:06 |
Zara | hm, 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 |
SotK | yeah, the wsme model for users doesn't include those for some reason | 15:10 |
SotK | I guess because they're not public fields and also never needed in the webclient | 15:10 |
Zara | heh | 15:11 |
Zara | I 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 xD | 15:11 |
SotK | in fact they aren't used anywhere | 15:11 |
Zara | hahaha | 15:11 |
Zara | yeah, I'm guessing there was a plan to add functionality with them later | 15:12 |
Zara | at some point | 15:12 |
Zara | okay, I won't rush to add emails to thepython client since they shouldn't be visible via it anyway | 15:12 |
Zara | horrible sentence but you get what I mean | 15:12 |
SotK | I do | 15:13 |
SotK | the user's own email will be visible though | 15:13 |
SotK | but idk how much the python library will be used for things like looking at the user's email anyway | 15:13 |
Zara | I feel like if someone's only method of discovering their own email is to run the python storyboardclient, they have bigger problems in life | 15:14 |
Zara | that is one complicated situation | 15: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 |
SotK | it would be if you were setting the Authorized header (which the python client does when an access token is given to it) | 15:17 |
Zara | ah, right, yeah, I was just looking in the browser | 15:17 |
Zara | I've kept my access token in the client so I don't forget to put it there when updating things | 15:18 |
Zara | and then wonder why it doesn't work xD | 15:18 |
Zara | I'll check that, then | 15:18 |
Zara | at sooome poitn | 15:18 |
Zara | *point | 15:18 |
Zara | I'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 investigation | 15:19 |
Zara | well that took forever (it finally occurred to me to look for the syntax in the test suite | 15:32 |
Zara | okay, both adam and myself are superusers on this instance, and I am able to see his access tokens. | 15:35 |
Zara | I can't if I don't supply a token | 15:35 |
Zara | and I don't know what happens if I supply a token from non-admin | 15:35 |
SotK | you should be unable to see them | 15:36 |
SotK | (as non-admin I mean) | 15:36 |
Zara | yeah, that's what I'd hope for; I haven't checked it though (specifically through the python client) | 15:37 |
Zara | anyway, python client tokens are accesstokens; I don't think there's anything about refreshtokens in there yet | 15:41 |
Zara | cool, yeah, hidden to non-admin | 15:44 |
Zara | and I really like the message | 15:45 |
Zara | Forbidden: You are not admin and can't do this. (HTTP 403) | 15:45 |
Zara | idk why but it made me smile | 15:45 |
SotK | matthewbodkin: the instructions for getting a Launchpad login and OpenStack account are here: http://docs.openstack.org/infra/manual/developers.html#account-setup | 15:52 |
matthewbodkin | arghh when I go to verify my openstack account it keeps saying there was an error!! | 16:11 |
matthewbodkin | I can log into storyboard fine but not openstack | 16:11 |
Zara | which 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 |
matthewbodkin | I've done it problem solved no need to worry | 16:13 |
Zara | ahaha | 16:13 |
Zara | cool | 16:13 |
matthewbodkin | I think it's fine now but thanks :) | 16:13 |
Zara | np :) It's been a while since I made an account so generally the more context, the better. | 16:14 |
matthewbodkin | Right I think everything is done now for me then yes? | 16:15 |
matthewbodkin | I'm all set up? :D | 16:15 |
SotK | have you done this part too? http://docs.openstack.org/infra/storyboard/install/development.html#make-user-an-admin-current-bug | 16:16 |
Zara | well, 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 linked | 16:16 |
Zara | oh snap | 16:16 |
Zara | the 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 steps | 16:17 |
Zara | but seriously, well done for getting it working so fast! :) it might not feel like it but it was. | 16:20 |
matthewbodkin | That'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 more | 16:24 |
Zara | haha (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 |
matthewbodkin | you didn't realise I go on holiday tomorrow? I was just saying that because I'm rushing to get things done before I go | 16:39 |
Zara | ah 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 |
Zara | hm, expires_at isn't a thing | 16:51 |
*** matthewbodkin has quit IRC | 17:09 | |
anteaya | did we see that markus added a comment to https://storyboard.openstack.org/#!/story/2000675 ? | 17:13 |
Zara | yeah, I've seen it. | 17:15 |
* SotK too | 17:15 | |
SotK | not had time to compose a useful response yet though | 17:15 |
anteaya | okay great, thank you, just wanted to confirm you saw it | 17:55 |
*** persia has quit IRC | 19:01 | |
*** persia_ has quit IRC | 19:01 | |
*** thrace_ has quit IRC | 19:01 | |
*** thrace has joined #storyboard | 20:35 | |
*** persia has joined #storyboard | 20:35 | |
*** persia_ has joined #storyboard | 20:35 | |
Zara | whew, 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 |
Zara | I 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 | 'night | 21:07 |
anteaya | g'night | 21:12 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!