Commit graph

483 commits

Author SHA1 Message Date
Clarissa Borges
c70a4afbbe Removes deprecated 'return's from transaction blocks 2021-03-07 11:44:33 -06:00
Eric Schultz
7a57bfab7b Add API controller to get the current user. Also create authenticate_user_with_json! so we can authenticate properly using JSON. 2021-03-02 11:04:45 -06: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
1471c4281f Move license header in money.spec.ts to correct spot 2021-02-25 16:24:14 -06:00
Eric Schultz
4193cd87be Remove unneeded eslint exception 2021-02-25 13:12:40 -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
33210c1871 Use BigNumber for Money calculations 2021-02-24 17:34:08 -06:00
Eric Schultz
8c47573501 Rubocop controller concerns and specs 2021-02-24 16:18:43 -06:00
Eric Schultz
cdfafcdd1c Rubocop app/controllers/widget_controller.rb 2021-02-24 16:18:43 -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
Eric Schultz
ff8420541e Change list of events to jsonb 2021-02-18 14:53:06 -06:00
Eric Schultz
6fd2ca346a Remove commented out code 2021-02-17 17:44:29 -06:00
Eric Schultz
0313b27b2e Correct the list of params that get passed to a supporter update controller call 2021-02-17 17:44:29 -06:00
Eric Schultz
a987b8f8f8 Add event listeners for supporter.* 2021-02-17 17:44:29 -06:00
Clarissa Borges
885bcee03a Fixing supporter and supporter note creation 2021-02-16 17:19:13 -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
fb03b49806 Simplify a builder expansion in SupporterNote 2021-02-13 14:48:50 -06:00
Eric Schultz
8bd3837b54 Correct the visibility of a few routes 2021-02-11 19:10:48 -06:00
Eric Schultz
a38937cadb Fix bug in refunds_controller 2021-02-11 19:10:48 -06:00
Eric Schultz
092f9baa7f Removed apparently unused CC specific SVG 2021-02-11 17:15:55 -06:00
Eric Schultz
dad2873314 Move some common elements of TransactionAssignments to a single module 2021-02-11 11:42:54 -06:00
Eric Schultz
d0197eb62e campaign_gift_purchase.* events can be published 2021-02-11 11:28:03 -06:00
Eric Schultz
a7244f97ec Fix for serialization bug in CampaignGiftOption 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
d27b0b66f4 Some of the model work done for CGP 2021-02-11 11:28:03 -06:00
Eric Schultz
6ab7473ef7 donation.* event publishing 2021-02-09 11:18:14 -06:00
Eric Schultz
a401f4bea4 Correct a tense bug in app/models/tag_master.rb 2021-02-09 11:03:45 -06:00
Eric Schultz
2ab6c9bf27 Add custom_field_definition.* events 2021-02-05 11:15:14 -06:00
Eric Schultz
4c1d7ddd4e Remove unused gmail integration 2021-02-04 12:22:36 -06:00
Eric Schultz
fae212b842 Remove unused coupon class 2021-02-04 12:08:26 -06:00
Eric Schultz
59ef8d1bde Remove latitude and longitude from database 2021-02-04 11:13:21 -06:00
Eric Schultz
16a6b63e05 Remove everything related to mapping nonprofits and supporters 2021-02-04 11:13:21 -06:00
Eric Schultz
ed177e03d6 Remove the use of coordinates in the dashboard since we're not actually creating them. 2021-02-04 11:13:21 -06:00
Eric Schultz
825feea620 Initial removal of geocoding, need to remove db 2021-02-04 11:13:21 -06:00
Eric Schultz
d47c80594c ticket.deleted is published 2021-02-04 10:58:38 -06:00
Eric Schultz
b7a8f16de6 ticket.updated object event now published 2021-02-04 10:58:38 -06:00
Eric Schultz
512672a174 Verifies that all the events related to ticket_creation are fired 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
e6f83f388b Correct the tense of a method on SupporterNote 2021-02-01 17:40:34 -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
9aec278449 Create a current_supporter to include in controllers 2021-01-15 11:59:51 -06:00