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
Lorenz Hübschle-Schneider
735798831f
Date change marker: Don't modify last line's date
2015-11-28 20:56:19 +01:00
Lorenz Hübschle-Schneider
da7a7f85e8
Date change: refactoring
2015-11-28 13:23:41 +01:00
Patrick Melanson
9334f44cde
more human readable date change, per #679
...
For one day later: Friday (November 27) (examples in en-US)
For n>1 days: Friday (November 27, 2 days later)
For n<0 days: Friday (November 27, 1 day before)
For different years: Friday (November 27, 2015, 2156 days later)
2015-11-27 15:13:26 -05:00
Patrick Melanson
271a5d0626
when switching buffers, will inject date change if date changed
2015-11-27 15:13:01 -05:00
Lorenz Hübschle-Schneider
5dc40cb134
Date change: prettier messages, code cleaning
...
Has a weird bug:
https://github.com/glowing-bear/glowing-bear/pull/677#issuecomment-158891237
2015-11-23 10:59:00 +01:00
Patrick Melanson
9955056ed9
dates change with weechat 2date behaviour
2015-11-22 21:02:10 -05:00
Patrick Melanson
0a1726e359
date change messages are chat_day_change color, multiple messages generated for diff of 1-5 days
2015-11-20 18:31:55 -05:00
Lorenz Hübschle-Schneider
b883a52b09
Date change message prototype
2015-11-15 21:50:29 +01: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
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
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
ca5542e46d
Handle signal _buffer_localvar_changed
...
Our parser already supports this message, we just were not hooking the
signal up with the parser.
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
Lorenz Hübschle-Schneider
1d4caa91cd
Parse colours in buffer title
...
Requires a WeeChat version including 013165209a
i.e., WeeChat 1.1 or a November 2014 nightly (or later)
(for previous versions, see https://github.com/weechat/weechat/issues/237 )
Fixes #308
2015-01-03 18:18:20 +01:00
Lorenz Hübschle-Schneider
d783d0e91b
Fix display of buffers without a short_name
2014-11-20 21:18:18 +01:00
Lorenz Hübschle-Schneider
9b7a778186
Fix non-#channels and single-symbol channels (#)
2014-11-20 12:59:33 +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
2475ad2c61
Bufferlist design attempt
2014-09-17 13:24:27 +02: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