Eric Schultz
2ea9cf0da3
Fix failure to use strong params in campaigns_controller.rb
2021-03-18 13:26:40 -05:00
Eric
e3b25f8486
Shorten license definition
2020-06-15 10:26:57 -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
63f5146655
Extract controller related concerns and put them in one place
2020-05-11 13:38:50 -05:00
Luis Castro
399c421f38
feat(campaigns): add strong params
2019-10-28 12:48:54 -05:00
Luis Castro
f0fd393be4
style(format): run rubocop format autocorrect
2019-08-02 19:07:29 +02:00
Luis Castro
dd64ee5159
feat: replace deprecated before_filter with before_action
2019-08-02 19:07:25 +02:00
Eric Schultz
ca17696529
Initial Update to ruby 4.2
2019-08-02 19:06:28 +02: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
3c88cce5cd
remove unneeded before_filter
2018-11-21 14:47:20 -06:00
Eric Schultz
f75ffcf09d
Fix bug where campaign activites weren't properly found
2018-11-21 13:47:27 -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
87dc491ef4
remove last of campaign template features
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
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
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
e1287683f5
Better slugs for campaigns
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
Eric Schultz
41d69fd6c6
Support for threadsafe mode
2018-08-31 11:32:55 -05:00
Bradley M. Kuhn
6772312ea7
Relicense all .rb files under new project license.
...
The primary license of the project is changing to:
AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
with some specific files to be licensed under the one of two licenses:
CC0-1.0
LGPL-3.0-or-later
This commit is one of the many steps to relicense the entire codebase.
Documentation granting permission for this relicensing (from all past
contributors who hold copyrights) is on file with Software Freedom
Conservancy, Inc.
2018-03-25 15:10:40 -04:00
Eric Schultz
08b383de62
Initial commit. Previous history maintained by CommitChange
2018-03-25 13:30:42 -04:00