[00:03:21] yay ok got login working; creating the page should be easier [00:05:50] i think... [00:09:46] actually [00:09:55] jdlrobson: lemme check in what i have, perhaps it will help you keep going [00:10:57] jdlrobson: [00:10:58] https://gerrit.wikimedia.org/r/#/c/95738/ [00:16:14] awjr: are the raw git logs useful btw - would it be better to just show miscellaneous commits at the end? [00:16:35] personally i like to see the raw logs [00:16:54] i know i can run them myself, but it's nice to have the summary and the raw logs in one place to compare the two, jdlrobson [00:17:08] k [00:34:29] mhurd: did you fix your gerrit commit squash issue ? [00:35:04] awjr: i think i'm done with my deploy script tweaks [00:35:09] tfinc: yes i just squashed it down to one commit and there was no issue [00:36:02] awesome jdlrobson [00:36:39] i fixed the pep8 errors and made some small tweaks to the api login stuff; still working on article creatoin [00:37:39] awjr: since you've done it in a separate file should be trivial to allow an argument that outputs to a server [00:37:49] aye, that's what i figured [00:38:06] more flexible this way [00:39:54] awjr: https://www.mediawiki.org/wiki/User:Jdlrobson/Sandbox [00:39:56] sample output [00:42:12] cool jdlrobson! it would be cool if the sha1s in the commit message also linked to gerrit [00:42:24] one step at a time ;-) [00:42:29] hehehe feature creep! [00:42:47] i hope i can get this api stuff done beore i have to leave [00:43:04] think im close [00:47:45] (03PS3) 10Brion VIBBER: Work in progress: search thumbnails [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/95722 [01:10:38] jdlrobson: have you ever had to use the API to get an edit token? [01:10:45] awjr: yes [01:10:59] what problem are you hitting? [01:11:09] using the sandbox, i can get an edit token no problem [01:11:21] with the same query in code, im getting an empty edit token [01:11:37] im passing my sessionid back in the cookie request header [01:11:42] but apparently im missing something else [01:13:26] mm i'm not sure why that would happen [01:13:54] i imagine doing it js, things magically pass cookies around for you [01:15:07] awjr: are you successfully logging in? [01:15:12] yes jdlrobson [01:15:50] awjr: which cookies are you sending? [01:16:09] jdlrobson: mediawikiwikiSession [01:16:13] (session id [01:16:38] that seems to be the only cookie that gets set when i login via the api [01:16:41] mm [01:17:12] i'm not entirely sure what could be going on awjr :/ [01:17:22] harumph [01:17:36] my brain is frazzled [01:17:52] mine is too :( [01:17:58] i was really hoping to get this done today but i dont think i will [01:20:33] awjr: i've just discovered this - http://open.spotify.com/track/13NIoBN90znq7SPkIiE5MV - if that doesn't chill you out i don't know what will [01:21:24] :D [01:26:07] oh jdlrobson i figured it out, i was handling the cookies incorrectly. [01:39:14] jdlrobson: ok, figured it out [01:39:20] \o/ [01:39:24] lemme add some rudimentary error handling and be done for the day :) [01:39:36] it isn't integrated yet, but at least the class will be ready to integrate [01:45:04] argh pep8 [01:45:52] oh or not [01:48:59] ok jdlrobson https://gerrit.wikimedia.org/r/#/c/95750/2 and https://gerrit.wikimedia.org/r/#/c/95750/21 [01:49:02] derp [01:49:13] and https://gerrit.wikimedia.org/r/#/c/95751 [01:49:17] derp der derp derp derp [01:49:23] it's that time of day on friday [01:49:28] http://www.viralnova.com/spider-fields/ o_O [01:49:51] that's kaldari's heaven [01:50:19] ok jdlrobson, now we have a programatic way to login and create articles :) [01:50:28] should be easy to integrate with the log updater [01:50:28] but [01:50:32] im going to go [01:50:42] we can finish up later [01:50:57] we'll have to get better about enforcing commit message formatting [01:51:13] but i feel like all of this gets us pretty close to fully automating this process :) [01:52:55] im out - have a good weekend jdlrobson and eveyrone! [01:53:01] you too dude [07:41:04] (03CR) 10Yuvipanda: [C: 04-1] "Should use Picasso + the MediawikiImageView from the Commons app." [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/95722 (owner: 10Brion VIBBER) [07:41:48] (03CR) 10Yuvipanda: "And yeah, setImageURI doesn't do any remote fetching :D" [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/95722 (owner: 10Brion VIBBER) [19:58:00] (03PS1) 10Tpt: Make code site relative [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/95801 [21:16:45] (03PS1) 10Tpt: Allows to remain in the app while going to an other language wikipedia [apps/android/wikipedia] - 10https://gerrit.wikimedia.org/r/95819