Commit Graph

1189 Commits

Author SHA1 Message Date
Piotr Sarnacki
05bc0e0574 Last build returned from repo should not be a promise
`store.find` returns a promise by default which resolved to a fetched model. In
case of last build we always want to return a last build record.
2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ac25220ef2 Fix builds lists for Ember Data 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
2a44a46831 Put jobs with 'received' status to the running jobs list
The problem with running jobs list was that it didn't show jobs that went to the
worker. The result was a confusing UI - when you look at the running jobs list
you want to know how many concurrent jobs you are using, including jobs that are
still waiting for a VM to boot.
2015-01-28 11:15:54 +01:00
Piotr Sarnacki
4b78a81356 Properly normalized data for job:received pusher event 2015-01-28 11:15:54 +01:00
Piotr Sarnacki
042cac68ee Filter on the server 2015-01-27 17:08:00 +01:00
Piotr Sarnacki
91dd526e4b Don't show repos without builds 2015-01-27 17:04:45 +01:00
Piotr Sarnacki
586d89a4f4 Don't use Travis.config in templates 2015-01-27 16:50:18 +01:00
Piotr Sarnacki
84dbdffc7a Use V3 API for dashboard 2015-01-27 16:43:24 +01:00
Piotr Sarnacki
93bb5f68e7 No need to put dashboard layout for application/loading 2015-01-27 16:43:09 +01:00
Lisa Passing
2a87f73648 add user auth data to dashboard 2015-01-26 13:16:09 +01:00
Lisa Passing
81493fc479 start adding current user data to dashboard 2015-01-26 12:58:55 +01:00
Lisa Passing
8ee3f43fec comment out loading copy on dashboard 2015-01-26 12:25:03 +01:00
Piotr Sarnacki
9f3150f65b Don't use query params in filtering for now 2015-01-26 11:16:58 +01:00
Piotr Sarnacki
0baf5dc6d0 Make filtering a bit more snappy 2015-01-26 11:16:22 +01:00
Piotr Sarnacki
54007ee78a Finish basic filtering 2015-01-23 16:26:41 +01:00
Lisa Passing
d1eaf8e79b loading and filter 2015-01-23 15:58:22 +01:00
Lisa Passing
951a1f7830 Merge branch 'dashboard' of github.com:travis-ci/travis-web into dashboard 2015-01-23 13:59:51 +01:00
Lisa Passing
755a9460ea link styling 2015-01-23 13:59:46 +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
9f0e799a59 Export gravatarImage url helper 2015-01-23 13:56:31 +01:00
Lisa Passing
139f950861 put links in dashboard and change some styles 2015-01-23 13:47:58 +01:00
Piotr Sarnacki
20567df443 Fix repo controllers to use camelize properly 2015-01-23 13:37:11 +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
3aabd40874 Prepare repo controller for ES6 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
a2f022283a Auto-merged master into dashboard on deployment. 2015-01-20 12:54:29 +01:00
Piotr Sarnacki
71633f1a00 Prepare models for ES6 modules 2015-01-20 12:15:12 +01:00
Piotr Sarnacki
45615e71ee needs to be a computed property 2015-01-20 12:04:45 +01:00
Piotr Sarnacki
69f06493fa Create slider after app is initialized 2015-01-20 11:38:37 +01:00
Piotr Sarnacki
1323d2fca5 Don't fire Broadcast.seen right away 2015-01-20 11:32:43 +01:00
Piotr Sarnacki
0f96e18552 each -> forEach 2015-01-20 10:16:38 +01:00
Piotr Sarnacki
b06582557a Inject storage and sessionStorage 2015-01-19 17:20:43 +01:00
Piotr Sarnacki
547620648d Fix format message helper 2015-01-19 17:02:39 +01:00
Piotr Sarnacki
0a02c8a349 Merge branch 'master' into dashboard 2015-01-19 16:50:11 +01:00
Piotr Sarnacki
8a51ebcbcf Load commit data also from job:created 2015-01-19 15:59:22 +01:00
Piotr Sarnacki
26c5111294 Extract handlebars helpers to individual files 2015-01-19 15:51:25 +01:00
Piotr Sarnacki
bc53d98b2a Show docs link on topbar on enterprise 2015-01-19 13:56:29 +01:00
Piotr Sarnacki
a5978dd36f Merge branch 'master' into dashboard
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/routes.coffee
2015-01-19 13:09:30 +01:00
Piotr Sarnacki
ecbfe4e74e Extract remaining controllers and views into individual files 2015-01-19 13:04:52 +01:00
Piotr Sarnacki
9b0d98234e Add config for enterprise 2015-01-19 12:31:46 +01:00
Piotr Sarnacki
131025f999 Fix redirect from auth page 2015-01-19 12:23:59 +01:00
Piotr Sarnacki
9d451324c2 Fix label helper for env vars form 2015-01-19 11:40:01 +01:00
Piotr Sarnacki
85e2b660bf Fix label helper 2015-01-19 11:37:17 +01:00
Lisa Passing
bf4bb17996 make dashboard more dynamic 2015-01-16 16:57:56 +01:00
Piotr Sarnacki
e0b223b8a5 IndexError controller should now be called MainError 2015-01-16 12:28:27 +01:00
Piotr Sarnacki
0dcf283aa0 Fix requests route name 2015-01-15 17:22:10 +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
681622b58c Clean up controllers a bit 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
6540304db5 Simplify queue 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
47e4dd664d Remove unused code 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
0217862626 It's sidebar view instead of layouts/sidebar 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
96c7138df1 Move queues/show.hbs to queue.hbs 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
0cbc2f3f7d Remove RunningJobs view 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
94f052bb74 'application' class is not needed on views with simple layout 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
19c3b6f455 Fix topbar on first sync page 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
83bbb1d87f Move logic from FirstSyncView to the route 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
33cf63ed83 Simplify rendering getting_started 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
ef460e1dc2 Templates for getting started page are the same for pro and org 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
1ee3d0c0ed Change MainView class to .main instead of .application 2015-01-15 13:09:12 +01:00
Piotr Sarnacki
eb00c7104e Add classes to application and dashboard views 2015-01-15 12:58:07 +01:00
Piotr Sarnacki
03ef70c82a Deactivate dashboard stylesheet by default 2015-01-15 12:57:57 +01:00
Piotr Sarnacki
ad5518104d Move sidebar to templates, not layouts 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
114a6a641d Don't export functions with underscore from helpers 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
126ef95b9f Fix githubify helper 2015-01-15 12:39:05 +01:00
Lisa P
7fad98811d add dashboard files 2015-01-15 12:38:05 +01:00
Piotr Sarnacki
17f2b9c821 Fix githubify helper
Conflicts:
	assets/scripts/app/helpers/helpers.coffee
2015-01-15 12:28:05 +01:00
Piotr Sarnacki
fc0c549556 Create separate stylesheets for dashboard and the rest 2015-01-15 11:14:20 +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
a891892bd8 Add missing requires in routes 2015-01-14 18:23:51 +01:00
Piotr Sarnacki
1ab14e9188 Extract routes to individual files 2015-01-14 18:07:27 +01:00
Piotr Sarnacki
8715087237 Extract ApplicationRoute to a separate file 2015-01-14 14:07:05 +01:00
Piotr Sarnacki
5c280001d3 Rename IndexRoute to MainRoute 2015-01-14 13:22:58 +01:00
Piotr Sarnacki
56e19df5f2 Require helpers/urls explicitly in helpers 2015-01-14 13:11:23 +01:00
Piotr Sarnacki
ec8d93f8cf Refactor Travis.Helpers to prepare it for ES6 modules
In order to make it easy to switch to ember-cli I'm starting changing a series
of refactorings that will prepare the codebase to the switch. Here I'm:

1. Assign all of the external objects and functions to variables in order to
   make it easy to change them to imports in the feature
2. Extract functions from Travis.Helpers into local functions and create the
   object at the end of file to prepare it for exporting
2015-01-14 12:55:17 +01:00
Piotr Sarnacki
2b86e93d13 Fix close button on flash messages 2015-01-14 12:47:16 +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
3c224c809e Remove extra status link from topbar 2015-01-13 12:13:55 +01:00
Piotr Sarnacki
e1a61af64a Fix PR URL on PRs list 2015-01-12 14:26:20 +01:00
Piotr Sarnacki
f7b2f0cbf1 Disable remove log button on pro for now 2015-01-12 14:22:48 +01:00
Piotr Sarnacki
1e8daa3e2c Fix PRs list - it was missing a PR column 2015-01-12 14:21:23 +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
43e06fc180 Viewing user's repositories needs auth 2015-01-12 11:39:34 +01:00
Piotr Sarnacki
9c9002b204 Remove 'sponsored by' text 2015-01-09 15:46:59 +01:00
Piotr Sarnacki
0db4a3a6ca Don't use 'event' in popupClose
It doesn't work on firefox and we don't need it anyway
2015-01-09 15:33:24 +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
09075e880d Don't display remove log button if it's already removed 2015-01-09 15:02:34 +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
Josh Kalderimis
68a08ac51b Merge pull request #318 from aprescott/concurrent-jobs-not-builds-in-settings
Rename 'Concurrent builds' setting to 'Concurrent jobs'
2015-01-09 13:34:50 +01:00