Commit graph

2324 commits

Author SHA1 Message Date
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
Michael Ball
7106e1fc21 more delinting 2021-03-24 03:05:08 -07:00
Michael Ball
2dc6da87e5 Fix indentation on admin show page 2021-03-24 03:02:43 -07:00
Michael Ball
81b963ddc8 Delint some more 2021-03-24 02:50:44 -07:00
Michael Ball
de607fc262 Cleanup conferences show page 2021-03-24 02:37:07 -07:00
Michael Ball
05a04427c2 delint 2021-03-24 02:33:50 -07:00
Michael Ball
e810fd442f Cleanup the submission form, fix reset button 2021-03-23 23:06:34 -07:00
Michael Ball
df0aa087fb Fix remember me checkbox. 2021-03-23 22:53:30 -07:00
Michael Ball
ed20ff3b51 Refactor the new/edit submission forms 2021-03-23 22:43:11 -07:00
Michael Ball
c55eff4eec Improve the new proposal flow 2021-03-23 18:28:34 -07:00
Michael Ball
df5a767494 Improve the look of the conf dashboard 2021-03-23 17:37:04 -07:00
Michael Ball
1806a04b69 Conf Admin: Allow for stats to reflow on small screens 2021-03-23 16:30:13 -07:00
Michael Ball
20a80c2c31 tidy up the conference edit page 2021-03-23 16:26:09 -07:00
Michael Ball
f5e099501c Minor updates to the conf edit page 2021-03-23 13:00:22 -07:00
Michael Ball
6e3e1199ef Restore and cleanup the admin conf todo list 2021-03-23 12:54:07 -07:00
Michael Ball
586c6dff29 Cleanup todo.haml 2021-03-23 02:50:39 -07:00
Michael Ball
1658046a19 Do not show diffculty level in the progress checker 2021-03-23 02:47:18 -07:00
Michael Ball
e542bda8ef tweak emails 2021-03-23 02:21:31 -07:00