Commit graph

52 commits

Author SHA1 Message Date
Bradley M. Kuhn
97e772b89c Parallel hashes made no sense here.
Since the main index is size, no reason not to have a single hash that
is so-keyed, and have subhash with two keys for checklist and labels.
2016-01-07 12:42:51 -08:00
Bradley M. Kuhn
dd8d8cba37 Reverse shortened postal address printed.
Packers find that reversing the postal address makes people easier to
find when matching up labels.
2016-01-07 12:38:53 -08:00
Bradley M. Kuhn
a4fdb4ea99 Correct sorting to print by size.
Packers indicate that packing by size rather than any other method is
better.
2016-01-07 12:33:52 -08:00
Bradley M. Kuhn
ed6b1decb0 This should really be input to the script.
But changing it here for the moment.
2016-01-06 22:22:44 -08:00
Bradley M. Kuhn
dbea255aee Properly handle counting.
Fix an off-by-one error on the size counts and otherwise handle counting
well.
2016-01-06 21:46:58 -08:00
Bradley M. Kuhn
e35ee8b953 Script to calculate our renewal rate. 2016-01-03 14:14:04 -08:00
Bradley M. Kuhn
da75edccf2 Handle other donor info. 2016-01-03 13:17:00 -08:00
Bradley M. Kuhn
6d7bae7e02 Correct printout of email addresses for renewal. 2016-01-03 12:26:49 -08:00
Bradley M. Kuhn
d151b992c4 First past script to print t-shirt labels. 2016-01-02 11:21:17 -08:00
Bradley M. Kuhn
f985b1c1ef Modifications to the email notification. 2016-01-02 10:47:29 -08:00
Bradley M. Kuhn
a57ed11bd5 Additional verbosity that says what we did. 2016-01-02 10:47:22 -08:00
Bradley M. Kuhn
b85575c625 Don't warn, just print to STDERR with verbosity. 2016-01-02 10:47:09 -08:00
Bradley M. Kuhn
964755c3e3 This takes a hash as argument. 2016-01-02 10:36:35 -08:00
Bradley M. Kuhn
215ac05484 Fixed spelling on hash key. 2016-01-02 10:35:05 -08:00
Bradley M. Kuhn
2d52ce2cd1 Need to use Supporters! 2016-01-02 10:33:57 -08:00
Bradley M. Kuhn
09f25e9fc9 send-t-shirt.plx: First hack at it. 2016-01-02 10:33:35 -08:00
Bradley M. Kuhn
dcbc823f0b need $emailTo variable. 2015-12-31 02:24:32 -08:00
Bradley M. Kuhn
5e226a3483 Rename variable. 2015-12-31 02:24:26 -08:00
Bradley M. Kuhn
db43a3ed71 First draft of renewal-notices script. 2015-12-31 02:16:30 -08:00
Bradley M. Kuhn
4bd5ab4fd1 Wrote add-email-address.plx script. 2015-12-31 00:38:59 -08:00
Bradley M. Kuhn
8b233299c8 Properly use these strings. 2015-12-31 00:00:11 -08:00
Bradley M. Kuhn
8cc77b8dec mode change on file 2015-12-30 22:48:19 -08:00
Bradley M. Kuhn
a4eb7ac8ac First draft at add script. 2015-12-30 22:47:55 -08:00
Bradley M. Kuhn
1d84056acf Correct column name. 2015-12-30 04:49:59 -08:00
Bradley M. Kuhn
16101492c0 Only add address if it exists. 2015-12-30 04:32:34 -08:00
Bradley M. Kuhn
97b5ee5ad0 Fix location of newline in verbose output. 2015-12-30 04:18:23 -08:00
Bradley M. Kuhn
2efad6ff89 Bad bracing. 2015-12-30 04:18:03 -08:00
Bradley M. Kuhn
e5516fb064 Add verbose output 2015-12-30 04:17:55 -08:00
Bradley M. Kuhn
2972b9783e Fix typo. 2015-12-30 04:15:52 -08:00
Bradley M. Kuhn
a1b1ea9e4e Correct name of Class. 2015-12-30 04:15:32 -08:00
Bradley M. Kuhn
581c63451f Support verbosity. 2015-12-30 04:15:25 -08:00
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