Jeremy Mahieu
5fb51c07e6
Change handshake timout to 200ms
2020-04-28 10:59:46 +02:00
Jeremy Mahieu
620afd6f7d
Rename the allow plaintext setting
2020-04-22 12:26:20 +02:00
Jeremy Mahieu
3fe48d9e4e
Correct spelling of algorithm
2020-04-22 12:14:53 +02:00
Jeremy Mahieu
9626155da4
Correctly add itteration instead of hardcoding
2020-04-22 11:58:49 +02:00
Jeremy Mahieu
0d1f8ac167
Add error for hash disagree, change handshake names
2020-04-18 11:37:55 +02:00
Jeremy Mahieu
f03e011d1a
Use new authentication methods in weechat 2.9
2020-04-17 22:33:21 +02:00
Jeremy Mahieu
77187a728a
Fix reconnect issue introduced after TOTP changes
2019-12-22 12:37:10 +01:00
Jeremy Mahieu
012bd88258
Change layout and autoconnect behaviour. Add info next to topt function
2019-12-19 22:16:01 +01:00
Jeremy Mahieu
e87d74243f
Spelling in comment
2019-12-19 08:25:17 +01:00
Jeremy Mahieu
68e2df24fd
Support TOTP
2019-12-18 22:08:16 +01:00
rio-
05a40e0a3b
Add input field for WebSocket path, resolves #1008
2019-12-15 00:23:58 +01:00
Lorenz Hübschle-Schneider
352210df52
Disable periodic hotlist sync if read status sync is disabled
...
This will cause weechat and Glowing Bear read status to drift apart but
that's how it used to be before we added the periodic sync anyway, and
properly fixing it would require maintaining *tons* of state, so that's life.
2018-11-05 17:20:37 +01:00
Lorenz Hübschle-Schneider
d4d7a977e1
Parse some of WeeChat's completion settings
...
weechat.completion.nick_completer and 'weechat.completion.nick_add_space
Fixes #963
2017-08-20 09:51:48 +02:00
Lorenz Hübschle-Schneider
c4d8a4fe10
Revert "[DISCUSS] Remove "scroll to readmarker" functionality"
2017-06-16 21:29:48 +02:00
Lorenz Hübschle-Schneider
d45763d736
Merge pull request #905 from lorenzhs/dont-scroll-to-readmarker
...
[DISCUSS] Remove "scroll to readmarker" functionality
2017-05-26 14:23:37 +02:00
Lorenz Hübschle-Schneider
c8c3c9aa8d
Escape comma in password
...
Fixes #937
2017-05-05 12:48:41 +02:00
Lorenz Hübschle-Schneider
1fa6462bca
Remove "scroll to readmarker" functionality
...
It's irritating. Fixes #899
2017-03-01 14:21:46 +01:00
Simon Cooksey
71c2900216
Alt-H now clears hotlists on WeeChat relay
...
Fixes #832 .
2016-11-09 12:58:09 +01:00
Lorenz Hübschle-Schneider
7974204af3
Fix time format if no date is present
2016-09-19 10:11:14 +02:00
Lorenz Hübschle-Schneider
cc4d4bf20e
Fix comment
2016-09-19 10:04:15 +02:00
Lorenz Hübschle-Schneider
79e77ffef0
Date format: match ordering of components in weechat
2016-09-19 10:02:31 +02:00
Lorenz Hübschle-Schneider
e65804c7a7
Date format: detect %e, too, and add some comments
2016-09-19 09:35:52 +02:00
Csaba Henk
02a3fbb876
Detect strftime year/month/day specifiers in weechat.look.buffer_time_format
...
Accodingly include year/month/day into our time format.
2016-09-17 20:05:26 +02:00
Tor Hveem
a527428763
Periodic hotlist sync. Fixes #692
...
There is a bug in WeeChat when hdata is null, which happens when the
hotlist is empty (meaning all buffers are read). Our websocket callback
machinery expects every command with id to return data, so this code in
current versions of WeeChat will lead to a slow leak. But I think lots
of things in our code will do this already so I'm not entirely sure it's
too problematic to let this patch go by.
We could use infolists instead of hdata, but that is cumbersome to parse
and less performant for WeeChat, and sends more data over the wire.
I propose we make a separate attempt at cleaning up the callbacks. Since
we store time on them we could have a cleanuptask that looks through
them and deletes old callbacks. Maybe @dcormier could have a look?
2016-07-29 14:12:46 +02:00
Patrick Melanson
ac2966ff0b
Base our time format off of weechat's config
2016-07-20 11:57:20 -04:00
Patrick Melanson
37ba46d379
Extended fetchConfValue with callbacks
2016-07-20 11:57:13 -04:00
Lorenz Hübschle-Schneider
1edba41c4c
Add a lock on the connection
...
This should fix #610 but needs more testing
2016-04-10 11:54:02 +02:00
Tor Hveem
c9dbdc39e4
fetch weechat configuration variables
...
Usage: fetchConfValue('weechat.look.buffer_time_format')
will result in models.wconfig['weechat.look.buffer_time_format'] to be
set when the result returns from WeeChat.
Could maybe be extended to also call a callback when it's available if
needed.
2015-12-17 17:46:43 +01:00
Tor Hveem
68a766af0a
Fix for password error
...
The old error handler wasn't really working for unknown reasons, but
this seems to fix it.
2015-12-16 14:01:38 +01:00
Lorenz Hübschle-Schneider
507a39f68f
Don't show date change message for free buffers
...
This requires requesting the buffer type and handling the
apropriate event
2015-11-28 20:59:00 +01:00
Tor Hveem
4f686d512d
Request nicklist using ptr instead of fullname
2015-11-28 12:29:38 +01:00
pmelanson
643278478f
IPv6 address literals won't be surrounded by [ ... ] if it's already there
2015-11-13 20:56:43 +00:00
Tor Hveem
cf771eb73f
Merge pull request #620 from glowing-bear/noswitch
...
Use -noswitch option to open buffers
2015-09-17 09:05:35 +02:00
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
Lorenz Hübschle-Schneider
8c965e0b90
Store WeeChat version is an array of numbers
2015-06-10 10:04:10 +02:00
Tor Hveem
2fa229851b
Move readmarker too when using new style
2015-04-18 12:11:13 +02: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
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
Tor Hveem
feaf76f1ea
move hotlistclear into connection
...
Also some clean up stray debug
2015-03-23 13:33:16 +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
cf27b11df3
fixes for reconnect feature
...
Reinitalise models, and more apply state
2015-03-15 23:58:18 +01:00
Tor Hveem
7029511029
Style the reconnect banner, clean up apply usage
2015-03-14 21:16:45 +01:00
Lorenz Hübschle-Schneider
849da1b5a2
Implement reconnecting upon connection loss
...
TODO: test in various conditions
2015-02-17 09:42:48 +01:00
David Cormier
933af6a983
Merge pull request #420 from glowing-bear/use-strict
...
[PLS TEST] Use strict
2014-09-17 09:44:32 -04:00
Lorenz Hübschle-Schneider
121c165a39
Scroll to correct position when fetching more lines
...
Fixes #406
2014-09-13 18:25:12 +01:00
Lorenz Hübschle-Schneider
a80db339f8
Use strict
...
Requires turning IrcUtils into an Angular service, because the global variable
trick won't work with use strict.
Reuse is still easily possible by removing the angular wrapping around it.
2014-09-07 16:55:18 +01:00
Lorenz Hübschle-Schneider
21f8f47efe
Split things up into logical blocks
2014-08-31 15:57:36 +01:00