Commit Graph

22 Commits

Author SHA1 Message Date
Piotr Sarnacki
71633f1a00 Prepare models for ES6 modules 2015-01-20 12:15:12 +01:00
Piotr Sarnacki
09075e880d Don't display remove log button if it's already removed 2015-01-09 15:02:34 +01:00
Piotr Sarnacki
fbcfa04859 Don't destroy parts on cleanup
Destroying parts on cleanup can have weird effects, because we observe parts in
log view.
2014-12-30 11:58:56 +01:00
Piotr Sarnacki
73f06eba0f [pro-merge] Add token when fetching logs 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
fa6b0fe161 No need to destroy parts in runloop 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
0a69a5424d Fix log errors on 1.8.1
This part needs further refactoring, but for now I just fixed log view to
teardown and setup things properly in all cases something changes (when element
is inserted or removed, but also when log object is changed).
2014-12-29 18:16:15 +01:00
Piotr Sarnacki
95538498f0 Make pusher log fallback configurable and disable it by default 2014-11-12 12:26:49 +01:00
Piotr Sarnacki
1297c99396 Don't fetch missing log parts if test haven't started yet 2014-09-12 15:43:43 +02:00
Piotr Sarnacki
13408d875a Implement fallback for pusher log messages
If we don't get any pusher messages with log updates after 5 seconds, we
will try to download them from the API.
2014-09-11 18:22:31 +02:00
Piotr Sarnacki
8c3e92faea Merge branch 'master' into ui-improvements
Conflicts:
	assets/scripts/app/controllers/repo.coffee
	assets/scripts/app/templates/builds/show.hbs
	assets/scripts/app/templates/jobs/show.hbs
2013-08-06 13:16:56 +02:00
Piotr Sarnacki
1951752f47 Wrap ajax callbacks in Ember.run 2013-07-31 13:52:08 +02:00
Piotr Sarnacki
74dc2bc339 Reset parts when fetching log 2013-07-16 00:29:45 +02:00
Piotr Sarnacki
070d863588 No need to do hacks with Location header or Content-Type anymore 2013-05-15 17:23:48 +02:00
Piotr Sarnacki
7996358f01 Fix fetching log in firefox when Location header is unavailable 2013-04-02 20:17:24 +02:00
Sven Fuchs
300e91133c Merge branch 'master' into sf-log
Conflicts:
	assets/scripts/app/views/log.coffee
2013-03-22 02:14:55 +01:00
Piotr Sarnacki
f1adbf8f20 Improve log handling
* don't fetch log content on Travis.Log init
* use timeout in ChunkBuffer instead of Ember.run.later
* remove timeout when log is finalized
2013-03-22 01:25:23 +01:00
Sven Fuchs
e1a667407f fix after rebase 2013-03-14 16:29:22 +01:00
Piotr Sarnacki
2eab278736 Add ChunkBuffer to log 2013-03-13 00:13:51 +01:00
Piotr Sarnacki
a529231f1f No need to use vnd extensions if version is already given 2013-03-11 18:15:58 +01:00
Sven Fuchs
2e8b74160c move log subscrition to a log controller 2013-03-06 19:59:59 +01:00
Sven Fuchs
dbac2f8458 debug output 2013-02-25 13:07:07 +01:00
Piotr Sarnacki
553495c56c Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00