Commit Graph

16 Commits

Author SHA1 Message Date
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
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