Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wwahammy patch 1 #1630

Closed
wants to merge 1,835 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1835 commits
Select commit Hold shift + click to select a range
23e30c8
Backport for CVE-2022-44566
wwahammy Feb 9, 2023
7c7e5dc
Bump z0al/dependent-issues from 1.5.1 to 1.5.2
dependabot[bot] Feb 13, 2023
ff4858d
Fix for CVE-2023-22792 (#578)
wwahammy Feb 13, 2023
4f74e45
Add faker gem
wwahammy Feb 14, 2023
d89abf8
Use faker for generated `BankAccount` names
wwahammy Feb 14, 2023
78d25f0
Correct the name of a field in the `:bank_account` factory
wwahammy Feb 15, 2023
981ccbd
`Payout` now inherits from `ApplicationRecord`
wwahammy Feb 13, 2023
f97d874
Add specs for `Payout`
wwahammy Feb 13, 2023
269134d
Adds warning to top of `Payout` (#589)
wwahammy Feb 22, 2023
f106e57
Remove unused factory
wwahammy Feb 21, 2023
53581d9
Add class level versions of the Houidable methods
wwahammy Feb 21, 2023
0cd1cb5
Improve docs for Houidable
wwahammy Feb 21, 2023
55cc8db
Add additional docs on Houidable
wwahammy Feb 21, 2023
98f2b02
wording fixed
awadyas Feb 23, 2023
10a595d
Delete newrelic.yml
wwahammy Feb 24, 2023
455ad23
Add a `:confirmed` trait to the `:users` factory
wwahammy Feb 28, 2023
af131c6
Add specs for `Users::Sessionscontroller#create`
wwahammy Feb 28, 2023
c700caa
Merge pull request #592 from CommitChange/wwahammy-patch-1
awadyas Feb 28, 2023
a7d7ace
Merge branch 'supporter_level_goal' into add-sessions-controller
awadyas Feb 28, 2023
cacbde3
Merge pull request #594 from wwahammy/add-sessions-controller
awadyas Feb 28, 2023
c1307b0
Handle session store (#591)
wwahammy Mar 3, 2023
056f9ba
Adds user locking fields to db
wwahammy Mar 7, 2023
01ee997
Merge pull request #596 from CommitChange/add-user-locking-to-db
awadyas Mar 7, 2023
7f0a263
Move to a schema with correct backslashes for regex (#597)
wwahammy Mar 7, 2023
bb3dd72
Add has_many :object_events to Payout
wwahammy Mar 7, 2023
75bc0e3
Correction to payout spec
wwahammy Mar 8, 2023
81e15e3
add email to supporter jbuilder
awadyas Mar 14, 2023
98a3455
Add houid to payouts table
wwahammy Feb 13, 2023
52d92a5
Add houid to `Payout`
wwahammy Feb 13, 2023
d57f29b
Fix payout specs
wwahammy Feb 21, 2023
83b4902
Add `as_money :net_amount` to `Payout` (#581)
wwahammy Feb 22, 2023
1937f8d
Add jbuilder template for `Payout` (#582)
wwahammy Feb 24, 2023
e57bdaa
Add houid to payout in InsertPayout
wwahammy Mar 8, 2023
1078183
Create payout.created ObjectEvent when a payout is created (#599)
awadyas Mar 15, 2023
a4f3b67
Add User lockable (#598)
wwahammy Mar 16, 2023
be4783b
Remove quill
wwahammy Mar 16, 2023
8bc4d06
Ran yarn deduplicate
wwahammy Mar 16, 2023
9b8507a
Merge pull request #611 from CommitChange/remove-quill
awadyas Mar 16, 2023
64e835c
Ran `bin/rails g rspec:model OffsitePayment`
wwahammy Mar 17, 2023
c8c0d15
Add initial tests to OffsitePayment
wwahammy Mar 17, 2023
546a779
Remove unused autobind-decorator
wwahammy Mar 17, 2023
7b31251
Remove unused ff-file-uploader
wwahammy Mar 17, 2023
e77e83d
Remove unused flimflam-docs-scaffold
wwahammy Mar 17, 2023
13f2589
Remove unused snake-case
wwahammy Mar 17, 2023
c30a861
Remove unused shuffle-array
wwahammy Mar 17, 2023
9176c60
Merge pull request #613 from CommitChange/add-offsite-payment-spec
awadyas Mar 21, 2023
d3e75bd
Merge branch 'supporter_level_goal' into remove-unused-autobind-decor…
awadyas Mar 22, 2023
69c4277
Merge branch 'supporter_level_goal' into remove-unused-ff-file-uploader
awadyas Mar 22, 2023
bb92f89
Merge pull request #615 from wwahammy/remove-unused-autobind-decorator
awadyas Mar 22, 2023
e8514e8
Merge branch 'supporter_level_goal' into remove-unused-ff-file-uploader
awadyas Mar 22, 2023
df61414
Merge pull request #616 from wwahammy/remove-unused-ff-file-uploader
awadyas Mar 22, 2023
4902ec5
Merge branch 'supporter_level_goal' into remove-snake-case
awadyas Mar 22, 2023
a7e5b1e
Merge pull request #618 from wwahammy/remove-snake-case
awadyas Mar 22, 2023
15ec525
Merge branch 'supporter_level_goal' into remove-unused-shuffle-array
awadyas Mar 23, 2023
54a8a9c
Merge pull request #619 from wwahammy/remove-unused-shuffle-array
awadyas Mar 23, 2023
dbd5b57
Merge branch 'supporter_level_goal' into remove-unused-flimflam-docs-…
awadyas Mar 23, 2023
dbe7d08
Merge pull request #617 from wwahammy/remove-unused-flimflam-docs-sca…
awadyas Mar 23, 2023
8c8e0a6
Fix for CVE-2023-22799
wwahammy Mar 27, 2023
f06fea1
Merge pull request #621 from wwahammy/fix-for-globalid
awadyas Mar 27, 2023
53ae11a
Add `has_one` offsite payment to offline transaction charges (#612)
awadyas Mar 27, 2023
8a34998
Remove `QueryBillingSubscription#days_left_in_trial`
wwahammy Mar 29, 2023
99b9bb1
Merge pull request #622 from CommitChange/remove-days_left_in_trial
awadyas Mar 30, 2023
14f5ab2
Remove unneeded viewscript function `pathname` which isn't called any…
wwahammy Mar 30, 2023
415109e
Remove unused plugins-available
wwahammy Mar 30, 2023
5e47d6f
Merge pull request #625 from wwahammy/remove-path_name-from-applicati…
awadyas Mar 30, 2023
f06f691
Merge branch 'supporter_level_goal' into remove-plugins-available
awadyas Mar 30, 2023
2a9f77b
Removed `QueryBillingSubscription.currently_in_trial?`
wwahammy Mar 29, 2023
da88641
Remove specs for `BillingSubscriptionsController#create` since it's r…
wwahammy Mar 30, 2023
04d2c9e
Remove unused variable (#626)
wwahammy Mar 30, 2023
5945dcd
Merge branch 'supporter_level_goal' into remove-plugins-available
awadyas Mar 30, 2023
4384a82
Merge pull request #627 from CommitChange/remove-plugins-available
awadyas Mar 30, 2023
b450a6d
Merge branch 'supporter_level_goal' into remove-currently_in_trial
awadyas Mar 30, 2023
471707f
Merge pull request #623 from CommitChange/remove-currently_in_trial
awadyas Mar 30, 2023
082c987
Remove unused variable in client/js/settings/index/branding/view.js
wwahammy Mar 29, 2023
381ee9f
Hardcode `QueryBillingSubscriptions.plan_tier` to return 2 because th…
wwahammy Mar 29, 2023
fa4ed75
Remove `is_at_least_plan` from application_view.js
wwahammy Mar 29, 2023
8130e54
Remove `UpdateBillingSubscription.activate_from_trial`
wwahammy Apr 4, 2023
2a32174
make tabs uniform
awadyas Apr 4, 2023
d4ef4db
Merge branch 'supporter_level_goal' into remove-update_billing_subscr…
awadyas Apr 5, 2023
99094af
Merge pull request #631 from CommitChange/remove-update_billing_subsc…
awadyas Apr 5, 2023
566d38a
Remove unused `InsertBillingSubscriptions.check_trial` (#632)
wwahammy Apr 5, 2023
d8f9195
The displayed-updated class isn't used anywhere in the code so let's …
wwahammy Apr 5, 2023
6ab15ff
Merge pull request #635 from wwahammy/remove-unused-class
awadyas Apr 5, 2023
eb95709
Remove unused variable
wwahammy Apr 5, 2023
14917d9
Merge pull request #636 from wwahammy/remove-unused-variable
awadyas Apr 5, 2023
32bb6a0
Remove a few more unused imports (#638)
wwahammy Apr 5, 2023
89dbcb0
Change tier to can_view_payment_wizard in Javascript (#637)
wwahammy Apr 6, 2023
52c8d64
Add payment info to `offline_transaction_charge.created` (#630)
awadyas Apr 6, 2023
489629e
Removed unused attribute
wwahammy Apr 6, 2023
94d0c52
Remove unused current_plan_tier from application view
wwahammy Apr 6, 2023
405cadc
Remove `current_plan_tier` from `app` JS variable
wwahammy Apr 6, 2023
4f76fa4
Remove `ApplicationController#current_plan_tier`
wwahammy Apr 6, 2023
d6abbf5
Remove unused QueryBillingSubscription
wwahammy Apr 6, 2023
d685b11
Merge pull request #640 from wwahammy/remove-current_plan_tier
awadyas Apr 6, 2023
82014af
Remove tier from BillingPlan table (#641)
wwahammy Apr 6, 2023
a7ff279
Have blame ignore commit where @awadyas made tabs uniform
wwahammy Apr 7, 2023
79a4698
Remove unused ActivitiesController
wwahammy Apr 11, 2023
dd626ed
Verify that `InsertDonation.offsite` creates an `offline_transaction_…
awadyas Apr 18, 2023
a0a1aa7
Add object events to supporter, through nonprofit (#646)
awadyas Apr 19, 2023
4361af5
InsertDonation.create now builds Transactions (#386)
wwahammy Apr 19, 2023
3f0db28
Convert RecaptchaRejection.details into jsonb column
wwahammy Apr 20, 2023
0329d9c
Remove unused sessions table
wwahammy Apr 22, 2023
8879b07
Merge pull request #649 from CommitChange/turn-recaptcha-rejections-i…
awadyas Apr 24, 2023
53db4ec
Merge branch 'supporter_level_goal' into remove-sessions
wwahammy Apr 24, 2023
839d6aa
Drop unused TagJoinsBackup table (#652)
wwahammy Apr 24, 2023
be31815
Merge branch 'supporter_level_goal' into remove-sessions
wwahammy Apr 24, 2023
5038a4f
Remove unused Comment class
wwahammy Apr 24, 2023
afd692f
Merge branch 'supporter_level_goal' into remove-sessions
wwahammy Apr 24, 2023
bf01d9a
Remove unused sessions table
wwahammy Apr 24, 2023
f6920f3
Try to use our private Nokogiri gem (#645)
wwahammy Apr 25, 2023
10efe95
Add TicketPurchase model
wwahammy Apr 24, 2023
836f937
Correct incorrect schema version
wwahammy Apr 25, 2023
953c4c0
InsertSupporter fires and saves supporter.created event
awadyas Apr 27, 2023
65afa3d
Emergency fix for searching supporters by campaign
wwahammy Apr 27, 2023
ddd0427
Fix spec
wwahammy Apr 27, 2023
e2a0474
Speed up uuid_spec by removing rails_helper
wwahammy Apr 25, 2023
49daaeb
Speed up indefinitize_spec by removing rails_helper
wwahammy Apr 25, 2023
acc7539
Speed up url_spec by removing rails_helper
wwahammy Apr 25, 2023
8e30180
Corrects bug where you'd get duplicate supporters listed in CRM when …
wwahammy May 1, 2023
935bc11
Merge pull request #660 from wwahammy/correct-supporter-record-filter
awadyas May 2, 2023
f1379a9
Correct relationship between TicketPurchase and Ticket
wwahammy Apr 27, 2023
8355b13
Correct some tests
wwahammy Apr 27, 2023
4068805
Correct the missing ticket_purchase_id in the tickets
wwahammy May 2, 2023
a20c885
Add `Transaction#ticket_purchases`
wwahammy May 2, 2023
18189be
Merge pull request #661 from CommitChange/add-ticket_purchases-to-tra…
awadyas May 3, 2023
1fc00ac
Create a not_change rspec matcher for compound expectations
wwahammy May 3, 2023
2c98b1b
Merge pull request #663 from CommitChange/add-a-negated-matcher
awadyas May 3, 2023
9911958
Change subtransaction to be optional in Transaction (#662)
wwahammy May 3, 2023
a929200
`MergeSupporters.merge_by_id_groups` creates supporter.created object…
awadyas May 3, 2023
1851d49
Remove unused Gmail integration features (#665)
wwahammy May 4, 2023
47753ac
Add object events for Ticket Purchase (#664)
wwahammy May 4, 2023
8bb4246
Remove cruft
wwahammy May 5, 2023
15be390
Remove unused .jshintrc (#666)
wwahammy May 5, 2023
6fa1a75
Remove unused InsertActivities.create (#670)
wwahammy May 6, 2023
493fcc9
Remove unused var in client/js/supporters/index.js (#668)
wwahammy May 6, 2023
5d017e8
Failed DelayedJobs will not be deleted
wwahammy May 4, 2023
d52cd84
Rate limit resetting password
awadyas May 10, 2023
0793c85
Remove unused ListActivities (#674)
wwahammy May 15, 2023
745679a
Cleanup `Activity` (#675)
wwahammy May 15, 2023
e13261c
In subtransaction_payment jbuilder, get `created` from the paymentabl…
awadyas May 16, 2023
65f2c10
Update rspec-rails to 4 and rspec to 3.12 (#676)
wwahammy May 19, 2023
6b3f0af
Remove unused ruby-prof
wwahammy May 22, 2023
a1b09ac
Add missing license headers
wwahammy May 24, 2023
652bae5
Stop using :test as queue_adapter for tests by default
wwahammy May 24, 2023
22aa2a9
Allows http authentication
wwahammy May 26, 2023
70697e6
Standardize the default amounts in the button builder with the defaul…
wwahammy May 25, 2023
6b1b7bb
Correct name of function
wwahammy May 27, 2023
a63a91f
Add column in payout export for whether fee was covered
wwahammy May 31, 2023
dcc5cf0
Fix typo in Twitter share
wwahammy May 31, 2023
c29c087
Add modern objects and object events to PayRecurringDonations.with_do…
wwahammy May 31, 2023
40cb4a4
Get current user's nonprofit's object events (#678)
awadyas Jun 5, 2023
c348aab
Add CTE support to Qexpr
wwahammy Jun 21, 2023
23f678b
Reformat the output
wwahammy Jun 21, 2023
1f55c6c
Add support for materialized/not materialized CTEs
wwahammy Jun 21, 2023
56ec80a
Improve payments query performance through CTEs
wwahammy Jun 22, 2023
80e5a1f
Remove commented out code
wwahammy Jun 22, 2023
7a0c1e2
Remove some related commented out code
wwahammy Jun 22, 2023
f816431
Remove unused ff-form-validation folder (#690)
wwahammy Jun 23, 2023
e9c87ce
Remove unused format functions (#693)
wwahammy Jun 23, 2023
6c1df75
Add dollarsToCents function
wwahammy Jun 23, 2023
86affd8
Destructure the import for the format lib
wwahammy Jun 22, 2023
586db0b
Fix for other being wonky
wwahammy Jun 22, 2023
cbd4aa4
Update default amounts in Donate Wizard
camckin10 Jun 28, 2023
2e77b5e
One-time Mac Setup Updates in Readme
camckin10 Jun 29, 2023
dd25887
Fix for failed payment queries when filtering by campaign AND adding …
wwahammy Jun 29, 2023
5f7cc26
mac prod env setup
camckin10 Jul 5, 2023
924bf2d
modifications to prod setup from code review
camckin10 Jul 6, 2023
91dedf1
swapping sections in one-time production setup instructions
camckin10 Jul 10, 2023
55d0056
Merge pull request #698 from CommitChange/fix/one-time-prod-setup
wwahammy Jul 10, 2023
6e9f2ff
Add an email method to MailchimpBatchOperation
wwahammy Jul 7, 2023
f84013c
Display the nonprofit's houid in the super admin view
wwahammy Jul 10, 2023
8ed5c9f
Add a spec for mailchimp list jbuilder view (#701)
wwahammy Jul 10, 2023
1316c80
Merge branch 'supporter_level_goal' into add-houid-to-super-admin-das…
wwahammy Jul 11, 2023
bd7d9af
Merge pull request #702 from CommitChange/add-houid-to-super-admin-da…
wwahammy Jul 11, 2023
2e589d0
Creation of DripEmailList model (#703)
camckin10 Jul 11, 2023
10aaf69
Bump semver from 5.6.0 to 5.7.2
dependabot[bot] Jul 11, 2023
f186186
Merge pull request #704 from CommitChange/dependabot/npm_and_yarn/sem…
wwahammy Jul 12, 2023
3100b46
Build when pushed to supporter_level_goal
wwahammy Jul 14, 2023
6709ea1
Merge pull request #708 from CommitChange/start-building-on-supporter…
wwahammy Jul 14, 2023
ead8c35
Set ruby version variable without action
wwahammy Jul 14, 2023
fa63515
Rename a variable
wwahammy Jul 14, 2023
6ea84b7
Set env variable in deploy without using a Github action
wwahammy Jul 14, 2023
773fb76
Add temp_block feature
wwahammy Jul 17, 2023
8ea6760
Merge pull request #714 from CommitChange/temp-block
wwahammy Jul 17, 2023
a936433
Implement temp block
wwahammy Jul 17, 2023
336a305
Use proper temp block error
wwahammy Jul 17, 2023
a369cf7
Fix broken spec
wwahammy Jul 17, 2023
9bf6d41
Merge pull request #715 from CommitChange/implement-temp-block
wwahammy Jul 17, 2023
887b067
Feature/jbuilder view for nonprofit sub (#706)
camckin10 Jul 19, 2023
c1273d4
Add an Houid title before Houids in super admin (#711)
wwahammy Jul 19, 2023
95f41d2
Creation of nonprofit_user_subscribe_body_method (#712)
camckin10 Jul 19, 2023
47f93bf
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
b785690
Merge pull request #716 from CommitChange/dependabot/npm_and_yarn/wor…
wwahammy Jul 20, 2023
0b2a6b9
Add legacy_id to the supporter output from new API (#717)
wwahammy Jul 21, 2023
44bcc19
Extract a function from a javascript file to improve testing (#719)
wwahammy Jul 24, 2023
15061b1
Mailchimp active job--initial commit
camckin10 Jul 25, 2023
0d31d39
editing activejob spec file
camckin10 Jul 25, 2023
d27f336
Add method to Mailchimp for signing up or updating a user for a nonpr…
camckin10 Jul 25, 2023
620a612
continuing to edit spec
camckin10 Jul 25, 2023
dbfec6b
Merge branch 'supporter_level_goal' into feature/mailchimp-active-job
camckin10 Jul 25, 2023
c2f5285
Fix bugs in signup_nonprofit_user
wwahammy Jul 25, 2023
68e5f1e
current state of code
camckin10 Jul 26, 2023
9455c16
merging main branch into feature branch
camckin10 Jul 26, 2023
6ea9a76
renaming activejob files and changing test case
camckin10 Jul 26, 2023
698278c
cleaning up mailchimp.rb and mailchimp_nonprofit_user_add_job_spec.rb
camckin10 Jul 26, 2023
b11fa3e
adding AGPL3.0 line
camckin10 Jul 26, 2023
5a9589a
fixing tabs on mailchimp signup job spec
camckin10 Jul 26, 2023
6a6f6a6
editing tabbing on mailchimp signup spec job
camckin10 Jul 26, 2023
1fd54f2
removing to_s
camckin10 Jul 26, 2023
f7fec92
Merge pull request #720 from CommitChange/feature/mailchimp-active-job
camckin10 Jul 26, 2023
9a51452
Expands supporters by default in object events for payments (#722)
wwahammy Jul 27, 2023
0cad0a5
Add legacy_id to subtransaction_payment (#718)
wwahammy Jul 27, 2023
d9ea0bd
Add EmailList#list_url, #list_members_url, #api_key and #base_uri
wwahammy Aug 2, 2023
674c30c
Add `EmailList#base_uri=` when you want to override the default metho…
wwahammy Aug 3, 2023
750fed3
Add a default base_uri for email_list_base
wwahammy Aug 3, 2023
d7f58e3
Merge pull request #725 from CommitChange/add-info-to-email-list
wwahammy Aug 3, 2023
c742400
Fix and test Mailchimp.signup
wwahammy Aug 3, 2023
3d2da72
Add space between 'Houid:' and the actual Houid in super admin
wwahammy Aug 7, 2023
ab65dbf
Merge pull request #729 from CommitChange/add-space
wwahammy Aug 7, 2023
ef46594
Add favicon to the assets folder so favicon_link_tag works
wwahammy Aug 9, 2023
14c63c7
Merge pull request #730 from CommitChange/update-fav_icon_link
wwahammy Aug 9, 2023
46f8956
creating nonprofit_personnel scope method
camckin10 Aug 10, 2023
8bfe2b7
Merge pull request #731 from CommitChange/fix/adding-nonprofit-person…
wwahammy Aug 11, 2023
bea473a
Add more detail to build step description
wwahammy Aug 3, 2023
45252b4
Merge pull request #727 from CommitChange/wwahammy-patch-1
wwahammy Aug 14, 2023
954f90e
Add legacy_nonprofit to payment
wwahammy Aug 11, 2023
bbd7635
Merge pull request #732 from CommitChange/add-legacy-nonprofit_id-to-…
wwahammy Aug 14, 2023
c8ae30c
Add legacy_nonprofit to supporter Jbuilder
wwahammy Aug 11, 2023
ac71283
Merge pull request #733 from CommitChange/add-legacy-nonprofit_id-to-…
wwahammy Aug 14, 2023
4e3242b
Tighten a redirect
wwahammy Aug 16, 2023
72d219b
Merge pull request #734 from CommitChange/handle-something
wwahammy Aug 16, 2023
80b2e79
Add EventStack from https://github.com/CommitChange/houdini/pull/456
wwahammy Aug 16, 2023
021e2a2
Merge pull request #736 from CommitChange/add-event-stack
wwahammy Aug 16, 2023
d5a2a56
Bump puma from 5.6.4 to 5.6.7
dependabot[bot] Aug 19, 2023
aed05f0
Merge pull request #737 from CommitChange/dependabot/bundler/puma-5.6.7
wwahammy Aug 21, 2023
a466972
Use official Stripe library for Typescript types
wwahammy Aug 22, 2023
925ae70
Disable Stripe Link
wwahammy Aug 22, 2023
4f738e3
Merge pull request #738 from CommitChange/change-elements
wwahammy Aug 22, 2023
02000cd
Merge branch 'supporter_level_goal' into disable-link
wwahammy Aug 22, 2023
38b8b2e
Add timestamps to drip_email_lists table
wwahammy Aug 22, 2023
ff8bd46
Merge pull request #739 from CommitChange/disable-link
wwahammy Aug 22, 2023
1ce7c51
Merge pull request #740 from CommitChange/add-timestamps-to-drip-emai…
wwahammy Aug 22, 2023
ffb58e2
Deploy support for mailchimp nonprofit work (#728)
wwahammy Aug 23, 2023
c4a327a
Reorg activities (#741)
wwahammy Aug 24, 2023
ef2d710
Try using a dependabot group
wwahammy Aug 25, 2023
fc800cd
Merge pull request #742 from CommitChange/dependabot-group
wwahammy Aug 25, 2023
5696060
Fix typo
wwahammy Aug 25, 2023
57c79f0
Add whitespace
wwahammy Aug 25, 2023
186875b
Merge pull request #743 from CommitChange/dependabot-group
wwahammy Aug 25, 2023
f50e4fb
Update dependabot.yml
wwahammy Aug 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compact":false,
"presets":
["babel-preset-env"]
["babel-preset-env"],
"plugins": ["babel-plugin-transform-object-rest-spread"]
}
1 change: 1 addition & 0 deletions .bootstraprc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"extractStyles": true,
"styles": {
"mixins": true,
"glyphicons": true,
"grid": true,
"forms": true,
"input-groups": true,
Expand Down
5 changes: 5 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ie 11
> 0.25%
last 2 chrome version
last 2 firefox version
last 2 safari version
9 changes: 0 additions & 9 deletions .dockerignore

This file was deleted.

2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export DEVISE_SECRET_KEY='-- secret string --' #bundle exec rake secret
export SECRET_TOKEN='-- secret string --' #bundle exec rake secret
export SECRET_KEY_BASE='-- secret string --'

export STRIPE_API_KEY='REPLACE' # use your test private key from your stripe account
export STRIPE_API_PUBLIC='REPLACE' # use your test public key from your stripe account
export S3_BUCKET_NAME='REPLACE'
Expand Down
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export DEVISE_SECRET_KEY='0696452e54b14758b8534437d8cf418ea920ff23bb9c3a061a9ab2827bab4685710e89b899ebd4457df600cb5f2e04adb6a0fdef09a6a45558ecae1d6906f4a6' #bundle exec rake secret
export SECRET_TOKEN='0696452e54b14758b8534437d8cf418ea920ff23bb9c3a061a9ab2827bab4685710e89b899ebd4457df600cb5f2e04adb6a0fdef09a6a45558ecae1d6906f4a6' #bundle exec rake secret
export SECRET_KEY_BASE='0696452e54b14758b8534437d8cf418ea920ff23bb9c3a061a9ab2827bab4685710e89b899ebd4457df600cb5f2e04adb6a0fdef09a6a45558ecae1d6906f4a6' #bundle exec rake secret

export STRIPE_API_KEY='REPLACE' # use your test private key from your stripe account
export STRIPE_API_PUBLIC='REPLACE' # use your test public key from your stripe account
Expand Down
2 changes: 2 additions & 0 deletions .foreman
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
port: 5000
procfile: Procfile.dev
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# make tabs uniform
2a321748229282e853bd979e7b73f16c04a0283a

12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**NOTE: DO NOT discuss internal CommitChange information in your PR; this PR will be public.
Link back to the issue in the Tix repo when you need to do that.**
80 changes: 80 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

name: Main build
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches: ["supporter_level_goal"]
concurrency:
group: build--${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
node: [14.19.1]
ruby: ['2.6.10']
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: changes
with:
filters: |
ruby:
- 'app/**'
- 'bin/**'
- 'config/**'
- 'db/**'
- 'gems/**'
- 'lib/**'
- 'public/**'
- 'script/**'
- 'spec/**'
- '.ruby-version'
- '.rspec'
- 'config.ru'
- 'Gemfile'
- 'Gemfile.lock'
- 'Rakefile'
js:
- '**/*.js*'
- '**/*.es6'
- '**/*.ts*'
- '**/*.json'
- package.json
- yarn.lock
- '.nvmrc'
- '.babelrc'
- '.bootstraprc'
- '.browserlistrc'

- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user
uses: Daniel-Marynicz/[email protected]
with:
postgres_image_tag: 12-alpine
postgres_user: admin
postgres_password: password
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: set CUSTOM_RUBY_VERSION environment variable
run: echo "CUSTOM_RUBY_VERSION=${{ matrix.ruby }}" >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- run: bin/setup
- if: steps.changes.outputs.ruby == 'true'
name: run spec
run: bin/rake spec
- if: steps.changes.outputs.ruby == 'true'
run: script/compile-assets.sh
- if: steps.changes.outputs.js == 'true'
run: yarn build
- if: steps.changes.outputs.js == 'true'
run: yarn jest
53 changes: 53 additions & 0 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# License: LGPL-3.0-or-later
name: Dependent Issues

on:
issues:
types:
- opened
- edited
- reopened
pull_request_target:
types:
- opened
- edited
- reopened
# Makes sure we always add status check for PRs. Useful only if
# this action is required to pass before merging. Can be removed
# otherwise.
- synchronize


jobs:
check:
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: write
discussions: none
packages: none
pull-requests: write
repository-projects: none
security-events: none
statuses: write
steps:
- uses: z0al/[email protected]
env:
# (Required) The token to use to make API calls to GitHub.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# (Optional) The token to use to make API calls to GitHub for remote repos.
GITHUB_READ_TOKEN: ${{ secrets.GITHUB_READ_TOKEN }}
with:
# (Optional) The label to use to mark dependent issues
label: dependent

# (Optional) Enable checking for dependencies in issues.
# Enable by setting the value to "on". Default "off"
check_issues: off

# (Optional) A comma-separated list of keywords. Default
# "depends on, blocked by"
keywords: depends on, blocked by
74 changes: 74 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Deploy
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
mode:
description: Mode to build
required: true
default: 'staging'
type: choice
options:
- staging
version_tag:
description: New Version To Create
required: true
commit_being_built:
description: SHA of the original git version being built
required: true
concurrency:
group: deploy--${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
node: [14.19.1]
ruby: ['2.6.10']
fail-fast: false
steps:
- name: 'Checkout our repo'
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT_TO_RUN_AS_ERIC }}

- name: Setup PostgreSQL with PostgreSQL extensions and unprivileged user
uses: Daniel-Marynicz/[email protected]
with:
postgres_image_tag: 12-alpine
postgres_user: admin
postgres_password: password
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'
- name: set environment variables
run: echo "CUSTOM_RUBY_VERSION=${{ matrix.ruby }}" >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- run: bin/setup
- env:
mode: ${{ github.event.inputs.mode }}
ORG_NAME: commitchange
run: yarn build-all-${mode}
- name: "Push deploy"
env:
mode: ${{ github.event.inputs.mode }}
NewVersionTag: ${{ github.event.inputs.version_tag }}
commit_being_built: ${{github.event.inputs.commit_being_built}}
run: |

git add public -f
git config --global user.email "[email protected]"
git config --global user.name "Robot"
git commit -m "Deployed version of $commit_being_built"

git tag $NewVersionTag-$mode-release-deploy
git push origin $NewVersionTag-$mode-release-deploy

git push origin HEAD:staging_deploy -f
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ javascripts/api
!public/css/donate-button.v2.css
!public/svgs
!public/svgs/*

/database
.byebug_history

/payouts

# yard related directories
/ruby_docs
/.yardoc

# Data files you wouldn't want to push
*.csv
5 changes: 0 additions & 5 deletions .jshintrc

This file was deleted.

2 changes: 2 additions & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
14.19.1

2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.7
2.6.10
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-m markdown -o ./ruby_docs
1 change: 1 addition & 0 deletions CCS_HASH
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee1902e3b97d7dbec341371b24749ba0e17c069a
Loading