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
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
Piotr Sarnacki
40ef7107f4
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-27 03:11:15 +02:00
Piotr Sarnacki
94bff24f2c
Fix build link when updating builds through pusher
2012-10-27 00:50:34 +02:00
Piotr Sarnacki
5eb3ab3b01
Fix adding builds to a build list on pusher event
2012-10-26 22:35:10 +02:00
Piotr Sarnacki
a7faec7479
Make sure that repo.slug is loaded for queue urls
2012-10-24 22:37:24 +02:00
Konstantin Haase
0ac265a4a7
allow setting token manually
2012-10-24 19:36:17 +02:00
Piotr Sarnacki
231f3b8723
Load worker related records from pusher payload
2012-10-24 11:28:01 +02:00
Piotr Sarnacki
7f979c8a5e
Add minified app.js
2012-10-23 23:39:12 +02:00
Konstantin Haase
3195a75a22
we actually have an instance in the block
2012-10-23 22:09:26 +02:00
Konstantin Haase
a1fb0ff2be
bump up auth timeout
2012-10-23 21:25:22 +02:00
Piotr Sarnacki
14e8827e36
Generate production version
2012-10-23 03:47:26 +02:00
Piotr Sarnacki
ce307264c4
Use ENV.FORCE_JQUERY when building for production
2012-10-23 03:47:12 +02:00
Piotr Sarnacki
f64d488973
Set locale to 'en' by default
2012-10-23 03:33:39 +02:00
Piotr Sarnacki
a63ac52458
Remove layout views, just change template on application
2012-10-23 01:40:05 +02:00
Piotr Sarnacki
939212302a
Fix loading page with #L<line-number>
...
Ember changed a way HistoryLocation works and it no longer calls
getURL(). I'm monkey patching it, but I will submit a pull request to
fix it.
2012-10-22 21:45:43 +02:00
Piotr Sarnacki
349a4d104e
Fix scrolling issues for 'Follow logs'
2012-10-22 21:30:26 +02:00
Piotr Sarnacki
72f14fb594
Do not trigger unnecessary reloads when locale *could* have changed
2012-10-22 21:29:51 +02:00
Piotr Sarnacki
3fdd2d50ab
Get back to old version of log number scrolling
2012-10-22 21:29:14 +02:00
Konstantin Haase
87e8f32637
Merge branch 'master' of github.com:travis-ci/travis-web
...
Conflicts:
public/version
2012-10-22 21:25:22 +02:00
Konstantin Haase
5a772a0710
update app.css
2012-10-22 21:23:50 +02:00
Konstantin Haase
01b5a118d0
spec and fix app
2012-10-22 21:23:34 +02:00
Konstantin Haase
d6986a7806
allow only GET and HEAD request
2012-10-22 21:22:47 +02:00
Konstantin Haase
4cd506ea59
redirect potential API calls to API, fixes #32
2012-10-22 21:21:19 +02:00
Piotr Sarnacki
c02f4d860b
Fix errors with reload
2012-10-22 19:54:53 +02:00
Piotr Sarnacki
300ad58516
Fix incomplete implementation
...
While testing in the wild I spotted a few problems with it:
* it didn't work for camel case names.
* it was sometimes setting loaded data too late - it needed to use find
and then save data on the record. Instead it should save data in
special array saved on store, indexed by clientId
* there is already method to get attributes in ember-data, it just
doesn't work with Travis.Foo.get('attributes'), it needs
Ember.get(Travis.Foo, 'attributes') - it makes implementation much
shorter
2012-10-22 02:54:48 +02:00
Piotr Sarnacki
6cfddfd882
Change log.isLoaded to view.job.log.isLoaded
...
For some weird reason Ember errors out when it's called directly on
context (which is job in this place).
2012-10-21 20:48:24 +02:00
Piotr Sarnacki
6513d5c675
Update ember.js
2012-10-21 18:53:52 +02:00
Piotr Sarnacki
60740a8d3d
Remove router hacks
...
I've implemented things that we need into Ember. We're running from my
fork for now, ideally those changes will be merged into official repo.
2012-10-20 16:36:53 +02:00
Piotr Sarnacki
f207f081af
Ember from drogus/ember.js at router-changes branch
2012-10-20 16:35:23 +02:00
Piotr Sarnacki
0587991533
Fix scrolling to line numbers
...
After some of the layout changes, the element that actually gets
scrolled is current layout view (.application > div).
2012-10-20 15:43:17 +02:00
Piotr Sarnacki
af00392d15
Fix jobs table when jobs have different config keys
...
If we have 2 jobs within 1 build, with such config values:
{ rvm: 'jruby-head', jdk: 'oraclejdk7' }
{ rvm: '1.9.3', jdk: null }
We should return jdk in configValues for second build, even if it's not
present. Otherwise table rows may be missing.
(closes #28 )
2012-10-20 02:14:17 +02:00
Sven Fuchs
f790a809ff
remove debug output
2012-10-19 22:24:57 +02:00
Sven Fuchs
853606bcc6
moar routing/auth refactorings
2012-10-19 22:20:45 +02:00
Sven Fuchs
c4b91108a0
refactor routes/auth interaction so that it always calls afterSignIn()
2012-10-19 21:24:18 +02:00
Sven Fuchs
786d8ebfc6
use an html char here
2012-10-19 16:04:23 +02:00
Sven Fuchs
a806dd7ff8
refactor broadcasts
2012-10-19 04:27:07 +02:00
Sven Fuchs
2df91c296c
Merge branch 'master' of github.com:travis-ci/travis-web
2012-10-19 02:49:46 +02:00
Sven Fuchs
eca5d1902f
check both repos.isLoaded and repos.length before rendering empty; set height to 100%
2012-10-19 02:46:39 +02:00
Piotr Sarnacki
718b3ad88f
Fix spec.html serving
2012-10-19 01:52:48 +02:00
Piotr Sarnacki
a29e3003cb
Update ember
2012-10-19 01:52:16 +02:00
Sven Fuchs
45cc6a47e3
fix top menu active item styles
2012-10-19 00:33:39 +02:00
Sven Fuchs
fc20a8603a
update script/server to use puma
2012-10-19 00:19:06 +02:00
Sven Fuchs
52bdbf5468
Merge branch 'master' of github.com:travis-ci/travis-web
...
Conflicts:
public/scripts/app.js
public/scripts/min/app.js
public/styles/app.css
public/version
script/server
2012-10-18 03:55:17 +02:00
Sven Fuchs
90fb2c3b78
add broadcasts
2012-10-18 03:53:19 +02:00
Piotr Sarnacki
82163346b9
We don't have to transitionTo('root') here
2012-10-18 03:38:45 +02:00
Piotr Sarnacki
cb76de3718
Move afterSignIn to auth Route
...
If we keep it only on states lower than root and afterSignIn is sent
when app is still in root.loading (which is often the case as we need to
wait for repository deserialization), it will try to find afterSignIn on
root.
2012-10-18 03:28:29 +02:00