Commit Graph

15 Commits

Author SHA1 Message Date
Piotr Sarnacki
d59e402314 Include repositoryId as an attribute on build
For some reason (probably some problem with one of the serializers) we
sometimes lack an id attribute for a promise that we get for a repo
relationship on build. Because of that doing `build.get('repo.id')` may
sometimes return undefined. A temporary workaround is to make sure that
we always can access the `repository_id` property.
2015-12-08 10:18:03 +01:00
Piotr Sarnacki
d9cff6e8b4 Create adapters and serializers working with v3 and v2 APIs
This commit adds adapters and serializers for v3, but also a fallback
serializer for v2, which allows to handle v2 and v3 payloads at the same
time. This is needed, because when we use v3 endpoint for one of the
models (in this case repo), we can also get embedded records of other
types (like branch or build).
2015-12-08 10:18:02 +01:00
Piotr Sarnacki
5cf1cbba6b Move ajax and auth into services 2015-12-08 10:18:02 +01:00
Lisa P
576409ba1e add elapsed time 2015-12-02 16:13:28 +01:00
Piotr Sarnacki
92eb8436a1 Revert "Revert "add eventType as an attribute, include api builds to the history""
This reverts commit 4d519f145a.
2015-06-11 11:32:25 +02:00
Konstantin Haase
4d519f145a Revert "add eventType as an attribute, include api builds to the history"
This reverts commit 5e1dd9a83b.
2015-05-12 12:35:41 +02:00
Sven Fuchs
5e1dd9a83b add eventType as an attribute, include api builds to the history 2015-05-06 15:30:57 +02:00
Piotr Sarnacki
d9cb754879 Refactor repo actions support
This commit refactors repo-actions support to use components and make
the implementation much simpler. It also fixes a bug with buttons being
displayed when they shouldn't be.
2015-03-13 10:30:19 +01:00
Piotr Sarnacki
cf946d5da5 Merge pull request #335 from travis-ci/anchor-btn-to-log
Move log related buttons to the log area
2015-02-26 09:56:32 +01:00
Piotr Sarnacki
405cdd3dae Received state should also indicate not started build 2015-02-25 16:50:49 +01:00
Piotr Sarnacki
e189bc607b Allow to cancel build if any of the jobs can be cancelled 2015-02-25 11:52:55 +01:00
Piotr Sarnacki
758f26282a Allow to cancel build if any of the jobs can be cancelled 2015-02-23 17:08:46 +01:00
Piotr Sarnacki
485976d003 Don't try to reload record if it's already loading 2015-02-09 19:28:32 +01:00
Piotr Sarnacki
b0bd24a129 Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
Piotr Sarnacki
3a09a0da9a Move assets/scripts/app to root dir 2015-02-03 09:44:34 +01:00