Felix Eckhofer
7a003f8227
Focus input bar when not on mobile
...
This improves the UX on desktop while avoiding the virtual keyboard
popping up on touch devices
12 years ago
David Cormier
5f25a96b51
Work with inputNode element directly
...
Instead of using $scope.command, we work with the inputNode element
directly to have control over the caret position. This let us have
nick completition in the same way as WeeChat.
Fix #74
12 years ago
David Cormier
f141095312
Add method to retrieve inputNode element from directive
12 years ago
Lorenz Hübschle-Schneider
17cc3c9088
Disable swiping on desktop
12 years ago
Felix Eckhofer
fa01c0a53f
Install Firefox Webapp from local checkout
...
Ask Firefox to install the currently running copy of glowing bear
instead of the copy from torhve.github.io
This also fixes a bug when glowing bear is not running from a
subdirectory (or one other than /glowing-bear) which would lead to a 404
because of torhve.github.io/original_subdir being loaded instead of
/glowing-bear.
Note that installing to a different subdirectory than /glowing-bear will
lead to the icons not being found due to the fact that all icon paths
inside manifest.webapp have to be absolute.
12 years ago
Lorenz Hübschle-Schneider
4736da2d92
Fix an issue with notifications being shown when fetching old lines
...
@xt , does this fix the issue for you?
While we're at it, fix the annoying jump-to-bottom when loading more lines.
12 years ago
Lorenz Hübschle-Schneider
d4a5218922
Fix "Switch to buffer with activity" skipping buffers with notifications
...
This caused two buffer switches in a row, in effect forgetting the notifications
12 years ago
Tor Hveem
056aa3deed
Use CSS classes instead of javascript for margin
12 years ago
David Cormier
b09e328463
Reinitialize context when relay closes connection
...
Fixes #73
12 years ago
Lorenz Hübschle-Schneider
df1bb08749
Only update title for notifications, not other kinds of activity
...
Also make the unread count the first thing in the title
12 years ago
Lorenz Hübschle-Schneider
effa64084b
Notifications: Improve channel detection
12 years ago
Felix Eckhofer
e0aef4c6e1
make enter switch to the first match in the list
12 years ago
Felix Eckhofer
fead046eed
use alt-g for filter bufferlist
...
this is more consistent with the other existing shortcuts and is also
the same shortcut go.py recommends in weechat-curses
12 years ago
Tor Hveem
46b503e1b4
Use ngAnimate to animate sidebar hiding/showing
12 years ago
Lorenz Hübschle-Schneider
e5f33275bd
Fix the confirmation dialog when closing the tab
...
* Only nag if we're connected
* Set event return value so Chrome shows the dialog
12 years ago
Lorenz Hübschle-Schneider
157917d40c
Rework notifications
...
* Improve content of notifications
* More descriptive title
* The bug that caused the need for manually assembling the message has been fixed (#161 or c5e548c8ab
)
* Permission for displaying notifications can only be requested upon user interaction in Chrome, not on page load. Bind to connect button
* Take user to g-b tab and buffer causing the notification on click
12 years ago
Lorenz Hübschle-Schneider
d4207ed7e0
Update title with unread count
...
Further discussion required on a few points:
* show notifications only or unread lines as well?
* only use this when favico is disabled, or indepently?
I welcome all feedback.
Fixes #22
12 years ago
Lorenz Hübschle-Schneider
9ac7b341ec
Make use of favico an option
...
@tribut : does this resolve your issue?
12 years ago
Lorenz Hübschle-Schneider
389d6bdedb
Reduce number of false positives in IRC channel linkification
12 years ago
David Cormier
51cde96bf6
Standardize code presentation
...
Fix indentation (4 spaces, no tabs)
Fix indentation in CSS
Fix comment position in CSS file
12 years ago
David Cormier
8e44757e61
Replace magic number 968 with variable
12 years ago
David Cormier
2e5e3a45eb
Revert "Collapse sidebar with css selector"
...
This reverts commit 3a5dfd5e94
.
12 years ago
Tor Hveem
2aa1e02bea
New keybinding: Alt-< to switch to previous buffer. Same key as WeeChat
12 years ago
Lorenz Hübschle-Schneider
e5476dfd02
Whitespace fixes, some {} blocks
12 years ago
creesch
abefa7430a
Implement swiping for mobile devices
12 years ago
David Cormier
27690ada58
Work around a WeeChat protocol inconvenience
...
Until WeeChat sends a confirmation for init we have to assume
that the commands will be received synchronously even though
they are sent asynchronously
12 years ago
David Cormier
ba20a79c72
Send init commands when connection is successful
...
Initialization commands are sent when we are sure that
the password has been accepted and that the init has been
processed by the weechat relay
12 years ago
David Cormier
8c386f7553
Create helper functions for initialization methods
12 years ago
David Cormier
3a5dfd5e94
Collapse sidebar with css selector
...
Fixes #152
12 years ago
Lorenz Hübschle-Schneider
c490e33898
IRC linky: don't match HTML encoded chars (), >, etc.)
12 years ago
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.
12 years ago
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.
12 years ago
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
12 years ago
Lorenz Hübschle-Schneider
2e963da581
Don't use jQuery, simplify
12 years ago
Lorenz Hübschle-Schneider
e48fe29cf8
Automatically scroll plugins into view
12 years ago
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.
12 years ago
Lorenz Hübschle-Schneider
f70f399741
remove unnecessary use of jQuery
12 years ago
Lorenz Hübschle-Schneider
f018876987
Fix botched merge
12 years ago
David Cormier
36049447cd
Fix jshint errors
12 years ago
Tor Hveem
0f44465faa
Better connection / password error handling
12 years ago
David Cormier
e68e7dd01d
websockets: add support for user specified onmessage
12 years ago
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
12 years ago
Lorenz Hübschle-Schneider
7c2403e7a1
Scrolling: Do not use webkit-specific function to scroll readmarker into view
...
Sorry for that.
12 years ago
Lorenz Hübschle-Schneider
8068be8de2
Remove setting and calculate number of lines from display properties
12 years ago
Lorenz Hübschle-Schneider
56055d61c8
Make the code a little prettier
12 years ago
Lorenz Hübschle-Schneider
40716ca649
Fix issue with incorrect read marker on startup
12 years ago
Lorenz Hübschle-Schneider
7764fc6910
Dynamically load lines for each buffer on startup
...
Add setting for number of lines to fetch initally.
TODO: styling
12 years ago
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
12 years ago
Lorenz Hübschle-Schneider
32bcb1c943
Fetch more lines on request
12 years ago
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
12 years ago