[05:26:53] (03PS11) 10Dr0ptp4kt: WIP: Add basic Wikipedia Zero alerts for iOS. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/111689 [15:45:44] (03PS12) 10Dr0ptp4kt: WIP: Add basic Wikipedia Zero alerts for iOS. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/111689 [16:18:28] MaxSem: around? [16:27:01] yep [16:41:14] MaxSem: I might not be around for the deployment, is at around 3:30-4:30 AM :( Is that a blocker to it being deployed? [16:43:01] no [16:43:13] because it's just a module [16:43:36] but in general case this would've been unfortunate indeed [16:52:24] MaxSem: yeah, I understand [16:52:26] MaxSem: thanks! [17:11:13] YuviPanda: heya! [17:11:17] hey mhurd [17:11:23] mhurd: climby weekend? :) [17:11:37] haha once! did u have a birthday? [17:11:41] mhurd: yup! [17:11:43] :) [17:11:51] YuviPanda: yay! keep having those [17:11:56] I'll try :D [17:12:01] good [17:12:04] ;) [17:12:32] hey any luck with central auth? i tried duplicating the central auth cookies for each domain w no luck [17:12:46] mhurd: no haven't looked into it yet. Got sidetracked with other stuff :( [17:12:59] mhurd: I'll probably take a shot today. You can also grab Chris Steipp from the office if you want :) [17:12:59] YuviPanda: no worry! it's weird [17:13:10] heh, centralauth is always considered weird :) [18:00:39] YuviPanda: i talked to chris and it looked like i was doing 2 things wrong with central auth - i was copying central auth cookies for each language wiki (only needed to top level), and i wasn't getting additional edit token for each lang wiki (if editing english and you go to french, a separate fr wiki edit token is needed) [18:00:56] ah! [18:00:56] right [18:00:56] yeah [18:01:09] mhurd: what do you mean by 'copying CA cookies for each language'? [18:01:54] i saw a CA cookie for ".wikipedia.org" and i added one for "fr.wikipedia.org" - which was silly :) [18:02:20] kenanwang_: standup [18:02:29] mhurd: aaaah! :) [18:02:29] mhurd: right [18:02:35] YuviPanda: hehe [18:02:44] mhurd: hmm, although that shouldn't have affected anything, theoretically [18:03:07] YuviPanda: it didn't. didn't work... and still didn't work [18:03:24] mhurd: ah [18:03:31] mhurd: hmm, yeah. CA is weird in general :) [18:04:07] YuviPanda: ya, i guess the key take-away was the need for an edit token for each lang wiki [18:04:13] right [18:06:02] yuvipanda: i'm gonna be in VP Engineering interviews much of today. need anything other than review from me? [18:06:14] kaldari: standup? [18:06:22] mhurd: nah, 'tis ok! :) I'll get some patches for you to look at later [18:06:32] err [18:06:33] i mean [18:06:34] brion: ^ [18:06:37] goddamn autocomplete [18:06:56] whee [18:06:58] brion: also when I got the notification, it cut off at 'I'm goinna be VP Engineering...' and I was a bit confused [18:06:59] :) [18:07:05] haha [18:07:11] oh no i ain't going back into management [18:07:14] that is not my cup of tea [18:07:46] brion: but it could be your cup of coffee! [18:07:48] or vodka [18:07:58] coffee and a dash of kahlua perhaps [18:08:22] heh, white russian! [18:09:06] the dude abides [18:09:51] brion: :) [18:09:56] brion: enjoy the interviews! [18:09:59] oh i will [18:11:47] mhurd: PM? [18:11:56] ya [18:16:43] FYI, just saw this: http://lifehacker.com/wikiexplorer-creates-wikipedia-reading-lists-finds-loc-1519861434 [18:18:07] mhurd: is there standup? [18:19:49] kaldari: i just reassigned https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1628 to you. the code is merged, but from jon's email 'Re: Mobile edit toolbar' it sounds like there are still a couple of remaining issues - can you please follow up? [18:20:09] will do [18:20:15] thanks [18:23:09] kaldari: also when you have a chance, can you send me links to the VE bugs you raised? [18:23:21] I'll do that now... [18:24:24] mhurd: http://etherpad.wikimedia.org/p/U53g0zdCtb [18:26:25] mhurd: take a look and tell me if it's ok? [18:28:11] yuvipanda: looks great! [18:28:15] mhurd: ok! [18:30:24] awjr: email sent [18:30:40] thanks kaldari! [18:48:19] Jgonera: got it [18:52:15] (03PS13) 10Dr0ptp4kt: WIP: Add basic Wikipedia Zero alerts for iOS. [apps/ios/wikipedia] - 10https://gerrit.wikimedia.org/r/111689 [19:10:00] jgonera: we need you! [19:38:20] awjr: for the VE toolbar stuff it looks like the assets are there now, so no BLOCK. However, the actually story is only half finished, so I'm moving it back to In Development. [19:44:35] dr0ptp4kt: UITextField *t = [((NavController *)self.navigationController) getNavBarItem:NAVBAR_TEXT_FIELD]; [19:44:35] t.backgroundColor = [UIColor redColor]; [19:54:40] awjr: actually, I think Jon may have marked it blocked due to https://gerrit.wikimedia.org/r/#/c/109940/, not because of the assets [20:17:59] ahha ok, thanks kald [20:18:00] er [20:18:02] nm [20:22:12] mhurd: around? [20:47:10] MaxSem: action=logout returns an empty JSON array rather than an empty object :| [20:47:10] oh well. no point filing a bug, it's probably not gonna change anyway [20:51:19] yep:) [20:52:31] MaxSem: sigh. our API sucks, but no point complaining since you already know :P [20:53:21] how is json_encode() sipposed to treat array()? :) [20:53:39] oh dear [20:54:30] it just decides one way over another and nothing you can do about that [20:54:35] and it's empty anyway:P [20:55:14] MaxSem: heh, yeah [20:55:20] MaxSem: it's just that java treats those differently and crashes when it looks for a dict and finds an array instead [20:55:42] add a sript to java and you'll be fine [20:55:55] heh, 'java' and 'fine' in the same sentence. [20:55:55] cute [20:56:40] after you add a script to java it's not java, right? [20:57:35] MaxSem: Kotlin is JetBrains' version of 'add a script to java' [20:57:45] it seemed rather neat, but haven't had time to try it out yet [20:57:58] i meant JS:P [20:58:34] MaxSem: wow [20:58:40] MaxSem: I... think that means I am sleepy [20:58:47] MaxSem: It whooshed past me at astonishing speed [20:59:36] yuvipanda: sry was getting lunch [21:00:33] mhurd: 'tis k :) Just wanted to point out that MaxSem will be deploying the MobileApp extension on our cluster shortly :) [21:00:45] yuvipanda: yay! [21:00:51] mhurd: http://en.wikipedia.beta.wmflabs.org/w/load.php?debug=true&lang=en&modules=mobile.app&only=styles&skin=vector&* [21:01:07] mhurd: so with a similar (but non-beta!) URL, we can deliver CSS and JS into the app that can then be long-cached [21:01:52] yuvipanda: awesomeness [21:02:17] mhurd: :) Maybe also respond with a 'ya' or some such on the android tasks thread when you have the time? :) [21:04:12] yuvipanda: done! [21:04:20] mhurd: ty! [21:04:33] yuvipanda: yw [21:34:33] (03PS1) 10Yuvipanda: Add 'Log Out' functionality [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/112584 [21:37:01] mhurd: just saw your trello comments about me checking off acceptance criteria in the iOS card. sorry about that :) [21:37:16] yuvipanda: no worry! [21:37:20] :) [21:37:22] yuvipanda: i swapped it for ya [21:37:31] mhurd: I've login and stuff working, but nothing on centralauth yet [21:38:05] yuvipanda: good stuff! [21:38:07] mhurd: :) [21:38:14] mhurd: let me know how your CA adventures go [21:40:19] yuvipanda: will do! presently setting things up to try requesting edit token for lang wiki if i don't have one already or if i get an invalid token response back (it expired etc). hopefully that will work :) [21:40:38] mhurd: hmm, I can't think of a time where you will get back 'expired' [21:40:55] mhurd: if it has logged out, I think you will just get back the default 'anonymous' token, which is +\ I think [21:43:07] chris said they can expire even before the cookie says they will if the server needs them to free up resources. [21:43:36] mhurd: hmm, right. I just don't know what you will get back from action=tokens when you request with an expired cookie. [21:43:46] oh, nevermind [21:48:38] yuvipanda: i was thinking in the case i have previously authenticated login credentials, i could just transparently use them to get edit token for the current article's lang (with the trigger being detecting that i either don't have an edit token for that lang wiki, or that the server says the token is no longer valid), that way, if my session expired, or if i'd been editing on enwiki, then switched to frwiki, everything would just work... hehe i [21:49:20] mhurd: your message cut off at 'hehe i' [21:49:34] "hehe in theory" was the rest of it [21:50:41] mhurd: yeah, that seems sane enough [21:50:41] mhurd: for me, I plan on trying to edit, which requests an edit token, and if there's no current edit token it fetches one, and if it doesn't have login creds it tries to login again (since that means session expired), and if that fails it puts up the login screen (assuming they have ever logged in) [21:50:54] if they have never logged in, it doesn't try to login and just edits anonymouslyy [21:50:56] quite similar to yours, I guess [21:51:07] yuvipanda: pretty much same yeah [21:51:34] :) [21:51:35] mhurd: are you persisting the edit tokens? [21:51:39] or just keeping them in memory? [21:52:03] yuvipanda: may as well persist i guess - keep using 'em as long as they work [21:52:17] yuvipanda: sound ok? [21:52:56] mhurd: yeah, that's what I am doing [21:52:59] (03PS1) 10Yuvipanda: Handle back button properly when no more pages are left [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/112588 [21:55:23] awjr, I've just discovered 6657516 lines worth of Bingle/Bugello emails in my labs account:P [21:55:32] @_@ [21:55:35] hahaha :D [21:55:42] THE LEADING CAUSE OF NFS OUTAGES!!1 [21:55:44] MaxSem: cron emails, or something else? [21:55:46] hehehe [21:56:05] cron [21:56:18] nuked, 104 lines a couple of minutes later [21:57:32] heh [22:17:24] (03PS1) 10Henry: Add zero-width non-joiner to fix Arabic ligature issue affecting Firefox users [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112595 [22:17:40] chrismcmahon: in a given feature file for browser tests, can you specify targets for individual scenarios, or can you only target specific environmts for the whole feature? [22:19:20] awjr: target test environments are specified in the MEDIAWIKI_URL environment variable. it is orthogonal to anything in Cucumber or feature. what are you trying to do? [22:20:03] chrismcmahon: maybe i am using the wrong words to describe the situation. there is a mobilefrontend feature file (features/search-specialpages.feature) which has @en.m.wikipedia.org specified at the top [22:20:11] however, that feature is not currently on enwiki [22:20:32] there is another feature, features/login.feature which has two scenarios in it. one scenario is present on enwiki, the other is not [22:20:41] is it possible to specify that in the feature file? [22:22:11] awjr: aha, yeah. we specify Jenkins builds per-host-per-browser. so we have a build https://wmf.ci.cloudbees.com/job/MobileFrontend-en.m.wikipedia.org-linux-firefox/ that at run time says "OK, get all of the tests marked with the tag "@en.m.wikipedia.org" and run them" . If you don't want that test to run on prod, take out the tag for that environment [22:23:02] chrismcmahon: yeah, so in features/login.feature, there are two tests - can i set different tags for each individual test? [22:23:48] awjr: that I am not sure about. [22:24:17] awjr: I sort of doubt we support that, but I'd ask Zeljko to be sure [22:24:25] ok chrismcmahon [22:24:27] thanks [22:25:10] chrismcmahon: it strikes me as fundamentally unmaintainable to have to keep the feature file tags up-to-date with the way that features get rolled out [22:25:10] awjr: [22:25:57] awjr: even if we did support target envs per-feature, I think the right solutions would be to break out each Feature into a different .feature file since they seem to be conceptually different tests. [22:26:00] chrismcmahon: with the status quo, we either need to aggressively stay on top of the tags in the feature files with every deployment, or just live with failures in environments like enwiki (which imo is unacceptable) [22:26:56] awjr: running login tests on prod gives me the willies. Over time I have disabled all the ones I've had in other repos for various reasons. [22:27:07] chrismcmahon: how come? [22:27:43] (this problem isn't unique to the login features btw) [22:27:47] awjr: seems like Selenium_user always eventually does something to run afoul of wiki admins [22:27:51] ha [22:28:00] yeah for sure [22:28:09] but the problem remains for all of our other features [22:28:25] awjr: someone will run a whole lot of tests and get banned, or put the wrong tags, or no tags (this just happened on Commons) [22:29:43] awjr: is this your issue? https://bugzilla.wikimedia.org/show_bug.cgi?id=58652 [22:30:42] chrismcmahon: yeah, i think so [22:31:05] checking out browsertests for the corresponding repo would make more sense to me that trying to stay on top of the @ tags [22:31:12] s/that/than [22:31:25] mhurd: if you see brion can you tell him to take a a look at the pathces for android? [22:31:54] yuvipanda: will do! [22:32:15] yuvipanda: have a good night!! [22:34:16] MaxSem: i took the two stories you added to Mingle and turned them into tasks - they look good tho and i also stuck them into 'ready for dev' [22:34:48] MaxSem: let's add any others as tasks for now so they don't get confused with the work getting defined by kenan et al as stories [22:36:03] awjr, thanks! bit busy atm, outage [22:36:20] np MaxSem, just wanted to give you a head's up [22:38:21] awjr: yeah, I think it is a matter of pulling master branch for beta, but stopping pulling master branch for builds in later envs until some trigger. This was a big reason to have the browser tests in the repos of the extensions being tested, so that they would track together. I know MobileFrontend has been like that for about a year, but every other extension repo is much newer. It's on the list to do in the next quarter or so. [22:40:59] hey brion [22:41:09] heading to sleep, but I've log out and username creds storage in there :) [22:41:10] as patches [22:41:23] brion: the password storage we can obfuscate it later if we want - is abstracted enough [22:41:39] off for realz [22:41:39] now [22:41:41] bye [22:43:29] whee [23:04:01] dr0ptp4kt: have a sec? [23:25:52] (03CR) 10JGonera: [C: 04-1] Story 1643: Improve typography for overlays (038 comments) [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/111374 (owner: 10Kaldari) [23:32:46] (03CR) 10JGonera: [C: 04-1] Add zero-width non-joiner to fix Arabic ligature issue affecting Firefox users (031 comment) [extensions/MobileFrontend] - 10https://gerrit.wikimedia.org/r/112595 (owner: 10Henry)