Commit graph

1610 commits

Author SHA1 Message Date
David Cormier
0bfbd3eb0b Add missing keyboard shortcuts on landing page
Fixes #80
2014-02-17 10:55:56 -05:00
David Cormier
4e5f239980 Merge pull request #144 from lorenzhs/linkify
Linkify IRC channels
2014-02-17 10:24:00 -05:00
David Cormier
0c9f5aab34 Merge pull request #149 from lorenzhs/patch-1
Remove black background on own chat lines
2014-02-17 08:49:08 -05:00
David Cormier
6f972261da Merge pull request #150 from lorenzhs/patch-2
switchToActivityBuffer: Prioritise notifications
2014-02-17 08:46:58 -05:00
Lorenz Hübschle-Schneider
c1760e5433 Fix JS coding style
TODO: rebase this as a fixup. I don't think the github web interface supports that.
2014-02-17 12:37:14 +00:00
Lorenz Hübschle-Schneider
1a5b36b6f7 switchToActivityBuffer: Prioritise notifications
If there is a buffer with a notification, go there. Otherwise, go to one with unread lines.
2014-02-17 12:31:23 +00:00
Lorenz Hübschle-Schneider
b553ef2a71 Remove black background on own chat lines
I've had this in my deployment config for a while, I hope you guys agree that it looks much nicer
2014-02-17 12:23:27 +00:00
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
David Cormier
1354ccd470 Merge pull request #146 from creesch/patch-1
Bootstrap requires jquery + html error
2014-02-16 16:30:37 -05:00
creesch
a7e325de00 small html error as well. 2014-02-16 21:38:10 +01:00
creesch
651287ad62 Bootstrap requires jquery
Without jquery the menu in the upper right corner will not open.
2014-02-16 21:33:13 +01:00
Lorenz Hübschle-Schneider
eaf5adf467 Linkify IRC channels
Make '#foo' in a message or buffer title clickable, taking the user to the IRC
channel specified, joining it if necessary.
2014-02-16 14:10:56 +00:00
David Cormier
557fd64ab7 Remove jquery from dependencies 2014-02-15 11:41:06 -05:00
Lorenz Hübschle-Schneider
f70f399741 remove unnecessary use of jQuery 2014-02-15 11:39:11 -05:00
David Cormier
bb44a87560 Revert "Remove superfluous password box"
This reverts commit d26120953f.
2014-02-14 11:44:37 -05:00
David Cormier
6fb1aa8e5c Merge pull request #142 from lorenzhs/merge
Fix botched merge
2014-02-14 11:41:55 -05:00
Lorenz Hübschle-Schneider
f018876987 Fix botched merge 2014-02-14 16:40:44 +00:00
David Cormier
d26120953f Remove superfluous password box 2014-02-14 11:37:04 -05:00
David Cormier
703128ab28 Merge pull request #141 from cormier/fix-jshint
Fix jshint errors
2014-02-14 09:33:29 -05: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
David Cormier
c11a01d67c Merge pull request #138 from lorenzhs/doc
Bit of an update for the landing page
2014-02-13 12:55:12 -05:00
Lorenz Hübschle-Schneider
9c1ced3249 Fix the markup a bit 2014-02-12 23:16:40 +00:00
Lorenz Hübschle-Schneider
ee4207ffd0 Fix label for save password checkbox 2014-02-12 23:16:39 +00:00
Lorenz Hübschle-Schneider
a069a171c2 Slightly rephrase some of the text on the landing page
* 4096 bit keys are better
* add port number to explanation
* Firefox 26 isn't all that brand-new any more
2014-02-12 23:16:39 +00:00
Lorenz Hübschle-Schneider
4d2e85d1dd Add a 'Get involved' section 2014-02-12 23:16:36 +00:00
David Cormier
826c41d1d0 Merge pull request #137 from lorenzhs/fixscrolling
Fix read marker and scrolling behaviour
2014-02-11 16:50:38 -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
David Cormier
eca3cf4f40 Merge pull request #136 from lorenzhs/dynamicloading
Scrolling: Do not use webkit-specific function to scroll readmarker into view
2014-02-11 16:02:40 -05: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
David Cormier
65a6ad1049 Merge pull request #133 from lorenzhs/fetchmorelines
Dynamically fetch lines
2014-02-10 20:10:51 -05:00
David Cormier
3c6648b913 Merge pull request #134 from lorenzhs/update
Update dependencies
2014-02-10 17:12:07 -05:00
Lorenz Hübschle-Schneider
6e48513d4b Update dependencies 2014-02-10 21:10:46 +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
David Cormier
0d7224b607 Merge pull request #132 from lorenzhs/fixmobile
Fix display on mobile
2014-02-10 15:13:39 -05:00
Lorenz Hübschle-Schneider
8076efc367 Fix display on mobile -- content was partly hidden under top bar 2014-02-10 20:11:13 +00:00
David Cormier
69bd30d509 Merge pull request #131 from lorenzhs/fixfavico
Reset favico on unloading. Should resolve bookmark favicon issue.
2014-02-10 14:38:15 -05: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