Commit Graph

29 Commits

Author SHA1 Message Date
Konstantin Haase
de9348a14e Revert "Revert "instrument responders""
This reverts commit 01ec5e152a.
2015-01-14 19:41:37 +01:00
Konstantin Haase
01ec5e152a Revert "instrument responders"
This reverts commit a8b1ccfc4a.
2015-01-14 18:07:40 +01:00
Konstantin Haase
a8b1ccfc4a instrument responders 2015-01-14 17:07:38 +01:00
Mathias Meyer
223cf949a1 Fix another variable. 2014-06-18 11:55:27 +02:00
Mathias Meyer
d9bf47c36a Fix variable name. 2014-06-18 11:55:27 +02:00
Mathias Meyer
415d266f61 Fix typo. 2014-06-18 11:55:27 +02:00
Mathias Meyer
e726b1b697 Fix ERb line. 2014-06-18 11:55:27 +02:00
Mathias Meyer
a7f0a861cb Fetch last build if no branch specified.
This restores backwards compatibility with the current behaviour
rather than defaulting to master. Though the latter would probably
the right thing to do in the longer term.
2014-06-18 11:55:26 +02:00
Mathias Meyer
5081bb157f Skip including a build if it doesn't exist.
This catches branch specifications where no build is available.
2014-06-18 11:55:26 +02:00
Mathias Meyer
b81b24b3ce Make master a string. 2014-06-18 11:55:26 +02:00
Mathias Meyer
3f16100247 Support the branch option for cc.xml requests.
Fixes travis-ci/travis-ci#2090
2014-06-18 11:55:26 +02:00
Hiro Asari
ea05ef6845 Fix closing tag 2013-12-01 22:22:00 -05:00
Hiro Asari
1eb8ce5a1d Add missing closing </Project> tag 2013-12-01 22:01:12 -05:00
Hiro Asari
ac106488c7 Eschew questionable use of File.join
For constructing a URL, `File.join` is inappropriate.
2013-12-01 20:44:39 -05:00
Hiro Asari
1727b5328e Indent comment to match logic level 2013-11-19 01:21:14 -05:00
Hiro Asari
67decdfc6a Cast ActiveRecord::Relation into an Array 2013-11-19 01:19:21 -05:00
Hiro Asari
0fe9e6da90 Remove superfluous ivar 2013-11-18 18:21:32 -05:00
Hiro Asari
362b5d30bf Respond to /repos.xml with CC XML
See #47
2013-11-18 16:55:11 -05:00
Henrik Hodne
44f274d306 Only allow XML response if repo has a build 2013-10-26 08:14:40 -05:00
Piotr Sarnacki
1340fdb316 Allow to pass additional responders to respond_with 2013-05-08 14:11:02 +02:00
Piotr Sarnacki
887c835bd4 Use client_domain instead of domain for url in CC.xml 2013-03-25 16:53:20 +01:00
Piotr Sarnacki
15dd13ba02 Merge branch 'pr/46' 2013-03-25 16:40:08 +01:00
Piotr Sarnacki
f3ceee9b28 Always set content_type in responder 2013-03-25 16:39:37 +01:00
Andre Arko
2935050395 https is better 2013-03-25 16:16:42 +01:00
Andre Arko
c57e9cbcc6 valid URLs in cc.xml Project webUrl 2013-03-25 16:09:37 +01:00
Piotr Sarnacki
705927ff74 Don't error out if xml is requested with something else than repo 2013-03-12 12:08:43 +01:00
Piotr Sarnacki
212eb6d9d3 Allow passing more than one mime type in Accept 2013-02-25 17:27:56 +01:00
Sven Fuchs
d113833e9a fix xml responder and result image specs 2012-12-09 16:02:00 +01:00
Sven Fuchs
a7d72beefc move responders out of helpers 2012-10-09 20:51:09 +02:00