Commit graph

1514 commits

Author SHA1 Message Date
mathieui
97d3690aea Implement Message Carbons (XEP-280)
- Add an option enable_carbons (defaults to false)
- Make a disco on non-roster entites to determine if the message
  commes from a muc private chat or not.
2013-06-10 23:49:10 +02:00
mathieui
4220c36021 Fix addstr_colored with colors that start with a -1 2013-06-10 20:53:16 +02:00
mathieui
2ab2eaf269 Lock on one forgotten curses operation 2013-06-09 17:12:39 +02:00
mathieui
d5ae6966f9 Fix #2301 2013-06-09 17:02:54 +02:00
mathieui
2668df740b Fix #1892 (keep the contact selected in the roster) 2013-06-09 15:36:50 +02:00
mathieui
103d097acf Fix #2183 (do not scroll one char at a time when you reach the end)
Now it scrolls horizontally of 1/4 the size of the input
2013-06-09 15:18:39 +02:00
mathieui
9d5fddf5ba Use the new format in the roster log too (ref #2311)
(and add the pep events and invites to it)
2013-06-09 12:56:51 +02:00
mathieui
71b6404b04 Adopt the mcabber log format (Fix #2311) 2013-06-09 03:47:16 +02:00
mathieui
9eaffe1369 Fix the os.makedirs calls so that they don’t traceback for nothing 2013-06-09 03:45:10 +02:00
mathieui
9b8ed569bb Fix the regex for text attributes 2013-06-08 23:51:47 +02:00
mathieui
26ea842cee Add a way to format background colors in a string
(also add colors to the /info command in MUCs)
2013-06-08 17:36:02 +02:00
mathieui
545e67c500 Fix setting autojoin with /bookmark 2013-06-08 12:28:07 +02:00
Florent Le Coz
463ec5ca0d Accept NULL bytes in strings to be cut by the poopt module
fix #2296
2013-06-07 00:04:01 +02:00
Florent Le Coz
032d2b711b Add a M-k keyboard shortcut to escape the next keyboard shortcut
fix #2227
2013-06-06 22:58:29 +02:00
Florent Le Coz
834546ac77 Do not traceback when receiving malformed XML in a xhtml-im body 2013-06-06 22:53:43 +02:00
mathieui
9e8860cd6a Fix joining a domain-only room
(e.g. “/join @conference.prosody.im”)
- If the current tab is a MUC the @ prefix is mandatory as there is no
     way to tell if the user meant a room name or a domain.

- If it is not a MUC, then the @ prefix is not mandatory (but works
  anyway)
2013-06-05 20:44:27 +02:00
mathieui
ae009318b2 Fix #2299 (invalid characters causing a TB)
any character beyond 0x110000 does not exist and should be dropped
2013-06-04 13:20:59 +02:00
mathieui
0abc789403 Do not block on roster operations (and do not traceback on errors) #2315 2013-06-03 23:13:10 +02:00
mathieui
0dcc6f9cc4 Fix the caps updating (“do not verify” message in swift) 2013-06-01 21:43:15 +02:00
mathieui
4ee7708b14 Small workaround for the default config location 2013-05-29 15:32:25 +02:00
mathieui
2b42c6a3ea Update setup.py to use distutils
(use new default directory, install the plugins as a separate
python module…)
2013-05-26 20:13:39 +02:00
Florent Le Coz
1b9dc72d14 Fix a traceback (plugin_manager) 2013-05-24 22:13:56 +02:00
Florent Le Coz
3356cac9ce Fix a stupid traceback (common.datetime_tuple) 2013-05-24 21:52:12 +02:00
mathieui
0255968049 Fix a tb on "/ban " 2013-05-17 19:30:52 +02:00
mathieui
69af684494 Fix a traceback on /role completion if the tab is not connected
(also add outcast to the completed roles)
2013-05-17 11:53:32 +02:00
mathieui
ee8de89f9e Fix #2307 (commandinput history) 2013-05-16 16:08:30 +02:00
mathieui
06e368f66e Fix the parser for the rainbow plugin 2013-05-16 15:35:59 +02:00
mathieui
785b21ff02 Fix #2229 (prevent correction if the 2 fulljid differ)
(Except in MUC, where we check the User object for that)
2013-05-15 19:04:56 +02:00
mathieui
55dfc625b3 Fix a traceback on /nick [tab]
(introduced in 686352d22b, because a
nick bookmark can now be None)
2013-05-15 13:17:24 +02:00
mathieui
58174d1bf1 Sort users in /names 2013-05-15 12:56:24 +02:00
mathieui
9de322bea3 Rewrite the poezio colors parser (also Fix #2279)
The parser now handles text with multiple style attributes
(e.g. bold, underlined and red text).
2013-05-14 22:29:45 +02:00
mathieui
7f1562c4c2 Actually use it. 2013-05-11 21:43:45 +02:00
mathieui
a1ef835a37 Handle the roster order cache as a real cache
When an external (or internal) event may cause the order of the
cache to be modified, or new elements to be added, schedule it
for a rebuild. Otherwise, don’t, and only rebuild it when
refreshing (that should improve refresh speed a lot).

Also, if the position in the roster is further than the total size
of the roster, go back to the top instead of displaying an empty
window with “+++”.
2013-05-11 20:51:11 +02:00
mathieui
dde153e85b Reverse the plugin loading path 2013-05-11 12:00:37 +02:00
mathieui
3d8c91dcb0 Fix the reason in the ban message 2013-05-11 00:33:06 +02:00
mathieui
686352d22b Do not add a nick to each bookmarked room 2013-05-10 14:55:50 +02:00
mathieui
6767d04a1d Fix #2295 (sanitize commands given to /help)
remove starting slashes and starting and trailing spaces
2013-05-10 13:41:13 +02:00
mathieui
ca8b67fca9 Fix #2131 (Input cursor when pasting text) 2013-05-10 00:49:38 +02:00
mathieui
60388686a5 Fix the exit message 2013-05-09 22:29:26 +02:00
Florent Le Coz
ffe33c5da3 Add a little workaround for MUC servers that do not send the 110 status 2013-05-09 13:20:46 +02:00
Florent Le Coz
53170fd4f2 Add the 'changing_nick' event 2013-05-09 13:18:44 +02:00
Florent Le Coz
38af82501c Fix a crash introduce something like 5-6 commits ago, np. 2013-05-09 13:18:44 +02:00
mathieui
3eece64062 Fix #2284 (don’t send always send an inactive chatstate with /w) 2013-05-06 20:48:37 +02:00
mathieui
48614d6cf0 Fix #2286
Also fix the copy of the default config if -f is used
2013-05-06 20:23:33 +02:00
Florent Le Coz
ea5bfbfca4 Fix a typo "on on an unknown platform" 2013-05-01 19:38:47 +02:00
Florent Le Coz
beb374f7e3 Make Alt+backspace work on my freebsd 2013-05-01 19:03:32 +02:00
Florent Le Coz
ea12f4ccce Document the new event 2013-05-01 18:44:14 +02:00
Florent Le Coz
e8f5c21fcd Lets plugins change the presence BEFORE joining a muc, with a new plugin event 2013-05-01 18:39:33 +02:00
Florent Le Coz
fb21f337e7 Take into account the nick given by the MUC when joining a room.
This way, if the MUC service decides to give us an other nick than the one
we asked it works properly.
2013-05-01 18:37:27 +02:00
mathieui
9661854611 Typo 2013-04-23 12:37:47 +02:00