Commit Graph

166 Commits

Author SHA1 Message Date
Randy Morgan
c4bfc7b1d7 Added i18n web filters and rake task for pulling the translations down from localeapp
You will need to set ENV['LOCALEAPP'] to the secret key to run the
update. Contact randym if you need it.
2012-11-22 20:47:38 +09:00
Piotr Sarnacki
f32038698d Refresh accounts list after sync (closes #55) 2012-11-21 21:20:12 +01:00
Konstantin Haase
7816ab558b increase timeout, api is now taking care of this 2012-11-18 21:11:06 +01:00
Piotr Sarnacki
efe98e561a Add history.state hacks for browsers not supporting it 2012-11-18 11:59:14 +01:00
Piotr Sarnacki
dfd8e3323b Update Ember with history location fix from my fork 2012-11-18 11:05:14 +01:00
Piotr Sarnacki
7af5d4c1b6 Debug info on auth 2012-11-17 12:31:22 +01:00
Piotr Sarnacki
cdbfac1166 Add google analytics 2012-11-17 12:19:30 +01:00
Piotr Sarnacki
d4214406e6 Remove console.log 2012-11-17 12:19:30 +01:00
Sven Fuchs
6d0cf9d5e6 Merge branch 'master' of github.com:travis-ci/travis-web 2012-11-16 17:43:39 +01:00
Sven Fuchs
d63af402c1 issue events on user:signed_in and user:synced 2012-11-16 17:43:22 +01:00
Piotr Sarnacki
3084dacaef Update Ember.js from drogus/ember.js and fix routes
Default regexp used in ember does not work well for us. With repos
starting with 'stats', ember will match such url for /stats/ page, even
though the rest of the url is different, I added ability to overwrite
default regexp.
2012-11-16 17:36:13 +01:00
Piotr Sarnacki
cbd25b8821 Revert "Slugs are case insensitive now (closes #51)"
This reverts commit 8fb481cdd0.
2012-11-16 15:42:50 +01:00
Piotr Sarnacki
8fb481cdd0 Slugs are case insensitive now (closes #51) 2012-11-16 15:16:57 +01:00
Sven Fuchs
216724af64 changes for pro 2012-11-15 16:31:54 +01:00
Sven Fuchs
81c0549d1d change queue grouping 2012-11-13 21:14:48 +01:00
Piotr Sarnacki
9a0e7d5bb6 Merge pull request #50 from KL-7/info-icon-fix
Fix info icon overlapping tabs (in Firefox).
2012-11-12 08:40:31 -08:00
Sven Fuchs
3a7850cd02 abstract out styles for menu from profile 2012-11-12 12:12:57 +01:00
Kirill Lashuk
3d896d6a57 Fix info icon overlapping tabs. 2012-11-12 12:10:32 +03: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
Sven Fuchs
d94b001e81 restore isLoaded for repos controller 2012-11-10 04:21:49 +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
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
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
eebbe6f77b Sort builds on builds/PRs/branches tabs 2012-11-04 15:56:28 +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
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
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
Piotr Sarnacki
3f0babcf55 Fix adding builds to a build list on pusher event 2012-10-28 23:43:15 +01:00
Piotr Sarnacki
6b40f127a1 Check also associations for incomplete records 2012-10-27 04:45:57 +02:00
Piotr Sarnacki
a8e85dc714 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-27 03:50:16 +02:00
Piotr Sarnacki
63e2a9add6 payload.job.id is not always present in worker:updated event 2012-10-27 03:43:01 +02:00