poljar (Damir Jelić)
0f08584744
Try to update the highlight status as well in the backlog event.
...
Updating the highlight status of a line currently isn't possible in
weechat. Hopefully future weechat versions will allow this.
2018-02-28 18:30:39 +01:00
poljar (Damir Jelić)
0b5ceb8526
Another map that doesn't get executed in python3.
2018-02-28 18:30:10 +01:00
poljar (Damir Jelić)
b2c5a003d2
Remove unused imports.
2018-02-28 15:55:12 +01:00
poljar (Damir Jelić)
8e43fe1533
Fix cert digest calculation under python3.
...
Openssl's digest function takes a byte string on python2 and a unicode
string on python3. Use bytes_to_native_str for this conversion.
2018-02-28 15:53:33 +01:00
poljar (Damir Jelić)
cd2788553c
Use a for loop instead of map in the join info event.
...
map returns an iterator on python3, the function won't get executed
unless we ask for the result, since the function doesn't return a result
we'll use a for loop instead of complicating things unnecessarily.
2018-02-28 15:33:48 +01:00
poljar (Damir Jelić)
f247daf51d
Print out certificate info.
2018-02-28 14:38:02 +01:00
poljar (Damir Jelić)
f9971ce443
Print out a message when logging in.
2018-02-27 19:56:02 +01:00
poljar (Damir Jelić)
6822084d59
Add ability to send emote messages using the /me command.
2018-02-26 23:31:53 +01:00
poljar (Damir Jelić)
4f848da7fe
Reuse RoomMessageText class for our own messages.
2018-02-26 22:35:01 +01:00
poljar (Damir Jelić)
01ad6e9d9a
Handle notice messages.
2018-02-26 19:57:19 +01:00
poljar (Damir Jelić)
6db44525dc
Abstract away unknown messages and emote messages.
2018-02-26 19:36:02 +01:00
poljar (Damir Jelić)
2b428ac132
Handle emote messages.
2018-02-26 19:22:54 +01:00
poljar (Damir Jelić)
13d70ae867
Handle media messages.
2018-02-26 18:21:40 +01:00
poljar (Damir Jelić)
2fc2828dd0
Fix is_formatted check.
2018-02-26 11:40:15 +01:00
poljar (Damir Jelić)
2d364c1a8e
Small formatting fix.
2018-02-25 20:13:07 +01:00
poljar (Damir Jelić)
882a880e60
Handle empty diplay_name for message printing.
2018-02-25 19:23:46 +01:00
poljar (Damir Jelić)
15f814bee8
Add room encrytpion event.
2018-02-25 19:18:44 +01:00
poljar (Damir Jelić)
fb47b94252
Remove unused imports.
2018-02-25 18:53:42 +01:00
poljar (Damir Jelić)
d97323e7e8
Catch exceptions for room events and print out a error message.
2018-02-25 18:53:11 +01:00
poljar (Damir Jelić)
31fc14c27f
Fix empty display name handling.
2018-02-25 18:52:55 +01:00
poljar (Damir Jelić)
1ec7c8f190
Remove unused ignore_event_list.
2018-02-25 18:12:23 +01:00
poljar (Damir Jelić)
bf0bffc879
Remove the message type enum.
2018-02-25 18:09:05 +01:00
poljar (Damir Jelić)
9f70a1440b
Remove room name printing from the room name event.
2018-02-25 18:01:23 +01:00
poljar (Damir Jelić)
efa663133b
Move message handling function into the server class.
2018-02-25 18:01:14 +01:00
poljar (Damir Jelić)
6fdea4d213
Refactor of message handling function.
2018-02-25 17:45:26 +01:00
poljar (Damir Jelić)
a59d72cd15
Move buffer message sorting to the backlog event class.
2018-02-25 17:00:52 +01:00
poljar (Damir Jelić)
0aa773ef2f
Remove unused code.
2018-02-25 16:52:39 +01:00
poljar (Damir Jelić)
bed3e1f5e6
Add name and aliases room event handling.
2018-02-25 16:34:55 +01:00
poljar (Damir Jelić)
0743bca542
Refactor the message modification in redactions.
2018-02-25 15:29:07 +01:00
poljar (Damir Jelić)
c12c9b6eb9
Tokens and IDs can't be empty, so raise a value error if they are.
2018-02-25 14:54:20 +01:00
poljar (Damir Jelić)
5791a48b3f
Handle room redaction events.
2018-02-25 14:53:48 +01:00
poljar (Damir Jelić)
99bef42187
Set highlight_tags_restrict to the channel buffers.
2018-02-24 17:56:29 +01:00
poljar (Damir Jelić)
e0ca75b56a
Handle room topic events.
2018-02-24 15:15:00 +01:00
poljar (Damir Jelić)
ae8aba1a3c
Fix the backlog event execution.
2018-02-24 13:28:51 +01:00
poljar (Damir Jelić)
542b0bb5af
Remove empty room events.
2018-02-24 10:24:19 +01:00
poljar (Damir Jelić)
add8df517c
Add power level handling back.
2018-02-23 20:17:01 +01:00
poljar (Damir Jelić)
63e24d56dd
Handle state events as well.
2018-02-23 18:57:35 +01:00
poljar (Damir Jelić)
28d379a428
Separate the membership events out.
...
We need to handle the membership events so we can populate the nicklist
and set nick colors before we print out any messages.
2018-02-23 18:53:39 +01:00
poljar (Damir Jelić)
b2eacd468f
Pass a copy of the tag list for the events.
2018-02-23 15:21:13 +01:00
poljar (Damir Jelić)
e1723c528c
Add membership handling to the room events.
2018-02-23 15:18:06 +01:00
poljar (Damir Jelić)
f98efe1ab9
Move room classes to rooms.py.
2018-02-22 21:50:50 +01:00
poljar (Damir Jelić)
80545dd776
Some renames and reordering.
2018-02-22 21:38:08 +01:00
poljar (Damir Jelić)
f1ddbc841f
Add buffer_modes bar item, used for backlog and encryption status.
2018-02-22 15:02:42 +01:00
poljar (Damir Jelić)
11076f9649
More formatting fixes using yapf.
2018-02-22 14:35:14 +01:00
poljar (Damir Jelić)
6d4f69e3a2
Disallow sending of multiple backlog messages in parallel.
2018-02-22 14:26:54 +01:00
poljar (Damir Jelić)
0fba3016ee
Fixup typo for sanitization.
2018-02-22 14:26:35 +01:00
poljar (Damir Jelić)
26f38a5193
Get the end token even if there weren't any messages.
2018-02-22 14:26:23 +01:00
poljar (Damir Jelić)
0c54c5f1b4
Add missing sanitization calls.
2018-02-22 14:06:25 +01:00
poljar (Damir Jelić)
2ac8bef499
Add initial sync event implementation.
2018-02-22 13:40:35 +01:00
poljar (Damir Jelić)
9b25026a3a
Don't reconnect on a timeout, disconnect does this already.
2018-02-21 17:07:57 +01:00