CVUUFellowship / church

Things that help the church do its thing.
http://cvuuf.org
0 stars 0 forks source link

Email audit is broken #82

Closed shaneniebergall closed 4 years ago

shaneniebergall commented 4 years ago

While demoing member management to me, Katie showed me how the Email Audit is broken. She feels it's not getting the correct data from both mailchimp and google groups, as there are over 400 mismatches reported.

@GrumpyOldTroll She feels this is urgent and should be one of our top priorities, as she hasn't been able to clean up emails since November.

GrumpyOldTroll commented 4 years ago

OK, the issue was that the google groups api authentication stopped working.

Not sure, but during investigation it turns out the oauth2client library is deprecated, so I tried using the recommended google-auth replacement.

Also rumor says (can't find the original announcement?) that the p12 authentication is also deprecated, and you should use json.

I made a new key, got it hooked up, enabled cross-domain delegation (apparently necessary for the directory api), and fixed both the sync page and the groups page and pushed the latest code (including several un-checked-in things that were running).

The sync page looks right now (there's errors, but a few spot checks had them legit), and the groups page also looks right now, google api auth no longer failing (fingers crossed...)