Commit graph

2333 commits

Author SHA1 Message Date
Ziyi
c00180019b
Try fixing query_api 0 argument error 2021-04-13 11:44:34 -07:00
Ziyi
83d89fc361
self.query_api 2021-04-13 11:44:33 -07:00
Ziyi
6b108043e1
DRY query_api in mailbluster_manager 2021-04-13 11:44:33 -07:00
CactusPuppy
a553a53b51
Avoid repeating headers 2021-04-13 11:44:33 -07:00
CactusPuppy
7a5777c4f7
Actually remove redundant code from helpers 2021-04-13 11:44:32 -07:00
Ziyi
130a43eb17
Edit lead when user changes name 2021-04-13 11:44:32 -07:00
CactusPuppy
98a40889a8
Prepare to add Mailbluster update name 2021-04-13 11:44:32 -07:00
CactusPuppy
1d89bbd59c
Fix Rubocop linting issues 2021-04-13 11:44:31 -07:00
CactusPuppy
f0296e2150
Properly fire update_email hook after commit which changes user email 2021-04-13 11:44:31 -07:00
CactusPuppy
9f19f5d913
Move Mailbluster business logic to services/ instead of helpers/ 2021-04-13 11:44:31 -07:00
CactusPuppy
b9ff3a2530
Fix Rubocop linting issues 2021-04-13 11:44:30 -07:00
CactusPuppy
e0b62469b2
Properly rename job file 2021-04-13 11:44:30 -07:00
CactusPuppy
a2ad61b19e
Fix typo in Mailbluster delete lead job 2021-04-13 11:44:30 -07:00
Ziyi
f4a324cd79
Finished spec, added FIXME for caveat in email change 2021-04-13 11:44:29 -07:00
Ziyi
7adf6730da
Call mailbluster helpers when registering / cancelling reg to conference 2021-04-13 11:44:29 -07:00
CactusPuppy
a2bd73ed16
Use better and clearer shorthand for callbacks 2021-04-13 11:44:28 -07:00
CactusPuppy
6373abf16a
Use Active Jobs to spin Mailbluster requests off into a separate thread 2021-04-13 11:44:28 -07:00
CactusPuppy
671d010e68
Add Active Job definitions for executing Mailbluster requests 2021-04-13 11:44:27 -07:00
CactusPuppy
9ae19c8db6
Fix Rubocop linting 2021-04-13 11:44:27 -07:00
Ziyi
fbb16fb91b
Spec for delete_lead WIP 2021-04-13 11:44:27 -07:00
CactusPuppy
5b193919dc
Fix Rubocop linting issues 2021-04-13 11:44:26 -07:00
CactusPuppy
e99d9ac054
Use HTTParty to make connection logic much simpler 2021-04-13 11:44:26 -07:00
Ziyi
10e14400e2
Called create_lead in model, FactoryBot errors 2021-04-13 11:44:25 -07:00
CactusPuppy
246a67f695
Prepare to add edit_lead spec 2021-04-13 11:44:25 -07:00
CactusPuppy
0c055a1297
Use OSEM_NAME if available 2021-04-13 11:44:24 -07:00
CactusPuppy
af06589230
Ensure Mailbluster helper methods actually correctly cause changes in the end service 2021-04-13 11:44:23 -07:00
CactusPuppy
c78b151390
Fix up spec to properly pass under expectations 2021-04-13 11:44:23 -07:00
Ziyi
d4f823e7f4
delete_lead WIP 2021-04-13 11:44:23 -07:00
CactusPuppy
633d62d729
Refactor Mailbluster API URL into a constant 2021-04-13 11:44:22 -07:00
Ziyi
1f3832c883
Put user.variables in Mailbluster create test 2021-04-13 11:44:21 -07:00
CactusPuppy
40fa873a9b
Get WebMock matchers to work 2021-04-13 11:44:21 -07:00
Ziyi
e026159e03
Test mailbluster request body 2021-04-13 11:44:20 -07:00
Ziyi
af4ec41f87
Fixed spec @user 2021-04-13 11:44:20 -07:00
Ziyi
7f60f8aace
Init create_lead, fix MailblusterHelper name 2021-04-13 11:44:19 -07:00
CactusPuppy
5739c05a94
Begin writing tests for Mailbluster API calls 2021-04-13 11:44:19 -07:00
Jimmy
a287c0415a
[fix]Fix ruby version and update mimemagic 2021-04-13 11:44:14 -07:00
Jimmy
c6e1082213
temp 2021-04-13 11:43:28 -07:00
Jimmy
d88609b8ae
[feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests 2021-04-13 11:43:28 -07:00
Jimmy
566b057e3c
[refactor] Change to_json to as_json 2021-04-13 11:43:28 -07:00
Jimmy
4199530c77
[fix] Fix event_schedule#happening_now? 2021-04-13 11:43:27 -07:00
Jimmy
5e006ca64e
[fix] Remove unmerged code 2021-04-13 11:43:23 -07:00
Jimmy
16b1a969cb
[fix] Use let in schedules_controller_spec; revert changes in event_schedule#happening_now? 2021-04-13 11:43:11 -07:00
Jimmy
0e460e76ec
[feat] happening_now json endpoint returns event embedded in event_schedule 2021-04-13 11:43:11 -07:00
Jimmy
39d4960b69
[fix] Fix style; Fix start_hour and end_hour in test 2021-04-13 11:43:11 -07:00
Jimmy
85fe894876
[fix] Fix time displayed in happening_now.haml; Make event_schedule#happening_now? more efficient 2021-04-13 11:43:09 -07:00
Jimmy
2628952142
[fix] Fix event_schedule# happening_now?; Add tests for happening_now JSON endpoint 2021-04-13 11:42:17 -07:00
Jimmy
6523eff5ab
[feat] Use existing #happening_now method; respond to both html and json requests 2021-04-13 11:42:17 -07:00
Jimmy
7fe1c597ff
[fix] live_events return json; use the provided happening_now? function 2021-04-13 11:42:15 -07:00
Jimmy
25af736868
[feat] Endpoint implementation done 2021-04-13 11:41:58 -07:00
Jimmy
badc6a3163
[fix] Fix function name 2021-04-13 11:40:29 -07:00