Commit Graph

779 Commits

Author SHA1 Message Date
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
Josh Kalderimis
da35b52a56 Merge branch 'master' of https://github.com/travis-ci/travis-web 2013-05-13 10:56:03 +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
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
Nick Schonning
c1f9ed20e3 Remove conditional ga HTTPS loading
Shortcut since site is always secure.
Fixes gh-137
2013-05-08 23:13:18 -04:00
Piotr Sarnacki
e2d92c2ffb POST requests should always require auth 2013-05-02 19:56:48 +02:00
Piotr Sarnacki
595393f273 Don't send Authorization header when it's not needed
CORS specification specifies "simple request", which does not need a
preflight OPTIONS request. The only thing, which we send and is
forbidding to send simple requests is Authorization header, which is not
needed for public endpoints.
2013-05-02 17:59:43 +02:00
Piotr Sarnacki
924b20d12e Update log engine 2013-05-02 01:30:07 +02:00
Piotr Sarnacki
df9db80c42 A few improvements for tabs on repos list
* if user is logged out, the default tab should be 'recent'
* when user logs in, the tab is switched to 'my repositories'
* when user logs out, my repositories is hidden again and tab is
  switched to 'recent'
2013-04-30 02:45:16 +02:00
Piotr Sarnacki
e23d16c135 Sign out user before running tests 2013-04-29 23:00:13 +02:00
Piotr Sarnacki
f3570acf7c Comment failing tests, sidebar is temporarily limited. 2013-04-29 22:58:57 +02:00
Piotr Sarnacki
9ca1833103 Revert "Revert "Remove sidebar elements, which need to query API""
This reverts commit e6b8562054.
2013-04-29 14:53:56 +02:00
Fiona Tay
8152f4f2d6 Add placeholder for search input 2013-04-29 14:53:55 +02:00
Fiona Tay
3b53aca586 Fix minor spelling mistakes 2013-04-29 14:53:55 +02:00
Piotr Sarnacki
d2e103bc36 Revert "Remove sidebar elements, which need to query API"
This reverts commit d0009176f9.
2013-04-29 14:53:55 +02:00
Fiona Tay
5cf2c65d2f make 'My Repos' come before 'Recent' in sidebar 2013-04-17 20:12:33 -07:00
Piotr Sarnacki
d0009176f9 Remove sidebar elements, which need to query API
We have problems with timeouts and thus we want to lower API load
2013-04-16 20:46:56 +02:00
Piotr Sarnacki
dbbd82c825 Move GroupView into proper location 2013-04-15 18:55:22 +02:00
Piotr Sarnacki
1198809979 Move WorkersView and JobsView to Travis.SidebarView namespace
Travis.JobsView already exists, so I need to put those views in some
other namespace, but so that they're available without instantiating
SidebarView
2013-04-08 00:36:21 +02:00
Piotr Sarnacki
31f25ed4f8 Move WorkersView and JobsView to Travis namespace
That way those views can be overriden easily
2013-04-08 00:25:05 +02:00
Piotr Sarnacki
dce72c8b20 Update log.js 2013-04-07 23:58:33 +02:00
Piotr Sarnacki
c7561ee13e Properly display matrix keys when build does not have all keys
When additional items are included into matrix via 'matrix.include' key
in .travis.yml they may contain config keys, which are not available on
build.

For example build can contain only 'rvm' key, but we may add the
following include:

    matrix:
      include:
        - rvm: '2.0.0'
          env: 'FOO=bar'

In such case, we need to take into account also keys from additional
job, not only from the build.

(closes #172)
2013-04-06 01:48:32 +02:00
Piotr Sarnacki
8a69df0126 For some reason passing event breaks on chrome 2013-04-05 19:42:53 +02:00
Piotr Sarnacki
957d8a01ab Merge branch 'sidebar-tabs'
Conflicts:
	assets/scripts/spec/support/conditions.coffee
2013-04-05 19:26:24 +02:00
Piotr Sarnacki
d414c47833 Don't render links if slug is missing 2013-04-05 19:25:30 +02:00
Piotr Sarnacki
39d0202d7a Fix specs, add styling for firefox 2013-04-05 18:09:00 +02:00
Piotr Sarnacki
cf23f81c40 Typo in tools view: hasPermissions -> hasPermission 2013-04-04 17:18:41 +02:00
Piotr Sarnacki
2f6e8082ac Show pull request title also in job view 2013-04-03 13:27:52 +02:00
Piotr Sarnacki
7996358f01 Fix fetching log in firefox when Location header is unavailable 2013-04-02 20:17:24 +02:00
Sven Fuchs
46413b66fb update log.js 2013-04-01 03:08:45 +02:00
Sven Fuchs
b70c344250 update log.js 2013-04-01 02:35:08 +02:00
Sven Fuchs
e498c9bd53 Merge branch 'master' of github.com:travis-ci/travis-web 2013-03-31 23:34:55 +02:00
Sven Fuchs
c2063e0a45 update log.js 2013-03-31 23:34:41 +02:00
Piotr Sarnacki
17923af973 Fix expanding folds on firefox 2013-03-29 23:25:05 +01:00
Piotr Sarnacki
ac675e5918 Fix tests 2013-03-29 22:53:57 +01:00
Piotr Sarnacki
ce6862e6a0 Always poll for changes when user is syncing 2013-03-29 22:15:19 +01:00
Sven Fuchs
63c0c50ec2 Merge branch 'master' into sf-log 2013-03-29 16:04:18 +01:00
Piotr Sarnacki
2537daf0eb Try to fix error on setting duration when record is reloading 2013-03-28 23:42:32 +01:00
Piotr Sarnacki
6e632f7033 Don't set content for a controller automatically in some of the routes
Ember by default sets controller's `model` property which may cause
weird race conditions when connected with a way we handle setting up
controller's content - most of the time we bind things.
2013-03-28 23:28:58 +01:00
Piotr Sarnacki
d5bfa092b0 Don't setup pusher if we don't have key
That way we don't need to even fire anything pusher related when running
tests
2013-03-27 20:06:09 +01:00
Piotr Sarnacki
745b3a0167 Wait more time in ChunkBufferSpec, to make it more reliable 2013-03-27 20:05:38 +01:00
Piotr Sarnacki
c9f08417f7 Keep pullRequestNumber on build not on commit 2013-03-27 14:06:03 +01:00
Piotr Sarnacki
ea3ea61146 Fix ordering on workers lists
Emebr does not allow to use mixin on create, it needs to be passed to
extend().

(closes #151)
2013-03-25 00:41:05 +01:00
Piotr Sarnacki
406dd06952 Merge pull request #162 from jwswj/142-ShowPrTitle
Show Pull Request title when available #142
2013-03-24 13:58:57 -07:00
Piotr Sarnacki
df37cb46f0 Update pusher library to 2.0.0 2013-03-22 13:03:48 +01:00
Piotr Sarnacki
74f4a7b110 Fix the log view for finished logs 2013-03-22 10:13:26 +01:00
Sven Fuchs
300e91133c Merge branch 'master' into sf-log
Conflicts:
	assets/scripts/app/views/log.coffee
2013-03-22 02:14:55 +01:00
Sven Fuchs
894f321a8f some style tweaks to the sidebar tabs /cc @drogus 2013-03-22 02:14:00 +01:00
Piotr Sarnacki
f1adbf8f20 Improve log handling
* don't fetch log content on Travis.Log init
* use timeout in ChunkBuffer instead of Ember.run.later
* remove timeout when log is finalized
2013-03-22 01:25:23 +01:00
Piotr Sarnacki
5d049fd7de Destroy groups in running jobs after they're emptied 2013-03-21 23:46:27 +01:00
Piotr Sarnacki
010754da8a Use container as a context to lookup delegated call 2013-03-20 19:05:36 +01:00
Piotr Sarnacki
f87fe183e4 Keep application class at TravisApplication and move it to separate file
It helps when application class needs to be reopened before creating
application
2013-03-20 00:00:05 +01:00
Piotr Sarnacki
c0d23f5579 Be more specific when catching 'URL not found' error, also add test 2013-03-19 21:39:38 +01:00
Piotr Sarnacki
65254b70da Fix cutting too long logs 2013-03-19 16:07:21 +01:00
Jason Smale
ed69690167 Got pull request data being stored and displayed correctly 2013-03-18 10:36:31 +11:00
Jason Smale
63c461e86b Merge branch 'master' into 142-ShowPrTitle
Conflicts:
	assets/scripts/app/templates/builds/show.hbs
2013-03-18 09:43:29 +11:00
Jason Smale
275b160d7d Reverted back to old Pull Request listing layout 2013-03-18 09:35:45 +11:00
Jason Smale
10209bbc26 Added structure, but pull request data not accessible in view 2013-03-18 09:24:58 +11:00
Sven Fuchs
8f1ef34064 update log.js 2013-03-17 22:40:09 +01:00
Sven Fuchs
7b8e8708c9 update log.js 2013-03-17 20:55:32 +01:00
Sven Fuchs
de7ae849d7 update log.js 2013-03-17 15:59:33 +01:00
Sven Fuchs
dd822cc881 update log.js 2013-03-17 14:38:28 +01:00
Sven Fuchs
a041891d8a update log.js 2013-03-17 02:40:28 +01:00
Sven Fuchs
4dba587673 Merge branch 'master' into sf-log 2013-03-16 06:45:36 +01:00
Sven Fuchs
5bba351b74 update log.js 2013-03-16 06:45:17 +01:00
Piotr Sarnacki
aedddd8afe Display only jobs and workers in tabs 2013-03-15 19:22:24 +01:00
Piotr Sarnacki
b06d7f9628 Tabs on the sidebar, the beginning based on @svenfuchs work 2013-03-15 16:30:28 +01:00
Piotr Sarnacki
de21e7bebc Handle not-found routes #159 2013-03-15 10:43:07 +01:00
Piotr Sarnacki
d590b06d17 Leave currentUser connected to controller, but check for id 2013-03-15 10:28:35 +01:00
Piotr Sarnacki
1b01581fb4 Use regular params instead of event in My Repositories list (closes #157) 2013-03-15 10:22:58 +01:00
Sven Fuchs
80a0186464 Merge branch 'master' into sf-log 2013-03-14 22:46:07 +01:00
Sven Fuchs
4bd9dbe260 update log.js 2013-03-14 22:39:04 +01:00
Piotr Sarnacki
febf40fd76 Fix pull requests view to show PR number 2013-03-14 20:37:57 +01:00
Piotr Sarnacki
80317050ff Fix specs 2013-03-14 19:59:20 +01:00
Piotr Sarnacki
3e3bb97591 Clean lineNumber on transitions 2013-03-14 19:32:56 +01:00
Piotr Sarnacki
3cd47d41b8 Clean lineNumber on transitions 2013-03-14 18:31:06 +01:00
Sven Fuchs
95e58f5f38 remove double PreView definition 2013-03-14 18:05:59 +01:00
Piotr Sarnacki
46643e8315 Run Travis.Repo.find() before using recent repos
Becuase we use filter() now to get just the repos with the last build
into the sidebar, it will not fetch the request automatically.
2013-03-14 18:01:13 +01:00
Sven Fuchs
abdb912ade Merge branch 'master' into sf-log 2013-03-14 17:59:17 +01:00
Piotr Sarnacki
b847dbd664 Reset line numebr on each request 2013-03-14 17:56:50 +01:00
Mathias Meyer
6320e009af Add BusyConf as sponsor. 2013-03-14 17:36:55 +01:00
Sven Fuchs
ff6e126e45 fix lineNumberClicked 2013-03-14 17:35:39 +01:00
Sven Fuchs
83943232db change fetchLineNumber to use the actual document location, controller url does not seem to be updated 2013-03-14 17:35:12 +01:00
Sven Fuchs
c011cfafcd fix line numbering 2013-03-14 17:18:34 +01:00
Sven Fuchs
e1a667407f fix after rebase 2013-03-14 16:29:22 +01:00
Piotr Sarnacki
bca00d78f6 We don't even need to check repo.slug, repoSlug, should be always available 2013-03-14 16:00:41 +01:00
Piotr Sarnacki
a726f5a730 Typo 2013-03-14 15:58:03 +01:00
Piotr Sarnacki
181ecd227a Don't access repo object when it's not needed to not send ajax requests 2013-03-14 15:55:18 +01:00
Sven Fuchs
881c659db4 update log.js 2013-03-14 15:48:42 +01:00
Sven Fuchs
e5fd18e8d9 do not display the collapse/expand icon for non-active (empty) folds 2013-03-14 15:48:42 +01:00
Sven Fuchs
eacf83047a update log.js 2013-03-14 15:48:42 +01:00
Sven Fuchs
2331e8e006 re-add limit and scroll, fix positioning of messages 2013-03-14 15:48:42 +01:00
Sven Fuchs
c0a4fed836 use travis-web-log/sf-dom 2013-03-14 15:47:59 +01:00
Piotr Sarnacki
296bff56f1 Fix specs 2013-03-14 15:43:19 +01:00
Piotr Sarnacki
0fe82d050a Update ember.js 2013-03-14 15:43:12 +01:00
Piotr Sarnacki
2013492371 Remove debug console.logs 2013-03-14 15:12:07 +01:00
Piotr Sarnacki
bdb552100a Always use currentItem to get log context 2013-03-14 15:10:56 +01:00
Piotr Sarnacki
3d3c0fc3b2 Jekyll is not the same as github flavoured markdown 2013-03-14 15:01:45 +01:00
Piotr Sarnacki
79f1dc448f Revert "move log subscrition to a log controller"
This was causing the log to not refresh sometimes when switching from
one repo to another, I'm reverting for now, we will have to have another
look.

This reverts commit 2e8b74160c.

Conflicts:
	assets/scripts/app/controllers/build.coffee
	assets/scripts/app/models/build.coffee
	assets/scripts/app/templates/builds/show.hbs
	assets/scripts/app/views/log.coffee
	assets/scripts/vendor/log.js
2013-03-14 10:07:35 +01:00
Piotr Sarnacki
2eab278736 Add ChunkBuffer to log 2013-03-13 00:13:51 +01:00
Piotr Sarnacki
ab97ca0e78 Update Ember 2013-03-13 00:05:34 +01:00
Piotr Sarnacki
b1edd8e510 Bring back log engine from master 2013-03-12 22:52:39 +01:00
Piotr Sarnacki
03dbe11c55 Merge branch 'master' into ps-ember-update 2013-03-12 14:03:03 +01:00
Piotr Sarnacki
25d09c453a Merge pull request #131 from fionatay/master
Correct spelling in translation key
2013-03-12 05:54:56 -07:00
Piotr Sarnacki
e02ece9424 Merge branch 'master' into ps-ember-update
Conflicts:
	assets/scripts/app/models/artifact.coffee
	assets/scripts/app/store.coffee
	assets/scripts/app/views/job.coffee
	assets/scripts/spec/spec_helper.coffee
2013-03-12 13:47:20 +01:00
Piotr Sarnacki
63559f4c4c Show appropriate message when the repository has no builds 2013-03-11 20:11:43 +01:00
Piotr Sarnacki
8fab8448c2 Show appropriate message if repository was not found 2013-03-11 19:47:59 +01:00
Piotr Sarnacki
a529231f1f No need to use vnd extensions if version is already given 2013-03-11 18:15:58 +01:00
Piotr Sarnacki
f46e6f96a0 More debug output 2013-03-09 22:01:06 +01:00
Piotr Sarnacki
ade203df7a Add some debug info 2013-03-09 22:01:06 +01:00
Piotr Sarnacki
05926e0010 Fix fetching worker name 2013-03-09 22:01:06 +01:00
Piotr Sarnacki
b289d3966b Finish ChunkBuffer implementation and integrate it with Artifact 2013-03-09 22:01:06 +01:00
Piotr Sarnacki
b4022f5f67 A few improvements for ChunkBuffer
* insert available items at once
* allow to use pushObject on buffer itself
* add a test using arrayObserver to make sure that it fires only when
  elements are added to arrangedContent
2013-03-09 22:01:05 +01:00
Piotr Sarnacki
d549831c22 Add chunk buffer 2013-03-09 22:01:05 +01:00
Piotr Sarnacki
554c8621e3 Merge branch 'master' into ps-ember-update
Conflicts:
	Gemfile
	assets/scripts/travis.coffee
2013-03-09 12:48:35 +01:00
Josh Kalderimis
df02b714ec update the Gemfile to use the secure rubygems, and remove the common queue from the sidebar 2013-03-10 00:07:20 +13:00
Sven Fuchs
df87a361e9 update log.js 2013-03-09 03:58:50 +01:00
Sven Fuchs
93edf5b63c remove limit for now and update log.js 2013-03-09 00:51:20 +01:00
Sven Fuchs
ffe6f2d62c actually limit before setting the part 2013-03-08 17:51:32 +01:00
Sven Fuchs
e5eae55456 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-03-08 17:33:12 +01:00
Sven Fuchs
d44e3b0098 move limit to web-log 2013-03-08 17:33:03 +01:00
Piotr Sarnacki
1408276609 Changes for ember-data revision 12
Sideload changed a way of loading records associated with the main
record. Now, to make it simple, sideloaded records must be always in
plural form.
2013-03-08 17:04:44 +01:00
Piotr Sarnacki
44f2133488 Update handlebars 2013-03-08 16:58:02 +01:00
Piotr Sarnacki
01cdbc1d89 Update ember and ember-data 2013-03-08 16:53:59 +01:00
Mathias Meyer
46a107e9ff Use locale. 2013-03-08 13:06:20 +01:00
Mathias Meyer
74b3136214 Add link to status page. 2013-03-08 10:00:01 +01:00
Piotr Sarnacki
017b69d10a Update ember.js with fixed to LinkView href refreshing 2013-03-07 19:10:55 +01:00
Piotr Sarnacki
862e1864f5 Show pull requests values only on pull requests tab 2013-03-07 18:19:39 +01:00
Piotr Sarnacki
44bef520a0 Properly bind worker.state class 2013-03-07 18:13:29 +01:00
Sven Fuchs
ffd1b6d917 try to unsubscribe from the log when the log view is destroyed, too 2013-03-07 16:43:00 +01:00
Sven Fuchs
8ceff1fb7e update log.js 2013-03-07 16:36:38 +01:00
Piotr Sarnacki
4a69446628 Make sure build.id and repo.slug are available for a link to build 2013-03-07 16:18:29 +01:00
Piotr Sarnacki
6c10592864 Increase wait in job_spec 2013-03-07 02:04:51 +01:00
Piotr Sarnacki
25079b8d79 Move hacks for phantomjs to spec.html
This ain't pretty, but I just want to see if it helps to fix specs on
phantomjs, I may move them to separate file and take into account in
Assetfile later.
2013-03-07 01:59:15 +01:00
Sven Fuchs
2e8b74160c move log subscrition to a log controller 2013-03-06 19:59:59 +01:00
Sven Fuchs
4c699f18c3 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-03-06 16:37:12 +01:00
Sven Fuchs
fbe52ac854 update log.js 2013-03-06 16:37:01 +01:00
Piotr Sarnacki
1e6672eb9f Fix toggle button on hooks list in profile 2013-03-06 15:18:57 +01:00
Piotr Sarnacki
71f4885472 turn on ENV.RAISE_ON_DEPRECATION 2013-03-06 14:59:34 +01:00
Piotr Sarnacki
7c1a64ccb6 Move nowFunction in timeago to proper place 2013-03-06 14:51:50 +01:00
Piotr Sarnacki
b57596c447 Data can be null in ajax request 2013-03-06 14:51:05 +01:00
Piotr Sarnacki
8d9b36c0a6 Remove Date hack, which was used for timeago 2013-03-06 14:43:13 +01:00
Sven Fuchs
754e6af17c update log.js 2013-03-06 01:28:36 +01:00
Sven Fuchs
10591033b3 update log.js 2013-03-05 17:29:33 +01:00
Sven Fuchs
f00ad52ad8 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-03-05 17:14:26 +01:00
Sven Fuchs
8a2ba379aa unsubscribe from log channels 2013-03-05 17:14:00 +01:00
Piotr Sarnacki
9ee359664c Fix sync button 2013-03-05 03:37:47 +01:00
Sven Fuchs
6f0678c137 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-03-04 15:30:55 +01:00
Sven Fuchs
76b52a9c23 update log.js 2013-03-04 15:30:43 +01:00
Piotr Sarnacki
4337949dd4 Fix the rest of the specs 2013-03-04 13:29:00 +01:00
Piotr Sarnacki
712389efdb Fix more specs 2013-03-04 03:46:04 +01:00
Piotr Sarnacki
f0df89e05b use ember from drogus/ember.js:refresh-href 2013-03-04 03:46:04 +01:00
Sven Fuchs
5d885289de update log.js, use Log.Dom engine 2013-03-04 02:32:04 +01:00
Jason Smale
90a1d10d26 Show the title of the PR, rather than message in the PR tab 2013-03-04 11:00:44 +11:00
Sven Fuchs
3534cc6097 update log.js 2013-03-01 15:14:48 +01:00
Sven Fuchs
b1b16f9039 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-02-28 21:38:08 +01:00
Sven Fuchs
b20b312844 update log.js 2013-02-28 21:37:28 +01:00
Sven Fuchs
7342618ffd improve logging 2013-02-28 21:36:56 +01:00
Piotr Sarnacki
d2d341ac9a Revert "Remove run() method override, it breaks app loading"
It works correctly, it was probably some error in assets compilation.

This reverts commit 9ed6051041.
2013-02-28 16:02:29 +01:00
Piotr Sarnacki
c6d1f4fa59 Fix a few more integration tests 2013-02-28 15:56:55 +01:00
Piotr Sarnacki
9ed6051041 Remove run() method override, it breaks app loading 2013-02-28 15:56:51 +01:00
Piotr Sarnacki
02ff533774 Fix integration tests running and 2 first tests 2013-02-28 15:54:48 +01:00
Piotr Sarnacki
0f89da6dea Fix selected class on repos list 2013-02-28 15:54:47 +01:00
Sven Fuchs
09c3a51715 update log.js 2013-02-28 02:30:40 +01:00
Sven Fuchs
f1a767a09f update log.js and adapt styles for fold name tags 2013-02-27 22:39:10 +01:00
Sven Fuchs
079998093b re-add the limit 2013-02-27 17:09:02 +01:00
Sven Fuchs
66feae8525 update log.js 2013-02-27 03:33:01 +01:00
Sven Fuchs
1fd16ef555 rename bootstrapTravis to Travis.run 2013-02-27 00:29:42 +01:00
Sven Fuchs
120416bd55 meh, needs to be function 2013-02-27 00:11:32 +01:00
Sven Fuchs
ea8946d2eb rename bootstrapTravis to Travis.run 2013-02-26 23:59:03 +01:00
Sven Fuchs
c4bb49cc17 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-02-26 23:19:55 +01:00
Sven Fuchs
75c60aa3d6 alias Travis.run to Travis.advanceReadiness 2013-02-26 23:18:56 +01:00
Piotr Sarnacki
6dbcd95c8b Merge branch 'master' into ps-ember-update
Conflicts:
	assets/scripts/travis.coffee
	public/index.html
2013-02-26 12:43:43 +01:00
Piotr Sarnacki
4e29faaa03 Start Travis with bootstrapTravis function 2013-02-26 12:21:17 +01:00
Piotr Sarnacki
2256ddeb46 Get rid of updateAssociations method
It seems that with current version of ember-data it's not longer needed
- associations are updated automatically now.
2013-02-26 12:04:37 +01:00
Piotr Sarnacki
12da46a623 Fix showAll button 2013-02-26 11:21:34 +01:00
Piotr Sarnacki
a47147ed82 Fix build lists to not interfere with each other 2013-02-26 11:17:42 +01:00
Piotr Sarnacki
1f3f0559bc Fix build and job configs 2013-02-26 08:57:03 +01:00
Piotr Sarnacki
211b2723f9 Fix authentication 2013-02-26 07:05:40 +01:00
Piotr Sarnacki
ba1eecec45 Remove github stats 2013-02-26 05:26:51 +01:00
Piotr Sarnacki
d76463c3f2 Fix a few more UI issues 2013-02-26 05:24:56 +01:00
Piotr Sarnacki
65eb4e15fb Don't try to delete flash if there is no data from server 2013-02-26 05:05:36 +01:00
Piotr Sarnacki
9bac8ecba1 Fix status icon on build's view 2013-02-26 05:02:56 +01:00
Piotr Sarnacki
46f7e6bba0 Fix remaining ember-data and pusher updates issues
When records are updated by pusher events, we should not mark them as
dirty - we don't modify them on client side anyway.
2013-02-26 04:37:23 +01:00
Piotr Sarnacki
e96abff0e6 Hack for one to many relationship changes 2013-02-26 04:36:47 +01:00
Piotr Sarnacki
1bccb5d177 Fix line numbers when loading an url 2013-02-25 15:18:59 +01:00
Sven Fuchs
dbac2f8458 debug output 2013-02-25 13:07:07 +01:00
Randy Morgan
050bdfddb8 Added de locale to profile
This is dependent on https://github.com/travis-ci/travis-core/pull/190
2013-02-25 21:02:02 +09:00
Piotr Sarnacki
3e031981bc Remove console.log 2013-02-23 00:21:52 +01:00
Piotr Sarnacki
f0ea65b114 Keep the hash in the location so we can scroll to line in logs 2013-02-23 00:21:01 +01:00
Sven Fuchs
729d22c9a4 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-02-22 23:44:58 +01:00
Sven Fuchs
f4832bd5f4 remove stale stuff from log/pre views 2013-02-22 23:38:33 +01:00
Piotr Sarnacki
b5bda962f9 Remove old router 2013-02-22 23:15:43 +01:00
Sven Fuchs
0b5715fe43 port log pre template 2013-02-22 17:09:14 +01:00
Piotr Sarnacki
553495c56c Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00
Piotr Sarnacki
78dc69b61e Add log.js to vendor 2013-02-22 16:54:17 +01:00
Piotr Sarnacki
83fb0ebb2c Fix incomplete implementation 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
0a09c96eb1 Use ember-data from drogus fork, easier-overrides branch 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
395c818a64 Fix permission check for cog menu 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
cfbec29978 Fix some of the places still using Travis.app 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
bd7d2ede3a Refactor proxy creation in router 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
db2f01aa23 Fix sponsors 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
4f21b097a8 Fix profile views 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
f121a008c6 Add TODO for user's @poll() 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
a3622e14c9 Allow to sign in and sign out 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
50a69cccad Don't do request to get repos every time home page is reloaded 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
9bf2cb1078 Add stats view and fix connectLayout 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
0b001acfaf Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
9b26ae4312 Fix workers view 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
9ed3598f95 Implement branches 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
cadc8c0e72 Fix running jobs 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
42ed7cf4de Make sure that repo has a slug when creating a link to repo
Raw repo data is sometimes passed to linkTo helpers and in such case
Repo instance is created by id and it does not include slug. This commit
will be reverted after fixing "incomplete" implementation, which will
allow to preload Repo with both id and slug before searching for it.
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
86670def14 Fix queues lists 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
4cdd4df515 Tabs and basic views are mostly working 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
075e714fc3 Fix job view 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
a3f8e0ff7d Add missing mappings to adapter 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
99b9c72e2e Fix attributes and relatiobships in build 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
8ccd95e0b0 Fix build view and links on left sidebar 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
f0e95ddd3f Main view mostly works on new router 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
360b1d1a73 Update ember, ember-data and jquery 2013-02-21 23:22:50 +01:00
Piotr Sarnacki
3943b6d8f8 Update pusher to 1.12.6 2013-02-20 05:02:25 +01:00
Piotr Sarnacki
829e1a4001 Fix routes code if google analytics is not loaded 2013-02-18 23:46:42 +01:00
Josh Kalderimis
f3d47ff24f remove the ppp queue from the interface 2013-02-16 01:01:56 -08:00
Piotr Sarnacki
5255cfe744 Remove console log statements 2013-02-13 14:45:36 +01:00
Piotr Sarnacki
4590492547 Fix one more problem with folds 2013-02-13 14:42:23 +01:00
Piotr Sarnacki
fd08feb992 Add 'Your build has been stopped' to texts which expand folds 2013-02-13 14:32:58 +01:00
Piotr Sarnacki
76520cfcdb Add count for running jobs 2013-02-13 11:52:00 +01:00
Piotr Sarnacki
3862dd163d Limit log to 5000 lines 2013-02-13 04:03:02 +01:00
Piotr Sarnacki
c1674e9d76 Fix fold expansion when script exits before fold finishes 2013-02-13 03:30:41 +01:00
Josh Kalderimis
c72837f70e Running jobs => Running Jobs 2013-02-11 19:15:44 -08:00