Page MenuHomePhabricator

Create patch for CiviProxy to support API4
Closed, ResolvedPublic

Description

And try to get it upstreamed

Event Timeline

Change 922171 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm/civiproxy@master] WIP proxy requests to API4

https://gerrit.wikimedia.org/r/922171

Change 922175 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/dev@master] WIP config changes for civiproxy

https://gerrit.wikimedia.org/r/922175

Change 924613 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm/civiproxy@master] Deduplicate some parameter checking code

https://gerrit.wikimedia.org/r/924613

test locall hints:
when run docker-pkg From dev-image
Check if requests is 2.28.1 (otherwise cause http request error)
pip list | egrep 'request
If not
pip uninstall requests
pip install requests==2.28.1
run
docker-pkg -c dockerfiles/config.yaml build --select 'docker-registry.wikimedia.org/dev/fundraising*buster*:*' dockerfiles/
if something wrong with FileNotFoundError: under docker desktop: advanced settings check the case “Allow the default Docker socket to be used (requires password)”.

when get ssl cert problem, check the crt civitest.muslimehelfen.org get trusted

Change 922171 merged by Ejegg:

[wikimedia/fundraising/crm/civiproxy@master] Proxy requests to API4

https://gerrit.wikimedia.org/r/922171

@Ejegg I noticed that civitest.muslimehelfen.org crt gonna expires: Sunday, June 18, 2023 at 11:39:57 PM Pacific Daylight Time

Change 924613 merged by Wfan:

[wikimedia/fundraising/crm/civiproxy@master] Deduplicate some parameter checking code

https://gerrit.wikimedia.org/r/924613

Hmm @AnnWF I have never seen anything about that civitest.muslimehelfen.org domain when running docker-pkg. I wonder if it has to do with the mac version of some python dependency?

Pull request for the upstream patch is here: https://github.com/systopia/CiviProxy/pull/67. I also commented on the issue I had opened requesting API4 support: https://github.com/systopia/CiviProxy/issues/66

XenoRyet set Final Story Points to 2.