Commit graph

21 commits

Author SHA1 Message Date
Bradley M. Kuhn
453caf26bf exit on wrong number of args. 2015-12-30 03:17:33 -08:00
Bradley M. Kuhn
f17527a23e Conversion script should also use donorId. 2015-12-30 03:15:42 -08:00
Bradley M. Kuhn
9474dacd6c addRequest() and fulfillRequest() in db conversion
The db conversion script can now use these two methods.
2015-12-20 17:34:18 -08:00
Bradley M. Kuhn
5dc73c0936 This handle no longer needed either. 2015-12-17 17:13:01 -08:00
Bradley M. Kuhn
3480c5b5c4 Use postal address API. 2015-12-17 17:12:29 -08:00
Bradley M. Kuhn
69260413f3 Import script no longer needs to make this link.
addSupporter() now does it properly in the API.
2015-12-16 18:15:54 -08:00
Bradley M. Kuhn
5ac8d562e1 Remove duplicate addRequestType call. 2015-12-14 16:32:59 -08:00
Bradley M. Kuhn
6e67f5cc20 This statement handler is no longer used. 2015-12-14 16:32:50 -08:00
Bradley M. Kuhn
630a807544 Use new addRequestType from Supporters module. 2015-12-14 16:31:50 -08:00
Bradley M. Kuhn
a3296f4b92 Switch to new addRequestType from API. 2015-12-13 12:34:08 -08:00
Bradley M. Kuhn
302b2b6f8b Begin switch to use API rather than direct DB call 2015-12-13 12:16:42 -08:00
Bradley M. Kuhn
327779a950 Correct quoting issue and add debugging output. 2015-12-06 17:15:51 -08:00
Bradley M. Kuhn
98b62c7e97 Add missing size. 2015-12-06 17:15:27 -08:00
Bradley M. Kuhn
63c51c4682 Add method call here. 2015-12-06 17:15:04 -08:00
Bradley M. Kuhn
29705d1d6d supporter_id does not belong here. 2015-12-06 17:14:40 -08:00
Bradley M. Kuhn
6c71c75a2c This needs to be a prepared statement. 2015-12-06 17:14:11 -08:00
Bradley M. Kuhn
57411034af supporter_id does not belong here. 2015-12-06 17:13:33 -08:00
Bradley M. Kuhn
3f84079ee0 Correct proper set of fields. 2015-12-06 17:12:57 -08:00
Bradley M. Kuhn
9732457d7e Correct typeId. 2015-12-06 17:12:07 -08:00
Bradley M. Kuhn
21d555d0cc Fix request inserts. 2015-12-06 17:11:34 -08:00
Bradley M. Kuhn
203d810498 First pass at v0.2 of supporter database.
Redesign of database, mainly for three reasons:

   (a) we need to send renewal notices to Supporters, and need to keep a
       record of when we've sent them,

   (b) We need to keep better track of t-shirt requests,

   (c) We need to allow for different email addresses for contact other
       than the PayPal payer one.

Before doing this, I briefly looked again at CiviCRM.  While I can
complete this conversion and all my scripts in just a matter of a few
hours, setup of CiviCRM would take a minimum of a few hours just to
investigate its viability for us and whether I'd be able to maintain it.
So, we're doing custom, ad-hoc stuff still.

This commit has not been tested, it's a first pass that I'll adjust.
2015-12-06 17:04:02 -08:00