Commit graph

495 commits

Author SHA1 Message Date
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
Kasia Jarmołkowicz
9d20974abd wip 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
f621d89d51 Revert "Merge pull request #1 from idengager/staging"
This reverts commit ba8944eff7530b4f9dfd56f74d9a37f4ac9be9f4, reversing
changes made to a0fbceb5a3.
2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
e6aa64cb52 Fixup: remove image.host from Settings 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