Sven Fuchs
bd4c0aa0a0
do not create two Pusher instances
2014-10-13 17:20:02 +02:00
Sven Fuchs
6ab834f516
fix Travis.Pusher.prefix
2014-10-13 15:00:00 +02:00
Sven Fuchs
e9552a5f60
can channel be undefined?
2014-10-13 14:59:34 +02:00
Sven Fuchs
5130726389
restore CHANNEL_PREFIX, but check if it is already present
2014-10-13 14:59:31 +02:00
Sven Fuchs
1951784c28
add private attribute to repo, prefix job channels based on the private status, otherwise use what api hands over
2014-10-13 14:59:25 +02:00
Sven Fuchs
aa286866a8
try simplifying pusher channel subscriptions
2014-10-13 14:59:19 +02:00
Sven Fuchs
f827c155f5
disable sending metrics to pusher
2014-10-13 14:56:23 +02:00
Sven Fuchs
8b1dfd67f9
ignore pusher error code 1006
2014-10-13 14:46:19 +02:00
Sven Fuchs
bf8f944ab1
fix ignoreWarning
2014-10-13 14:45:58 +02:00
Sven Fuchs
65ee0d5486
allow setting the pusher host
2014-10-13 14:42:12 +02:00
Piotr Sarnacki
046abf397c
Don't silence pusher warnings
2014-02-27 19:16:40 +01:00
Piotr Sarnacki
be0f601a4c
Subscribe in a way which is currently documented in pusher docs
2014-02-27 19:16:40 +01:00
Hiro Asari
9e2a8cb218
Merge branch 'master' into hh-annotations
...
Conflicts:
assets/scripts/app/controllers/job.coffee
assets/scripts/app/models/job.coffee
2014-01-24 10:18:58 -05: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
766f4e8907
Properly handle job:canceled event
2013-08-13 01:09:02 +02:00
Piotr Sarnacki
f92c592f2d
Add pusher receive related stuff to App (previously it was in store)
2013-07-31 13:47:55 +02:00
Henrik Hodne
c912634dd0
Handle annotation Pusher payloads
2013-07-11 11:24:55 -07:00
Piotr Sarnacki
aaf35365b1
Don't process pusher events immediately when running in background
...
When user has Travis CI's web page open in the background we should not
process pusher events immediately, because she will not see the changes
on a page anyway. During peak hours we can get several messages per
second, which requires some CPU work almost all the time. By using
visibility API we can detect if the tab with Travis CI is in the
background and if that's the case we will process pusher messages in
batches every 5 minutes. This is much better for the CPU, because it
means one bigger spike every few minutes and additionally some of the
updates don't have to be done (for example if we get several job:started
events, Ember's run loop will process only last one when it comes to
rendering 'current' build).
2013-05-29 16:54:12 +03:00
Sven Fuchs
2e8b74160c
move log subscrition to a log controller
2013-03-06 19:59:59 +01:00
Piotr Sarnacki
83fb0ebb2c
Fix incomplete implementation
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
cfbec29978
Fix some of the places still using Travis.app
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
f0e95ddd3f
Main view mostly works on new router
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
2723ae5c06
Find job for clearing logs only if it's already in store
...
Otherwise we make ajax request every time job is created.
2013-01-23 22:08:17 +01:00
Sven Fuchs
f4fb1d14d4
add comment
2013-01-19 14:45:16 +01:00
Sven Fuchs
050c9fd211
clear log on job:created, too
2013-01-17 20:24:51 +01:00
Sven Fuchs
038b6b0572
clear log on job:requeued hax
2012-12-01 16:36:55 +01:00
Sven Fuchs
82c2a4f14c
accept job:requeue event
2012-12-01 14:45:58 +01:00
Sven Fuchs
216724af64
changes for pro
2012-11-15 16:31:54 +01:00
Sven Fuchs
b35763baa3
using the production pusher key with RUN_API causes tons of 404 errors
2012-10-11 17:23:32 +02:00
Sven Fuchs
7b47863014
extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles
2012-10-03 17:13:02 +02:00