travis-web/app
Piotr Sarnacki d4955c1ed0 Fix hooks toggling
New ember-data serializers send data without a model key in the payload
by default, so instead of what API expects:

    {
      "hook": {
        "id": 1,
        "active": true
      }
    }

it would send:

    { "id": 1, "active": true }

Because of that we need to change how hooks are serialized.

Furthermore, API V2 returns just "result: true" after a successful
request to change a hook, so we need to return something meaningful from
the adapter's updateRecord in order to make ember-data happy.
2015-12-08 10:18:08 +01:00
..
adapters Fix hooks toggling 2015-12-08 10:18:08 +01:00
components Sort repos in repos controller, not in the component 2015-12-08 10:18:08 +01:00
controllers Sort repos in repos controller, not in the component 2015-12-08 10:18:08 +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 Properly notify build to update times 2015-12-08 10:18:07 +01:00
routes Fix job route's use of job.build relationship 2015-12-08 10:18:04 +01:00
serializers Fix hooks toggling 2015-12-08 10:18:08 +01:00
services Download last_build for a branch when we get the branch from pusher 2015-12-08 10:18:08 +01:00
styles fix flash messages width 2015-12-04 16:02:03 +01:00
templates Sort repos in repos controller, not in the component 2015-12-08 10:18:08 +01:00
transforms Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
utils [deprecations] Use peekRecord instead of getById 2015-12-08 10:18:08 +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