Commit graph

406 commits

Author SHA1 Message Date
Eric Schultz
3494ec36f5 remove commentted out code 2018-11-21 11:00:45 -06:00
Eric Schultz
5b1d6b775c Add index to parent_campaign_id 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
27877a716c Campaign metrics include child campaign metrics now 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
a838f45cbe remove campaign_template_id from something 2018-11-21 11:00:45 -06:00
Eric Schultz
a79a508ff0 Remove CampaignTemplate model 2018-11-21 11:00:45 -06:00
Eric Schultz
aa4e2c37b7 remove campaign_template in DB 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
743fd2a15e remove empty spec 2018-11-21 11:00:44 -06:00
Eric Schultz
4a1f86c121 Fix routes 2018-11-21 11:00:44 -06:00
Eric Schultz
e378434b30 Add in create_from_template call 2018-11-21 11:00:44 -06:00
Eric Schultz
758cbf1134 Add create_from_template route 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
d711403674 WIP 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
Eric Schultz
652e808239 Update structure.sql 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
Eric Schultz
ec3ca228a8 Update P2P campaign creation to properly copy the campaign image urls 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
571c6838d3 Fix structure.sql 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
5167438f37 Fix migration names 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
92abc44be0 Remove console.log() 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
b90aac15ad Remove empty spec files 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
dc1e8d769e Fixup: make AWS region optional in config 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
8857cde6c8 Fixup 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
74ba1cf069 Remove custom_layout from nonprofit 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