Piotr Sarnacki
dd239b86d0
Respond with 404 if job doesn't have a repository
...
We have some jobs which doesn't have any repository in our DB. This is a
quick fix which returns 404 for such a request instead of raising an
error
2014-10-01 20:39:50 +02:00
Piotr Sarnacki
21485d8851
Bump travis-core
2014-10-01 15:22:45 +02:00
Piotr Sarnacki
c2fc97b138
Return tag along with commit
2014-10-01 15:22:35 +02:00
Piotr Sarnacki
4341461bd3
Don't use nginx
2014-09-25 13:09:52 +02:00
Piotr Sarnacki
890b7f1d93
Fix Accept header support for logs request
...
When log is aggregated and archived we don't have a way to return it in
JSON format, only text format. Till recently we were returning a text
response or a redirect to S3 even if Accept header was set only to JSON.
This commit fixes it.
2014-09-11 17:44:36 +02:00
Piotr Sarnacki
3b9c864aff
Fix specs
2014-09-11 14:47:56 +02:00
Piotr Sarnacki
07cd97a90f
Add "after" param to log
...
after query param allows to get only parts that come after a specified
number, for example "after: 10" will download only parts that come after
10th part.
2014-09-11 14:36:19 +02:00
Piotr Sarnacki
65a90fd5d7
Fix specyfing part_numbers in API
...
Recently I've implmented a way to get only specific parts from log API,
but the test and implementation were wrong. This commit fixes that.
2014-09-11 14:35:33 +02:00
Piotr Sarnacki
68a49057ca
Fix specs, namespace for settings endpoints changed
2014-09-10 11:05:35 +02:00
Piotr Sarnacki
6e5f225a1c
Don't reset the value if a new value is provided
...
If a value is provided with a request to update the record, we should
not nullify it. We don't send decrypted private values to the client, so
if client provides it, it's probably pasted by the user.
2014-09-10 11:02:24 +02:00
Piotr Sarnacki
e103b291ad
Reset value when env var is changed from private to public
...
When env var is changed from private to public, we didn't nullify it, so
someone doing that could miss exposing it. To minimise the risk of
exposing any secure info we'll now nullify the value.
2014-09-10 10:46:29 +02:00
Piotr Sarnacki
3e33ab15d5
Put automatically generated settings subclasses to Endpoint namespace
2014-09-10 10:17:33 +02:00
Piotr Sarnacki
b0684fa988
Merge pull request #133 from travis-ci/ps-education
...
Check for user education status on signin/signup
2014-09-02 11:49:52 +02:00
Piotr Sarnacki
eab57dfb8f
Use travis-core from master
2014-09-02 11:47:58 +02:00
Piotr Sarnacki
ea73404eb3
Bump travis-core
2014-09-02 10:44:52 +02:00
Piotr Sarnacki
f91c54725e
Add a feature flip for education field update
2014-09-02 10:44:31 +02:00
Josh Kalderimis
26905859f6
Merge pull request #134 from zoombody/badges
...
Update badges to latest shields.io spec
2014-09-01 10:42:07 +01:00
Dan Rice
023b5fdca0
Update badges to latest shields.io spec
2014-08-29 15:46:16 -04: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
Piotr Sarnacki
8f345f4ea0
Bump travis-core
2014-08-27 14:31:22 +02:00
Piotr Sarnacki
f7ca4d481a
Bump travis-core
2014-08-05 14:37:03 +02:00
Piotr Sarnacki
48230f9036
Disable sudo
2014-07-30 16:48:15 +02:00
Piotr Sarnacki
19563a2ed4
Bump travis-core
2014-07-30 16:45:17 +02:00
Piotr Sarnacki
81abc68621
Return only simple attributes on PATCH to settings
2014-07-30 16:44:37 +02:00
Henrik Hodne
b486dbc18d
Update travis-support to sans-newrelic version
2014-07-29 11:30:11 +02:00
Henrik Hodne
192af7b1b7
Remove Skylight
2014-07-29 11:21:34 +02:00
Piotr Sarnacki
fd6042573a
Return fingerprint along with the public key for repository
2014-07-29 04:39:03 +02:00
Piotr Sarnacki
d7c6edec18
Bring back ssh key endpoint, but make it configurable
2014-07-29 03:02:54 +02:00
Piotr Sarnacki
f57d4eb083
Bump travis-core
2014-07-28 18:18:26 +02:00
Piotr Sarnacki
b9db32e3c2
Treat repository_id as id for singleton settings
2014-07-23 13:34:30 +02:00
Piotr Sarnacki
fd948929a1
SshKey is a part of travis-pro-core
2014-07-21 17:23:32 +02:00
Piotr Sarnacki
4005760c8c
Add SingletonSettingsEndpoint
...
This class allows to easily add an endpoint for a nested model in
settings.
2014-07-21 17:09:32 +02:00
Piotr Sarnacki
38e069567f
Bump travis-core
2014-07-21 16:56:41 +02:00
Piotr Sarnacki
9ae3782975
Don't return collections along with simple settings
2014-07-16 18:20:35 +02:00
Piotr Sarnacki
696185e3cd
Return repository_id for env vars
2014-07-16 18:14:52 +02:00
Piotr Sarnacki
cc291446f5
Return env var's value if it's public
2014-07-16 11:54:31 +02:00
Piotr Sarnacki
2e8fc35e13
Properly validate settings
2014-07-15 16:26:24 +02:00
Piotr Sarnacki
fa56e4cfa0
Update code and specs for newest travis-core changes
2014-07-15 16:25:55 +02:00
Piotr Sarnacki
60c300aeec
Bump travis-core
2014-07-15 16:25:12 +02:00
Piotr Sarnacki
eae18da6ec
Try ruby 2.1.2
2014-07-14 15:06:59 +02:00
Mathias Meyer
c1cefb5fc6
Merge commit 'c2a390e02fbd4b875b229357182dd97f134bf42c'
2014-07-07 15:59:05 +02:00
Konstantin Haase
4c2b9f4e60
Merge branch 'rkh-deploys-new-travis-yaml'
...
Conflicts:
Gemfile.lock
2014-07-07 15:15:01 +02:00
Konstantin Haase
e26accd11b
update travis-yaml
2014-07-07 14:52:58 +02:00
Konstantin Haase
d025a5465f
Merge pull request #127 from travis-ci/ha-activerecord-3_2_19
...
Update dependencies and gemspec
2014-07-03 12:21:09 +02:00
Hiro Asari
8c48782e83
Update dependencies and gemspec
2014-07-03 11:55:30 +02:00
Piotr Sarnacki
447dacbd47
Bump travis-core
2014-07-03 11:11:28 +02:00
Piotr Sarnacki
cbb195eb79
Revert "Revert "Serve CORS from app""
...
This reverts commit 8694cb4b92
.
2014-06-20 12:57:36 +02:00
Josh Kalderimis
8c8399b41f
Merge pull request #125 from brysgo/patch-1
...
Rename encyrpt_all_data.rake to encrypt_all_data.rake
2014-06-20 10:04:35 +12:00
Bryan Goldstein
c7fd559dca
Rename encyrpt_all_data.rake to encrypt_all_data.rake
...
Fix typo in filename
2014-06-19 17:52:03 -04:00