Commit graph

499 commits

Author SHA1 Message Date
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
fca3c7cd6a i18n-ize app/views/campaigns/supporters/_totals.html.erb 2021-04-12 14:08:47 -05:00
Eric Schultz
e4e162c4ab Add enumerable attribute support to Model::Jbuilder::BuilderExpansion with unit tests 2021-04-08 11:08:17 -05:00
Eric Schultz
30e93e5bbe Integrate react_on_rails 2021-04-08 10:25:13 -05:00
Eric Schultz
64362fd2b8 I18n-ize app/views/campaigns/_admin_top_name.html.erb 2021-04-05 19:01:10 -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
e26581dba5 Replace nonprofit creation with houdini:nonprofit:create Rails command 2021-03-28 16:17:52 -05:00
Eric Schultz
962f190091 i18n app/views/campaign_mailer/federated_creation_followup.html.erb 2021-03-26 11:29:32 -05:00
Eric Schultz
3f82514467 i18n app/views/campaign_mailer/creation_followup.html.erb 2021-03-23 16:12:46 -05:00
Eric Schultz
7c44e8af27 i18n app/views/campaign_gift-options/_manage_modal.html.erb 2021-03-19 13:52:21 -05:00
Eric Schultz
2ea9cf0da3 Fix failure to use strong params in campaigns_controller.rb 2021-03-18 13:26:40 -05:00
Eric Schultz
aa83977fed Fix an incorrect chunk reference on Campaigns index 2021-03-18 13:26:40 -05:00
Eric Schultz
710b50b25f i18n campaign_gift_option/_form_modal.html.erb 2021-03-18 12:48:52 -05:00
Eric Schultz
74f2b4e47e Add AnimatedCheckmark 2021-03-10 15:24:00 -06:00
Eric Schultz
1fa6d70cb0 Add CssBaseline decorator and Roboto to Storybook 2021-03-10 00:54:23 -06:00
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