Josh Kalderimis
c7161cec81
also send the travis domain to customer.io
2016-08-12 14:37:05 +02:00
Igor Wiedler
d84d3983b8
update rack-attack to 5.0.0.beta1, use safelist/blocklist terminology
2016-07-05 12:58:58 +02:00
Sven Fuchs
25f74defe5
try fixing updating github oauth scopes
2016-06-21 14:00:04 +02:00
Sven Fuchs
6603990fe4
trigger sync in the auth endpoint, not the user model
2016-06-20 16:59:55 +02:00
Sven Fuchs
da4c7f26e6
fix auth endpoint
2016-06-20 15:04:38 +02:00
Sven Fuchs
84ebb6b24e
move tracking github oauth scopes out of the user model, and into Travis::Github::Oauth
2016-06-19 17:33:03 +02:00
Sven Fuchs
0f1e697abd
delete github/services/sync_user and user_mailer, remove action_mailer
2016-06-19 15:04:39 +02:00
Josh Kalderimis
bbba45990d
a little method splitting action good times
...
and high 5 @carlad
2015-12-04 17:31:06 +01:00
carlad
82f280f5d3
convert timesptamps to i for better integration w customerio
2015-12-04 17:11:18 +01:00
Josh Kalderimis
8132258b2c
tiny updates to how we update the customer io info
...
- alway fetch the primary email and don't save it to the user model as this may not match what is on github
- move some bits into their own methods
- high 5 @carlad for her awesome work
2015-12-04 17:06:22 +01:00
carlad
ff68df9fb5
fix syntax error
2015-12-04 16:13:52 +01:00
carlad
553700d402
add email to user
2015-12-04 16:10:44 +01:00
carlad
94c2edfbe1
remove debug messages and add rescues
2015-12-04 15:23:55 +01:00
carlad
13e6959b21
convert ahsh to string
2015-12-04 14:52:53 +01:00
carlad
d42e337996
convert timestamp to s
2015-12-04 13:14:14 +01:00
carlad
a638aee0ff
bump core, add log output
2015-12-04 13:08:14 +01:00
carlad
a7fa8f6a6f
update first_log_in
2015-12-04 12:53:51 +01:00
carlad
98080beeaf
revert to json true
2015-12-03 16:47:26 +01:00
carlad
16817ff98e
trying json false
2015-12-03 16:35:53 +01:00
carlad
28fde8333a
remove json
2015-12-03 16:30:04 +01:00
carlad
a3e83659f7
tidy up customerio code
2015-12-03 15:57:14 +01:00
carlad
cc14ebac48
fix syntax error
2015-12-03 15:26:58 +01:00
carlad
d587b766f3
create payload hash
2015-12-03 15:25:21 +01:00
carlad
dcc92491f7
remove global variable syntax error
2015-12-03 15:18:14 +01:00
carlad
e1aee4a3b0
add require for customerio
2015-12-03 15:13:26 +01:00
carlad
0ecbd8b237
add customerio gem and event
2015-12-03 15:04:50 +01:00
carlad
a4bce14a73
move method to handshake
2015-12-03 13:02:52 +01:00
carlad
83b6bed184
fix variable name
2015-12-03 12:59:12 +01:00
carlad
f602ce0989
initial work: add check for frist log in
2015-12-03 12:52:34 +01:00
carlad
6acf267a04
try to add a check for first_log_in
...
but according to rkh it's possibly in the wrong place. What if there's no user??
2015-12-02 17:38:28 +01:00
Konstantin Haase
efb91d0a38
move user-agent filter for /auth/github to redis
2015-11-20 13:53:35 +01:00
Konstantin Haase
b138fbcdeb
check user agent
2015-11-19 19:59:22 +01:00
Konstantin Haase
8f5a34c7b6
disable /auth/github
2015-11-19 19:37:51 +01:00
Konstantin Haase
1b3bbca5a5
have auth not freak out on GH error
2015-03-12 17:54:36 +01:00
Sven Fuchs
7643a253fa
notes about failing spec in auth handshake
2014-10-07 16:48:21 +02:00
Sven Fuchs
f383a2e1b3
allow disabling the 3rd party cookies check
2014-10-07 16:47:10 +02:00
Sven Fuchs
f3a2cc2f40
use Travis.config.github.ssl when fetching an oauth access token
2014-10-07 16:46:31 +02:00
Sven Fuchs
8cfbe642a0
to_s target_origin config to be safe
2014-10-07 16:46:30 +02:00
Sven Fuchs
9a4b2b8e99
allow whitelisting target_origin in Travis.config
2014-10-07 16:45:47 +02:00
Piotr Sarnacki
f91c54725e
Add a feature flip for education field update
2014-09-02 10:44:31 +02:00
Piotr Sarnacki
9b07efa5e9
Check for user education status on signin/signup
2014-08-28 17:18:07 +02:00
Thais Camilo and Konstantin Haase
6e12bed1b5
store oauth state in cookie to verify it corresponds to current client
2014-04-08 15:17:23 -04:00
Puneeth Chaganti
fdc4e47bd1
Fix entry point url for /auth/github in docs
2014-02-27 09:45:04 +05:30
Konstantin Haase
a7df899adc
be more forgiving with scopes for /auth/github
2014-02-26 19:28:20 +01:00
Piotr Sarnacki
87674f52bb
Redirect to web client on insufficient oauth scopes
2013-10-29 14:27:21 +01:00
Henrik Hodne
c64a006f1d
Handle race condition with creating users more nicely
2013-10-26 08:33:57 -05:00
Henrik Hodne
8f4dd0d2df
Respond with 422 if /auth/github does not get a token
...
Fix #77
2013-10-23 19:35:03 -05:00
Piotr Sarnacki
207a6e3e04
Explicitly use self when using info in Authorization
2013-07-27 01:42:14 +02:00
Piotr Sarnacki
3508f25bdf
Nullify logins and rename repos owner when updating/creating user
2013-07-10 01:38:10 +02:00
Henrik Hodne
277f0c2f72
Whitelist travis-lite for authentication
2013-06-04 21:57:09 +02:00