Commit graph

486 commits

Author SHA1 Message Date
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
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
7fb83b8657 Use the typescript version of semicolon eslint rule 2021-01-11 12:38:44 -06:00
Eric Schultz
79da440af2 Fix bug in credit_card.spec.ts 2021-01-06 17:15:20 -06:00
Eric Schultz
d68b68fb70 DirectUploadsController only accepts confirmed users 2021-01-06 17:15:20 -06:00
Eric Schultz
229c688664 Fix for add_template_helper being removed without announcement
Explained at: https://stackoverflow.com/questions/65528227/the-method-add-template-helper-does-not-seem-to-work-in-rails-6-1
2021-01-06 17:15:20 -06:00
Eric Schultz
93d41ec2f7 fix bug in loading peer-to-peer javascript pack 2021-01-06 17:15:20 -06:00
Eric Schultz
bdd32643db Add support for non-html authenticate_user! responses 2021-01-06 17:15:20 -06:00
Eric Schultz
3d92560e7a Use proxy-only urls for all ActiveStorage images 2021-01-06 17:15:20 -06:00
Eric Schultz
fcdd5bcbab Improve i18n-js generation and use 2020-11-24 17:02:45 -06:00
Eric Schultz
de840411fb Create a version of yup that uses useIntl 2020-11-24 13:00:40 -06:00
Eric Schultz
1bbb83c280 Fix bug preventing jest from ever finishing on build server 2020-11-10 16:52:26 -06:00
Eric Schultz
ed62f02b53 Fix a lint error in a spec file 2020-11-10 16:52:26 -06:00
Eric Schultz
c9a1bdb3e4 Fix an eslint for hooks issue 2020-11-10 16:52:26 -06:00
Eric Schultz
8fb92ef1ca Fix bug in loading countries in nonprofit_controller.rb 2020-10-26 19:03:50 -05:00
Eric Schultz
b423daed20 Fix cors bug on WidgetController 2020-10-26 18:18:54 -05:00
Eric Schultz
e8d439d63c Creating intl expected messages from yup is simpler 2020-10-24 19:49:23 -05:00
Eric Schultz
94f63f3b3c Translations regenerate at runtime when using webpack-dev-server or storybook 2020-10-24 19:02:19 -05:00
Eric Schultz
57af3b92ea Extract the Intl decorator for storybook 2020-10-24 19:02:19 -05:00
Eric Schultz
9a02e56800 Rename Intl so you can use normal react-intl interface but only use our module 2020-10-24 19:02:19 -05:00
Eric Schultz
1a87c097ab Convert from comma-dangle to @typescript-eslint/comma-dangle in eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
edcb2613f1 Add @typescript-eslint/member-delimiter-style to eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
c43eb07638 Add documentation to Money.isNegative 2020-10-23 15:08:04 -05:00
Eric Schultz
659c2eecc2 Add @typescript-eslint/member-ordering to eslint 2020-10-23 15:08:04 -05:00
Eric Schultz
aedb45e78b Fix warnings on components/tests/intl/index.tsx 2020-10-21 15:00:06 -05:00
Eric Schultz
203a62ac51 Fix some types which were set to any 2020-10-21 15:00:06 -05:00
Eric Schultz
2ff0c5460e Fix warning about Formik in jest tests 2020-10-21 13:48:09 -05:00
Eric Schultz
cba2acfe55 Reorganize HoudiniIntl 2020-10-20 17:08:34 -05:00
Eric Schultz
0fe9810f1b Make hooks a subdirectory of app/javascript 2020-10-20 17:08:34 -05:00
Eric Schultz
7f37a826fe Add max-width to .campaign-banner so it's responsive for mobile 2020-10-14 12:00:30 -05:00
Eric Schultz
807143fe65 Add the intl-polyfill for IE11 2020-10-09 11:47:39 -05:00
Eric Schultz
35402a0d18 Correct blocklist/allowlist language 2020-10-05 15:07:21 -05:00
Eric Schultz
0f0a0d2063 Add comma-dangle requirement for eslint 2020-09-30 13:23:39 -05:00
Eric Schultz
176f88a9c4 Fix supporter import bug 2020-09-01 21:32:32 -05:00
Eric Schultz
45bf8cb2c1 Create MoneyTextField 2020-08-10 16:06:30 -05:00
Eric Schultz
e1979d809f Add HoudiniIntl 2020-08-01 11:14:08 -05:00
Eric
ae0e3e0da0 Correct bug preventing translations from displaying 2020-07-30 21:20:56 -05:00
Eric Schultz
260e0596ab Add useSteps hook 2020-07-16 15:39:40 -05:00
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