madhekare
|
77b6dac6a2
|
pagination happening now
|
2021-04-07 20:56:03 -07:00 |
|
CactusPuppy
|
ce90dc5fc2
|
Add spec for query_api method
|
2021-04-07 14:50:34 -07:00 |
|
CactusPuppy
|
d780c2a6b3
|
Make body argument for query_api more clear
|
2021-04-07 14:50:33 -07:00 |
|
CactusPuppy
|
9361f0bfd5
|
Remove redundant comments
|
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 |
|
Ziyi
|
560a3dbe70
|
CAUTION: deleted user model spec for mailbluster
|
2021-04-07 14:50:26 -07:00 |
|
CactusPuppy
|
b357d13c39
|
Use better and clearer shorthand for callbacks
|
2021-04-07 14:50:26 -07:00 |
|
CactusPuppy
|
e620dadc1c
|
Fix some RSpec issues
|
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
|
d75ba79b3d
|
Fix up RSpec tests
|
2021-04-07 14:50:23 -07:00 |
|
CactusPuppy
|
92926effa5
|
Use HTTParty to make connection logic much simpler
|
2021-04-07 14:50:23 -07:00 |
|
CactusPuppy
|
5ff93061d9
|
Properly stub MailBluster calls in FactoryBot user creation
|
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
|
bbad082c21
|
Match actually used URL in helper
|
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
|
fddd6ecd9f
|
Add spec for deleting leads
|
2021-04-07 14:50:20 -07:00 |
|
CactusPuppy
|
59908e60e4
|
Fix rubocop complaints
|
2021-04-07 14:50:19 -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
|
f686f05710
|
Make return stub value more accurate
|
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 |
|
CactusPuppy
|
d99487b19c
|
Start setting up WebMock to stub responses
|
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 |
|