Commit graph

492 commits

Author SHA1 Message Date
Eric
0e9ab03352 Add lodash-joins 2020-07-15 12:30:18 -05:00
Eric
40fdd7a8b9 Add missing license information on money.spec.ts 2020-07-15 11:47:45 -05:00
Eric
238eba4a50 full_contact action only returns FullContact details if the gem is installed 2020-07-06 17:14:41 -05:00
Eric
64ebf2f26b Remove Gemfile, fix bugs in gemspec 2020-07-06 17:14:41 -05:00
Eric
219c815bec Fix the build from react-intl changes 2020-06-30 17:26:32 -05:00
Eric
d33600f663 Update specs to pass on updated react-intl 2020-06-30 17:26:32 -05:00
Eric
415e3b80cc Add additional react eslint checks. Illustrate its use on a single file. 2020-06-29 17:20:56 -05:00
Eric
862eea3867 Update snapshots due to upgraded jest packages 2020-06-27 15:09:03 -05:00
Eric
48f2303216 Enforce ts tab indents for accessibility 2020-06-27 15:09:03 -05:00
Eric
4e51e9ecfc Lint money.spec.ts 2020-06-27 15:09:03 -05:00
Eric
6554861627 Add money.ts as first linted .ts file 2020-06-27 15:09:03 -05:00
Eric
9eedc704b5 Change names of the Money properties and add some specs 2020-06-26 17:04:39 -05:00
Eric
79d7d2c99d Correct a few ts bugs 2020-06-24 17:53:22 -05:00
Eric
977fff89be Add JS Money type 2020-06-24 17:53:22 -05:00
Eric
0b02f64693 Add example storybook 2020-06-24 13:04:03 -05:00
Eric
a3f68d7a15 Move SessionLoginPage to react-rails 2020-06-23 16:30:01 -05:00
Eric
7b171a97ac Move RegistrationPage to react-rails 2020-06-23 16:30:01 -05:00
Eric
6c492bb202 Add react-rails 2020-06-23 16:30:01 -05:00
Eric
502abde5ee Supporters now have a merged_from attribute to get the Supporter records that were merged into this given Supporter 2020-06-23 15:49:29 -05:00
Eric
436efb7c5f Add billing_subscription to nonprofit by default 2020-06-23 13:06:22 -05:00
Eric
ba7f924b02 Remove another few unneeded polyfills 2020-06-23 11:47:14 -05:00
Eric
43136fbbf5 Remove the polyfill for Intl as it's no longer needed even in IE11 2020-06-23 11:47:14 -05:00
Eric
c25ecd4caf Correct the Wisper listeners 2020-06-22 15:13:54 -05:00
Eric
75543f8b8f Move the nonprofits#show check for super_admin into a before_action 2020-06-22 15:13:54 -05:00
Eric
0eaede39d0 Fix bug where email wasn't getting saved in supporter_controller 2020-06-22 15:13:54 -05:00
Eric
858860f274 Fix bug in concern where the wrong Nonprofit class was being searched for 2020-06-18 17:28:54 -05:00
Eric
d5fcab066c Fix some Bess migration bugs 2020-06-18 17:28:54 -05:00
Eric
ea049c43b5 Add Campaign.get_campaign_and_children 2020-06-18 17:16:08 -05:00
Eric
6e9d2f2d4d Make sure to only create javascript locales if Houdini has a translation for it 2020-06-17 23:48:38 -05:00
Eric
2b3b9497f1 Remove a rabl file which was not deleted by accident 2020-06-16 16:55:06 -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
2ddab4713a Move all configuration to initializers 2020-06-12 13:24:16 -05:00
Eric
b4f201729e Remove remaining use of rabl 2020-06-10 14:40:54 -05:00
Eric
47857f7b86 Remove AWS 2020-06-10 11:35:39 -05:00
Eric Schultz
24b47c719b Fix bug where we don't percent encode parts of the widget iframe URL 2020-06-05 14:08:45 -05:00
Eric
b27aa8e724 Update year in validateCardExpiry test 2020-06-04 11:08:45 -05:00
Eric
9e7e62c1e7 Update to latest Houdini v1 changes 2020-06-03 13:54:46 -05:00
Eric
3429598874 Remove unneeded profile picture assign 2020-06-02 17:12:53 -05:00
Eric
354b93bbf9 Fix setting the profile pic from user pic on creation 2020-06-02 16:35:43 -05:00
Eric
28e0e373df Set default profile pic 2020-06-02 16:35:04 -05:00
Eric
24bcef23c6 Migrate from imagemagick to vips for image transformation 2020-05-29 16:54:53 -05:00
Eric
760dc7e99b Correct bug in creating portions of the app_data 2020-05-29 15:34:46 -05:00
Eric
afbc20b8dc Update to Webpacker 5.1.1 2020-05-27 17:05:25 -05:00
Eric
dbd993fd8e Convert MapsController to Rails 6 and jbuilder 2020-05-27 12:59:13 -05:00
Eric
b02aa85e58 Update nonprofits/custom_field_masters_controller.rb to Rails 6 and jbuilder 2020-05-27 12:49:04 -05:00
Eric
5ff8418f73 Update custom_field_joins/index to Rails 6 and jbuilder 2020-05-27 12:32:32 -05:00
Eric
2854603d56 Update nonprofits/payments_controller to Rails 6 and jbuilder 2020-05-27 12:32:32 -05:00
Eric
4b01c2aeb9 Update nonprofits/recurring_donations_controller to Rails v6 and jbuilder 2020-05-27 12:32:32 -05:00
Eric
085be0c082 Migrate recurring_donations#show.json to jbuilder 2020-05-27 12:32:32 -05:00
Eric
d81c3e5ec8 Move campaigns/index.json to jbuilder 2020-05-27 12:32:32 -05:00
Eric
26be1858d3 Update Campaign creation to use jbuilder 2020-05-27 12:32:32 -05:00
Eric
7ccd6870aa Handle rails 6 deprecation of update_attributes to update 2020-05-27 12:32:32 -05:00
Eric
34882dc099 Make additional updates to ActiveStorage 2020-05-27 12:32:31 -05:00
Eric
a7cb3419cd Migrate many image calls to Active Storage 2020-05-27 12:32:31 -05:00
Eric
057007e85e Profile doesn't have a default picture now 2020-05-27 12:32:31 -05:00
Eric
03a270b61b profile.json.jbuilder now gets the pic_tiny url by variant 2020-05-27 12:32:31 -05:00
Eric
2e0a3a6c03 Create default image attachments for all models 2020-05-27 12:32:31 -05:00
Eric
60eb01c2ee Add has_one_attached_with_default 2020-05-27 12:32:31 -05:00
Eric
afecb1d63f Rename attribute to attribute_name 2020-05-27 12:32:31 -05:00
Eric
2ad9ac8c92 Attachment variants can be requested by name 2020-05-27 12:32:31 -05:00
Eric
8c997b6488 Remove uploaded fields from models 2020-05-27 12:32:31 -05:00
Eric
7c85c2e70e Correct render bugs with the user and profile json 2020-05-27 12:32:31 -05:00
Eric
5e8a1c4099 Correct javascript ordering issur in nonprofits/show view 2020-05-27 12:32:31 -05:00
Eric
f747571a75 Add user email to the user.jbuilder 2020-05-27 12:32:31 -05:00
Eric
91a173052a Move nonprofit app_data to jbuilder 2020-05-27 12:32:30 -05:00
Eric
8c9dc3af37 Correct javascript ordering issue in nonprofits/show view 2020-05-27 12:30:04 -05:00
Eric
f84fef200c Fix bugs in ordering of javascript loads on events/show 2020-05-27 12:30:04 -05:00
Eric
72e78babd9 Add current_nonprofit_user? as a helper_method 2020-05-27 12:30:04 -05:00
Eric
480ac12c64 Fix the donations history page due to the webpacker migration 2020-05-27 12:30:04 -05:00
Eric
25a64abe3f Remove bizarre unneeded profile call 2020-05-27 12:30:04 -05:00
Eric
c499f8f7a5 Fix bugs in profile views caused by webpacker conversion 2020-05-27 12:30:04 -05:00
Eric
1b68d6e04c Correct render bugs with the user and profile json 2020-05-27 12:30:04 -05:00
Eric
94f3c13a70 Move profile and user json generation to Jbuilder partials 2020-05-27 12:28:52 -05:00
Eric
bf64d85852 Merge branch 'feat/extract_controller_concerns' into rails-v5 2020-05-12 11:53:21 -05:00
Eric
63f5146655 Extract controller related concerns and put them in one place 2020-05-11 13:38:50 -05:00
Eric Schultz
0990d830ca Correct pack load typo in app/views/campaigns/supporters/index.html.erb 2020-04-23 14:54:20 -05:00
Eric Schultz
91ec83575b Remove no longer used pack 2020-04-23 14:54:00 -05:00
Eric Schultz
dbb71b9b17 Fixes for javascript in basic and guided button mode 2020-04-23 14:09:58 -05:00
Eric Schultz
6ed0463867 Fix strange bug in DirectDebitDetail 2020-04-23 14:09:58 -05:00
Eric Schultz
abbfae739c Removal of the codegen 2020-04-23 14:09:58 -05:00
Eric Schultz
49bdabe889 Fix typo in stylesheet 2020-04-23 14:09:58 -05:00
Eric Schultz
4645f8d1d0 Correct typo in super admin 2020-04-23 14:09:58 -05:00
Eric Schultz
45b3c436ae Re-add the style sheets accidentally deleted 2020-04-23 14:09:58 -05:00
Eric Schultz
ed50061e38 Remove unneeded non-WOFF fonts 2020-04-23 14:09:57 -05:00
Eric Schultz
1819a1f4b3 Fix routing bugs 2020-04-23 14:09:57 -05:00
Eric Schultz
a1e7d76ddd modified a lot of things 2020-04-23 14:09:56 -05:00
Eric Schultz
564711f174 Move widget css into a controller so it's updateable 2020-04-23 14:09:56 -05:00
Eric Schultz
1cd17aa1e5 Rearrange scripts on the donate page 2020-04-23 14:09:56 -05:00
Eric Schultz
40ace51da1 Remove unused onboarding modals 2020-04-23 14:09:56 -05:00
Eric Schultz
e58571524b Don't use root in to_json calls 2020-04-23 14:09:56 -05:00
Eric Schultz
567549c85c Everything works except fonts 2020-04-23 14:09:56 -05:00
Eric Schultz
8ebbda7819 Remove debug line 2020-04-23 14:09:56 -05:00
Eric Schultz
d95ebf53a3 Onboard loads properly! 2020-04-23 14:09:55 -05:00
Eric Schultz
1af1aac683 Build works when check_yarn_integrity turned off 2020-04-23 14:09:55 -05:00
Eric Schultz
3558f2712c WIP 2020-04-23 14:09:14 -05:00
Eric Schultz
e9c26ce2d0 Add erb support 2020-04-23 14:09:14 -05:00
Eric Schultz
8d4b9d172d js/donate-button.v2.js now redirects to the asset pack 2020-04-23 14:09:14 -05:00
Eric Schultz
f5cbca1f26 WIP 2020-04-23 14:09:14 -05:00
Eric Schultz
ab8d25dec2 make sure the donate-button-v2.js never splits and include the runtimeChunk 2020-04-23 14:09:14 -05:00
Eric Schultz
87c15f0a0b client fix 2020-04-23 14:09:14 -05:00
Eric Schultz
4daaeb8c7f donate-button.v2.js builds! 2020-04-23 13:44:17 -05:00
Eric Schultz
c54f0d2423 Add webpacker 2020-04-23 13:44:17 -05:00
Eric Schultz
6f74eb9bdd Remove grape. 2020-04-21 13:52:56 -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
38a1afc0f1 getting closer! 2020-04-17 15:30:54 -05:00
Eric Schultz
30b2df23e2 WIP 2020-04-17 14:38:58 -05:00
Eric Schultz
68f118100a Remove unused events/index.rabl 2020-04-02 10:50:40 -05:00
Eric Schultz
e1b2ac4d28 All stats pass with listeners 2020-02-10 14:01:49 -06:00
Eric Schultz
2a20b9f381 ticket_create event working 2020-01-07 11:20:28 -06:00
Eric Schultz
6f087c76b8 Remove unused PaymentNotificationJob 2020-01-07 11:08:54 -06:00
Eric Schultz
31e4a69a22 Added refund create and recurring donation create 2020-01-07 11:07:48 -06:00
Eric Schultz
985f14688e Initial event publishing support 2020-01-06 16:30:28 -06:00
Eric Schultz
bef544bf63 Fix missing code direct_debit_create_notify_nonprofit_job.rb 2019-11-08 16:13:03 -06:00
Eric Schultz
c2226c9893 Add EmailJob 2019-11-08 16:13:03 -06:00
Eric Schultz
afae51ab4e Fixes to ExpectRecurringDonations spec 2019-11-08 16:13:03 -06:00
Eric Schultz
cfa5fb8b0f Add SupportersExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
1422b5907e Add RecurringDonationsExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
016e69283c Add SupporterNotesExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
bc959425c5 Add PaymentExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
e073b9a7d0 Add PayRecurringDonation(s)Job 2019-11-08 16:13:03 -06:00
Eric Schultz
0144372084 Remove non-working SupporterEmail call 2019-11-08 16:13:03 -06:00
Eric Schultz
9c9e6bd861 Add StripeAccountCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
34a75711f9 Move Recurring Donation Messages to emails 2019-11-08 16:13:03 -06:00
Eric Schultz
84b1960a9d Add MailchimpSupporterSyncJob 2019-11-08 16:13:03 -06:00
Eric Schultz
ca63818181 Add EmailListCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
5236eda39d Add CreateWeMoveExecuteForDonationsJob 2019-11-08 16:13:03 -06:00
Eric Schultz
34e67f5577 Use AdminFailedGiftJob 2019-11-08 16:13:03 -06:00
Eric Schultz
ef9c4776fa Improve CampaignCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
9c9033f2d3 Add ImportCreationJob 2019-11-08 16:13:03 -06:00
Eric Schultz
dd30aa3d59 Remove GenericMailer.delay 2019-11-08 16:13:03 -06:00
Eric Schultz
4b8bb49d76 Add Ticket Creation Notifications for Nonprofits 2019-11-08 16:13:02 -06:00
Eric Schultz
1fa53e65f2 Add TicketCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e3a10f0980 Fix typo 2019-11-08 16:13:02 -06:00
Eric Schultz
78e803b1d6 AddRefundNotificationNonprofitEmailJob 2019-11-08 16:13:02 -06:00
Eric Schultz
cc45ec820a Add RecurringDonationChangeAmountNonprofitEmailJob 2019-11-08 16:13:02 -06:00
Eric Schultz
3aa1075c76 Add RecurringDonationCancelledJob 2019-11-08 16:13:02 -06:00
Eric Schultz
0d70861a19 Add PaymentNotificationEmailNonprofitJob 2019-11-08 16:13:02 -06:00
Eric Schultz
283ebc553b Add BankAccountCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
7c9524ee21 Add VerificationCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ade965ba22 Add VerificationFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
9b501c4509 Add ExportSupportersFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
bedce11511 Add ExportSupportersCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b2aaf30a14 Add SupporterFundraiserCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
00e9cb972d Add UserInviteCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b295bcfa65 Add RoleAddedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
c29bd50fc2 Add ImportCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
2bceb3389c Add ExportSupporterNotesFailedJob 2019-11-08 16:13:02 -06:00