travis-web/app
Piotr Sarnacki 7ae4d6aa7d Fix handling branches
This commit fixes handling of branches when using both V3 and V2. The
changes include:

  * proper definition of relationships that reflect V3 structure, so for
    example build belongs to a branch
  * setting up inverse records for some of the relationships. without
    doing that Ember Data can handle relationships in a surprising way,
    for example if the same record is referenced in 2 places in a
    belongsTo relationship, Ember Data will remove one of the references
    without proper inverse definitions
  * we need to add id when extracting branch as a relationship. Ember
    Data expects all of the relationships to have an id
  * lastly, we need to mimic the structure of the V3 API in V2 payloads,
    so for a build payload I'm now creating a branch record
2015-12-08 10:18:06 +01:00
..
adapters Don't throw error if broadcastArray is undefined 2015-12-08 10:18:03 +01:00
components Sort repos in repos-list component, not in controller 2015-12-08 10:18:02 +01:00
controllers Fix sidebar repos list 2015-12-08 10:18:05 +01:00
helpers Remove some more deprecations 2015-12-08 10:17:32 +01:00
initializers Move ajax and auth into services 2015-12-08 10:18:02 +01:00
instance-initializers Move ajax and auth into services 2015-12-08 10:18:02 +01:00
mixins Enable polling for tests 2015-05-12 10:02:47 +02:00
models Fix handling branches 2015-12-08 10:18:06 +01:00
routes Fix job route's use of job.build relationship 2015-12-08 10:18:04 +01:00
serializers Fix handling branches 2015-12-08 10:18:06 +01:00
services Simplify pusher handling in store 2015-12-08 10:18:05 +01:00
styles fix flash messages width 2015-12-04 16:02:03 +01:00
templates Fix handling branches 2015-12-08 10:18:06 +01:00
transforms Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
utils Move ajax and auth into services 2015-12-08 10:18:02 +01:00
views Remove some more deprecations 2015-12-08 10:17:32 +01:00
app.coffee Remove some more deprecations 2015-09-01 10:24:03 +02:00
index.html add icon for pinned tabs in Safari 2015-10-27 14:46:21 +01:00
router.coffee Move ajax and auth into services 2015-12-08 10:18:02 +01:00