Commit graph

  • 10030b3488 _verifyRequestTypeId =>_lookupRequestTypeById Bradley M. Kuhn 2015-12-30 03:55:28 -0800
  • b03a469338 Simplify code: use helper function that does same Bradley M. Kuhn 2015-12-30 03:33:36 -0800
  • 453caf26bf exit on wrong number of args. Bradley M. Kuhn 2015-12-30 03:17:33 -0800
  • f17527a23e Conversion script should also use donorId. Bradley M. Kuhn 2015-12-30 03:15:42 -0800
  • 9de60c3c5e Use donorId rather than supporterId as main handle Bradley M. Kuhn 2015-12-30 03:13:41 -0800
  • 95ef1fce28 Change table to donor; add is_supporter field. Bradley M. Kuhn 2015-12-30 03:10:07 -0800
  • f74c5d1854 DESTROY: detect _beginWork/_commit mismatches. Bradley M. Kuhn 2015-12-20 18:52:08 -0800
  • 096561a5c4 _rollback() work if failure occurs in these calls. Bradley M. Kuhn 2015-12-20 18:51:53 -0800
  • 794d34a79f Test begin work/commit nesting in a few places. Bradley M. Kuhn 2015-12-20 18:49:52 -0800
  • 5a37adc626 getPreferredEmailAddress: initial implementation. Bradley M. Kuhn 2015-12-20 18:22:15 -0800
  • 2e39065c3e setPreferredEmailAddress: initial implementation Bradley M. Kuhn 2015-12-20 18:09:24 -0800
  • 69a5ffdbf6 get/setPreferredEmailAddress: initial tests. Bradley M. Kuhn 2015-12-20 17:57:30 -0800
  • 7e82e94b55 Can't enforce one preferred email with UNIQUE key Bradley M. Kuhn 2015-12-20 17:49:09 -0800
  • 9474dacd6c addRequest() and fulfillRequest() in db conversion Bradley M. Kuhn 2015-12-20 17:34:18 -0800
  • f1b8406e61 Add missing =back in documentation. Bradley M. Kuhn 2015-12-20 17:11:01 -0800
  • 2dafc3c544 Correct test; it used incorrect variable Bradley M. Kuhn 2015-12-20 17:10:18 -0800
  • cb1ce38650 fulfillRequest: test had incorrect return value. Bradley M. Kuhn 2015-12-20 17:07:44 -0800
  • 3ff735584c This test did not belong here. Bradley M. Kuhn 2015-12-20 17:05:20 -0800
  • f29a243db3 Extract $requestId from getRequest() return. Bradley M. Kuhn 2015-12-20 17:02:44 -0800
  • 6307cfdd26 Fix typos in the test message descriptions. Bradley M. Kuhn 2015-12-20 16:59:29 -0800
  • ef7a4ecc49 Add blank line. Bradley M. Kuhn 2015-12-20 16:58:42 -0800
  • 3b3ee21288 Fix typos in SQL and return value. Bradley M. Kuhn 2015-12-20 16:58:13 -0800
  • a1f00e68a0 confess() rather than die() here. Bradley M. Kuhn 2015-12-20 16:52:49 -0800
  • 6de0eb64a2 Remove uncontrolled debugging statements. Bradley M. Kuhn 2015-12-20 16:42:53 -0800
  • 89149fe043 getRequest: Initial implementation. Bradley M. Kuhn 2015-12-20 16:40:27 -0800
  • 4f42fe50d2 Test have today in UTC Bradley M. Kuhn 2015-12-20 16:39:00 -0800
  • c8bbcc05e4 Parameter here is "notes", not "note" Bradley M. Kuhn 2015-12-20 15:15:39 -0800
  • da396611fc Correct description string of this test. Bradley M. Kuhn 2015-12-20 15:13:42 -0800
  • e0f7e66bba getReqeust: don't use paramater has setup. Bradley M. Kuhn 2015-12-20 14:22:46 -0800
  • b62283dc74 Each supporter only makes each type of request 1x. Bradley M. Kuhn 2015-12-20 14:07:57 -0800
  • ccfa057cce Fix my bad spelling: fufill -> fulfill Bradley M. Kuhn 2015-12-20 14:01:15 -0800
  • aff5e66786 fulfillRequest(): basic implementation. Bradley M. Kuhn 2015-12-20 13:59:50 -0800
  • 84f81b4dd3 fulfillRequest: Behavior for "refill" request Bradley M. Kuhn 2015-12-20 13:50:06 -0800
  • 3afe947cdd fufillRequest: parameter checks. Bradley M. Kuhn 2015-12-20 13:46:45 -0800
  • 1d83205949 fufillRequest: more tests. Bradley M. Kuhn 2015-12-20 13:36:56 -0800
  • 075d7998d8 addRequest: Two additional tests. Bradley M. Kuhn 2015-12-20 13:30:33 -0800
  • cb01c1a14c addRequest: initial implementation Bradley M. Kuhn 2015-12-20 12:46:07 -0800
  • d654622ebe We've already done one ResetDB above. Bradley M. Kuhn 2015-12-20 12:45:43 -0800
  • 49273ecbde Be sure DESTROY is called, etc. Bradley M. Kuhn 2015-12-20 12:45:36 -0800
  • 17c0f38639 Correct test: wrong comparison. Bradley M. Kuhn 2015-12-20 12:45:15 -0800
  • 847858bbf0 transaction counter is per instance. Bradley M. Kuhn 2015-12-20 12:21:38 -0800
  • 5cc564202e Remove debugging print in tests. Bradley M. Kuhn 2015-12-20 12:11:42 -0800
  • 4ca89cfad4 _getOrCreateRequestConfiguration: Fix various bugs Bradley M. Kuhn 2015-12-20 12:10:27 -0800
  • 5e03ffd74d _getOrCreateRequestConfiguration:Refine unit tests Bradley M. Kuhn 2015-12-20 12:09:52 -0800
  • 92d36a4039 _getOrCreateRequestConfiguration: Implement. Bradley M. Kuhn 2015-12-20 11:20:16 -0800
  • 3203a62d5b More descriptive variable name. Bradley M. Kuhn 2015-12-20 11:14:13 -0800
  • b065293ce7 Correct hash lookup typo. Bradley M. Kuhn 2015-12-20 11:13:18 -0800
  • 4ef9b9634a Improve test string here. Bradley M. Kuhn 2015-12-20 11:12:46 -0800
  • fc2250203d _getOrCreateRequestConfiguration: Additional test. Bradley M. Kuhn 2015-12-20 11:12:12 -0800
  • 8f22a89a47 _getOrCreateRequestConfiguration: error conditions Bradley M. Kuhn 2015-12-20 11:11:42 -0800
  • 9dcea735f4 _verifyRequestTypeId: Implementation & unit tests. Bradley M. Kuhn 2015-12-20 11:07:06 -0800
  • 1c33f4cbba _getOrCreateRequestConfiguration: Basic unit tests Bradley M. Kuhn 2015-12-20 10:58:22 -0800
  • 591fa396ca addRequest: begin implementation Bradley M. Kuhn 2015-12-20 10:06:30 -0800
  • d1d9b80583 Implementation of _getOrCreateRequestType Bradley M. Kuhn 2015-12-17 20:15:41 -0800
  • 8876808aec Corrected some tests for _getOrCreateRequestType() Bradley M. Kuhn 2015-12-17 20:15:09 -0800
  • eee5a0d3d6 We should call the DBI quote function for integer. Bradley M. Kuhn 2015-12-17 19:54:37 -0800
  • e2a63b30fa Tests for _getOrCreateRequestType Bradley M. Kuhn 2015-12-17 19:41:21 -0800
  • 2e2798459c Tests relating to requests, which spec out API. Bradley M. Kuhn 2015-12-17 18:49:10 -0800
  • 5dc73c0936 This handle no longer needed either. Bradley M. Kuhn 2015-12-17 17:13:01 -0800
  • 3480c5b5c4 Use postal address API. Bradley M. Kuhn 2015-12-17 17:12:29 -0800
  • 60805389b7 Correct mistyped variable name. Bradley M. Kuhn 2015-12-17 16:59:27 -0800
  • 0cbd8ae1ae Remove these debugging statements. Bradley M. Kuhn 2015-12-16 20:25:41 -0800
  • 05654fe11f Implementation of addPostalAddress(). Bradley M. Kuhn 2015-12-16 20:24:52 -0800
  • e3cf1665d9 More robust call to addAddressType. Bradley M. Kuhn 2015-12-16 20:24:24 -0800
  • 6e57396399 Correct test that now fails after recent changes. Bradley M. Kuhn 2015-12-16 20:16:26 -0800
  • 67a37ddd10 Revert incorrect table change from earlier commit. Bradley M. Kuhn 2015-12-16 20:13:57 -0800
  • fd85bb68f5 Remove blank line. Bradley M. Kuhn 2015-12-16 20:13:32 -0800
  • 031fbab35a Fix rollbacks calls properly here. Bradley M. Kuhn 2015-12-16 20:11:50 -0800
  • ea60b11965 Rework the reference counter for begin_work/commit Bradley M. Kuhn 2015-12-16 19:57:59 -0800
  • aef01b3031 new: Implement verification of $dbh Bradley M. Kuhn 2015-12-16 19:24:24 -0800
  • 470b889c3e new: Tests verify $dbh is a valid database handle Bradley M. Kuhn 2015-12-16 19:21:01 -0800
  • 731bc2a05d Remove duplicate my. Bradley M. Kuhn 2015-12-16 18:43:11 -0800
  • 9417690277 Fix typo from last commit. Bradley M. Kuhn 2015-12-16 18:42:59 -0800
  • 5d8d480223 Begin implementation of addPostalAddress. Bradley M. Kuhn 2015-12-16 18:36:47 -0800
  • bb84d6ad31 Minor documentation correction. Bradley M. Kuhn 2015-12-16 18:25:07 -0800
  • 69260413f3 Import script no longer needs to make this link. Bradley M. Kuhn 2015-12-16 18:15:54 -0800
  • c4668b81d6 addEmailAddress: supporter_email_address_mapping Bradley M. Kuhn 2015-12-16 18:13:28 -0800
  • 3f3f8b7090 Did I have some other language on the brain? Bradley M. Kuhn 2015-12-16 18:07:46 -0800
  • 6e10f76d5a Wrap addSupporter operations in transaction Bradley M. Kuhn 2015-12-14 17:30:44 -0800
  • 74146a15c9 Disconnect from this database handle too. Bradley M. Kuhn 2015-12-14 17:28:36 -0800
  • 159d3d6609 Also verify it's a HASH reftype. Bradley M. Kuhn 2015-12-14 17:28:19 -0800
  • 2950067c63 bug in tests found with transaction ref counting Bradley M. Kuhn 2015-12-14 17:25:02 -0800
  • 2a374b957e Correct off-by-one error in counter. Bradley M. Kuhn 2015-12-14 17:20:17 -0800
  • 45570a5db0 Wrap dbh->begin_work & dbh->commit Bradley M. Kuhn 2015-12-14 17:16:35 -0800
  • 6b8d79553b Test various database integrity questions. Bradley M. Kuhn 2015-12-14 17:05:42 -0800
  • 6bbb59c36a Test to verify email address mapping created. Bradley M. Kuhn 2015-12-14 16:43:12 -0800
  • 5ac8d562e1 Remove duplicate addRequestType call. Bradley M. Kuhn 2015-12-14 16:32:59 -0800
  • 6e67f5cc20 This statement handler is no longer used. Bradley M. Kuhn 2015-12-14 16:32:50 -0800
  • 630a807544 Use new addRequestType from Supporters module. Bradley M. Kuhn 2015-12-14 16:31:50 -0800
  • 69945c2704 Implementation of getRequestConfigurations Bradley M. Kuhn 2015-12-13 14:06:22 -0800
  • 4331093cee Basic implementation of addRequestConfigurations Bradley M. Kuhn 2015-12-13 13:37:52 -0800
  • 63af394ca6 Tests for an operation addRequestConfigurations Bradley M. Kuhn 2015-12-13 13:28:38 -0800
  • f0f6c6978c Properly add my email address. Bradley M. Kuhn 2015-12-13 13:07:44 -0800
  • dc12600b70 Correct license specification in Makefile.PL Bradley M. Kuhn 2015-12-13 13:06:39 -0800
  • ae9685d16b Automatically call test suite on Emacs M-x compile Bradley M. Kuhn 2015-12-13 13:04:53 -0800
  • 735db56d47 Begin implementation of addRequestConfigurations Bradley M. Kuhn 2015-12-13 13:04:27 -0800
  • 8fd03e8e6f Fail causes on getRequestConfigurations. Bradley M. Kuhn 2015-12-13 12:50:08 -0800
  • a3296f4b92 Switch to new addRequestType from API. Bradley M. Kuhn 2015-12-13 12:34:08 -0800
  • b5954e391e Correct test to actually test not-found case. Bradley M. Kuhn 2015-12-13 12:32:36 -0800
  • 4df468bb1b New test for addSupporter's addEmailAddress call Bradley M. Kuhn 2015-12-13 12:31:54 -0800