Commit graph

149 commits

Author SHA1 Message Date
Eric
64ebf2f26b Remove Gemfile, fix bugs in gemspec 2020-07-06 17:14:41 -05:00
Eric
502abde5ee Supporters now have a merged_from attribute to get the Supporter records that were merged into this given Supporter 2020-06-23 15:49:29 -05:00
Eric
436efb7c5f Add billing_subscription to nonprofit by default 2020-06-23 13:06:22 -05:00
Eric
ea049c43b5 Add Campaign.get_campaign_and_children 2020-06-18 17:16:08 -05:00
Eric
e3b25f8486 Shorten license definition 2020-06-15 10:26:57 -05:00
Eric
6dbe500043 Move event publisher into Bess 2020-06-12 13:41:40 -05:00
Eric
2ddab4713a Move all configuration to initializers 2020-06-12 13:24:16 -05:00
Eric
3429598874 Remove unneeded profile picture assign 2020-06-02 17:12:53 -05:00
Eric
354b93bbf9 Fix setting the profile pic from user pic on creation 2020-06-02 16:35:43 -05:00
Eric
28e0e373df Set default profile pic 2020-06-02 16:35:04 -05:00
Eric
24bcef23c6 Migrate from imagemagick to vips for image transformation 2020-05-29 16:54:53 -05:00
Eric
057007e85e Profile doesn't have a default picture now 2020-05-27 12:32:31 -05:00
Eric
2e0a3a6c03 Create default image attachments for all models 2020-05-27 12:32:31 -05:00
Eric
60eb01c2ee Add has_one_attached_with_default 2020-05-27 12:32:31 -05:00
Eric
afecb1d63f Rename attribute to attribute_name 2020-05-27 12:32:31 -05:00
Eric
2ad9ac8c92 Attachment variants can be requested by name 2020-05-27 12:32:31 -05:00
Eric
8c997b6488 Remove uploaded fields from models 2020-05-27 12:32:31 -05:00
Eric
94f3c13a70 Move profile and user json generation to Jbuilder partials 2020-05-27 12:28:52 -05:00
Eric Schultz
6ed0463867 Fix strange bug in DirectDebitDetail 2020-04-23 14:09:58 -05:00
Eric Schultz
a1e7d76ddd modified a lot of things 2020-04-23 14:09:56 -05:00
Eric Schultz
c20d01c4e8 Add api/nonprofits#create 2020-04-21 13:47:49 -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
e1b2ac4d28 All stats pass with listeners 2020-02-10 14:01:49 -06:00
Eric Schultz
afae51ab4e Fixes to ExpectRecurringDonations spec 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
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
51ef25b3af Remove trial support 2019-11-05 13:38:36 -06: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
Luis Castro
3965ba59f9
feat(timespan): add new syntax for declaring constants in a Struct 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
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
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
Eric Schultz
f2c32fffca
Initially comment out attr_accessible 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
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
0916fe74c0 Add a federated P2P creation email 2019-02-11 16:20:50 -06:00
Eric Schultz
3d1fac1655 Nonprofit page now only shows non-child campaigns 2019-02-06 13:12:56 -06:00
Eric Schultz
1392186728 Add merged_into association for Supporter 2019-01-22 16:28:07 -06:00
Eric Schultz
2913191c2a Correct missing license header 2018-11-27 17:09:06 -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
8a9f212e9a Remove redudant campaign_template related code 2018-11-21 13:48:13 -06:00
Eric Schultz
216cefaa98 Remove straggling reference to campaign_templates 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
55171efbc4 Add missing license headers 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
d17c54b538 Refactor, specs for creating p2p campaign 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
539d8f472a Peer-to-peer editors can only edit goal amount 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
d888be0242 Campaign template create, delete 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
0ca77c5c72 Fix some bugs for finding list subscribers and setting atributes on EmailList 2018-10-24 11:36:34 -05:00
Eric Schultz
9d4925dc78 Can hard sync a mailchimp list 2018-10-24 11:36:02 -05:00
Eric Schultz
1618498d3e Remove additional unused methods 2018-08-16 10:55:33 -05:00
Eric Schultz
19dd2d7249 remove unneeded method in Supporter 2018-08-15 17:09:28 -05:00
Eric Schultz
f986614613 remove ability for notifying nonprofits about the events they created 2018-08-15 11:56:14 -05:00
Eric Schultz
4c5b997d65 Support for grape and onboarding via react 2018-05-22 13:33:35 -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