522df6bbfa
In an effort to improve the formatting on outgoing emails from the renewal script, add the display_name to the To: field. I'm not completely happy with what the MIME encoding is doing here. Specifically, it chops the line on the < of <email@example.org> so you get this: "A very long name that leads to wrapping of the MIME encoded line" < email@example.org> As I read https://www.ietf.org/rfc/rfc2822.txt, it violates this SHOULD: Note: Though structured field bodies are defined in such a way that folding can take place between many of the lexical tokens (and even within some of the lexical tokens), folding SHOULD be limited to placing the CRLF at higher-level syntactic breaks. For instance, if a field body is defined as comma-separated values, it is recommended that folding occur after the comma separating the structured items in preference to other places where the field could be folded, even if it is allowed elsewhere. Brett and I decided to leave it for now and go with it. |
||
---|---|---|
scripts | ||
sql | ||
Supporters | ||
.gitignore | ||
AGPLv3 | ||
COPYRIGHT.md | ||
LICENSE.md | ||
README.md |
Mini Non-Profit Supporters and Donors Database
"Supporters" is a small donor database for non-profit fundraising that uses Ledger-CLI as a backend for accounting data.
While this system is used in production for Software Freedom Conservancy, the code is likely only appropriate if you plan to do a lot of work on the command-line. Eventually, the ideal would be to refactor CiviCRM to support the ideas and Ledger-CLI integration represented in this code.
Why Does This Exist?
Conservancy needed a simple donor database and could not invest the resources required to maintain a CiviCRM instance: most organizations that use CiviCRM either pay for hosting or devote some amount of staff time its maintenance. Conservancy could afford neither, but this weekend-hack version of a database suits our needs (at least for now).
License Information
See the file LICENSE.md for license information.
Common Tasks
These are recipes for some common tasks that one might want to complete on the command line with the Supporters database.
-
Add a Supporter from the command line: ./scripts/add-supporter.plx
-
Add an email address, or change the preferred email address: ./scripts/add-email-address.plx