Commit Graph

1984 Commits

Author SHA1 Message Date
Piotr Sarnacki
6fb1bfaaaf Actually require initializers 2015-01-30 17:07:39 +01:00
Piotr Sarnacki
0a048d1f00 Move things from App.setup() to initializer 2015-01-30 17:07:28 +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
d01fa740ea Change remaining requires for lib/travis/ 2015-01-30 15:45:17 +01:00
Piotr Sarnacki
949431b7df Move remaining files from lib/travis to utils 2015-01-30 15:43:23 +01:00
Piotr Sarnacki
316b43144d Move ajax from lib to utils 2015-01-30 15:38:08 +01:00
Piotr Sarnacki
7422327e0e Remove adapters for ember model 2015-01-30 15:37:39 +01:00
Piotr Sarnacki
882f6d7673 ext/ember/namespace is not used anymore, remove it 2015-01-30 15:35:45 +01:00
Piotr Sarnacki
a5c98c794c Move Travis.Model to models 2015-01-30 15:35:10 +01:00
Piotr Sarnacki
b0b1ef305b Change the way config is stored
On ember-cli config is stored in config/environment.js file and it can be
accessed at any time of app being booted. Till now we were using Travis.config
which was making things hard, because we needed an application instance to get
any config value. This commit moves config to config/environment.js and allows
to access it at any point of loading the app.
2015-01-30 15:29:46 +01:00
Piotr Sarnacki
6460c6692d Move expandable-record-array to utils 2015-01-30 11:54:45 +01:00
Piotr Sarnacki
bdb427492f Remove duplicate properties 2015-01-30 11:53:28 +01:00
Piotr Sarnacki
ca659944cd Add humanize-state helper
We don't want to display 'received' state as it's not meaningful for the users.
We're displaying 'booting' instead.
2015-01-30 11:29:45 +01:00
Piotr Sarnacki
7650520beb Move pusher config to main config 2015-01-30 11:25:52 +01:00
Piotr Sarnacki
fefd18593e We should show also blog and legal on pro 2015-01-30 09:23:42 +01:00
Piotr Sarnacki
0eaa2af8fd Show docs also on pro 2015-01-30 09:13:00 +01:00
Piotr Sarnacki
f94ff75a13 More ember-cli compat changes 2015-01-30 09:10:48 +01:00
Piotr Sarnacki
e00d5d5d5c Move requires to travis.coffee 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
b7f11adafb Move helpers and urls to utils 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
485d312255 Proper name for pusher config 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
47c87317d0 More ember-cli compat changes 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
8124bc3780 Fix requires 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
0f910b8da2 EmberCLI compat: helper names with dashes 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
9297b25445 Use Travis.trigger directly from poll method 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
5fa2070fc6 Remove unused files 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
4871409032 Ember CLI compat 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8f5c5022cb Rename files to use dashes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
138d5c2206 More ember-cli compat changes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
cb3bb3830c Make sure that we set record and not a promise on controller 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
59d2592577 Enable updating times 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8b1fd91af4 We don't need a repo model to link to repo 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
4d8fe96a41 Fix pusher for ember data 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
8689ba8d81 We don't use disabled for repo actions, removing for now 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
efa94c9031 Fix log for Ember Data 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
15a4ba045d Fix queue and running jobs controllers for ED 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
6b177d2238 Env vars now work with Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
5c5ed6e408 Add missing requires for job and build 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
0cc5065b76 Return a record not a promise from repo.sshKey 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
6e987d7599 Fix build and job routes 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
599e6f0bf9 Don't return a promise for job in RepoActions 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
32b66b9e21 Require missing helpers 2015-01-29 13:39:05 +01:00
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
81f950e4f6 Merge branch 'master' into dashboard 2015-01-29 13:38:40 +01:00
Hiro Asari
f26a7770bb Merge pull request #315 from a14n/dart-support
Dart support
2015-01-29 07:35:22 -05: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
Lisa Passing
e09fc2e5eb fix alignment 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
Lisa Passing
ebc3c762ee fix cutting off descenders on dashboard 2015-01-26 12:09:41 +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
331ccafc87 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-23 10:36:43 +01:00
Piotr Sarnacki
4d78f232c3 Properly normalized data for job:received pusher event 2015-01-22 19:59:39 +01:00
Lisa Passing
584157dba7 fix alignment 2015-01-22 17:21:53 +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
91d07a848d Remove window.history.state polyfill
We used it for phantomjs and we're not using phantomjs at the moment (nor we'll
use it after switch to ember-cli)
2015-01-19 13:04:53 +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
19c80a80af change started yellow 2015-01-16 17:03:06 +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