14:02:05 #startmeeting hubs-devel 14:02:05 Meeting started Wed Feb 8 14:02:05 2017 UTC. The chair is sayan. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:05 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:02:05 The meeting name has been set to 'hubs-devel' 14:02:18 #topic Roll Call 14:02:22 .hello sayanchowdhury 14:02:23 sayan: sayanchowdhury 'Sayan Chowdhury' 14:02:44 jcline: rtnpro: fhackdroid: abompard: mizmo: meeting time 14:02:51 hey are we meeting now? sayan? 14:02:57 1400 UTC 14:03:12 mizmo: ^^ 14:03:26 yeah, that's now, right ? 14:03:32 yep 14:04:44 should we continue? 14:05:58 I am here 14:06:02 abompard: jcline ^^ 14:06:14 pagure.pull-request.new -- abompard opened pull-request#319: "Replace the deprecated 'fedora' OIDC scope" on project "fedora-hubs" https://pagure.io/fedora-hubs/pull-request/319 14:06:35 .hello abompard 14:06:36 abompard: abompard 'Aurelien Bompard' 14:06:51 #chair abompard rtnpro 14:06:51 Current chairs: abompard rtnpro sayan 14:06:58 sorry I was fixing puiterwijk's issue with the OIDC scopes. 14:07:00 sorry my client is laggy apparently 14:07:32 * sayan waits for mizmo 14:08:00 .hello duffy 14:08:02 mizmo: duffy 'Máirín Duffy' 14:08:12 i typed that 2-3 minutes ago 14:08:18 #chair mizmo 14:08:18 Current chairs: abompard mizmo rtnpro sayan 14:08:44 #topic https://pagure.io/fedora-hubs/issue/290 14:08:54 As a user, I want to turn the IRC integration on or off 14:09:19 So the functionality would be here that the user would see the IRC widget in the disabled state 14:10:03 from ircb's side, we need to set the of the user's network entry to disabled 14:10:04 but then when the users turns on he should be seeing a modal 14:10:08 and we'll be done 14:10:35 rtnpro, what if the user hasn't actually used irc ever before (so theres no config for them yet?) 14:11:03 yes, in that case the user profile will be created in ircb first 14:11:27 let's discuss the different scenarios one by one 14:12:23 the two cases are 1. user already has IRC nick 2. user does not have IRC nick 14:12:59 well i wouldn't say has irc nick / doesn't have irc nick. i would say, has configured ircb, hasn't configured ircb 14:13:35 mizmo__: right 14:14:18 (you could have a nick and just never have run ircb) 14:14:25 .hello jcline 14:14:26 jcline: jcline 'Jeremy Cline' 14:14:29 (sorry I'm late) 14:14:36 mizmo__: so if the user has not configured ircb he would be seeing which mockup? 14:14:45 jcline: no issues 14:15:15 if the user visits a hub with an irc widget, the user will see this: 14:15:16 https://pagure.io/fedora-hubs/issue/raw/files/21560aaa4f66e397249bcfadb220822eb3b42867eabd32403933918eefb065b9-irc-empty-state.png 14:15:27 #chair jcline 14:15:27 Current chairs: abompard jcline mizmo rtnpro sayan 14:15:28 if the user visits the settings area, chat tab, the user will see this (one moment): 14:15:50 https://pagure.io/fedora-hubs/issue/raw/files/33b5782afaa918a8e0bf40d10d27c01669d02caa25818776bf946986dbf9fcce-user-settings-irc-channels_off.png 14:16:03 (except the bg should be white, sorry, it doesnt look like that on pagure) 14:16:48 mizmo__: yes, now what happens when user clicks on enable hubs chat/ or turns on enable chat? 14:17:23 if the user turns on enable hubs chat or enable chat, in either location, the IRC setup wizard appears as a modal on top 14:17:33 this can happen from either the setting panel OR the hub with the IRC widget 14:17:53 mizmo__: will this be the one? https://pagure.io/fedora-hubs/issue/raw/files/fa033b80a94dc41c322b3a5c5ffa2b4933cabde471a14eeab7b126ebc9f752a8-irc-email-password.png 14:18:02 that is here (the mockups are out of order though,bc i can't update images in pagure comments) https://pagure.io/fedora-hubs/issue/283 14:18:12 sayan, no, that's not the first screen 14:18:41 mizmo__: right the nick suggestion one 14:18:43 this is the first screen: 14:18:44 https://pagure.io/fedora-hubs/issue/raw/files/84a3001e2fb94a4be30c8520d56933924b09dd25c2501ccb08043cc1a631aeb8-irc-alt-nick-selection-1.png 14:19:08 mizmo__: I was looking for that but got lost 14:19:11 once they successfully choose an available nick, then we do email 14:20:05 I am starting a etherpad to discuss the code and list of sub tasks in each mockup 14:20:15 #link https://etherpad.gnome.org/p/fedora-hubs-irc-widget 14:20:29 after email, we do verification (the mockup for that changed) 14:20:35 then they are set 14:20:42 but there's some weird stuff too 14:21:02 eg if they cancel out of verification, they have the nickname for 24 horus and then freenode expires it. so we should nag them to confirm their email again 14:21:16 or we'll have to turn irc off for them and make them go thru the flow again 14:21:31 mizmo__: yes 14:21:46 i have mockups and writeups for all of that 14:21:58 (in the middle of a blog post about it too :) ) 14:24:27 jcline: abompard: rtnpro: mizmo__ do check the etherpad I will write the sub tasks there 14:24:33 after discussing it here 14:25:09 so where do you want to start 14:25:11 so for the first part we would be needing a database field irc_enabled, irc_configured 14:25:41 mizmo__: we discuss every start and write it down and divide to work among ourselves 14:26:15 What would the irc_configured field track? 14:27:11 jcline: if the irc widget was configured before or not 14:28:13 If the irc_configured is False then we take the user through the wizard 14:28:47 Hmm. Can we figure that out from ircb and whether or not we know their irc nick? 14:29:33 But then we are sending a request to ircb to just determine if the irc nick is configured 14:30:40 jcline, we know the IRC nick if they filled out in FAS, it's been a FAS field well before ircb so i dont think we can key just based on if the irc nick field is populated 14:31:13 mizmo__: yes, just was going to write the same thing 14:31:38 this would be more of hubs centric 14:32:53 so if the user is not configured, then the users will be hit this modal 14:32:57 https://pagure.io/fedora-hubs/issue/raw/files/84a3001e2fb94a4be30c8520d56933924b09dd25c2501ccb08043cc1a631aeb8-irc-alt-nick-selection-1.png 14:33:46 yep! 14:33:57 so here we can have a common method to check the availabilty of the nick 14:35:12 mizmo__: what would suggest nickname open? 14:35:24 list of suggested nicks? 14:35:48 sayan, im not sure what you're asking - how to check if a nickname is available or not? 14:35:56 or the heuristics for coming up with nick suggestions? 14:36:23 mizmo__: I am asking when the user clicks on Suggest Nickname what would be the next behaviour? 14:37:21 sayan, ok. if you click on suggest nickname, then a suggested nickname populates the field 14:37:31 sayan, it clears anything that was in the field before inserting the suggestion 14:37:49 sayan, the suggestions are made based on the user's FAS name, firstname, lastname, and can be continued by adding numbers on the end if needed 14:38:00 mizmo__: cool 14:38:11 I'll just note it 14:39:42 sayan, just as a heads up, these details are all in the ticket too 14:39:54 Yeah. 14:40:02 (no issues bringing them up here, but don't worry about having the document them since they're already written out) 14:40:33 So I guess a lot of my uncertainty about this feature stems from not knowing what ircb can and cannot do, what it's APIs look like, etc. 14:40:57 It's hard to guess what you'll need to integrate with a service 14:41:07 jcline: these features won't communicate with ircb 14:41:43 jcline: after the complete wizard setup the hubs communicates with ircb to create the user 14:42:10 mizmo__: what if the user is already has a nick registered? 14:42:27 sayan, oh crap lol that's a good point 14:42:43 But we still need to be checking username availability on IRC during this process 14:42:47 sayan, we probably need a button somewhere so they can skip past the choosing point and just configure their pre-existing identity here 14:42:48 mizmo__: so that's something we pick from FAS and skip the user from this step? 14:42:57 sayan, oh yeah 14:43:05 sayan, if it's in FAS, we basically have to ask them for their nickserv pass 14:43:40 jcline: username availability on IRC? 14:44:01 We need to handle when Hubs thinks a user is configured and ircb doesn't know about that user 14:44:28 jcline: I don't think that's a scenario we will hit 14:44:48 We need to auth with ircb, right? so will we have a password or something for the user that's separate from the nick registration password? 14:44:50 jcline: every user has to pass through the wizard once 14:45:43 jcline: yes, that would be in the end 14:46:28 #action mizmo needs to mockup for users who have nickserv reg before using hubs who need to provide their nickserv pass 14:46:48 jcline: and we are planning to communicate via an app 14:47:24 Via an app? 14:48:31 jcline: generate app which will create access token and hubs communicate to ircb via that 14:49:03 jcline: also a simple solution would be generating a random password and emailing to the user and tell the user to reset it 14:49:22 I'm not sure I'm following 14:51:37 jcline: basically we will ircb will connect to hubs via a access token 14:51:52 third party application 14:52:04 but this thing happens at the end of the nickname registration 14:52:30 and everything happens properly 14:52:51 ircb connects to hubs? Or do you mean hubs connects to ircb? 14:54:33 In any case, I'm fine making database fields 14:54:37 jcline: sorry hubs connects to ircb via access token 14:58:44 mizmo__: It's possible right that the nick that hubs suggest is not valid? 14:59:09 So I have a meeting in 2 minutes to run to 14:59:24 jcline: same here 14:59:26 jcline: thanks 14:59:27 sayan, yes it's possible, but it's not possible the user will try to register an invalid nick 14:59:29 sayan, well 14:59:36 sayan, not valid/invalid. available/unavailable 14:59:52 sayan, we can easily police it to we only suggest valid ones, but we don't know if they are available until the user hits the button to check 15:00:00 sayan, but the UI will block them from proceeding with an unavailable nick 15:00:05 mizmo__: got it 15:00:36 mizmo__: invalid = unavailable :) 15:00:44 that's what I meant 15:00:56 sayan, for invalid i was thinking allowed characters, length, etc. (which i did research and note in the UI ticket) 15:01:05 just wanted to make sure it was clear in the minutes 15:01:12 yeah 15:01:20 I ending the meeting I need to run 15:01:43 #endmeeting