Commit Graph

41 Commits

Author SHA1 Message Date
Piotr Sarnacki
e84b7b81c5 Remove incomplete records loading implementation 2014-09-19 15:43:17 +02:00
Piotr Sarnacki
2677f3f613 Fix specs 2014-07-15 13:23:01 +02:00
Piotr Sarnacki
23035306c7 Oh gaaawwd, really fix the dependencies 2014-06-26 18:09:28 +02:00
Piotr Sarnacki
412baaa79c Specify proper dependencies in job's and build's properties 2014-06-26 18:01:34 +02:00
Piotr Sarnacki
6cb866408d Don't return finishedAt, startedAt, duration for not started jobs/builds 2014-06-20 16:05:45 +02:00
Henrik Hodne
1b7aba494a
fix(models): update the endpoint used to restart jobs and builds
/requests is deprecated
2014-01-30 17:19:15 -06:00
Piotr Sarnacki
eb54463d35 Remove reference to I18n 2014-01-16 21:08:47 +01:00
Justine Arreche
d324319a96 changes made to profile page including increased type size for readability, color styling and gravatar border radius increase 2014-01-03 19:10:58 -05:00
Piotr Sarnacki
9c7606ff96 Don't try to format date if it does not exist 2013-10-01 14:29:55 +02:00
Piotr Sarnacki
4bb331686c Fix finishedAt tooltips and show dates in local time zone 2013-10-01 11:25:40 +02:00
Piotr Sarnacki
194080cc43 Treat build number as number
I changed it to be a Number along with Job's number, but it's wrong -
Build's number should be treated as an integer (to not screw up
ordering) and Job's number can be treated as a string (because it has a
format "\d.\d")
2013-09-19 00:04:09 +02:00
Piotr Sarnacki
fc77800f8e Build.number and Job.number should be treated as strings 2013-09-16 18:53:14 +02:00
Piotr Sarnacki
fb120af69e Use pullRequestNumber from build, not from commit 2013-08-29 01:01:03 +02:00
Piotr Sarnacki
eb35a0e1c6 Merge branch 'master' into ui-improvements
Conflicts:
	assets/scripts/app/controllers.coffee
2013-08-25 14:46:03 +02:00
Piotr Sarnacki
0217b20943 Implement missing pieces for cancel build
We allow to cancel only created builds at this point.
2013-08-09 23:06:19 +02:00
Piotr Sarnacki
c0cb223aeb Update Travis.Model to work with Ember Model 2013-07-31 13:51:28 +02:00
Piotr Sarnacki
823c8441be Change EmberData properties/relationships into EmberModel versions
DS.attr -> Ember.attr
DS.belongsTo -> Ember.belongsTo
DS.hasMany -> Ember.hasMany
2013-07-31 13:29:55 +02:00
Piotr Sarnacki
c7561ee13e Properly display matrix keys when build does not have all keys
When additional items are included into matrix via 'matrix.include' key
in .travis.yml they may contain config keys, which are not available on
build.

For example build can contain only 'rvm' key, but we may add the
following include:

    matrix:
      include:
        - rvm: '2.0.0'
          env: 'FOO=bar'

In such case, we need to take into account also keys from additional
job, not only from the build.

(closes #172)
2013-04-06 01:48:32 +02:00
Piotr Sarnacki
c9f08417f7 Keep pullRequestNumber on build not on commit 2013-03-27 14:06:03 +01:00
Jason Smale
ed69690167 Got pull request data being stored and displayed correctly 2013-03-18 10:36:31 +11:00
Piotr Sarnacki
79f1dc448f Revert "move log subscrition to a log controller"
This was causing the log to not refresh sometimes when switching from
one repo to another, I'm reverting for now, we will have to have another
look.

This reverts commit 2e8b74160c.

Conflicts:
	assets/scripts/app/controllers/build.coffee
	assets/scripts/app/models/build.coffee
	assets/scripts/app/templates/builds/show.hbs
	assets/scripts/app/views/log.coffee
	assets/scripts/vendor/log.js
2013-03-14 10:07:35 +01:00
Piotr Sarnacki
b1edd8e510 Bring back log engine from master 2013-03-12 22:52:39 +01:00
Piotr Sarnacki
1408276609 Changes for ember-data revision 12
Sideload changed a way of loading records associated with the main
record. Now, to make it simple, sideloaded records must be always in
plural form.
2013-03-08 17:04:44 +01:00
Sven Fuchs
2e8b74160c move log subscrition to a log controller 2013-03-06 19:59:59 +01:00
Piotr Sarnacki
a47147ed82 Fix build lists to not interfere with each other 2013-02-26 11:17:42 +01:00
Piotr Sarnacki
1f3f0559bc Fix build and job configs 2013-02-26 08:57:03 +01:00
Piotr Sarnacki
4cdd4df515 Tabs and basic views are mostly working 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
99b9c72e2e Fix attributes and relatiobships in build 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
e9092418a7 Fetch builds for branches from /builds endpoint (closes #123) 2013-01-26 12:04:39 +01:00
Piotr Sarnacki
5b0b7d7002 Fix isAttributeLoaded checks
We can't check 'isFinished' when model is asked for
isAttributeLoaded('state'). In such situation, it will go to isFinished
and call @get('state'), which will trigger isAttributeLoaded('state')
again.
2012-12-10 14:26:44 +01:00
Sven Fuchs
d005f241ba fix things after rebase 2012-12-09 15:16:27 +01:00
Sven Fuchs
395918a406 use states instead of result 2012-12-09 15:16:27 +01:00
Sven Fuchs
f6975e5b02 add cancel menu items 2012-12-09 15:16:27 +01:00
Sven Fuchs
808e341227 split requeueBuild vs requeueJob 2012-12-01 03:13:17 +01:00
Piotr Sarnacki
dff93c93fe Don't require some of the attributes for incomplete records
When build or job is not finished, we don't need to load the record
because of them, they will be loaded when 'finished' events come in.
2012-10-31 16:10:42 +01:00
Piotr Sarnacki
3f0babcf55 Fix adding builds to a build list on pusher event 2012-10-28 23:43:15 +01:00
Piotr Sarnacki
88abeb48c0 We still return repository_id in build's payload 2012-10-12 20:51:05 +02:00
Sven Fuchs
6cbe6f140e refactor ajax, get rid of the module 2012-10-09 12:31:15 +02:00
Sven Fuchs
02a1f166d5 change tools button to have a menu, add requeue menu item, make status image stuff a popup 2012-10-07 16:59:01 +02:00
Sven Fuchs
6e4413d5a2 finally rename repository to repo 2012-10-06 20:08:46 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00