Commit Graph

584 Commits

Author SHA1 Message Date
Konstantin Haase
6ea3f70723 fix test 2012-11-08 13:55:50 +01:00
Konstantin Haase
e88ee9c440 Merge branch 'rkh-more-redirects' 2012-11-08 13:49:13 +01:00
Konstantin Haase
7d055f085b explicitely redirect cc.xml 2012-11-08 13:33:41 +01:00
Konstantin Haase
f8ab48178e also redirect "Accept: */*" to the api 2012-11-08 13:26:59 +01:00
Piotr Sarnacki
d19d5003d0 Don't error out when the only response is result: true 2012-11-08 03:37:22 +01:00
Piotr Sarnacki
df15776e0e Revert "Revert "It's free and hosted, not distributed!""
This reverts commit 92f843208a.
2012-11-07 22:58:09 +01:00
Piotr Sarnacki
3b3de51017 Enable js testing on travis 2012-11-07 17:54:29 +01:00
Piotr Sarnacki
14b5d4c9b9 Fix specs 2012-11-07 17:01:36 +01:00
Piotr Sarnacki
8968cd2095 Fix auth view for browsers with flex layout 2012-11-07 12:55:59 +01:00
Piotr Sarnacki
cc1df67272 We don't need to check isComplete now
We load records based on the tries to load attributes that are not
loaded yet, so isComplete is obsolete now.
2012-11-06 20:30:38 +01:00
Piotr Sarnacki
b164e5f1a8 Load commit from build:started event payload
Commit fields come in with build:started payload. We should split it
into 2 separate keys in the payload, like:

    {
      build:  { .... },
      commit: { .... }
    }

but I can't change pusher v1 API at the moment, due to backwards
compatibility with the old client. We will be able to remove this manual
extraction as soon as we switch to pusher v2 API.
2012-11-06 14:34:18 +01:00
Piotr Sarnacki
380f89435b startedAt attribute for job is not needed in created state 2012-11-06 14:30:46 +01:00
Piotr Sarnacki
6a1bc67fa7 Remove console.log 2012-11-06 12:06:51 +01:00
Piotr Sarnacki
b66e5a9bb3 Fix missing commit in UI on job:started event 2012-11-06 12:06:09 +01:00
Piotr Sarnacki
49f1c74a12 Extend message on loaded models and fix undefined ke problem 2012-11-06 11:47:12 +01:00
Piotr Sarnacki
a91657c128 We don't keep duration for jobs
We always just return finished at and started at for jobs, so just let
travis always calculate duration from those fields.
2012-11-06 11:45:33 +01:00
Piotr Sarnacki
90474edd8b Pass repo instead of slug in showJob
The old version saves us some requets, but is harder to maintain, also
repos in workers should now be sideloaded from pusher payload.
2012-11-05 22:35:01 +01:00
Piotr Sarnacki
92f843208a Revert "It's free and hosted, not distributed!"
This reverts commit 873c8aefa6.
2012-11-05 22:27:54 +01:00
Piotr Sarnacki
bc79c1bef3 leave display: -webkit-box for safari 2012-11-05 12:24:53 +01:00
Piotr Sarnacki
c0c0a4136c Merge pull request #41 from travis-ci/mm-rename-title
It's free and hosted, not distributed!
2012-11-05 03:17:11 -08:00
Piotr Sarnacki
eebbe6f77b Sort builds on builds/PRs/branches tabs 2012-11-04 15:56:28 +01:00
Piotr Sarnacki
97e5774631 Fix hiccups with long log views
When scrolling page with long log page was freezing for a moment on
every DOM update (which means at least for a second as we update
duration every second). This was caused by unnecassery reflows - the
main offender was display: box (flexible layout model). It turns out
that newer version of flexible layout, display: flex, behaves much
better. It works on newest versions of Chrome, Safari and on next
version of Opera. Unfortunately Firefox will support it in 18th version,
so I left rules with -moz prefixes for old flexible page model
2012-11-03 23:09:37 +01:00
Mathias Meyer
873c8aefa6 It's free and hosted, not distributed! 2012-11-02 13:26:20 +01:00
Piotr Sarnacki
adab32f90f Update rake-pipeline 2012-11-01 00:11:12 +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
eef8e55cfe Check if key is defined in incomplete checks 2012-10-31 14:56:17 +01:00
Piotr Sarnacki
baa95d590d Check if data is an object
I couldn't reproduce it locally, but I got this exception once. This
implementation will need to be rewritten after upgrading to newest
ember, so I'll leave it as it is for now.
2012-10-31 00:48:46 +01:00
Piotr Sarnacki
e897008a2d Remove events tab for now 2012-10-31 00:48:46 +01:00
Piotr Sarnacki
6bf5bd3356 Needed to move part of incomplete impl. to store
When using get with path (eg. get('foo.bar.baz')), get method is called
only on the current object and computed property will be called. Because
there is no easy way to overwrite the computed property, I moved
incomplete record loading to ember-data. It's not DRY and it should be
rewritten, but I don't want to do it at this point as we will need to
completely rewrite it when upgrading ember-data.
2012-10-31 00:46:13 +01:00
Piotr Sarnacki
74aa8ed503 Remove public/version from git 2012-10-30 02:30:45 +01:00
Piotr Sarnacki
9e53ee4aa4 Remove compiled scripts and styles from repo 2012-10-30 02:27:29 +01:00
Piotr Sarnacki
73055be147 Merge branch 'deployment-plus-plus'
Conflicts:
	assets/scripts/lib/travis/expandable_record_array.coffee
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
2012-10-30 02:25:02 +01:00
Piotr Sarnacki
be2a1cf8a3 Use isComplete on build page to not show incomplete record 2012-10-30 02:23:41 +01:00
Piotr Sarnacki
d1ab28abcc Remove console.log entry 2012-10-30 02:23:41 +01:00
Piotr Sarnacki
44a4466919 Set encodings to UTF-8 when compiling assets 2012-10-30 02:23:22 +01:00
Piotr Sarnacki
73136c7966 Don't ignore assets directory when building slug 2012-10-30 02:23:06 +01:00
Piotr Sarnacki
69fad1e417 Keep assets dependencies in assets group in Gemfile 2012-10-30 02:22:43 +01:00
Piotr Sarnacki
11ac6ef3fe Ignore only top level assets directory 2012-10-30 02:21:14 +01:00
Piotr Sarnacki
5c229320fa AssetFile -> Assetfile 2012-10-30 02:21:14 +01:00
Piotr Sarnacki
3a1cb7444c Move rakep and dependencies out of development 2012-10-30 02:21:10 +01:00
Piotr Sarnacki
8c8b436fca Change buildpacks 2012-10-30 02:20:58 +01:00
Piotr Sarnacki
7f6b3fb157 BUILDPACKS! 2012-10-30 02:20:48 +01:00
Piotr Sarnacki
35eb3f1df6 Merge pull request #38 from kugaevsky/patch-1
Fix selected indicator style for left panel
2012-10-29 04:57:29 -07:00
Piotr Sarnacki
a254e681a5 Merge pull request #39 from jonlemmon/master
Update readme to reference new repo
2012-10-29 04:56:49 -07:00
Piotr Sarnacki
f39dcff13b Compile assets for production 2012-10-28 23:45:27 +01:00
Piotr Sarnacki
5ae7e1d046 Check also associations for incomplete records 2012-10-28 23:43:17 +01:00
Piotr Sarnacki
4c1c4586fa Handle case where key on data needs Ember.set
I'm not really sure what cauese a field to be defined as such setter,
but it sometimes happens.
2012-10-28 23:43:17 +01:00
Piotr Sarnacki
fee6fc6cad payload.job.id is not always present in worker:updated event 2012-10-28 23:43:16 +01:00
Piotr Sarnacki
d3d7f6b83c Don't add repository on worker events if it already exists
It's best to do that, because worker payload is usually outdated. If
there is no info on repo yet, it's worth to add it, but if it already
exists, we will most likely end up with inconsistent situation.
2012-10-28 23:43:16 +01:00
Piotr Sarnacki
987185be54 Fix build link when updating builds through pusher 2012-10-28 23:43:16 +01:00