Commit graph

2341 commits

Author SHA1 Message Date
CactusPuppy
d6da99cc1f
Fix Rubocop complaints 2021-04-09 11:54:11 -07:00
CactusPuppy
cacb265829
Get destroy job working properly and prevent misfires on updated users 2021-04-09 10:55:46 -07:00
CactusPuppy
757d16919d
Fix rubocop error with missing space after comma 2021-04-09 00:45:03 -07:00
CactusPuppy
3d9b6400b9
Fully address AR callback issues 2021-04-09 00:42:14 -07:00
CactusPuppy
29804c8681
Remove name conflict change which caused PaperTrail to fail 2021-04-07 22:48:57 -07:00
CactusPuppy
d780c2a6b3
Make body argument for query_api more clear 2021-04-07 14:50:33 -07:00
CactusPuppy
11785c665e
Actually properly track saved changes within the User model 2021-04-07 14:50:32 -07:00
CactusPuppy
dd2b229761
Rubocop linting issues fixed 2021-04-07 14:50:32 -07:00
Ziyi
2e3cdad0bc
Try fixing query_api 0 argument error 2021-04-07 14:50:32 -07:00
Ziyi
4afb92596d
self.query_api 2021-04-07 14:50:31 -07:00
Ziyi
ea681c030c
DRY query_api in mailbluster_manager 2021-04-07 14:50:31 -07:00
CactusPuppy
dcec2a6e01
Avoid repeating headers 2021-04-07 14:50:31 -07:00
CactusPuppy
b0104cac09
Actually remove redundant code from helpers 2021-04-07 14:50:30 -07:00
Ziyi
8c184d4f30
Edit lead when user changes name 2021-04-07 14:50:30 -07:00
CactusPuppy
d6341ff932
Prepare to add Mailbluster update name 2021-04-07 14:50:30 -07:00
CactusPuppy
66c2728998
Fix Rubocop linting issues 2021-04-07 14:50:29 -07:00
CactusPuppy
a49f5c7f72
Properly fire update_email hook after commit which changes user email 2021-04-07 14:50:29 -07:00
CactusPuppy
f0582c25bf
Move Mailbluster business logic to services/ instead of helpers/ 2021-04-07 14:50:28 -07:00
CactusPuppy
1c1d09fefc
Fix Rubocop linting issues 2021-04-07 14:50:28 -07:00
CactusPuppy
02db4211ae
Properly rename job file 2021-04-07 14:50:28 -07:00
CactusPuppy
b980c88085
Fix typo in Mailbluster delete lead job 2021-04-07 14:50:27 -07:00
Ziyi
43911c4a38
Finished spec, added FIXME for caveat in email change 2021-04-07 14:50:27 -07:00
Ziyi
efdf1f03df
Call mailbluster helpers when registering / cancelling reg to conference 2021-04-07 14:50:27 -07:00
CactusPuppy
b357d13c39
Use better and clearer shorthand for callbacks 2021-04-07 14:50:26 -07:00
CactusPuppy
6b251cb02a
Use Active Jobs to spin Mailbluster requests off into a separate thread 2021-04-07 14:50:25 -07:00
CactusPuppy
31e4924c19
Add Active Job definitions for executing Mailbluster requests 2021-04-07 14:50:25 -07:00
CactusPuppy
2f9b3feabc
Fix Rubocop linting 2021-04-07 14:50:24 -07:00
Ziyi
c2b9275e02
Spec for delete_lead WIP 2021-04-07 14:50:24 -07:00
CactusPuppy
58f130c132
Fix Rubocop linting issues 2021-04-07 14:50:24 -07:00
CactusPuppy
92926effa5
Use HTTParty to make connection logic much simpler 2021-04-07 14:50:23 -07:00
Ziyi
f98f35ec8d
Called create_lead in model, FactoryBot errors 2021-04-07 14:50:22 -07:00
CactusPuppy
09becbc3e0
Prepare to add edit_lead spec 2021-04-07 14:50:22 -07:00
CactusPuppy
59cc57ebf8
Use OSEM_NAME if available 2021-04-07 14:50:21 -07:00
CactusPuppy
803c98b158
Ensure Mailbluster helper methods actually correctly cause changes in the end service 2021-04-07 14:50:21 -07:00
CactusPuppy
0f6881414b
Fix up spec to properly pass under expectations 2021-04-07 14:50:21 -07:00
Ziyi
125c17838c
delete_lead WIP 2021-04-07 14:50:20 -07:00
CactusPuppy
4db96208e8
Refactor Mailbluster API URL into a constant 2021-04-07 14:50:19 -07:00
Ziyi
340865ddbd
Put user.variables in Mailbluster create test 2021-04-07 14:50:18 -07:00
CactusPuppy
bad73c5d8b
Get WebMock matchers to work 2021-04-07 14:50:18 -07:00
Ziyi
209d848079
Test mailbluster request body 2021-04-07 14:50:17 -07:00
Ziyi
cc57973103
Fixed spec @user 2021-04-07 14:50:16 -07:00
Ziyi
5500fc8acf
Init create_lead, fix MailblusterHelper name 2021-04-07 14:50:16 -07:00
CactusPuppy
27baa935c1
Begin writing tests for Mailbluster API calls 2021-04-07 14:50:09 -07:00
Jimmy
c3167a3503 [feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests 2021-03-31 17:35:25 +08:00
Jimmy
7b3d97fdbb [refactor] Change to_json to as_json 2021-03-31 16:08:44 +08:00
Jimmy
010f72d42f [fix] Fix event_schedule#happening_now? 2021-03-31 08:34:04 +08:00
Jimmy
455faed638 [fix] Remove unmerged code 2021-03-31 07:52:55 +08:00
Jimmy
e2f5b5e933 Merge master 2021-03-31 07:49:30 +08:00
Jimmy
0ede07dfaa [fix] Use let in schedules_controller_spec; revert changes in event_schedule#happening_now? 2021-03-31 07:45:26 +08:00
Michael Ball
617a4ad172 Control some lints 2021-03-24 13:54:20 -07:00