Piotr Sarnacki
165d072d79
Use ENV.config instead of Travis.config
2015-01-30 17:15:13 +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
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
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
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
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
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
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
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
1323d2fca5
Don't fire Broadcast.seen right away
2015-01-20 11:32:43 +01:00
Piotr Sarnacki
a891892bd8
Add missing requires in routes
2015-01-14 18:23:51 +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
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
73f06eba0f
[pro-merge] Add token when fetching logs
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
b4573ff293
[pro-merge] Add model extensions from travis-pro
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
fa6b0fe161
No need to destroy parts in runloop
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
0a69a5424d
Fix log errors on 1.8.1
...
This part needs further refactoring, but for now I just fixed log view to
teardown and setup things properly in all cases something changes (when element
is inserted or removed, but also when log object is changed).
2014-12-29 18:16:15 +01:00
Mathias Meyer
096e9872a6
Fix eventType for the build.
...
This (somehow) ensures that the job page is properly populated.
2014-12-12 12:22:20 +01:00
Mathias Meyer
aef53f4554
Fix event type display on the jobs page.
2014-12-12 11:41:54 +01:00
Justine Arreche
806fd899bc
attempting to add job event types to jobs tab
2014-12-12 11:36:43 +01:00
Josh Kalderimis
a2d4446382
Revert "comment out push code"
...
This reverts commit 2d5643f392
.
Conflicts:
assets/scripts/app/models/build.coffee
2014-12-11 20:22:33 +01:00
Justine Arreche
860977347f
add push
2014-12-11 19:34:56 +01:00
Justine Arreche
2d5643f392
comment out push code
2014-12-11 19:31:05 +01:00
Sven Fuchs
776e3e9c3b
set the build request type class from build.eventType
2014-12-10 21:30:46 +01:00
Piotr Sarnacki
c3a843a886
Add button for removing logs
2014-12-10 21:30:43 +01:00
Piotr Sarnacki
95538498f0
Make pusher log fallback configurable and disable it by default
2014-11-12 12:26:49 +01:00
Sven Fuchs
7315efed5f
remove extra comma
2014-10-14 15:29:12 +02:00
Sven Fuchs
b348ee0e40
Revert "Make sorting more in line with what we will do on a server"
...
This makes the timeline ordering odd when restarting: The repo will be
sorted to be bottom of the timeline while in :created state, and then
pops back up to the top when :started.
One weird thing is that it only seems to behave this way on com
(staging) and enterprise, but not on org (staging).
This reverts commit ce8237b4e7
.
2014-10-14 15:20:14 +02:00
Sven Fuchs
fa8a00194a
remove stale prefix
2014-10-13 15:00:04 +02:00
Sven Fuchs
5130726389
restore CHANNEL_PREFIX, but check if it is already present
2014-10-13 14:59:31 +02:00
Sven Fuchs
1951784c28
add private attribute to repo, prefix job channels based on the private status, otherwise use what api hands over
2014-10-13 14:59:25 +02:00
Piotr Sarnacki
ce8237b4e7
Make sorting more in line with what we will do on a server
2014-10-13 14:55:54 +02:00