Commit graph

1548 commits

Author SHA1 Message Date
Eric Schultz
5495f6574a Rubocop spec/support/expect.rb 2021-02-25 16:24:14 -06:00
Eric Schultz
7ce86e2c88 Remove unused spec files 2021-02-25 16:24:14 -06:00
Eric Schultz
4c8544b5cd Rubocop spec/support/date_time.rb 2021-02-25 16:24:14 -06:00
Eric Schultz
fb4b0455e3 Add frozen string literal requirement 2021-02-25 16:24:14 -06:00
Eric Schultz
1471c4281f Move license header in money.spec.ts to correct spot 2021-02-25 16:24:14 -06:00
Eric Schultz
4193cd87be Remove unneeded eslint exception 2021-02-25 13:12:40 -06:00
Eric Schultz
5b21befe8e Migrate to use Money as the base of all monetary values in the event work 2021-02-24 18:10:10 -06:00
Eric Schultz
33210c1871 Use BigNumber for Money calculations 2021-02-24 17:34:08 -06:00
Eric Schultz
8c47573501 Rubocop controller concerns and specs 2021-02-24 16:18:43 -06:00
Eric Schultz
03a425b329 Set RSpec/ExampleLength to Max:20 2021-02-24 16:18:43 -06:00
Eric Schultz
3a23bce398 Enforce Style/ClassAndModuleChildren in rubocop 2021-02-24 16:18:43 -06:00
Eric Schultz
cdfafcdd1c Rubocop app/controllers/widget_controller.rb 2021-02-24 16:18:43 -06:00
Eric Schultz
ba7dfa5c21 Rubocop spec/controllers/widget_controller_spec.rb 2021-02-24 16:18:43 -06:00
Eric Schultz
fa0acf9791 Turn off Style/PreferredHashMethods 2021-02-24 16:18:43 -06:00
Eric Schultz
7f7825a396 Turn off RSpec/NotToNot 2021-02-24 16:18:43 -06:00
Eric Schultz
16933dde08 Reformat spec/requests/maintenance_spec.rb 2021-02-24 16:18:43 -06:00
Eric Schultz
9d2ee08958 Add additional exceptions to rubocop 2021-02-24 16:18:43 -06:00
Eric Schultz
9c718b09d5 Remove empty spec 2021-02-24 16:18:43 -06:00
Clarissa Lima Borges
c5afb3e0b7 Set GoodJob dashboard up for super_admins
* Set GoodJob dashboard up for super_admins

Co-authored-by: Eric Schultz <eric@commitchange.com>
2021-02-24 11:25:07 -06:00
Eric Schultz
4529cb7333 Convert to good_job as our event backend 2021-02-24 11:25:07 -06:00
Clarissa Borges
f94801a343 Add rubocop code analyser 2021-02-23 18:38:12 -06:00
Eric Schultz
ce9905289b Remove unused Donation.category field 2021-02-23 16:43:19 -06:00
Eric Schultz
41133e968b Remove unused attributes from Supporter 2021-02-23 14:47:20 -06:00
Eric Schultz
0566f7a0b7 Fix some event definitions 2021-02-22 13:19:56 -06:00
Eric Schultz
c0c0a4893b Ignore some files for Jest 2021-02-22 13:19:56 -06:00
Eric Schultz
022ac4e80b Add a spec for making sure super_admin? returns false if the user has no roles 2021-02-19 15:22:22 -06:00
Eric Schultz
9264297a51 Add super_admin? method to User 2021-02-19 11:34:40 -06:00
Eric Schultz
7f9e643915 Add validation for length of object_event_types 2021-02-18 14:53:06 -06:00
Eric Schultz
ff8420541e Change list of events to jsonb 2021-02-18 14:53:06 -06:00
Eric Schultz
501cb23266 Update Rails to 6.1.3 2021-02-18 11:38:16 -06:00
Eric Schultz
6fd2ca346a Remove commented out code 2021-02-17 17:44:29 -06:00
Eric Schultz
0313b27b2e Correct the list of params that get passed to a supporter update controller call 2021-02-17 17:44:29 -06:00
Eric Schultz
a987b8f8f8 Add event listeners for supporter.* 2021-02-17 17:44:29 -06:00
Clarissa Borges
885bcee03a Fixing supporter and supporter note creation 2021-02-16 17:19:13 -06:00
Clarissa Borges
3f8f5559ab Creates ObjectEventListener and WebhookTransmitJob 2021-02-14 15:19:34 -06:00
Eric Schultz
0405e59784 Replace all uses of db:structure:load 2021-02-13 16:48:25 -06:00
Eric Schultz
277b7b9860 Switch to schema.rb 2021-02-13 16:48:25 -06:00
Eric Schultz
4e42bc85ac Drop the trigger function updating supporters.search_vectors 2021-02-13 16:48:25 -06:00
Eric Schultz
7a365c61d8 Remove is_valid_json function from database 2021-02-13 16:48:25 -06:00
Eric Schultz
7bab0ec5c5 Make init_builder do more 2021-02-13 16:14:54 -06:00
Eric Schultz
a538f25ecd WebhookAdapters are autoregistered 2021-02-13 16:03:54 -06:00
Clarissa Borges
095f241ae1 Creates ObjectEventHookConfig 2021-02-13 16:03:54 -06:00
Eric Schultz
fb03b49806 Simplify a builder expansion in SupporterNote 2021-02-13 14:48:50 -06:00
Eric Schultz
8bd3837b54 Correct the visibility of a few routes 2021-02-11 19:10:48 -06:00
Eric Schultz
a38937cadb Fix bug in refunds_controller 2021-02-11 19:10:48 -06:00
Eric Schultz
3eb8b958f0 Remove unused standard gem 2021-02-11 18:53:54 -06:00
Eric Schultz
1dfc0e32f5 Remove unused nearest_time_zone 2021-02-11 18:53:54 -06:00
Eric Schultz
a7b9486425 Update to Rails 6.1.2.1 2021-02-11 18:37:14 -06:00
Eric Schultz
092f9baa7f Removed apparently unused CC specific SVG 2021-02-11 17:15:55 -06:00
Eric Schultz
dad2873314 Move some common elements of TransactionAssignments to a single module 2021-02-11 11:42:54 -06:00