travis-web/assets/scripts
Piotr Sarnacki 985e218981 Fix odd behavior on running jobs list and on queued jobs list
In order to not load too many repositories when not needed I was using
construct of repoData on Job and Worker models. repoData was a simple
object with id and slug attributes, which was used to generate url for a
repo. That way I didn't have to instantiate Repo object for generating
urls. The problem is that our API does not return repositorySlug along
with Job record, so the value of repositorySlug was overwritten and in
consequence repoData was becoming empty.

I could change the API, but I feel that the whole repoData concept is
flawed. A bit better solution is to load incomplete repository data into
the store (just an id and a slug) and then instantiate repo record - as
long as it will not need to provide other fields than an id and a slug,
we will not have to do an ajax request.
2013-05-15 17:23:53 +02:00
..
app Fix odd behavior on running jobs list and on queued jobs list 2013-05-15 17:23:53 +02:00
config We can remove locales.js, it will be created on compilation on heroku 2012-12-17 22:17:04 +01:00
data Add Blue Box as the default sponsor of a test run. 2013-05-10 23:19:07 +02:00
lib Don't error out if response is not valid JSON 2013-05-15 17:23:53 +02:00
spec sign out before resetting app 2013-05-15 17:23:51 +02:00
vendor Use uncompressed version of pusher, we compress everything anyway 2013-05-15 17:23:52 +02:00
travis.coffee Keep application class at TravisApplication and move it to separate file 2013-03-20 00:00:05 +01:00