Commit Graph

2385 Commits

Author SHA1 Message Date
Piotr Sarnacki
6948a3f746 Run storage initializer before services 2015-01-30 17:22:54 +01:00
Piotr Sarnacki
a302f7f273 Inject store to auth 2015-01-30 17:22:32 +01:00
Piotr Sarnacki
fedacace0e Load initializers last 2015-01-30 17:17:55 +01:00
Piotr Sarnacki
c8be0c91e5 Move instantiating pusher to pusher initializer 2015-01-30 17:16:42 +01:00
Piotr Sarnacki
165d072d79 Use ENV.config instead of Travis.config 2015-01-30 17:15:13 +01:00
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
7650520beb Move pusher config to main config 2015-01-30 11:25:52 +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