Commit graph

4652 commits

Author SHA1 Message Date
Jimmy
5f776f9275 [refactor]Delete unused javascript; Move about-and-happening-now to partial 2021-04-09 16:41:16 +08:00
Jimmy
185b2773d7 [feat]Add bootstrap style to pagination navbar 2021-04-09 16:33:39 +08: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
Jimmy
bb44f10120 [fix]Fix style; Re-enable checking happening now 2021-04-08 12:52:27 +08:00
madhekare
228ec4a650 items per page 2021-04-07 21:26:31 -07:00
madhekare
c9c31d6db5 pagination 2021-04-07 21:07:24 -07:00
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