Commit graph

222 commits

Author SHA1 Message Date
Eric Schultz
6ce5a43735 Correct some missing features on the ExportSupportersCompletedJob addition 2019-11-08 16:13:02 -06:00
Eric Schultz
9b501c4509 Add ExportSupportersFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
bedce11511 Add ExportSupportersCompletedJob 2019-11-08 16:13:02 -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
c29bd50fc2 Add ImportCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
2bceb3389c Add ExportSupporterNotesFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ad2b701f69 Add ExportSupporterNotesCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6e11124de Add ExportRecurringDonationsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e9a01c76ef Add ExportRecurringDonationsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
24ba568756 Add ExportPaymentsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
30a868978a Add ExportPaymentsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
f68a432ee5 Add NonprofitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
94398f8bdf Add PayoutPendingJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e05466d0c6 Add EventCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
8a97e3a8af Add RefundNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6292ab7aa Add RecurringDonationChangeAmountJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ff1a8b92f5 Add PaymentNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
fe7322c5da Add FailedRecurringDonationPaymentJob 2019-11-08 16:13:02 -06:00
Eric Schultz
052474ac80 Add DirectDebitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
99373d5792 Create AdminFailedGiftJob 2019-11-08 16:13:02 -06:00
Eric Schultz
7b4b4573b0 Add CampaignCreationEmailFollowupJob 2019-11-08 16:13:02 -06:00
Eric Schultz
a0728e80e3 Update rspec 2019-11-06 16:22:05 -06:00
Eric Schultz
53b3f5800e Removing tiers 2019-11-05 14:06:59 -06:00
Eric Schultz
51ef25b3af Remove trial support 2019-11-05 13:38:36 -06:00
Eric Schultz
60ef60ef0c Remove unused js specs 2019-10-22 14:36:00 -05:00
Luis Castro
6ab13ce5bf
test(nonprofit): change expectation to bad request, from malformed token 2019-08-12 13:50:10 +02:00
Luis Castro
deae69bce8
chore(shared_user_ctx): rename method for clarity 2019-08-02 19:19:56 +02:00
Luis Castro
b65b88b292
test(static_controller): fix inconsistency with Settings merge 2019-08-02 19:07:31 +02:00
Luis Castro
c21ddbba06
test(views): add arg for views without json format 2019-08-02 19:07:31 +02:00
Luis Castro
fd564be0bc
fix(test_uploader): remove frozen literal from test file 2019-08-02 19:07:31 +02:00
Luis Castro
096a6a27a1
test(payouts): add matching expectaions to db timestamp values 2019-08-02 19:07:31 +02:00
Luis Castro
5fe98ab464
test(timespan): fix inconsistency between expectation and actual output
* Also added timecop to spec to avoid future breaks.
2019-08-02 19:07:31 +02: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
2552e831b3
chore(rspec): supress warnings on false positives 2019-08-02 19:07:30 +02:00
Luis Castro
aacd4af6c0
test(methods): add methods to without json response config 2019-08-02 19:07:30 +02:00
Luis Castro
529745bf22
test(button): remove from json views 2019-08-02 19:07:30 +02:00
Luis Castro
2c12b5864b
test(edit): fix edit actions controller expect to html render method 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
84f8a583ba
test(shared_user_ctx): add conditional specs for types of methods 2019-08-02 19:07:28 +02:00
Luis Castro
33862bab25
test(support): fix any_instance deprecation warning
Changed from the old syntax to the new allow_any_instance_of according to the documentation.

https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:27 +02:00
Luis Castro
e08d7836c6
test(nonprofit): fix xhr deprecation warnings
`xhr` and `xml_http_request` are deprecated, changed to new syntax
2019-08-02 19:07:26 +02:00
Luis Castro
d4f6e2d91d
test(donation_context): fix any_instance deprecation warning
Changed from the old syntax to the new allow_any_instance_of according to the documentation.

https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:26 +02:00
Luis Castro
fb638f0c26
test(shared_user_context): fix positional args warning
Using positional arguments in functional tests has been deprecated
2019-08-02 19:07:26 +02:00
Luis Castro
57125774ef
test(params): fix HttpPositionalArguments
Automatic run with `bundle exec rubocop --rails --only HttpPositionalArguments --auto-correct`
2019-08-02 19:07:26 +02:00
Luis Castro
c3c1311e2f
test(shared_user_context): move to ActionDistpach
From ActionController::TestResponse, to use the new IntegrationTest from rails 5.
2019-08-02 19:07:25 +02:00
Luis Castro
35c2f5a640
test(setup): update Devise controller helpers 2019-08-02 19:07:25 +02:00
Eric Schultz
938821ed5f
Initial rails 4.2 2019-08-02 19:07:23 +02:00
Eric Schultz
d90d2b3505
Make CreateCampaign fail in pending 2019-08-02 19:07:14 +02:00
Eric Schultz
a05f8582de
Remove deprecated '.to_time_in_current_zone' usage 2019-08-02 19:07:14 +02:00
Eric Schultz
cc24183cb9
Fix some quirky test issues with non-reloaded entities 2019-08-02 19:07:13 +02:00
Eric Schultz
964aadbfb1
Correct bug in maintenance_spec.tb 2019-08-02 19:07:13 +02:00
Eric Schultz
438ecf16c8
Correct spec for campaign_gift_options 2019-08-02 19:07:13 +02:00
Eric Schultz
568835c9bf
Fix a numb of invalid routes in Rails 4 2019-08-02 19:07:13 +02:00
Eric Schultz
b4ebaa8102
Fix routing bugs in TicketsController spec 2019-08-02 19:07:13 +02:00
Eric Schultz
5f7b284c4f
Fix bug where delete_card_for_ticket spec was failing 2019-08-02 19:07:13 +02:00
Eric Schultz
a5903d9daf
Correct blocklist name
WIP
2019-08-02 19:07:07 +02:00
Eric Schultz
881e42cc0b
Correct rubocop warning 2019-08-02 19:07:07 +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
854981992b Fix bad const naming in a test 2019-03-21 15:14:49 -05:00
Eric Schultz
bdc6331e6a Merge branch 'master' into fix_license 2019-03-21 14:53:24 -05:00
Eric Schultz
c660402a5b Fix missing license header 2019-03-21 14:53:11 -05:00
Eric Schultz
1bc048b52a Add an export for supporter notes 2019-03-21 14:19:11 -05:00
Eric Schultz
7f74b30129 Add export enumerable for supporter notes 2019-03-21 14:16:42 -05:00
Eric Schultz
0916fe74c0 Add a federated P2P creation email 2019-02-11 16:20:50 -06:00
Eric Schultz
84a48860e2 Consider deleted campaigns in slug naming 2019-02-05 16:57:45 -06:00
Eric Schultz
4b9a74de98 Remove VCR 2019-01-25 17:27:29 -06:00
Eric Schultz
8738849711 Rename a spec properly 2019-01-24 14:34:18 -06:00
Eric Schultz
73be70b872 Add Campaign Creator email to campaign export report 2019-01-22 16:24:01 -06:00
Eric Schultz
22ea10c65e Add campaign_id to export 2019-01-22 16:23:20 -06:00
Eric Schultz
3b3763f5a6 Add useful validation message for is_equal_to 2018-12-13 12:42:27 -06:00
Eric Schultz
09cd0d1790 Setup simplecov 2018-12-10 15:51:50 -06:00
Eric Schultz
6fb2721a08 Copy naming algorithms not longer run full max copy tests. This shortens test times by a significant amount without reducing coverage that much 2018-12-10 13:24:35 -06:00
Eric Schultz
d9b7d6413c Campaign export calculations are fixed and specs 2018-12-04 16:40:48 -06:00
Eric Schultz
58c42598e3 Merge branch 'master' into docker-improvement-latest2 2018-11-30 21:40:12 -06:00
Eric Schultz
4c8065e98f Fix bugs in spec 2018-11-30 21:38:45 -06:00
Eric Schultz
f8874f49f6
Merge branch 'master' into docker-improvement-latest 2018-11-30 20:47:50 -06:00
Eric Schultz
3a4a960fe8 Fix a few specs 2018-11-21 14:34:08 -06:00
Eric Schultz
27877a716c Campaign metrics include child campaign metrics now 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
743fd2a15e remove empty spec 2018-11-21 11:00:44 -06:00
Eric Schultz
d711403674 WIP 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
399f6ff0c6 Merge branch 'p2p-campaigns' into h-custom-layout 2018-11-21 11:00:44 -06:00
Eric Schultz
d4b867e930 Working .travis.yml 2018-11-12 16:46:17 -06:00
Eric Schultz
3d704cd876 Split dedications up in the export 2018-10-25 16:56:44 -05:00
Eric Schultz
b2a28dd78c Fix weird formatting bug in test 2018-10-25 12:45:07 -05:00
Eric Schultz
543cc86645 Remove unused spec 2018-10-25 12:45:07 -05:00
Eric Schultz
6bbdfc4ebc Make contacts in dedications into usable json 2018-10-25 12:45:07 -05:00
Eric Schultz
e4161531aa Fix bug where ticket check-ins don't work properly. Closes #101 2018-10-24 11:37:04 -05:00
Eric Schultz
9d4925dc78 Can hard sync a mailchimp list 2018-10-24 11:36:02 -05:00
Eric Schultz
9ca314c8e9 Fix bug where p2p campaign editors couldn't add offsite donations 2018-08-30 15:16:06 -05:00
Eric Schultz
82dbe471bd Correct a bug where we get all params in the nonprofit 2018-08-16 14:33:36 -05:00
Eric Schultz
5026af021d Fix for nonprofit being weird 2018-08-16 13:29:29 -05:00
Eric Schultz
893bfd38b3 Fix for query_roles bug 2018-08-15 11:55:47 -05:00
Eric Schultz
26704b1d94 Fix where text/csv exports weren't always uploaded as attachment 2018-08-08 12:23:28 -05:00
Eric Schultz
bf5b10f280 Filtering by event or campaign will include refunds now 2018-07-31 16:43:58 -05:00
Eric Schultz
9c5d2df50b remove commented out code 2018-07-19 13:31:58 -05:00
Eric Schultz
1ad29e7436 If maintenance_token is nil, you can't pass an empty token to get in. 2018-07-19 12:59:43 -05:00
Eric Schultz
3dd63135a8 Add maintenance feature 2018-07-19 12:14:03 -05:00
Eric Schultz
b12337292d correct the broken spec for email names 2018-07-10 15:32:15 -05:00
Eric Schultz
28f5ae838a Correct the Rails.root call 2018-06-07 15:50:09 -05:00
Eric Schultz
42376af35e Add a line break to make sure you don't lose the correct commits 2018-06-07 15:28:38 -05:00
Eric Schultz
ec6f06f387 Support for generated suppoters.csv in the background 2018-06-04 16:14:44 -05:00
Eric Schultz
96c37e0af9 Merges when both sides have a common tag or custom field now work 2018-06-04 15:45:17 -05:00
Eric Schultz
a45991ff15 Correct a bug for where paydate comes as a string 2018-06-04 15:42:02 -05:00
Eric Schultz
d5379311cb Closes #60 2018-06-04 15:26:15 -05:00
Eric Schultz
f8c54e9884 Add the missing licenses 2018-05-31 12:39:16 -05:00
Eric Schultz
12c99e1b69 Add initial terms and conditions support 2018-05-31 11:21:34 -05:00
Eric Schultz
074f5a0e14 Remove unused helper spec 2018-05-29 12:52:29 -05:00
Eric Schultz
9ec544bddc Whitespace cleanup 2018-05-24 16:32:39 -05:00
Eric Schultz
c474cc0b7b Add a Slug P2P campaign naming algorithm 2018-05-24 15:45:05 -05:00
Eric Schultz
2a70846a9d Front now redirects to an appropriate page 2018-05-23 15:42:07 -05:00
Eric Schultz
4c5b997d65 Support for grape and onboarding via react 2018-05-22 13:33:35 -05:00
Eric Schultz
4d3fc77867 Stripe can now be created when org doesn't have email address 2018-04-02 13:42:34 -05:00
Eric Schultz
70b4e7bf76 Fix bug preventing the addition of tickets via Event Attendee Dashboard 2018-03-30 13:30:45 -05:00
Bradley M. Kuhn
fc77ee76d6 Relicense Javascript code in accordance with project's new 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

The Additional Permission is designed to permit publicly distributed
Javascript code to be relicensed under LGPL-3.0-or-later, but not server-side
Javascript code.  As such, we've relicensed here static Javscript files under
LGPL-3.0-or-later, and those that run as part of build and/or server side
under AGPL-3.0-or-later.

Note that in future, Javascript files may be updated to be stronger copyleft
license with the Additional Permission, particularly if they adapted to run
on server side and/or turned into templates.  Of course, we'd seek public
discussion with the contributor community about such changes.

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
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