Commit graph

1536 commits

Author SHA1 Message Date
Angus Gibson
117d9991ec Handle hidden weechat buffers
This adds a new 'hidden' field to the Buffer model, which stays in sync
with weechat's notion of hidden buffers.
2015-07-10 13:52:12 +10:00
Tor Hveem
d07ba4edd1 Merge pull request #628 from kode54/dom3-check
Added a check for DOM 3 getModifierState before attempting to use it
2015-06-14 02:00:45 +02:00
Chris Moeller
c7a5d8decf Added a check for DOM 3 getModifierState before attempting to use it, as some browsers may not have implemented that spec yet (Like stable Safari) 2015-06-13 16:54:59 -07:00
Lorenz Hübschle-Schneider
ed44c6747f Merge pull request #625 from torhve/altgrfix
Check modifier state and don't trigger on any altgr event
2015-06-12 13:35:00 +02:00
Tor Hveem
e096284502 Check modifier state and don't trigger on any altgr event 2015-06-12 11:10:48 +02:00
Lorenz Hübschle-Schneider
e167bdd112 Merge pull request #618 from pelmers/channel_link
Re-implement click to join functionality.
2015-06-11 18:28:45 +02:00
Peter Elmers
febbb3ffdb Re-implement click to join functionality.
Clicking channel names to join broke because of angular issue 9515.
Reimplement the functionality by binding the scope.openBuffer method to
the window and calling it from an onclick handler for channel name
anchors.
2015-06-11 09:10:23 -07:00
Tor Hveem
1f89a0ef0b Use new version check 2015-06-10 10:04:10 +02:00
Lorenz Hübschle-Schneider
2626b5e936 openBuffer: send /join and /query with -noswitch parameter
this functionality is currently broken (#618) but this is a good idea nonetheless
2015-06-10 10:04:10 +02:00
Lorenz Hübschle-Schneider
8c965e0b90 Store WeeChat version is an array of numbers 2015-06-10 10:04:10 +02:00
Lorenz Hübschle-Schneider
5df0ce21a2 Merge pull request #623 from glowing-bear/fix-escaping
Properly fix #622 by escaping input into DOMfilter
2015-06-09 00:12:20 +02:00
Lorenz Hübschle-Schneider
420836974e Fix irclinky test
irclinky no longer does escaping itself, that is now done by DOMfilter.
Adapt the test case to reflect this change.
2015-06-08 23:42:57 +02:00
Lorenz Hübschle-Schneider
cfad82ec3e Properly fix #622 by escaping input into DOM filters 2015-06-08 23:35:18 +02:00
Lorenz Hübschle-Schneider
bdb968d3af More strict escaping
Thanks, @nathan0!

Fixes #622
2015-06-08 22:19:11 +02:00
Lorenz Hübschle-Schneider
86e9fb7696 Merge pull request #612 from torhve/hiddenbrackets
Hiddenbrackets attempt. Fixes #609
2015-05-24 19:00:47 +02:00
Tor Hveem
407050e577 Merge pull request #613 from glowing-bear/add-settings-cache
settings: add a cache
2015-05-22 12:29:43 +02:00
Lorenz Hübschle-Schneider
0f706c37fe settings: add a cache
From the comment:
This cache is important for two reasons. One, angular hits it up really often
(because it needs to check for changes and it's not very clever about it).
Two, it prevents weird type conversion issues that otherwise arise in
$store.parseValue (e.g. converting "123." to the number 123 even though it
actually was the beginning of an IP address that the user was in the
process of entering).
2015-05-21 21:08:17 +02:00
Tor Hveem
744b7a1755 Implement hidden brackets around prefix 2015-05-19 14:00:04 +02:00
Daniel Leining
0618a769d5 Add hidden brackets around user nicks 2015-05-10 20:11:29 -04:00
Tor Hveem
0647777e9e Merge pull request #607 from glowing-bear/fix-bufferlistitem-height
Fix height of bufferlist items in narrow desktop view
2015-05-05 10:10:26 +02:00
Lorenz Hübschle-Schneider
27eb2cbc7b Fix height of bufferlist items in narrow desktop view 2015-05-02 11:39:23 +02:00
Lorenz Hübschle-Schneider
4fe4b8a5d3 Merge pull request #603 from torhve/fix-query-open-buffer
Switch to buffer after issuing /query. Fixes #318
2015-04-23 15:25:32 +02:00
Tor Hveem
ec877ab224 Switch to buffer after issuing /query. Fixes #318
Save outgoing /query nicks to a list and then check that list when we
get a buffer title rename and then switch to the buffer if the name
matches any nick in the outgoing list. Reason to use title event instead
of buffer opened event is that buffer open event doesn't contain the
short name. That would require parsing and guessing full names and in
general be more complicated (but maybe more correct)

This patch can be further improved in the future to check for existing
buffers and switch to them if they already exist.
2015-04-23 10:47:16 +02:00
Lorenz Hübschle-Schneider
35f539874c Merge pull request #600 from torhve/ellipsis
Add ellipsis overflow to buffer list name
2015-04-20 17:07:06 +02:00
Tor Hveem
c939c7b32c Don't force margins to badges 2015-04-20 16:55:29 +02:00
Lorenz Hübschle-Schneider
03ed21f203 Merge pull request #601 from torhve/read-improvements
Hotlist/Read/Unread improvements
2015-04-19 19:23:38 +02:00
Tor Hveem
2fa229851b Move readmarker too when using new style 2015-04-18 12:11:13 +02:00
Tor Hveem
d0cabde132 Send more types of clearing only when using new style 2015-04-18 12:11:13 +02:00
Tor Hveem
d83ea79809 Add ellipsis overflow to buffer list name 2015-04-18 11:57:15 +02:00
Tor Hveem
4ed6a00aaf Merge pull request #596 from stenehall/ios-native-scroll
Add iOS native scroll for buffers
2015-04-01 23:47:11 +02:00
Johan Stenehall
cabf307361 Add iOS native scroll for buffers 2015-04-01 22:22:10 +02:00
Lorenz Hübschle-Schneider
e3ff33f832 Merge pull request #588 from glowing-bear/better-disconnect
Better disconnect responsiveness
2015-03-30 11:34:48 +02:00
Tor Hveem
e0f35ae75e Merge pull request #594 from stenehall/ios-title
Better ios bookmark title
2015-03-30 11:10:07 +02:00
Johan Stenehall
11e2906888 Better ios bookmark title 2015-03-30 11:02:22 +02:00
Lorenz Hübschle-Schneider
c145457b91 Merge pull request #590 from glowing-bear/thdesign
[WIP] Improve footer, more monochrome dark design
2015-03-29 16:39:27 +02:00
Lorenz Hübschle-Schneider
04a7f31fde Merge pull request #585 from stenehall/update-topbar
Handle mobile breakpoints correctly
2015-03-29 16:37:41 +02:00
Johan Stenehall
3ce93122a3 Handle mobile breakpoints correctly 2015-03-29 16:33:31 +02:00
Tor Hveem
9ed6c4ad25 fix topbar links color 2015-03-29 16:29:39 +02:00
Tor Hveem
d2bd6d3bc7 fix hover on active buffer 2015-03-29 16:27:48 +02:00
Tor Hveem
27d8293b06 no box shadow on btn send 2015-03-29 15:26:25 +02:00
Tor Hveem
7c2b2d98e8 fix button align and colors 2015-03-29 15:18:38 +02:00
Tor Hveem
210165daf7 Improve footer, more monochrome dark design 2015-03-29 14:05:25 +02:00
Tor Hveem
7be9dab1e8 Merge pull request #587 from glowing-bear/increase-icon-size
Adjust sizes in top bar
2015-03-27 10:38:45 +01:00
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