Konstantin Haase
9a1988d586
fix template
2012-12-17 19:22:33 +01:00
Konstantin Haase
0ac45a6582
Merge branch 'rkh-token-in-user'
2012-12-17 16:10:16 +01:00
Konstantin Haase
f5fdcc41c6
fix token logic
2012-12-17 15:35:35 +01:00
Konstantin Haase
8c8f031259
have travis token added to user payload on the server
2012-12-17 15:13:38 +01:00
Sven Fuchs
c44445d8e2
use the api serializer to serialize a user record
2012-12-17 01:40:16 +01:00
Konstantin Haase
b005047d95
rename token parameter to github_token for /auth/github
2012-12-12 18:30:55 +01:00
Konstantin Haase
ea183ee620
upgrade sinatra and sinatra-contrib
2012-12-12 18:21:43 +01:00
Konstantin Haase
bc1c960c20
add travis_token scope
2012-12-12 17:11:25 +01:00
Sven Fuchs
8669420f04
need to use https:// protocol for gist gems now
2012-12-12 15:45:32 +01:00
Sven Fuchs
0e58055a0e
Merge branch 'master' of github.com:travis-ci/travis-api
2012-12-12 15:19:41 +01:00
Sven Fuchs
de16fb07f8
test result images based on the content-disposition header, fix content-disposition header
2012-12-12 15:19:27 +01:00
Konstantin Haase
44d6c02591
actually check if github sent a token
2012-12-10 15:49:37 +01:00
Konstantin Haase
3d8c9ed914
use localStorage after handshake
2012-12-10 14:03:31 +01:00
Piotr Sarnacki
88363423f4
Fix whitelist auth check for localhost
2012-12-09 23:46:18 +01:00
Piotr Sarnacki
65775bbc59
Revert "Bump travis-support"
...
This version of travis-support contains commit that disables default
to_json for AR records, in order to make it work, User model in travis
core needs this method implemented.
This reverts commit 4ddec4a351
.
2012-12-09 22:30:26 +01:00
Sven Fuchs
a9bf43c1fd
always use etag for caching when cache_key or updated_at are present, add the deploy_sha as a cache buster
2012-12-09 19:22:33 +01:00
Sven Fuchs
44521014a8
use simple_states branch for now
2012-12-09 16:12:40 +01:00
Sven Fuchs
d113833e9a
fix xml responder and result image specs
2012-12-09 16:02:00 +01:00
Sven Fuchs
a78e9d26cf
remove branch
2012-12-09 15:26:18 +01:00
Sven Fuchs
f19f5f9879
check redis for :use_rack_cache
2012-12-09 15:16:50 +01:00
Sven Fuchs
85e67b6094
bump travis-core
2012-12-09 15:16:50 +01:00
Sven Fuchs
751e88411b
adapt most specs for new states api, some stuff still failing
2012-12-09 15:16:50 +01:00
Sven Fuchs
f29577e225
use branch, bump deps
2012-12-09 15:16:50 +01:00
Sven Fuchs
6d12070fba
use Repository::StatusImage
2012-12-09 15:16:50 +01:00
Piotr Sarnacki
4ddec4a351
Bump travis-support
2012-12-08 00:44:32 +01:00
Konstantin Haase
85b6c08372
Merge pull request #27 from travis-ci/rkh-better-login
...
better login
2012-12-06 08:45:41 -08:00
Konstantin Haase
83e42adc65
that did not work
2012-12-06 16:55:58 +01:00
Konstantin Haase
2250d1ba5c
only send user payload
2012-12-06 16:51:33 +01:00
Konstantin Haase
981a32f877
fix setTimeout
2012-12-06 16:24:37 +01:00
Konstantin Haase
24ea1ca7c0
cheap escape
2012-12-06 16:05:36 +01:00
Konstantin Haase
7b4fe5dab3
no inspect
2012-12-06 15:52:49 +01:00
Konstantin Haase
af1aeb8147
set action and method
2012-12-06 15:40:29 +01:00
Konstantin Haase
afad81f927
Addressable::URI.parse might return nil
2012-12-06 15:34:13 +01:00
Konstantin Haase
ee1f9d899d
set content type
2012-12-06 15:24:46 +01:00
Konstantin Haase
cd9d84783d
fix regex
2012-12-06 15:20:23 +01:00
Konstantin Haase
3b84b83699
post data for targets we know
2012-12-06 15:08:27 +01:00
Konstantin Haase
ac318df762
Merge branch 'master' into rkh-better-login
2012-12-06 14:47:15 +01:00
Mathias Meyer
47287014a1
Use unicorn.rb config, sans prefork for now.
2012-12-05 18:19:23 +01:00
Konstantin Haase
497eebab94
simplify popup check
2012-12-05 15:10:28 +01:00
Konstantin Haase
811aa47098
rewrite post message login
2012-12-05 14:09:56 +01:00
Mathias Meyer
37e04c16ae
Bump travis-sidekiqs.
2012-12-05 11:38:38 +01:00
Mathias Meyer
142fad9b81
Hook up activerecord metrics log subscriber.
2012-12-05 11:11:18 +01:00
Mathias Meyer
ecd236a8ff
Add metriks.
2012-12-05 11:11:18 +01:00
Konstantin Haase
d3ed96f165
trigger redirect
2012-12-04 14:39:50 +01:00
Piotr Sarnacki
440dacece3
Add endpoints for key regeneration
...
Enpoints are:
POST /repos/:id/key
and
POST /repos/:owner/:name/key
Both versions will replace current ssl key for given repo with the new
one.
2012-12-03 02:54:01 +01:00
Konstantin Haase
a62948b047
make /key public again
2012-12-02 20:39:54 +01:00
Konstantin Haase
6f8f02094f
update core
2012-12-02 20:22:17 +01:00
Konstantin Haase
5d515f3b8a
enforce v2 for /key
2012-12-02 20:21:19 +01:00
Konstantin Haase
7d09712248
update core
2012-12-02 20:04:54 +01:00
Konstantin Haase
0d7db43c7a
set scope
2012-12-02 19:47:24 +01:00