Denis Kasak
b0872922ec
Implement /kick.
2018-03-06 09:36:22 +01:00
Denis Kasak
7434285ffb
Support weechat proxies.
2018-03-03 23:56:51 +01:00
poljar (Damir Jelić)
4a7b200ba4
utils: Align the user names in the nicklist.
2018-03-03 14:42:09 +01:00
Denis Kasak
d7485cc746
Always output HTML colors as hex codes.
2018-03-03 12:34:26 +01:00
Denis Kasak
8bb383220f
Fix numbering comment for color "white".
2018-03-03 12:34:26 +01:00
Denis Kasak
cc993df68e
Rename first_16 -> weechat_basic_colors.
2018-03-03 12:34:26 +01:00
Denis Kasak
59138a9824
if -> elif
2018-03-03 12:34:26 +01:00
Denis Kasak
c18c10774e
Remove erroneously repeated condition.
2018-03-03 12:34:26 +01:00
Denis Kasak
f47e167023
Clarify help message for /redact.
2018-03-03 12:34:26 +01:00
Denis Kasak
86309740a0
Fix quotes in help message.
2018-03-03 12:34:26 +01:00
Denis Kasak
a73c887ee3
Some style changes to help/error messages.
2018-03-03 12:34:26 +01:00
Denis Kasak
23df2d4bcb
Fix wording in error message.
2018-03-03 12:34:26 +01:00
Denis Kasak
7aa2927289
Fix command in examples.
2018-03-03 12:34:26 +01:00
poljar (Damir Jelić)
fc6a6e9da9
tests: Implement mock weechat module and add some color tests.
2018-03-02 22:59:43 +01:00
poljar (Damir Jelić)
404f785f21
Add TODO.
2018-03-01 21:03:36 +01:00
poljar (Damir Jelić)
d1869cd5d6
server: Store the device id.
...
The device id now gets saved and reused for logins.
2018-03-01 13:58:33 +01:00
poljar (Damir Jelić)
4fc5b8b41e
colors: Produce email style quotes from html block quotes.
2018-03-01 11:56:38 +01:00
poljar (Damir Jelić)
a606ac088a
Only put a prefix string if there is a prefix.
2018-02-28 21:29:15 +01:00
poljar (Damir Jelić)
92b35dfd8c
Colorize the nicks when printing out messages.
2018-02-28 21:09:18 +01:00
poljar (Damir Jelić)
97dbda95a7
Fix membership parsing.
...
The spec requires the membership status to be inside of the content,
even though sometimes it's outside of it as well.
2018-02-28 19:40:16 +01:00
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