Commit graph

1454 commits

Author SHA1 Message Date
Eric Schultz
01e1a67b9e Changed money to use "cents" so it's consistent with ruby-money Money object 2021-02-26 15:07:49 -06:00
Eric Schultz
914b06dc84 Correct a few bugs 2021-02-25 16:24:14 -06:00
Eric Schultz
6865b6e22f Remove legacy script files 2021-02-25 16:24:14 -06:00
Eric Schultz
4ca4203511 Exclude storage from rubocop 2021-02-25 16:24:14 -06:00
Eric Schultz
71af31e424 Remove node_module Excludes from rubocop 2021-02-25 16:24:14 -06:00
Eric Schultz
1048ef6593 Remove outdated cve specs 2021-02-25 16:24:14 -06:00
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