Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								b34de3c1da 
								
							 
						 
						
							
							
								
								Verify email address format with external module.  
							
							
							
						 
						
							2015-12-11 18:32:59 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								9e2359ed72 
								
							 
						 
						
							
							
								
								Test to verify addEmailAddress returns a valid id.  
							
							
							
						 
						
							2015-12-11 18:23:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								5b07fe6af9 
								
							 
						 
						
							
							
								
								Actual email address add code; tests stay same.  
							
							
							
						 
						
							2015-12-11 18:19:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								b1436e037e 
								
							 
						 
						
							
							
								
								addEmailAddress: call addAddressType underneath  
							
							... 
							
							
							
							address_type is added automatically from the addEmailAddress call.
Since addAddressType does a lookup first, this should not cause
duplicates. 
							
						 
						
							2015-12-09 19:56:22 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								63383eef02 
								
							 
						 
						
							
							
								
								Correct messages.  
							
							
							
						 
						
							2015-12-09 19:53:20 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								d059523830 
								
							 
						 
						
							
							
								
								Make variable name more descriptive.  
							
							
							
						 
						
							2015-12-09 19:52:31 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								6d62cdeb6c 
								
							 
						 
						
							
							
								
								Correct these tests to actually test right thing.  
							
							... 
							
							
							
							They were die'ing, alright, but not for the right reason. 
							
						 
						
							2015-12-09 19:50:02 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								a3aafac44a 
								
							 
						 
						
							
							
								
								addAddressType: initial implementation & unit test  
							
							
							
						 
						
							2015-12-09 19:48:59 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								a1df7fc544 
								
							 
						 
						
							
							
								
								Reorganize documentation an order of tests.  
							
							... 
							
							
							
							Make this a little easier to find. 
							
						 
						
							2015-12-09 19:38:22 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								b0d7639bc3 
								
							 
						 
						
							
							
								
								Remove stray use command, likely bad paste.  
							
							
							
						 
						
							2015-12-09 19:37:36 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								ba6843e21e 
								
							 
						 
						
							
							
								
								Begin work on addEmailAddress method.  
							
							... 
							
							
							
							Basic stub and a few tests. 
							
						 
						
							2015-12-09 19:17:46 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								2c14c20db9 
								
							 
						 
						
							
							
								
								Change comment at top.  
							
							
							
						 
						
							2015-12-09 18:39:40 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								587144f03e 
								
							 
						 
						
							
							
								
								_verifyId method: initial implementation.  
							
							... 
							
							
							
							Internal method for use to verify that an id we have really is in the
database.
For use before other operations. 
							
						 
						
							2015-12-09 18:39:18 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								de7b145ac3 
								
							 
						 
						
							
							
								
								Some documentation for existing methods.  
							
							
							
						 
						
							2015-12-09 18:37:26 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								03b1ac5436 
								
							 
						 
						
							
							
								
								Add local variables for Emacs.  
							
							
							
						 
						
							2015-12-09 18:36:57 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								c86256d005 
								
							 
						 
						
							
							
								
								Initial basic support for creating a new Supporter.  
							
							... 
							
							
							
							This is incomplete as of yet, since it doesn't properly set up other
tables. 
							
						 
						
							2015-12-09 16:06:07 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								70ad0b8b30 
								
							 
						 
						
							
							
								
								Initial basic support for creating a new Supporter.  
							
							... 
							
							
							
							This is incomplete as of yet, since it doesn't properly set up other
tables. 
							
						 
						
							2015-12-09 15:44:05 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								a10e2e3a57 
								
							 
						 
						
							
							
								
								Ignore Makefile.old as well.  
							
							
							
						 
						
							2015-12-06 19:24:24 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								3d672d1f68 
								
							 
						 
						
							
							
								
								Correct arguments to method; add public_ack  
							
							
							
						 
						
							2015-12-06 19:24:10 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								afc15507fb 
								
							 
						 
						
							
							
								
								Put method name in test strings.  
							
							
							
						 
						
							2015-12-06 19:08:29 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								62d7ae0dbd 
								
							 
						 
						
							
							
								
								sub is needed to make this work, I think.  
							
							
							
						 
						
							2015-12-06 19:07:34 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								a06d4a63fa 
								
							 
						 
						
							
							
								
								Give these tests a name.  
							
							
							
						 
						
							2015-12-06 19:07:30 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								fc22b9a3cc 
								
							 
						 
						
							
							
								
								Begin writing addSupporter method.  
							
							... 
							
							
							
							ledger_entity_id is required. 
							
						 
						
							2015-12-06 18:56:59 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								0fa986a76f 
								
							 
						 
						
							
							
								
								Shorten variable name.  
							
							
							
						 
						
							2015-12-06 18:55:01 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								9d864172e5 
								
							 
						 
						
							
							
								
								Add dependencies.  
							
							
							
						 
						
							2015-12-06 18:54:38 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								2d54621dce 
								
							 
						 
						
							
							
								
								These are now done by mapping tables.  
							
							
							
						 
						
							2015-12-06 18:30:03 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								fbbdf01e2a 
								
							 
						 
						
							
							
								
								Create .gitingore file.  
							
							
							
						 
						
							2015-12-06 18:29:20 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								fa52370f53 
								
							 
						 
						
							
							
								
								Initial creation code and tests.  
							
							
							
						 
						
							2015-12-06 18:28:49 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								99c637f167 
								
							 
						 
						
							
							
								
								This is already version 0.2  
							
							
							
						 
						
							2015-12-06 17:27:25 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								be753d5b3d 
								
							 
						 
						
							
							
								
								Wrote basic documentation.  
							
							
							
						 
						
							2015-12-06 17:27:13 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								97df181a76 
								
							 
						 
						
							
							
								
								Generated stubs for Supporters module.  
							
							... 
							
							
							
							Generated this by running: h2xs -AXc -n Supporters 
							
						 
						
							2015-12-06 17:20:14 -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 
								
							 
						 
						
							
							
							
							
								
							
							
								9b3e1a70af 
								
							 
						 
						
							
							
								
								Missing ,  
							
							
							
						 
						
							2015-12-06 17:07:57 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								6c15d3973f 
								
							 
						 
						
							
							
								
								Correct details on postal_address table.  
							
							... 
							
							
							
							Also, correct name of index on email. 
							
						 
						
							2015-12-06 17:07:29 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								89c1a9fff7 
								
							 
						 
						
							
							
								
								Remove incorrect ,'s in various places.  
							
							
							
						 
						
							2015-12-06 17:06:22 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								e48ae089dc 
								
							 
						 
						
							
							
								
								Add DROP TABLEs and fix index.  
							
							
							
						 
						
							2015-12-06 17:05:37 -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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								6c67503f00 
								
							 
						 
						
							
							
								
								Move license notice information to LICENSE.md  
							
							... 
							
							
							
							Make a pointer from COPYRIGHT.md to it. 
							
						 
						
							2015-12-06 17:01:33 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								da32a02c52 
								
							 
						 
						
							
							
								
								Add license notice to the copyright file.  
							
							
							
						 
						
							2015-12-06 17:00:35 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								fe87630af6 
								
							 
						 
						
							
							
								
								Add COPYRIGHT and LICENSE file for this package.  
							
							
							
						 
						
							2015-12-06 16:58:32 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Free Software Foundation, Inc 
								
							 
						 
						
							
							
							
							
								
							
							
								9f371123fd 
								
							 
						 
						
							
							
								
								Downloaded a copy of the Affero GPLv3.  
							
							... 
							
							
							
							URL of this file is: https://www.gnu.org/licenses/agpl-3.0.txt  
							
						 
						
							2015-12-06 16:55:11 -08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Bradley M. Kuhn 
								
							 
						 
						
							
							
							
							
								
							
							
								9c70debfb1 
								
							 
						 
						
							
							
								
								First step to import of Supporter donations.  
							
							... 
							
							
							
							Ultimately, I decided I had little choice but to create a database of
supporters.  There is really no easy way to track all this properly with
ledger, since ledger is transaction based and this is data that spans
many transactions.
Indeed, even in the NPO Accounting project, we knew there would be
separate data stores for contacts, etc.  This is an ad-hoc start to
that, I guess. 
							
						 
						
							2015-12-06 16:46:43 -08:00