Commit graph

1393 commits

Author SHA1 Message Date
Tor Hveem
5099357a8a Better disconnect responsiveness
Instead of waiting for the websocket to really close, which can take a
long time because network latency, weechat inresponsiveness etc, we just
set our status to disconnected when user wants to disconnect, and we let
the websocket handle the close in its own time in the background.

If the user wants to reconnect this means there will be a new websocket
connection before the old one has failed, but this works just fine.
2015-03-27 10:22:42 +01:00
Lorenz Hübschle-Schneider
d8457fc37c Adjust topbar sizes
Increase mobile title bar size
22px seems to be a standard tap target
The bear needs to be a bit bigger on mobile because of borders etc
2015-03-27 09:56:38 +01:00
Tor Hveem
5e83401782 Merge pull request #582 from stenehall/shrink-icons
Allow for more elements in the brand toolbar section
2015-03-26 17:34:07 +01:00
Johan Stenehall
3b0b71cfcb Allow for more elements in the brand toolbar section 2015-03-26 16:47:03 +01:00
Tor Hveem
c764390c93 Merge pull request #581 from stenehall/count-in-topbar
Hide badges for phones.
2015-03-26 16:44:47 +01:00
Lorenz Hübschle-Schneider
b0dd67336a Merge pull request #580 from glowing-bear/prefixlimit
Limit prefix parts to at most 25 chars
2015-03-26 14:51:04 +01:00
Tor Hveem
9b2a527cb7 Limit prefix parts to at most 25 chars 2015-03-26 14:41:19 +01:00
Tor Hveem
a4487c6861 Merge pull request #579 from glowing-bear/use-pointers
[WIP] Fix commands for buffers whose fullname contain whitespace
2015-03-26 13:54:02 +01:00
Tor Hveem
97b937f015 Use correct pointer string 2015-03-26 13:45:53 +01:00
Lorenz Hübschle-Schneider
78b33798c6 Fix commands for buffers whose fullname contain whitespace
Use pointers if Weechat version is recent enough (1.0+).
Otherwise, not marking stuff as read is probably the lesser evil than crashing weechat...
2015-03-26 11:03:50 +01:00
Lorenz Hübschle-Schneider
0e0484b5f0 Merge pull request #578 from glowing-bear/ui-fixes
Fix broken < 1400px display and broken light color theme
2015-03-25 18:10:31 +01:00
Johan Stenehall
109d827d5d Fix broken < 1400px display and broken light color theme 2015-03-25 17:49:12 +01:00
Johan Stenehall
edc0e2e0ff Hide badges for phones. 2015-03-25 17:31:16 +01:00
Lorenz Hübschle-Schneider
41ce296e83 Merge pull request #575 from stenehall/count-in-topbar
Add notification and unread count to topbar
2015-03-25 09:25:20 +01:00
Tor Hveem
10adc201a6 Merge pull request #576 from stenehall/update-topbar
Update topbar
2015-03-25 00:46:54 +01:00
Johan Stenehall
bf706d1483 Add prefix for buffers in topbar 2015-03-25 00:41:31 +01:00
Tor Hveem
33f2b81f65 Merge pull request #573 from stenehall/shrink-icons
Shrink nav icons
2015-03-25 00:25:18 +01:00
Johan Stenehall
18716387b8 Increase click area for topbar icons 2015-03-25 00:00:07 +01:00
Tor Hveem
62756ba061 Merge pull request #574 from stenehall/odd-even-background
Add odd/even backgrounds and increased font-size
2015-03-24 23:44:01 +01:00
Johan Stenehall
2c61ccf122 Click on channel name in topbar to show topic 2015-03-24 23:29:52 +01:00
Johan Stenehall
2372acf209 Remove topic and add channel name for mobile
* Removing topic from topbar.
* Adding channel name to the topbar.

This is done using visible-lg from bootstrap. As of v3.2.0 it's replaced by visible-lg-block. But that doesn't exist in v3.1.1 that's currently being used by glowing-bear.
2015-03-24 23:29:45 +01:00
Johan Stenehall
5643df2292 Add notification and unread count to topbar
Conflicts:
	css/glowingbear.css
2015-03-24 23:27:29 +01:00
Johan Stenehall
1830453d3d Add odd/even backgrounds and increased font-size
* Add odd/even backgrounds for channellist
* Increase font-size for channellist
2015-03-24 23:20:13 +01:00
Johan Stenehall
308a854531 Shrink nav icons
* Shrink the nav icons and bear for a better mobile experience.
* Shrink the nav icons on desktop for a better navbar.
2015-03-24 21:54:13 +01:00
Lorenz Hübschle-Schneider
8049ed382d Merge pull request #571 from glowing-bear/fix-regexnickcomplete
fix nick completion on nicks with special chars
2015-03-24 15:26:49 +01:00
Tor Hveem
a1fc84f592 fix nick completion on nicks with special chars 2015-03-24 12:57:57 +01:00
Lorenz Hübschle-Schneider
2be08c57d2 Merge pull request #570 from glowing-bear/emojione-fixes
Emojione fixes
2015-03-23 16:04:06 +01:00
Lorenz Hübschle-Schneider
3d9228d901 Merge pull request #569 from glowing-bear/improve-hotlist-clear
Improve hotlist clear
2015-03-23 16:00:10 +01:00
Tor Hveem
36ae273460 check that emojione is defined before usage 2015-03-23 15:09:02 +01:00
Tor Hveem
32a998c949 Use cdnjs since we already use that 2015-03-23 15:09:02 +01:00
Tor Hveem
9432004c5e Clear hotlist in more scenarios
* Clear when switching away from a buffer
 * Clear when sending a message to a buffer
2015-03-23 13:33:16 +01:00
Tor Hveem
feaf76f1ea move hotlistclear into connection
Also some clean up stray debug
2015-03-23 13:33:16 +01:00
Lorenz Hübschle-Schneider
399b3af9f4 Merge pull request #566 from glowing-bear/emojione
Twemoji => Emojione
2015-03-22 13:14:48 +01:00
Tor Hveem
99ccd551b6 Enable by default, except on mobile. Convert by default. 2015-03-22 13:11:39 +01:00
Lorenz Hübschle-Schneider
dc46a9b22a Don't embed content by default
This can be quite slow on buffer switch, especially when gists / tweets are embedded
2015-03-22 12:41:17 +01:00
Tor Hveem
f042f729e1 switch from twitter's emoji lib to emojione 2015-03-21 16:43:46 +01:00
Lorenz Hübschle-Schneider
fe3360df15 Merge pull request #565 from glowing-bear/improve-hotlistsync
Use new command for "syncing" hotlist.
2015-03-21 14:51:22 +01:00
Tor Hveem
c71ce1b404 Use new command for "syncing" hotlist.
This patch also implements parsing version message and using that to
check that the WeeChat is new enough to use the new command.
2015-03-21 14:08:09 +01:00
Tor Hveem
703e67a221 Merge pull request #564 from glowing-bear/dynamic-theme-loading
Load theme without angular to reduce flicker
2015-03-21 13:32:12 +01:00
Lorenz Hübschle-Schneider
2d3c2c11bb Load theme without angular to reduce flicker
Initialising with dark theme prevents flicker
2015-03-21 12:56:30 +01:00
Tor Hveem
f2e3c441d3 Merge pull request #557 from glowing-bear/mathjax
Add MathJax support
2015-03-21 12:50:34 +01:00
Lorenz Hübschle-Schneider
be8ab42b7c Make MathJax a setting and load it only if enabled 2015-03-21 12:45:45 +01:00
Lorenz Hübschle-Schneider
5740c647d6 Basic MathJax hackery 2015-03-21 12:45:45 +01:00
Tor Hveem
f782d1e385 Merge pull request #562 from glowing-bear/dynamic-twemoji-loading
Dynamically load twemoji if required
2015-03-21 12:39:33 +01:00
Lorenz Hübschle-Schneider
6af6d34a4f Dynamically load twemoji if required 2015-03-21 12:27:20 +01:00
Lorenz Hübschle-Schneider
ba31f994ca Merge pull request #558 from glowing-bear/wide-bufferlist
Introduce a new media query list for wide screens
2015-03-21 11:26:40 +01:00
Tor Hveem
4e4abc03f3 Merge pull request #561 from glowing-bear/fix-bufferlist-transform
Fix bufferlist CSS transform for WebKit
2015-03-21 11:23:32 +01:00
Lorenz Hübschle-Schneider
3d76c1f785 Fix bufferlist CSS transform for WebKit
iOS, Safari, and the stock Android browser (up to 4.4) seem to need this
2015-03-21 11:02:54 +01:00
Lorenz Hübschle-Schneider
892563fb39 Merge pull request #560 from glowing-bear/improve-animation
Use transform to improve smootheness.
2015-03-20 14:16:23 +01:00
Tor Hveem
fbd4853cb6 Use transform to improve smootheness.
Also push bufferlines in.
2015-03-20 14:11:27 +01:00