[00:31:54] Fundraising Sprint Queue is pronounced GJif, Fundraising-Backlog, Patch-For-Review: Donation form does not save revised email address after card # entered - https://phabricator.wikimedia.org/T201962 (Ejegg) a:Ejegg [00:32:45] Fundraising Sprint Pluto is still a planet, Fundraising Sprint Queue is pronounced GJif, Fundraising-Backlog, FR-Email, Patch-For-Review: Create opt-IN page for fundraisingEmailUnsubscribe, consume messages - https://phabricator.wikimedia.org/T200576 (Ejegg) p:Triage>High a:Ejegg [00:35:41] Fundraising Sprint Naming Sprints Is Not Important, Fundraising Sprint Owls, Fundraising Sprint Pluto is still a planet, Fundraising Sprint Queue is pronounced GJif, and 2 others: Investigate why Ingenico donation did not recur on 6/14 - https://phabricator.wikimedia.org/T199331 (Ejegg) @MBeat33... [10:45:55] (PS1) Umherirrender: Add @covers to unit tests [extensions/CentralNotice] - https://gerrit.wikimedia.org/r/455138 [12:19:42] (PS1) Zoranzoki21: Fix common typos in code [extensions/FundraisingEmailUnsubscribe] - https://gerrit.wikimedia.org/r/455152 (https://phabricator.wikimedia.org/T201491) [12:20:11] (PS2) Zoranzoki21: Fix common typos in code [extensions/FundraisingEmailUnsubscribe] - https://gerrit.wikimedia.org/r/455152 (https://phabricator.wikimedia.org/T201491) [14:07:22] hey fr-tech :) [14:07:40] hi jgleeson ! [14:08:39] looks like fruec got its gerrit repo: [14:08:41] https://gerrit.wikimedia.org/r/#/projects/wikimedia/fundraising/FRUEC,dashboards/default [14:08:46] :D [14:11:12] ejegg, did you catch my reply re the code review [14:11:19] hope it makes sense [14:11:42] ah yeah [14:11:52] I stared at the code for quite a while but couldn't think of an alternative using the same structure [14:12:34] Right, I can't think of a better way to adapt it without a whole lot of deletion [15:38:25] Fundraising-Backlog: test and deploy payments-listener Debian Stretch / PHP 7 - https://phabricator.wikimedia.org/T197887 (Ejegg) Tested an AstroPay / d*Local IPN. Received fine, did the security check and correctly failed the signature, which was for the test account. [15:38:51] Jeff_Green: got one more missing frpig package for when you have time: php-soap [15:39:07] needed by Adyen [15:40:54] Once that's installed, I think we're all good to swap it over to live! [15:41:54] Fundraising-Backlog: test and deploy payments-listener Debian Stretch / PHP 7 - https://phabricator.wikimedia.org/T197887 (Jgreen) @ejegg I got php-soap installed [15:42:30] oh cool! re-sending the Adyen IPN [15:45:25] Jeff_Green: looks like we need another apache restart maybe? [15:49:20] ah right [15:49:24] sec [15:49:55] ejegg: ok try now [15:50:19] fr-tech: https://gerrit.wikimedia.org/r/#/admin/projects/wikimedia/fundraising/FRUEC [15:52:37] what's the backstory on FRUEC, I keep seeing it in channel and meaning to ask? [15:53:22] carefully curated acronym for a new FR project?? [15:54:19] ejegg, [15:54:29] the following is on payments, but not on frpig1001 [15:54:32] 13d12 [15:54:32] < geoip [15:54:32] 21,22d19 [15:54:32] < mbstring [15:54:32] < memcache [15:55:48] Jeff_Green: FRUEC is AndyRussG's new scripts to replace DjangoBannerStats [15:56:13] (PS1) AndyRussG: Add LandingPage test data [wikimedia/fundraising/FRUEC] - https://gerrit.wikimedia.org/r/455189 [15:56:22] awesome AndyRussG :) [15:56:53] nice [15:57:19] jgleeson Jeff_Green :) [15:57:46] Jeff_Green: "FundRaising User Event Consumer" [15:58:14] jgleeson: ah right, mbstring was one that I had to add yesterday to get payments-wiki working on stretch, it was part of another package on jessie [15:58:24] is that used for smashpig too? [15:58:28] AndyRussG: glorious [15:58:31] I guess we can think of it as Google's prettiest mispelling of "fruit" [15:58:54] AndyRussG: that's what I figured, now we need a logo like with spashpig [15:59:00] Heh yea it'll be nice to do away with that other cruft [15:59:02] smashpig even [15:59:04] Jeff_Green, I'm not sure, I guess a "better" comparison would of been with thulium [15:59:18] I'll check [15:59:30] How do you visually represent a mispelling? [15:59:38] err, mutant fruit? [15:59:44] heheh I guess that could be [15:59:56] maybe slice the image into sections, and arrange them out of order? [16:00:08] eh that's great yea [16:01:14] hmm Jeff_Green ejegg, the difference is bigger between frpig and thulium [16:01:34] if it's safe to assume the php modules on thulium are required for smashpig [16:01:42] and not just more general modules [16:02:51] Jeff_Green: mbstring might be nice to have on frpig too [16:03:33] it does handle a bit of unicode data in paypal and amazon comms [16:08:10] fr-tech for the new FRUEC Gerrit repo, I think we can follow normal review procedure as we add stuff to what's currently there in the repo, then before deploying, have a big "general review" of the stuff that was previously unreviewed in Github [16:08:13] how does that sound? [16:08:37] yeah, sounds good [16:08:44] :) cool! [16:08:44] other packages on thuilium that are not on frpig: bcmath, dba bz2, mhash, zip (and mysql, apc and ereg but they are either superseded or no longer required) [16:08:49] Jeff_Green, ejegg ^ [16:09:08] ejegg: ok, will add [16:10:51] those are all php packages that were removed from defaults? [16:11:35] there is one thing to consider with these missing modules, they are being generated from the CLI which might not reflect the modules available/enabled in nginx [16:11:49] (that's if we use nginx) [16:11:54] @_@ [16:12:10] not sure cwd [16:13:54] just looking through the code now, doesn't look like we're using any bcmath functions in smashpig [16:17:21] jgleeson: we're running the sites under apache [16:17:31] ah ok [16:17:43] Fundraising-Backlog: Annual Fundraising Report discrepancies - https://phabricator.wikimedia.org/T202755 (DStrine) [16:17:45] and using nginx just for ssl termination [16:18:35] looks like we are using mhash within phpmailer [16:19:04] Fundraising-Backlog: test and deploy payments-listener Debian Stretch / PHP 7 - https://phabricator.wikimedia.org/T197887 (Ejegg) OK, cool! The Adyen payment went through fine that time. I'm happy with the amount of testing now. [16:19:21] vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php:66 [16:21:36] alright, added mbstring everywhere smashpig is deployed [16:22:06] php-zip is used by codesniffer, not sure if that matters [16:22:23] what's codesniffer? [16:22:36] php_codesniffer, it's a CI tool [16:22:43] oic [16:22:48] not really important for production [16:23:13] I've just been searching through smashpig for uses of bcmath, dba, bz2, mhash and zip [16:23:27] looks like the only one used is mhash [16:23:52] frpig1001 doesn't have php-mhash according to the cli module output [16:26:06] huh. searching repos turns up php-crypt-chap for mhash [16:27:05] a cryptic chap indeed... [16:28:14] ! [16:47:16] Fundraising-Backlog: Add fundraising appeal on Wikipedia portal page - https://phabricator.wikimedia.org/T202497 (schoenbaechler) Explored various positions for a possible banner campaign on the portal page this afternoon. To be clear, banners wouldn’t be a permanent element on portal, they would appear duri... [17:17:31] Fundraising-Backlog: test and deploy payments-listener Debian Stretch / PHP 7 - https://phabricator.wikimedia.org/T197887 (Jgreen) [18:04:12] Fundraising-Backlog, Epic: Test data for new scripts to ingress data from Kafkatee into MySQL - https://phabricator.wikimedia.org/T201623 (AndyRussG) There's now (in review) some basic test data for both CentralNotice and LandingPage events. However, at least the CN data should be need to be more varied.... [18:23:44] ejegg: are landingpage events with no country info valid? [18:26:02] I guess we're getting those, dunno if DjangoBS is skipping 'em [18:26:09] For example, from Matching_Gifts page on donate wik [18:29:48] Hmmm it looks like we left it as required in the CN schema but not in the LP schema [18:30:06] and DJBS just sets it to "XX" if there's no country info provided [18:30:14] AndyRussG: oh huh, I guess so [18:30:20] what's the percentage? [18:30:37] I'm taking a 4% cut of all XX country events [18:30:44] I can offer 2% for quality referrals [18:30:45] jk [18:30:49] percentage of what? [18:30:51] we're not pulling that from the geo cookie? [18:31:02] percentage that you're seeing with no country [18:31:58] Mmm haven't calculated it with much of a sample. For the 120 or so events I pulled in for testing data, I think a bit more than 20 have no country on them [18:33:24] Lemme see how we're getting it [18:36:56] ejegg: well, the event just gets it from a URL param [18:37:09] oh huh [18:37:25] If you just go to donate.wikimedia.org you do get geolocated [18:37:42] well, i guess we XX 'em then? [18:37:43] and that is added to the URL [18:38:28] There must be other URLs people go (or bots?) to on DonateWiki, other than Special:LandingPage, where they don't get geolocated like that [18:38:45] In theory DJBS does slurp them in but I'm not sure how many may get excluded by other means [18:39:03] yeah I think XX is the way to go, just do as DJBS does for now [18:39:07] Let's ask the db [18:39:19] Ah okok good point [18:39:28] I forgot we had one of those [18:40:04] Mmm I'm gonna XX 'em for now and add a TODO just to not get too sidetracked [18:43:53] good call! [18:44:02] * ejegg queries anyway just for fun [18:44:20] ah cool thx! [18:45:54] hmm, lots of nonsense in the country table too [18:46:05] could validate that code [18:46:25] ejegg: oh yes we're doing that [18:46:31] and there's a task to clean up that foo [18:47:00] In the test data, 19 out of 19 events with no country are "is_bot": false [18:47:05] huh, only 3 of the last 10 entries in landingpageimpression_raw have a good country code [18:47:23] 7 are XX [18:47:39] so maybe that front end could be trying harder too [18:48:03] I expect so yea [18:48:35] I don't imagine there are many that go through the standard LP (Special:LandingPage) that don't get goe'd, tho [18:48:44] geo0d [18:48:46] geo'd [18:48:49] 0o0o0o0o0o0o [18:49:11] geode? [18:50:07] (CR) Mepps: "I agree ejegg that adding more abstracts would be worse. I'd either stick with this but maybe consider my thoughts on naming, or just remo" (2 comments) [extensions/FundraisingEmailUnsubscribe] - https://gerrit.wikimedia.org/r/452008 (https://phabricator.wikimedia.org/T200576) (owner: Ejegg) [18:52:30] geo-id'd [18:54:58] Fundraising-Backlog: test and deploy payments-listener Debian Stretch / PHP 7 - https://phabricator.wikimedia.org/T197887 (Jgreen) [18:56:13] Aaaand the default language, if none was provided, is just "en" [18:56:39] https://github.com/wikimedia/wikimedia-fundraising-tools-DjangoBannerStats/blob/master/fundraiser/analytics/management/commands/LoadLPImpressions.py#L326 [18:57:23] just a wee bit simplified fallback [18:59:57] Certainly no reason for the front-end not to be able to fish out language and country [19:10:25] right [19:33:02] ejegg: can u think of any other validation we should include on this out-of-the-box for LP fields? [19:33:04] https://www.mediawiki.org/wiki/User:AGreen_(WMF)/Draft:Mapping_of_EventLogging_properties_to_FundraisingImpressions_database#Mapping_from_LandingPageImpression_events [19:33:32] In theory it isn't tooo dangerous to grab stuff straight off the URL like that, since the DB does escape it [19:52:05] AndyRussG|bassoo: I'll take a look [19:57:10] (PS13) Mepps: Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) [19:57:23] (CR) jerkins-bot: [V: -1] Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [19:57:59] (PS14) Mepps: Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) [19:58:12] (CR) jerkins-bot: [V: -1] Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [20:02:02] Fundraising-Backlog, MediaWiki-extensions-CentralNotice, Easy, Wikimedia-log-errors: Don't serve an exception on Special:CentralNoticeBanners when the banner doesn't exist - https://phabricator.wikimedia.org/T149240 (Krinkle) [20:21:09] (PS5) Mepps: Consolidate flags [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445534 (https://phabricator.wikimedia.org/T194517) [20:21:11] (PS15) Mepps: Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) [20:22:30] ejegg i started review up there--i'm very open to feedback on this [20:23:22] thanks mepps, I'll take a look! [20:24:05] (CR) jerkins-bot: [V: -1] Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [20:30:18] heading out, will be back in a couple hours to finish up [20:33:42] (CR) Mepps: "Hmm I saw this failing test earlier and thought I'd resolved it but I'm going put this back into WIP while I look at it." [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [20:36:32] (PS16) Mepps: Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) [20:36:52] (CR) Mepps: "Nevermind, it was just incorporating Jack's change." [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [20:40:04] (CR) Mepps: [C: 1] "Basic review and local test look good, but looks like it's failing linting and ejegg you said that you still had more work to do?" [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/455062 (https://phabricator.wikimedia.org/T201962) (owner: Ejegg) [20:46:38] (CR) jerkins-bot: [V: -1] Move to problem array, split out functions [extensions/DonationInterface] - https://gerrit.wikimedia.org/r/445535 (https://phabricator.wikimedia.org/T194517) (owner: Mepps) [20:56:25] ^ ejegg|afk thx! [23:45:16] Kalashnikov electic car: https://www.popularmechanics.com/cars/hybrid-electric/a22825307/kalashnikov-soviet-style-electric-car/