Lorenz Hübschle-Schneider
93f40c64e9
Fix embed DOM classes
...
Classes, IDs and Names in the DOM have to begin with a letter. The $$hashKey
however might not, so prefix it with embed_. This also makes the classes more
unique, which is a good thing. Additionally, don't scroll on undefined should that
ever happen.
Fixes #45
2014-02-16 16:55:27 -05:00
Lorenz Hübschle-Schneider
2e963da581
Don't use jQuery, simplify
2014-02-16 16:55:27 -05:00
Lorenz Hübschle-Schneider
e48fe29cf8
Automatically scroll plugins into view
2014-02-16 16:55:27 -05:00
Lorenz Hübschle-Schneider
f70f399741
remove unnecessary use of jQuery
2014-02-15 11:39:11 -05:00
Lorenz Hübschle-Schneider
f018876987
Fix botched merge
2014-02-14 16:40:44 +00:00
David Cormier
36049447cd
Fix jshint errors
2014-02-14 09:32:30 -05:00
Tor Hveem
0f44465faa
Better connection / password error handling
2014-02-14 09:16:40 -05:00
David Cormier
e68e7dd01d
websockets: add support for user specified onmessage
2014-02-14 09:09:09 -05:00
Lorenz Hübschle-Schneider
f8f25107de
Fix read marker and scrolling behaviour
...
* don't always jump to the bottom on incoming messages
* don't fiddle with the read marker when loading more lines
2014-02-11 21:45:57 +00:00
Lorenz Hübschle-Schneider
7c2403e7a1
Scrolling: Do not use webkit-specific function to scroll readmarker into view
...
Sorry for that.
2014-02-11 20:40:25 +00:00
Lorenz Hübschle-Schneider
8068be8de2
Remove setting and calculate number of lines from display properties
2014-02-10 20:18:44 +00:00
Lorenz Hübschle-Schneider
56055d61c8
Make the code a little prettier
2014-02-10 20:18:40 +00:00
Lorenz Hübschle-Schneider
40716ca649
Fix issue with incorrect read marker on startup
2014-02-10 20:15:50 +00:00
Lorenz Hübschle-Schneider
7764fc6910
Dynamically load lines for each buffer on startup
...
Add setting for number of lines to fetch initally.
TODO: styling
2014-02-10 20:15:50 +00:00
Lorenz Hübschle-Schneider
5a90e2e830
Fix scrolling issue and reduce the number of scrolling events on startup
...
Don't trigger scrolling on each line when batch loading lines
2014-02-10 20:15:50 +00:00
Lorenz Hübschle-Schneider
32bcb1c943
Fetch more lines on request
2014-02-10 20:15:50 +00:00
Lorenz Hübschle-Schneider
6b31a3e59a
Reset favico on unloading. Should resolve bookmark favicon issue.
...
See https://github.com/ejci/favico.js/issues/23 for detail
2014-02-10 19:26:30 +00:00
David Cormier
0107dabb2d
Fix jshint errors
2014-02-09 19:40:25 -05:00
David Cormier
81054f06bd
Move specific weechat websocket manipulation in glowingbear.js
2014-02-09 19:40:25 -05:00
David Cormier
a49ce938ea
Add comments to websocket handlers
2014-02-09 19:40:25 -05:00
David Cormier
1da061fec2
Rename conn module to ngWebsockets
2014-02-09 19:40:25 -05:00
David Cormier
1b1b97c448
Remove unnecessary onmessage function
2014-02-09 19:40:25 -05:00
David Cormier
eddffd6e63
Remove spurious dependencies from connection
2014-02-09 19:40:25 -05:00
David Cormier
d4a4f1bd7f
Create websockets module
2014-02-09 19:40:10 -05:00
Lorenz H-S
7d386f04c2
Use strict comparison operators
2014-02-08 13:20:33 +00:00
Lorenz H-S
0cd4f04740
improve spacing and other syntactical stuff
2014-02-08 13:14:23 +00:00
David Cormier
f4ee683100
Only retrieve plugin content when 'Show Content' is pressed
2014-02-06 21:21:49 -05:00
David Cormier
6b12926887
Move plugin to it's own directive
2014-02-06 21:00:07 -05:00
David Cormier
6605a49f7c
Rename websockets.js to glowingbear.js
2014-02-06 20:39:58 -05:00