Bradley M. Kuhn
fe4aa69763
Add ticket number as an option.
2022-06-21 10:09:41 -07:00
Bradley M. Kuhn
839799beac
Various improvements to mass supporter email script.
...
These were an omnibus set of changes that I made during the FY 2020
fundraising season. Changes include:
* support BeanCount for query of amounts given.
* better UTF-8 support
* use variable for the total groups
* use postal address to see if someone is USA based
* commented out code for annual renewal notice, we may want that later
* Include supporter id and rt ticket in output
Note that for each mailing, the groups code is still modified by hand
here.
2021-02-17 10:45:33 -08:00
Bradley M. Kuhn
a1ade5c8fa
Print date postal address was encountered.
2021-02-17 10:43:40 -08:00
Bradley M. Kuhn
b16b4661ab
Improve UTF-8-ness on a few scripts.
2021-02-17 10:43:26 -08:00
Bradley M. Kuhn
9a54b77881
Display RT ticket for find supporter.
2021-02-10 14:25:40 -08:00
Bradley M. Kuhn
81352e70b4
Convert to allow command line options instead of prompting.
...
Prompting code is left in place however if CLI options aren't given.
Also, added a check to verify supporter id is valid.
2020-12-22 16:25:50 -08:00
Bradley M. Kuhn
8dbc9b2ec6
Actually I think I want a slightly longer sleep.
...
This should be a command line option.
2019-12-24 09:24:15 -08:00
Bradley M. Kuhn
5cc57f451e
Changes for our groups in mailing 3 FY 2019.
2019-12-24 09:23:33 -08:00
Bradley M. Kuhn
8985765760
Operate in utf8 for STDOUT.
2019-12-24 09:23:15 -08:00
Bradley M. Kuhn
102b1f8468
Shorten sleep time
2019-12-24 09:23:04 -08:00
Bradley M. Kuhn
60fa54814c
Correct display name details.
2019-12-24 09:22:48 -08:00
Bradley M. Kuhn
ab9e3fbde0
Fix compile command for Emacs.
2019-12-11 07:36:12 -08:00
Bradley M. Kuhn
04e706e1fc
Restore FIXME_ variables loop and add FIXME_DISPLAYNAME
...
THis code originally had variable replacement like this, but when the inputs
started to be be fully MIME-encoded without any plain text, that stopped
working. Inputs we're using have that now, so this works again, and thus
this feature is restored.
2019-12-11 07:36:03 -08:00
Bradley M. Kuhn
a1b7dc5458
Various improvements to script
...
I wrot ethese a while ago.
2019-12-10 09:40:06 -08:00
Bradley M. Kuhn
8f6bd0e563
Handle multiple addresses.
2019-12-10 09:38:20 -08:00
Bradley M. Kuhn
f9e94aec25
Add YAML output.
2019-12-10 09:38:02 -08:00
Bradley M. Kuhn
c2443bfcf7
Rework to handle multiple t-shirt designs.
2019-12-10 09:37:38 -08:00
Bradley M. Kuhn
2e45e52e01
Add license notice.
2019-12-10 09:37:19 -08:00
Bradley M. Kuhn
46ca0efb12
Different folks send shirts.
2019-12-10 09:36:59 -08:00
Bradley M. Kuhn
56e6716248
Various changes for proper email selection and encoding.
2019-12-10 09:36:38 -08:00
Bradley M. Kuhn
84a73aa0f6
Support amounts.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
4e765fd8a3
Time HiRes module is needed.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
fa6aa31801
Add additional years.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
0e1ace2f76
Rework email address selection.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
270e9d40bf
First draft of category mailing.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
a41b53f78d
Finish t-shirt-print-need script.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
a301716263
New script: t-shirt-print-need
...
Just prints a list of t-shirts we need.
2019-12-10 09:35:16 -08:00
Bradley M. Kuhn
c0714f3995
mass email changes for encoding and skipping addresses.
2018-01-24 11:47:47 -08:00
Bradley M. Kuhn
693a844212
type list variable should be used for loop.
2017-08-01 12:13:10 -07:00
Bradley M. Kuhn
96c04d988e
t-shirts: control by type when we send.
...
Allow for controlled sending of t-shirts by type.
2017-08-01 10:17:19 -07:00
Bradley M. Kuhn
434f2de875
send-mass-email: improve email presentation
2017-08-01 09:21:34 -07:00
Bradley M. Kuhn
98f72ee232
Update email text.
2017-08-01 09:19:57 -07:00
Bradley M. Kuhn
07593c7b15
send-t-shirts: Improve email line processing.
2017-08-01 09:19:45 -07:00
Bradley M. Kuhn
1508660842
$type argument must be repeated in arguments.
...
I use it twice in the format.
I think this was a local change I inadvertently failed to commit which
got overwritten by a pull.
2017-02-09 19:04:08 -08:00
Bradley M. Kuhn
be2409792f
Improve monthly lapse detection.
...
Previously, we were over-requesting renewals from monthly donors. This
code corrects the problem.
2017-02-09 18:57:49 -08:00
Brett Smith
8f102e54c4
send-renewal-notices: Fix lapse rate math.
...
The lapse rate by Supporter type was being miscalculated.
2017-01-26 13:59:29 -05:00
Bradley M. Kuhn
02e80b8d08
Correct typo in variable name.
2017-01-18 14:34:15 +11:00
Bradley M. Kuhn
1900575269
Add renewal percentage per group.
2017-01-12 10:33:50 -08:00
Bradley M. Kuhn
1a6fdd8f09
Merge changes from upstream 'master' branch.
2017-01-12 10:32:32 -08:00
Bradley M. Kuhn
35b47468b4
send-mass-email script: wrote this a while ago.
...
This script has never been committed before. I wrote it a while ago
though.
2017-01-12 10:31:50 -08:00
Brett Smith
9655c13220
Read and write UTF-8 in address scripts.
2017-01-11 12:27:25 -05:00
Bradley M. Kuhn
22e02fb40e
Final corrections to handle multiple shirt request
...
With this adjustments, the script seems to now handle multiple
shirt-requests properly.
2017-01-10 11:36:50 -08:00
Martin Michlmayr
18ccb9d152
Set UTF8 mode
...
Set UTF8 mode so the information is printed correctly.
2017-01-03 12:11:47 -05:00
Brett Smith
14fbb42dd6
find-supporter: Remove excessive whitespace.
...
Inspired by a patch from Martin, but unfortunately it doesn't apply cleanly
anymore.
2017-01-03 12:11:30 -05:00
Bradley M. Kuhn
3283cff2e1
Correct variable name typo.
2017-01-02 14:53:08 -08:00
Bradley M. Kuhn
211bd09c65
First hack of script to add people to announce
2017-01-02 11:59:23 -08:00
Bradley M. Kuhn
0e57d54747
Add missing newline.
2017-01-02 11:58:34 -08:00
Bradley M. Kuhn
595f96d869
Better support for multiple t-shirts to same donor
...
This change better handles the situation where t-shirt-0 and t-shirt-1
are requested and owed to the same donor. We've added even more t-shirt
request types at this point meaning many shirts can go to one donor, and
this change should better handle that situation.
2017-01-02 11:57:42 -08:00
Bradley M. Kuhn
1a6cb14254
Support email settings for donors.
...
This change, which is not properly documented nor tests present, adds
support for making sure those who don't want emails from us do not
receive them.
I believe I've caught most of the places we want this change supported.
2017-01-02 11:54:25 -08:00
Bradley M. Kuhn
7d39d40e61
Find lapsed large donors separately and report.
...
This generates a report for particular large donors who are lapsed.
2016-12-31 17:51:21 -08:00