Commit Graph

117 Commits

Author SHA1 Message Date
Renée Hendricksen
c10145cc93 builds occasionally fail when the timestamps are a second off, this should fix that 2016-07-12 17:38:55 -04:00
Igor Wiedler
d84d3983b8 update rack-attack to 5.0.0.beta1, use safelist/blocklist terminology 2016-07-05 12:58:58 +02:00
Igor Wiedler
a210cf8661 support nil ip 2016-07-05 12:46:32 +02:00
Igor Wiedler
7e8b65a311 correct test case for GitHub IP check 2016-07-05 12:39:32 +02:00
Igor Wiedler
e6d7607916 safelist github IP range in Rack::Attack 2016-07-05 12:30:10 +02:00
Igor Wiedler
34fbfc2ccf no longer test against user agent for github rate-limit, since it is not consistently github-camo 2016-07-01 16:27:41 +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
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
a6658fa4d3 get rid of spec_helper_core 2016-06-19 14:35:54 +02:00
Sven Fuchs
81d8c64e98 rename api/v[0-2] to api/serialize/v[0-2] 2016-06-18 17:52:48 +02:00
Tyranja
3b6ab6fb71 Copies spec from core 2016-06-14 15:10:40 +02:00
Igor Wiedler
2a66505aca Set Access-Control-Max-Age header for CORS preflight requests to cache them (refs travis-pro/post-its#169) 2016-05-18 12:26:06 +02:00
Piotr Sarnacki
7eb2617e48 Add branch_is_default info to commits 2015-11-24 16:07:23 +01:00
Konstantin Haase
588465766f legacy: avoid off by one error in spec that suddenly surfaced 2015-10-22 09:25:53 +02:00
Konstantin Haase
d460d48684 adjust test for new payload 2015-07-17 11:30:37 +02:00
Piotr Sarnacki
a1b421a7fa Merge pull request #175 from travis-ci/remove-triggering-builds-in-v2
Remove triggering builds in V2
2015-06-29 14:58:15 +02:00
Piotr Sarnacki
a4c228277b Fix specs 2015-06-18 15:35:22 +02:00
Piotr Sarnacki
43263b5eee Fix specs 2015-06-18 15:34:20 +02:00
Piotr Sarnacki
c001a4d830 Return channels for a user record 2015-06-18 15:28:02 +02:00
Piotr Sarnacki
66f5d71d1a Remove triggering builds in V2 2015-06-15 12:22:42 +02:00
Sven Fuchs
40a9699a9e include event_type to build payloads, accept multiple event types 2015-05-06 17:08:49 +02:00
Sven Fuchs
587a1a0f80 Auto-merged master into sf-throttle-request-receive on deployment. 2015-04-30 11:33:40 +02:00
Piotr Sarnacki
0511223ca5 Fix specs 2015-03-25 16:19:03 +01:00
Piotr Sarnacki
6d74c51e0e Add avatar_url to accounts 2015-03-25 16:11:17 +01:00
Konstantin Haase
1b3bbca5a5 have auth not freak out on GH error 2015-03-12 17:54:36 +01:00
Konstantin Haase
68c6b9239d allow setting Travis-API-Version header via ajax 2015-02-18 14:59:57 +01:00
Sven Fuchs
a395ba865d throttle build request receive api 2015-02-11 17:46:55 +01:00
Piotr Sarnacki
5ca8b29f5a Fix specs 2015-01-12 12:49:23 +01:00
Konstantin Haase
162c615919 Merge branch 'master' into rkh-mustermann
Conflicts:
	Gemfile.lock
2014-12-01 12:43:11 +01:00
Konstantin Haase
c706576aa5 Merge branch 'master' into rkh-track-user-agent
Conflicts:
	Gemfile.lock
2014-10-30 15:01:58 +01:00
Hiro Asari
2daab878a9 Relax SQL query requirements in specs
This corresponds to some extra work done when build matrix
is expanded.

See https://github.com/travis-ci/travis-core/pull/404
2014-10-29 19:30:33 -04:00
Konstantin Haase
950b8ce4d8 reduce metrics generated by UA tracker 2014-10-28 11:11:52 +01:00
Konstantin Haase
14623ed088 Revert "Revert "track and enforce user-agent""
This reverts commit 2227d0042f.
2014-10-28 11:10:25 +01:00
Hiro Asari
2227d0042f Revert "track and enforce user-agent" 2014-10-27 18:51:32 -04:00
Konstantin Haase
07fff5a7be track and enforce user-agent 2014-10-27 19:21:23 +01:00
Sven Fuchs
acefb6a53b pass the repository github_id, too (required in pro) 2014-10-21 19:25:37 +02:00
Sven Fuchs
05494f4acf allow returning a symbol as a result from services, set status based on the symbol 2014-10-21 17:12:13 +02:00
Sven Fuchs
a636e911bd Accept build requests via api 2014-10-21 17:12:07 +02:00
Sven Fuchs
193c749cd1 fix settings env var api specs 2014-10-07 19:14:40 +02:00
Sven Fuchs
e053a786c0 Revert "Return tag along with commit"
This reverts commit c2fc97b138.

The respective change in travis-core was reverted meanwhile:
95d59342e9
2014-10-07 16:58:36 +02:00
Sven Fuchs
7643a253fa notes about failing spec in auth handshake 2014-10-07 16:48:21 +02:00
Sven Fuchs
58ce449ca4 fix specs for rspec 2014-10-07 16:48:21 +02:00
Piotr Sarnacki
c2fc97b138 Return tag along with commit 2014-10-01 15:22:35 +02:00
Piotr Sarnacki
3b9c864aff Fix specs 2014-09-11 14:47:56 +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
Piotr Sarnacki
4546d29508 Add ability to specify parts in query to get log 2014-08-27 15:52:52 +02:00
Konstantin Haase
b448410da5 have :id in repos controller only match digits 2014-08-19 10:45:55 +02:00
Piotr Sarnacki
fd6042573a Return fingerprint along with the public key for repository 2014-07-29 04:39:03 +02:00