Piotr Sarnacki
5c913fcaaa
Destroy parts object when leaving log
2014-09-12 16:20:52 +02:00
Piotr Sarnacki
2fd1af29ec
Unfold lines before trying to scroll
...
(closes travis-ci/travis-ci#1501 )
2014-06-18 15:36:23 +02:00
Piotr Sarnacki
43e9af77d5
Don't close folds when following logs
2014-06-17 00:50:01 +02:00
Mathias Meyer
b134f82fab
Scroll #L links to upper third of the screen.
...
Fixes travis-ci/travis-ci#2276
2014-05-27 12:39:53 +02:00
Damien Mathieu
5ef0302243
automatically unfold lines starting or ending an highlight
2014-01-29 09:10:50 +01:00
Damien Mathieu
6608032652
refactor and test the log folder
2014-01-28 17:23:15 +01:00
Piotr Sarnacki
492802920e
Use pushState to set urls
...
It seems that directly setting location.hash directly doesn't play nice
with Ember.js URL handling - using it to handle line numbers results in
weird bugs (URL stops being updated after setting hash manually).
This commit gets back to using window.history.pushState() which was
changed to direct hash manipulation in ff1aad3
2014-01-20 14:24:05 +01:00
Damien Mathieu
ff1aad3f03
extract the log lines selector into a separate component
2014-01-09 15:53:33 +01:00
Damien Mathieu
c9e0f07a5a
highlight multiple lines
...
We can now highlight multiple lines, adding #L1-L2 to the hash.
We can select the ending line with shift + click.
Closes travis-ci/travis-ci#1829
2014-01-07 21:46:19 +01:00
Damien Mathieu
a431b68c28
make the back to top fixed and fluidify the follow scrolls
...
Fixes #89
2013-12-05 16:01:51 +01:00
Piotr Sarnacki
972fb6fb43
Always subscribe to log updates
...
When the job is restart, we will not get any updates unless we're
subscribed to job updates - that's why we need to subscribe even if the
job is already finished.
The other option to fix this would be to subscribe and unsubscribe also
based on the status, but since subscribing to finished jobs does not
cost us anything, I prefer the simpler solution.
2013-10-07 17:15:59 +02:00
Piotr Sarnacki
d0998a8fc5
Remove unused observer
...
log property in Travis.Job does not change - we create Log instance
when it's accessed and don't refresh it on any occasion, that's why the
observer on log is not needed.
2013-10-07 16:43:09 +02:00
Aaron Hill
2a83215fdc
Fixed clearing log
2013-10-03 21:23:49 -04:00
Piotr Sarnacki
17923af973
Fix expanding folds on firefox
2013-03-29 23:25:05 +01:00
Sven Fuchs
63c0c50ec2
Merge branch 'master' into sf-log
2013-03-29 16:04:18 +01:00
Piotr Sarnacki
74f4a7b110
Fix the log view for finished logs
2013-03-22 10:13:26 +01: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
Piotr Sarnacki
65254b70da
Fix cutting too long logs
2013-03-19 16:07:21 +01:00
Sven Fuchs
95e58f5f38
remove double PreView definition
2013-03-14 18:05:59 +01:00
Sven Fuchs
ff6e126e45
fix lineNumberClicked
2013-03-14 17:35:39 +01:00
Sven Fuchs
c011cfafcd
fix line numbering
2013-03-14 17:18:34 +01:00
Sven Fuchs
e1a667407f
fix after rebase
2013-03-14 16:29:22 +01:00
Sven Fuchs
2331e8e006
re-add limit and scroll, fix positioning of messages
2013-03-14 15:48:42 +01:00
Sven Fuchs
c0a4fed836
use travis-web-log/sf-dom
2013-03-14 15:47:59 +01:00
Piotr Sarnacki
2013492371
Remove debug console.logs
2013-03-14 15:12:07 +01:00
Piotr Sarnacki
bdb552100a
Always use currentItem to get log context
2013-03-14 15:10:56 +01:00
Piotr Sarnacki
3d3c0fc3b2
Jekyll is not the same as github flavoured markdown
2013-03-14 15:01:45 +01:00
Piotr Sarnacki
79f1dc448f
Revert "move log subscrition to a log controller"
...
This was causing the log to not refresh sometimes when switching from
one repo to another, I'm reverting for now, we will have to have another
look.
This reverts commit 2e8b74160c
.
Conflicts:
assets/scripts/app/controllers/build.coffee
assets/scripts/app/models/build.coffee
assets/scripts/app/templates/builds/show.hbs
assets/scripts/app/views/log.coffee
assets/scripts/vendor/log.js
2013-03-14 10:07:35 +01:00
Piotr Sarnacki
2eab278736
Add ChunkBuffer to log
2013-03-13 00:13:51 +01:00
Piotr Sarnacki
b1edd8e510
Bring back log engine from master
2013-03-12 22:52:39 +01:00
Sven Fuchs
93edf5b63c
remove limit for now and update log.js
2013-03-09 00:51:20 +01:00
Sven Fuchs
ffe6f2d62c
actually limit before setting the part
2013-03-08 17:51:32 +01:00
Sven Fuchs
d44e3b0098
move limit to web-log
2013-03-08 17:33:03 +01:00
Sven Fuchs
ffd1b6d917
try to unsubscribe from the log when the log view is destroyed, too
2013-03-07 16:43:00 +01:00
Sven Fuchs
2e8b74160c
move log subscrition to a log controller
2013-03-06 19:59:59 +01:00
Sven Fuchs
fbe52ac854
update log.js
2013-03-06 16:37:01 +01:00
Sven Fuchs
8a2ba379aa
unsubscribe from log channels
2013-03-05 17:14:00 +01:00
Sven Fuchs
5d885289de
update log.js, use Log.Dom engine
2013-03-04 02:32:04 +01:00
Sven Fuchs
7342618ffd
improve logging
2013-02-28 21:36:56 +01:00
Sven Fuchs
079998093b
re-add the limit
2013-02-27 17:09:02 +01:00
Sven Fuchs
c4bb49cc17
Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update
2013-02-26 23:19:55 +01:00
Piotr Sarnacki
d76463c3f2
Fix a few more UI issues
2013-02-26 05:24:56 +01:00
Piotr Sarnacki
1bccb5d177
Fix line numbers when loading an url
2013-02-25 15:18:59 +01:00
Sven Fuchs
dbac2f8458
debug output
2013-02-25 13:07:07 +01:00
Sven Fuchs
f4832bd5f4
remove stale stuff from log/pre views
2013-02-22 23:38:33 +01:00
Piotr Sarnacki
553495c56c
Add @svenfuchs' log reimplementation
2013-02-22 17:00:50 +01:00