Commit graph

57 commits

Author SHA1 Message Date
Eric Schultz
dea870772d Add shoulda-matchers and begin using 2021-07-22 12:00:21 -05:00
Eric Schultz
2c791b920c Add stripe_refund.* publishing
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-07-14 11:23:22 -05:00
Clarissa Borges
1c9aecd605 Creates StripeDispute and its respective event publishing 2021-07-06 11:12:13 -05:00
Clarissa Borges
a7cbf3653e Create offline_transaction_dispute.* event publishing 2021-06-23 11:03:26 -05:00
Clarissa Borges
7972ec8ea7 Creates OfflineTransactionRefund event publishing 2021-06-18 11:42:20 -05:00
Eric Schultz
7e02530fda Add Initial OfflineTransactionRefund 2021-06-18 11:42:20 -05:00
Eric Schultz
9aaa1e491e Add start to RecurrenceRule 2021-06-09 11:18:44 -05:00
Eric Schultz
b72512906c recurrence.created is fired when inserting recurring donations 2021-06-09 11:18:44 -05:00
Eric Schultz
157bd20b26 Recurrence#to_builder works and unit tested 2021-06-09 11:18:44 -05:00
Clarissa Borges
fbc3d8e51d Validates nonprofit's timezone 2021-05-21 15:18:25 -05:00
Eric Schultz
1b20e6499a Donations create StripeCharge events 2021-05-14 11:15:04 -05:00
Eric Schultz
2e8821efdf Initial Transaction and OfflineTransaction support
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-04-13 10:47:37 -05:00
Eric Schultz
e4e162c4ab Add enumerable attribute support to Model::Jbuilder::BuilderExpansion with unit tests 2021-04-08 11:08:17 -05:00
Clarissa Borges
13df866c3d Add scheme to websites before Nonprofit validation 2021-04-02 13:51:02 -05:00
Clarissa Borges
58777ed7bb Use validates_url gem to validate Nonprofit's website 2021-04-02 13:51:02 -05:00
Eric Schultz
916fd18da5 Rubocop spec/models/supporter_note_spec.rb 2021-03-31 11:40:55 -05:00
Eric Schultz
83e7c33e45 Replace raw match with match_houid in a spec 2021-03-31 11:40:55 -05:00
Eric Schultz
01e1a67b9e Changed money to use "cents" so it's consistent with ruby-money Money object 2021-02-26 15:07:49 -06:00
Eric Schultz
5b21befe8e Migrate to use Money as the base of all monetary values in the event work 2021-02-24 18:10:10 -06:00
Eric Schultz
022ac4e80b Add a spec for making sure super_admin? returns false if the user has no roles 2021-02-19 15:22:22 -06:00
Eric Schultz
9264297a51 Add super_admin? method to User 2021-02-19 11:34:40 -06:00
Eric Schultz
7f9e643915 Add validation for length of object_event_types 2021-02-18 14:53:06 -06:00
Clarissa Borges
3f8f5559ab Creates ObjectEventListener and WebhookTransmitJob 2021-02-14 15:19:34 -06:00
Eric Schultz
7bab0ec5c5 Make init_builder do more 2021-02-13 16:14:54 -06:00
Eric Schultz
a538f25ecd WebhookAdapters are autoregistered 2021-02-13 16:03:54 -06:00
Clarissa Borges
095f241ae1 Creates ObjectEventHookConfig 2021-02-13 16:03:54 -06:00
Eric Schultz
d0197eb62e campaign_gift_purchase.* events can be published 2021-02-11 11:28:03 -06:00
Eric Schultz
52817d29b9 campaign_gift.* events can be published 2021-02-11 11:28:03 -06:00
Eric Schultz
84ae414355 Adding callbacks and object_events 2021-02-11 11:28:03 -06:00
Eric Schultz
6ab7473ef7 donation.* event publishing 2021-02-09 11:18:14 -06:00
Eric Schultz
2ab6c9bf27 Add custom_field_definition.* events 2021-02-05 11:15:14 -06:00
Eric Schultz
f1dc1c234d Remove some trailing whitespace 2021-02-04 10:58:38 -06:00
Eric Schultz
09b5edaaf8 Ticket purchase json works correctly 2021-02-04 10:58:38 -06:00
Eric Schultz
a52b539449 Convert all the external uses of tag_master to tag_definitions 2021-02-02 11:58:10 -06:00
Eric Schultz
e806d8764f Create HoudIDs for stringy ids 2021-01-22 11:56:58 -06:00
Eric Schultz
cab6465e30 Support for SupporterAddress events and some Supporter events 2021-01-20 13:01:01 -06:00
Eric Schultz
6097ad68b7 Support for campaign_gift_option events 2021-01-17 18:05:43 -06:00
Eric Schultz
70d18591c3 Add support for supporter_note.* events 2021-01-17 17:08:52 -06:00
Eric Schultz
f55a676bbf Move to_event method into a concern 2021-01-15 11:44:11 -06:00
Eric Schultz
e7c482bf3a Add support for 'event_discount.*' events 2021-01-14 11:32:59 -06:00
Eric Schultz
2893a2bf47 Add ticket_level object events 2021-01-13 11:10:18 -06:00
Eric Schultz
8c9477dab9 HoudiniEvent object value to 'object_event' (since we also have events) 2021-01-12 13:26:26 -06:00
Eric Schultz
5ae4f20637 EventPublisher Support for TagMaster events 2021-01-12 13:26:26 -06:00
Eric Schultz
176f88a9c4 Fix supporter import bug 2020-09-01 21:32:32 -05:00
Eric
e3b25f8486 Shorten license definition 2020-06-15 10:26:57 -05:00
Eric
6dbe500043 Move event publisher into Bess 2020-06-12 13:41:40 -05:00
Eric Schultz
c20d01c4e8 Add api/nonprofits#create 2020-04-21 13:47:49 -05:00
Eric Schultz
b19cb9ddc8 Rename some sample nonprofits to make certain tests easier 2020-04-20 14:41:01 -05:00
Eric Schultz
4d8e5207b9 Add initial verification for Nonprofit registration through model 2020-04-17 17:51:59 -05:00
Eric Schultz
99fe9037e5 Make the nonprofit fixtures clearer and more useful 2020-04-16 15:50:03 -05:00