Commit graph

230 commits

Author SHA1 Message Date
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
Eric Schultz
216cefaa98 Remove straggling reference to campaign_templates 2018-11-21 11:00:45 -06:00
Eric Schultz
ab773ee48f Campaign metrics on campaign listing page now include child campaign metrics 2018-11-21 11:00:45 -06:00
Eric Schultz
478825a47a Improve formatting of p2p campaigns 2018-11-21 11:00:45 -06:00
Eric Schultz
1c1e62d091 Fix bug where old p2p method of getting there by npo doesn't work 2018-11-21 11:00:45 -06:00
Eric Schultz
cc225ba6fd WIP 2018-11-21 11:00:45 -06:00
Eric Schultz
87dc491ef4 remove last of campaign template features 2018-11-21 11:00:45 -06:00
Eric Schultz
a79a508ff0 Remove CampaignTemplate model 2018-11-21 11:00:45 -06:00
Eric Schultz
f255d6e3ec Simplify the child_campaign? code 2018-11-21 11:00:45 -06:00
Eric Schultz
64db067e2c Fix lack of styling of campaign banners and properly clips images 2018-11-21 11:00:45 -06:00
Eric Schultz
a3795b6601 remove profile image 2018-11-21 11:00:45 -06:00
Eric Schultz
293fa1d63a WIP 2018-11-21 11:00:45 -06:00
Eric Schultz
4dddccdf46 Create from template campaigns handles name collisions 2018-11-21 11:00:45 -06:00
Eric Schultz
e378434b30 Add in create_from_template call 2018-11-21 11:00:44 -06:00
Eric Schultz
9db02dd409 Fix missing tag 2018-11-21 11:00:44 -06:00
Eric Schultz
e2805abb96 Fix some merge issues 2018-11-21 11:00:44 -06:00
Eric Schultz
55171efbc4 Add missing license headers 2018-11-21 11:00:44 -06:00
Eric Schultz
7d1424e22c Fix typo in Campaign Template Controller 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
341d7511d2 Limit editing of child campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e5419408ce Fix removing banner image, refactor 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
c713ef343b Let's load uploadBannerImage modal in settings! 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
77a59b0037 Fix peer-to-peer action 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
d17c54b538 Refactor, specs for creating p2p campaign 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
1944d689cd wip-fix copying images 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
ff484bf106 Remove unused method 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
6b94b10979 Don't allow to create more than one child campaign per user 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
aaddc721bf Show banner on p2p create page, too 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
539d8f472a Peer-to-peer editors can only edit goal amount 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
0a5d78b7f4 Remove custom ERB file, add campaigner profile and p2p button to campaign page 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e948b0ce45 Fix showing default reason in p2p creation form 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
3167a53da8 Style banner uploading, show banner for all campaings 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e1287683f5 Better slugs for campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
79427774e5 Allow setting banner on campaing 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
dcb4a37585 Add banner to campaigns 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
9d20974abd wip 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
546b37f098 Clean up templates, fix main image upload 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
a5bc158628 Show only templates belonging to current nonprofit 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
aedb12ee03 Create campaign from template 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
2db5e72bcb Add a confirm dialog when deleting templates 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
bb0bebe8f7 Fix loading avatar image 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
d888be0242 Campaign template create, delete 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
abd5fbe63e WIP use s3 without region 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
02868b5e17 WIP no, seriously fix the bucket address bug 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
f1027ab564 WIP fix aws address issue 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
be98ec94b7 Puts AWS config 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
a7f0c809b4 Fixes after merge 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
399f6ff0c6 Merge branch 'p2p-campaigns' into h-custom-layout 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
b99f7959ce Add CampaignTemplate
Read S3 bucket name and AWS region from env

Add /postgres-data to .gitignore

Custom campaign layout

Adjust custom layout

wip fix wizard init on campaign page

wip adjust design

adjust campaigner profile section

wider banner, fix button colours

Fix custom layout

Add custom_layout to nonprofit and render, if exists

Fallback profile picture

wip
2018-11-21 11:00:44 -06:00