Commit Graph

1260 Commits

Author SHA1 Message Date
Piotr Sarnacki
dd33378c47 Show repo on repos list even if it's not complete, but has lastBuildId 2013-05-21 14:59:32 +02:00
Mathias Meyer
7831fbc70b Move join links from sidebar into the top menu. 2013-05-20 15:56:13 +02:00
Mathias Meyer
d2d1c2a942 Switch to http for now. 2013-05-17 08:15:44 +02:00
Mathias Meyer
f2dd0181aa Add Bundler patch for retries. 2013-05-17 08:08:59 +02:00
Mathias Meyer
3caf5adfc2 Set an opacity on the GitHub octomark images.
Leaving them black makes them stand out a bit too much, this is
a bit more subtle.
2013-05-17 07:54:27 +02:00
Mathias Meyer
be432528d8 Disable stats menu item for now.
Until a proper stats page is back, that is.
2013-05-17 07:54:27 +02:00
Henrik Hodne
e1877e13e7 Fix typo, commiter -> committer 2013-05-16 22:27:03 +02:00
Henrik Hodne
f05477bb0c Add GitHub mark to GitHub links
This was requested in #95.

Adds a little 10x10px GitHub mark to every GitHub link in the main
frame.
2013-05-16 17:59:07 +02:00
Piotr Sarnacki
d0f7c75795 Remove sidebar elements, which need to query API
This reverts commit b6e89073dc.
2013-05-16 13:55:18 +02:00
Piotr Sarnacki
a4fccf800a Don't use id for flash view
When logging out and then logging back in, there is sometimes an error
when registering flash view, which says that it can't register 2 views
with the same id. We don't need to use id here, so I just changed id to
class
2013-05-16 13:33:07 +02:00
Piotr Sarnacki
d8b96a960d Always send afterSignIn event 2013-05-16 13:16:53 +02:00
Mathias Meyer
c012a36614 Update GitHub icon . 2013-05-16 12:58:13 +02:00
Piotr Sarnacki
90ffeaf085 Allow to override sign in and sign out callbacks on routes 2013-05-16 12:46:58 +02:00
Piotr Sarnacki
eb065a0eee Sort owned repositories 2013-05-16 02:10:10 +02:00
Piotr Sarnacki
b432a39fb4 Don't try to connect outlet if current view is desteoyed 2013-05-16 01:56:05 +02:00
Piotr Sarnacki
563c1f8773 destroyed -> isDestroyed 2013-05-16 01:51:57 +02:00
Piotr Sarnacki
685cf1074f Initialize _outlets if it's null 2013-05-16 01:48:06 +02:00
Piotr Sarnacki
a097271f8a Use Ember version with e7c20b5b9 reverted
It introduced a bug when switching from repo view to the build view
2013-05-16 01:23:59 +02:00
Piotr Sarnacki
ebb5f17058 Fix tests with new Ember version 2013-05-15 18:46:41 +02:00
Piotr Sarnacki
e21bee6494 Make sure that commit data is always fresh by using #with
Commit data in job and build view is sometimes unbound, make sure it's
refreshed when commit does change.
2013-05-15 17:23:54 +02:00
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
Piotr Sarnacki
895b52d7c4 Don't error out if response is not valid JSON 2013-05-15 17:23:53 +02:00
Piotr Sarnacki
1fa040d9a3 Set container on View
After updating Ember it complains that using defaultContainer was
deprecated, in order to silence the deprections I just set the container
so it does not uses defaultContainer
2013-05-15 17:23:53 +02:00
Piotr Sarnacki
5f366a2989 Make Travis.ajax.ajax return a promise 2013-05-15 17:23:53 +02:00
Piotr Sarnacki
dddf66b8cf Don't refresh duration when record is loading 2013-05-15 17:23:52 +02:00
Piotr Sarnacki
d65f733f28 Log router transitions 2013-05-15 17:23:52 +02:00
Piotr Sarnacki
b6e89073dc Revert "Revert "Revert "Remove sidebar elements, which need to query API
This reverts commit 9ca1833103.
2013-05-15 17:23:52 +02:00
Piotr Sarnacki
c8a9e650be Use uncompressed version of pusher, we compress everything anyway 2013-05-15 17:23:52 +02:00
Piotr Sarnacki
49ce1485f9 Update pusher 2013-05-15 17:23:51 +02:00
Piotr Sarnacki
ebeaabe598 Use jQuery.param for generating query string 2013-05-15 17:23:51 +02:00
Piotr Sarnacki
3f30f3eec9 sign out before resetting app 2013-05-15 17:23:51 +02:00
Piotr Sarnacki
99c3ad770c Router changes for new ember.js 2013-05-15 17:23:50 +02:00
Piotr Sarnacki
f374feae32 Update Ember.js 2013-05-15 17:23:50 +02:00
Piotr Sarnacki
47630b5bab Use view.jobIdForLog instead of showDownloadLog
The latter is not always refreshed, I don't have time to debug it more
thoroughly
2013-05-15 17:23:48 +02:00
Piotr Sarnacki
07cd8233d4 Use $.ajax when testing to not break jquery.mockjax 2013-05-15 17:23:48 +02:00
Piotr Sarnacki
070d863588 No need to do hacks with Location header or Content-Type anymore 2013-05-15 17:23:48 +02:00
Piotr Sarnacki
5b771aafcc Use XMLHttpRequest directly
jQuery uses getAllResponseHeaders function for getting response headers,
even for getResponseHeader. As far as I know, there is no easy way to
get original xhr object and call getResponseHeader on such object.
Because of that getResponseHeader is broken on firefox with CORS.

I rewrote Travis.ajax to use XMLHttpRequest directly in order to fix
this, the compatibility with jQuery.ajax is mostly handled.
2013-05-15 17:23:47 +02:00
Henrik Hodne
3c8bfa4690 Fix bold ANSI colours 2013-05-15 17:12:34 +02:00
Henrik Hodne
98ad56f957 Merge pull request #186 from travis-ci/hh-nicer-ansi-colours
Update the ANSI log colours
2013-05-15 08:07:15 -07:00
Henrik Hodne
94eaa079dc Update the ANSI log colours 2013-05-15 16:46:07 +02:00
Josh Kalderimis
da35b52a56 Merge branch 'master' of https://github.com/travis-ci/travis-web 2013-05-13 10:56:03 +02:00
Mathias Meyer
eff0c9be20 Add updated/recompiled banner images.
It seems like the right thing to do.
2013-05-11 09:27:28 +02:00
Mathias Meyer
f7618bef8b There's a capital H in GitHub. 2013-05-11 08:38:23 +02:00
Mathias Meyer
6230224412 Remove Fork me sidebar. 2013-05-10 23:50:25 +02:00
Mathias Meyer
61c0f5179d Add Blue Box as the default sponsor of a test run. 2013-05-10 23:19:07 +02:00
Josh Kalderimis
55a58f275d remove the (i) from the top right of the tabs
the (i) is a miscommunication as it looks like it is to give information about the tabs instead of pop down descriptions underneath each of the repos in the recent and 'my repos' lists.
2013-05-10 19:54:52 +02:00
Piotr Sarnacki
c263319ed5 Merge pull request #184 from travis-ci/mm-repo-name-links-to-travis
Change repository header to link to Travis repo.
2013-05-10 08:27:40 -07:00
Mathias Meyer
d82116d68f Fix GitHub URL test. 2013-05-10 17:09:40 +02:00
Mathias Meyer
d04988138d Fix specs and expectations for URL changes. 2013-05-10 17:05:45 +02:00
Mathias Meyer
9bce26ea3e Change repository header to link to Travis repo.
Linking this to GitHub is cause for confusion, even for myself.
The tiny octocat now points to GitHub instead.
2013-05-10 16:49:15 +02:00