Commit Graph

594 Commits

Author SHA1 Message Date
Piotr Sarnacki
870144c230 Compilation is needed in order to run specs 2012-11-12 17:37:57 +01:00
Sven Fuchs
3a7850cd02 abstract out styles for menu from profile 2012-11-12 12:12:57 +01:00
Piotr Sarnacki
a039da5dd1 Fix showMore
We use ArrayProxy with SortableMixin as container for builds, so
it needs to proxy load method to expandable record array.

closes #49
2012-11-10 16:34:01 +01:00
Piotr Sarnacki
630de8efc3 We should display travis token, not github one in profile 2012-11-10 15:47:34 +01:00
Piotr Sarnacki
2e31b2e267 Add some color to rspec 2012-11-10 15:47:33 +01:00
Piotr Sarnacki
a7f8064412 Disable JS testing on travis until I have time to fix it 2012-11-10 15:47:33 +01:00
Piotr Sarnacki
de38b3d297 Redirect /:owner/:name/builds.json to a proper api endpoint 2012-11-10 15:47:33 +01:00
Sven Fuchs
d94b001e81 restore isLoaded for repos controller 2012-11-10 04:21:49 +01:00
Piotr Sarnacki
38e8a2a8e1 Merge pull request #46 from simi/master
Don't hide overflow on #main.
2012-11-09 10:34:31 -08:00
Josef Šimánek
31e914b52d Don't hide overflow on #main.
This fixes https://github.com/travis-ci/travis-ci/issues/750 for me. Tested on Linux with Chrome 22 and Firefox 16.0.1.
2012-11-08 21:47:16 +01:00
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