Commit Graph

332 Commits

Author SHA1 Message Date
Piotr Sarnacki
f47b893cb8 Rename Travis.Route to Travis.BasicRoute and Travis.View to Travis.BasicView 2015-02-02 11:48:22 +01:00
Piotr Sarnacki
165d072d79 Use ENV.config instead of Travis.config 2015-01-30 17:15:13 +01:00
Piotr Sarnacki
031cc0124d Event model and view are not used anymore, remove them 2015-01-30 15:46:27 +01:00
Piotr Sarnacki
949431b7df Move remaining files from lib/travis to utils 2015-01-30 15:43:23 +01:00
Piotr Sarnacki
f94ff75a13 More ember-cli compat changes 2015-01-30 09:10:48 +01:00
Piotr Sarnacki
8124bc3780 Fix requires 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
8f5c5022cb Rename files to use dashes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
599e6f0bf9 Don't return a promise for job in RepoActions 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ec24b21e81 Switch to Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
93bb5f68e7 No need to put dashboard layout for application/loading 2015-01-27 16:43:09 +01:00
Lisa Passing
d1eaf8e79b loading and filter 2015-01-23 15:58:22 +01:00
Piotr Sarnacki
3584710a86 Add missing repo views 2015-01-23 13:56:57 +01:00
Piotr Sarnacki
bf6b0b47b5 Specify template in jobs view 2015-01-23 13:56:45 +01:00
Piotr Sarnacki
c7147e6146 Move top.hbs to templates dir 2015-01-21 11:10:29 +01:00
Piotr Sarnacki
3d42a5961d More ember-cli preparation 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
8f075662ac Prepare Jobs views for ES6, remove repo/show and repo/list 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
ecbfe4e74e Extract remaining controllers and views into individual files 2015-01-19 13:04:52 +01:00
Piotr Sarnacki
f26d3edcc5 Prepare BuildView for ember-cli 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
c205529295 Cleanup BuildsView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
345cb6e29e Cleanup BuildView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
67e787596f Follow conventions on templates locations 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
3c057ea401 Remove BuildsItemView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
76f4ac758c Fix CSS on profile page 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
eb00c7104e Add classes to application and dashboard views 2015-01-15 12:58:07 +01:00
Piotr Sarnacki
5065bb5739 Subscribe to pusher channels only when entering the MainRoute
We don't want to subscribe if we're at any other routes, because there is no
data there. The main target is to avoid all of the notifications from a common
channel if we're on the /dashboard route.
2015-01-15 10:36:35 +01:00
Piotr Sarnacki
df74b618ce Enable removeLog on pro 2015-01-14 12:27:31 +01:00
Piotr Sarnacki
8ff844e5a1 Strengthen the check to display download log button
Technically jobIdForLog should be sufficient, because it has job id only when
it's a job or a build page, but for some reason it doesn't get refreshed
properly.
2015-01-13 15:46:21 +01:00
Piotr Sarnacki
f7b2f0cbf1 Disable remove log button on pro for now 2015-01-12 14:22:48 +01:00
Piotr Sarnacki
d69ab156e0 Merge pull request #324 from travis-ci/remove-log
Remove log
2015-01-12 12:56:54 +01:00
Piotr Sarnacki
8b6db4461c Don't use events to open popup for allowed failures help 2015-01-12 12:20:19 +01:00
Piotr Sarnacki
9023d0ca06 Remove extra removeLogPopup function (merge
leftover)
2015-01-09 15:19:36 +01:00
Piotr Sarnacki
23cebc4826 Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log 2015-01-09 15:03:46 +01:00
Piotr Sarnacki
aca82a0379 Display remove log only when user hasPermissions to use it 2015-01-09 14:59:21 +01:00
Lisa P
8c74c10654 Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log 2015-01-09 14:54:09 +01:00
Piotr Sarnacki
eb78d62adb Change popup functions to not use events 2015-01-09 13:07:12 +01:00
Piotr Sarnacki
4d9d0f10d9 Bring back hack for download log button 2015-01-09 13:07:12 +01:00
Lisa P
3bf326a942 Add actions for remove log 2015-01-09 13:07:12 +01:00
Piotr Sarnacki
7959442a99 Disable remove log button for now 2015-01-08 17:11:48 +01:00
Piotr Sarnacki
78dccd194c Bring back hack for download log button 2015-01-08 17:03:34 +01:00
Lisa P
97050b8111 Add actions for remove log 2015-01-08 16:56:40 +01:00
Piotr Sarnacki
cc7fef21ca Fix download log and remove log button display checks
For some reason when we run get('build.jobs.firstObject.id') it returns
different result than get('build.jobs').objectAt(0).get('id'). I can't reproduce
it on a clean Ember application, so it's probably a consequence of something
that we do in our views.
2015-01-08 15:15:41 +01:00
Piotr Sarnacki
e6bde154ec Put statusImages in actions 2015-01-08 14:16:53 +01:00
Piotr Sarnacki
d2faa71acc Show code climate for both pro and org 2015-01-08 14:07:44 +01:00
Piotr Sarnacki
86a02ad1da Add access_token only on pro for log url 2015-01-07 13:06:05 +01:00
Piotr Sarnacki
f566d601ee Move toggleTailing to actions in PreView 2015-01-06 14:08:21 +01:00
Piotr Sarnacki
0074acb8fe Fix profile info tab 2015-01-06 12:45:08 +01:00
Piotr Sarnacki
fbcfa04859 Don't destroy parts on cleanup
Destroying parts on cleanup can have weird effects, because we observe parts in
log view.
2014-12-30 11:58:56 +01:00
Piotr Sarnacki
eb9eac2b09 Merge branch 'refactoring' into ps-travis-pro-merge 2014-12-30 11:30:08 +01:00
Piotr Sarnacki
47e1de1d26 Extract Github URLs to controller 2014-12-30 11:28:49 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00