Commit graph

477 commits

Author SHA1 Message Date
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
Eric Schultz
ad2b701f69 Add ExportSupporterNotesCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6e11124de Add ExportRecurringDonationsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e9a01c76ef Add ExportRecurringDonationsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
24ba568756 Add ExportPaymentsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
30a868978a Add ExportPaymentsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
f68a432ee5 Add NonprofitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
94398f8bdf Add PayoutPendingJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e05466d0c6 Add EventCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
8a97e3a8af Add RefundNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6292ab7aa Add RecurringDonationChangeAmountJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ff1a8b92f5 Add PaymentNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
fe7322c5da Add FailedRecurringDonationPaymentJob 2019-11-08 16:13:02 -06:00
Eric Schultz
052474ac80 Add DirectDebitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
860848eb35 Fix typo 2019-11-08 16:13:02 -06:00
Eric Schultz
99373d5792 Create AdminFailedGiftJob 2019-11-08 16:13:02 -06:00
Eric Schultz
7b4b4573b0 Add CampaignCreationEmailFollowupJob 2019-11-08 16:13:02 -06:00
Eric Schultz
8bcec9bb91 Fix missed change on tiers 2019-11-05 15:53:14 -06:00
Eric Schultz
53b3f5800e Removing tiers 2019-11-05 14:06:59 -06:00
Eric Schultz
51ef25b3af Remove trial support 2019-11-05 13:38:36 -06:00
Eric Schultz
6667eb6fac remove unneeded strong params 2019-11-05 13:04:30 -06:00
Eric Schultz
d0c9e12ed0 remove create_trial in BillingSubscriptionsController 2019-11-05 13:03:13 -06:00
Eric Schultz
e3cc67423f Remove unused activities_controller 2019-11-05 13:01:51 -06:00
Eric Schultz
7199b9b189 Add strong params to tag_masters_controller 2019-11-05 12:50:28 -06:00
Eric Schultz
3941665c7e Add strong params to supporter_note_controller 2019-11-05 12:44:54 -06:00
Eric Schultz
d5b58754ad Add strong params to supporter_notes_controller 2019-11-05 12:30:01 -06:00
Eric Schultz
994b04a830 Add strong params to refunds_controller 2019-11-05 11:43:48 -06:00
Eric Schultz
3adaed06fa Add strong params to payouts_controller 2019-11-05 11:41:35 -06:00
Eric Schultz
6c9dc8b150 cleanup(cards) cleanup nonprofits/cards_controller 2019-10-29 17:00:11 -05:00
Eric Schultz
772332a5cb feat(nonprofit/cards) add strong params to nonprofits/card/create 2019-10-29 16:57:52 -05:00
Eric Schultz
a6baf9bac3 cleanup campaign_gift_optiosn_controller.rb 2019-10-29 14:58:01 -05:00
Eric Schultz
955903df9e feat(campaign_gift_options) 2019-10-29 14:05:59 -05:00
Luis Castro
c64adad9ad style(models): normalize comments style 2019-10-28 12:48:54 -05:00
Luis Castro
fa77979712 feat(ticket): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
0efb695ed1 feat(ticket_levels): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
9d2d6425ab feat(roles): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
27f9d3bda9 feat(profiles): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
6a0a674328 feat(recurring_donations): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
8f1b33cabd feat(payments): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
41d578815a feat(imports): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
70b1095083 feat(nonprofit): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
0cf21bb1c9 feat(email_list): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
b16b7d7b58 feat(donations): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
63b1b25cee feat(event): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
567830b9be feat(event_discounts ): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
6bdd95a5e9 feat(email_settings): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
a5aff586d6 style(models): remove attr_accessible comment
Keep comments on model specifics.
2019-10-28 12:48:54 -05:00
Luis Castro
65bd361b3f feat(custom_field_join): add strong params
Using permit with a limited list of params
2019-10-28 12:48:54 -05:00
Luis Castro
c9fba40183 feat(custom_field_master): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
08b6a98e39 feat(cards): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
593df27f13 feat(campaign_gift): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
51a4902991 feat(campaign_gift_option): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
399c421f38 feat(campaigns): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
32d2039c19 feat(bank_accounts): add strong params 2019-10-28 12:48:54 -05:00
Luis Castro
50de35911d feat(billings): add strong params 2019-10-28 12:48:54 -05:00
Eric Schultz
fd966911c1 Fix for campaign creator email being sent to donor 2019-09-17 16:19:03 -05:00
Eric
9815805b64 Fix metadata on donate page 2019-08-19 13:25:44 -05:00
Eric Schultz
922df2d8c7 Correct metadata descriptions 2019-08-19 12:55:38 -05:00
Orlando Del Aguila
bc927e5d77 dev: add fonts to assets pipeline 2019-08-09 18:18:33 -05:00
Orlando Del Aguila
1f25204eaf feat: remove CSRF protection implementation from Grape API 2019-08-09 17:30:39 -05:00
Luis Castro
ff428870fb
chore: rename editable.css file and remove erb extension 2019-08-05 12:40:32 +02:00
Luis Castro
3965ba59f9
feat(timespan): add new syntax for declaring constants in a Struct 2019-08-02 19:07:30 +02:00
Luis Castro
2c12b5864b
test(edit): fix edit actions controller expect to html render method 2019-08-02 19:07:30 +02:00
Luis Castro
f0fd393be4
style(format): run rubocop format autocorrect 2019-08-02 19:07:29 +02:00
Luis Castro
df29d446ae
chore(models): comment out attr_accessible
Needs to be changed to strong params in controllers of each model.
2019-08-02 19:07:28 +02:00
Luis Castro
84f8a583ba
test(shared_user_ctx): add conditional specs for types of methods 2019-08-02 19:07:28 +02:00
Luis Castro
9f6ea91224
fix(direct_debit_detail): use class_name string value 2019-08-02 19:07:27 +02:00
Luis Castro
d153de8d1f
fix(dependency): Remove require dependency for timespan constants 2019-08-02 19:07:27 +02:00
Luis Castro
a20bd477ce
fix(static_controller): return body nil when 500
Fix deprecation warning from nothing.
2019-08-02 19:07:27 +02:00
Luis Castro
22bf0713f9
fix(campaign): add explicit source for payments relation 2019-08-02 19:07:27 +02:00
Luis Castro
4992253540
fix(constants): explicit require for constants 2019-08-02 19:07:26 +02:00
Luis Castro
dd64ee5159
feat: replace deprecated before_filter with before_action 2019-08-02 19:07:25 +02:00
Eric Schultz
f2c32fffca
Initially comment out attr_accessible 2019-08-02 19:07:24 +02:00
Eric Schultz
a12e4099ad
Add ApplicationJob 2019-08-02 19:07:24 +02:00
Eric Schultz
d3535c0b80
Models now inherit from ApplicationRecord 2019-08-02 19:07:24 +02:00
Eric Schultz
964aadbfb1
Correct bug in maintenance_spec.tb 2019-08-02 19:07:13 +02:00
Eric Schultz
3d27e97fee
Fix bug where checking payment providers were validated improperly in rails 4.1 2019-08-02 19:07:12 +02:00
Eric Schultz
ca17696529
Initial Update to ruby 4.2 2019-08-02 19:06:28 +02:00
Eric Schultz
25c269b4c0 Add a way to get other tickets purchased as part of same order 2019-07-12 13:32:04 -05:00
Eric Schultz
7a1c95df0c Fix cornerhole on ticket 2019-06-12 09:39:21 -05:00
Eric Schultz
19de0bbed3 Fix Vimeo non-https link to https 2019-05-06 11:22:08 -05:00
Eric Schultz
c3414f1754 Layout improvements for modals and other areas 2019-04-16 17:15:26 -05:00
Eric Schultz
d440bfc4f8 Remove redundant supporter field export modal 2019-04-05 15:27:02 -05:00
Eric Schultz
c7c9b807cc Fix for email links in payment info panes being incorrect 2019-03-29 10:09:20 -05:00
Eric Schultz
1bc048b52a Add an export for supporter notes 2019-03-21 14:19:11 -05:00
Eric Schultz
b2fbbeaeca Fix for inability to remove background image 2019-02-25 15:07:34 -06:00
Eric Schultz
4e7df82f71 Payment dashboard wasn't properly displaying. This fix corrects that. 2019-02-22 16:13:41 -06:00
Eric Schultz
1e592ed74f Correct some language in federated P2P creation email 2019-02-11 16:20:55 -06:00
Eric Schultz
0916fe74c0 Add a federated P2P creation email 2019-02-11 16:20:50 -06:00
Eric Schultz
adeb9c46cb Fix bug where the federated p2p creators location was mangled 2019-02-11 16:19:16 -06:00
Eric Schultz
c7b4a74537 Remove the weird, unneeded events in profile view 2019-02-08 14:41:09 -06:00
Eric Schultz
43b80f13b3 If you change a campaign slug, we redirect to the proper page 2019-02-07 15:50:35 -06:00
Eric Schultz
e0c2358d74 Show campaigns list doesn't include child campaigns for non-logged-in users 2019-02-06 13:12:58 -06:00
Eric Schultz
3d1fac1655 Nonprofit page now only shows non-child campaigns 2019-02-06 13:12:56 -06:00
Eric Schultz
1adf4d4185 If p2p user wants to recreate a child campaign after delted, we just undelete the old child campaign 2019-02-05 16:58:01 -06:00
Eric Schultz
d8c4d12e46 Remove unused mixins 2019-01-31 13:02:31 -06:00
Eric Schultz
240f39d95f Remove unused onboard_modal css file 2019-01-30 15:41:13 -06:00
Eric Schultz
3b45778225
Merge branch 'master' into p2p_improvements 2019-01-23 13:20:24 -06:00
Eric Schultz
ef216546a2 Correct formatting issue in the campaign profile part of page 2019-01-23 11:09:00 -06:00
Eric Schultz
1392186728 Add merged_into association for Supporter 2019-01-22 16:28:07 -06:00
Eric Schultz
95d5bf734b Correct bug in merging 2019-01-22 16:27:29 -06:00
Eric Schultz
449380f612 P2P campaign creator email is shown in admin emails 2019-01-22 16:23:52 -06:00
Eric Schultz
ed28ca9a82 Admin emails now include Campaign Id which makes it easier to understand which P2P campaign the donation came from 2019-01-22 16:23:34 -06:00
Eric Schultz
bcb84d2aab You can now change your testimonial in your P2P campaign 2019-01-22 16:21:45 -06:00
Eric Schultz
3b3763f5a6 Add useful validation message for is_equal_to 2018-12-13 12:42:27 -06:00
Eric Schultz
2913191c2a Correct missing license header 2018-11-27 17:09:06 -06:00
Eric Schultz
8a8942654e Fix bug where events weren't displayable 2018-11-26 13:00:24 -06:00
Eric Schultz
c5557d9fa1 Correct regression where froala was not properly includedwhen requested 2018-11-23 15:38:40 -06:00
Eric Schultz
0ad9181533 If a campaign is done, P2P campaign link is for the nonprofit, not the campaign 2018-11-21 17:23:25 -06:00
Eric Schultz
3c88cce5cd remove unneeded before_filter 2018-11-21 14:47:20 -06:00
Eric Schultz
e93149d117 Remove redundant "start a new campaign for nonprofit" button on campaign page 2018-11-21 13:49:15 -06:00
Eric Schultz
8a9f212e9a Remove redudant campaign_template related code 2018-11-21 13:48:13 -06:00
Eric Schultz
f75ffcf09d Fix bug where campaign activites weren't properly found 2018-11-21 13:47:27 -06:00
Eric Schultz
bad7d5ba79 Add language explaining how to reload the P2P creation page if you haven't confirmed as user yet 2018-11-21 13:00:40 -06:00
Eric Schultz
d61a80d92c A P2P page with an nonprofit already set doesn't allow you to change the np on the page 2018-11-21 12:49:24 -06:00
Eric Schultz
1bb26cebbf Remove unused stylesheet 2018-11-21 11:21:06 -06:00