Commit graph

3055 commits

Author SHA1 Message Date
mathieui
f9bb45f6e5
Fix an ordering issues in the MUC userlist
users changing affiliations or roles weren’t moved around properly
2015-07-17 22:17:49 +02:00
mathieui
007459810a
Add a missing nick size bound, which caused text to overflow
for nicks with length > 10 and messages longer than one line, it would
overflow on the line below everytime.
2015-07-16 23:36:16 +02:00
mathieui
310d6630dc
Fix the initial help message 2015-07-14 16:00:01 +02:00
Eijebong
c62c5b2da7 Fix a traceback in the bookmarks tab when we do not set a nickname
explicitly.
2015-07-06 17:06:45 +02:00
mathieui
be9f447099
Make /otr end terminate all encrypted conversations with this bare JID 2015-06-29 23:49:11 +02:00
mathieui
7c99b82642
Fix a traceback in the OTR plugin 2015-06-29 23:28:39 +02:00
mathieui
3b0cddd368
Micro-optimize the roster refresh
The roster wrapper sucks and is way too slow. Halve refresh time by more
than 50% using manually managed counters.
2015-06-27 22:39:15 +02:00
mathieui
22e2ba444e
Add a requirement to cython
(not technically *required* but gives a very nice speedup)
2015-06-22 23:58:24 +02:00
mathieui
c9aa439bbb
Add slots to the User object
(we can have thousands of these)
2015-06-22 00:59:06 +02:00
mathieui
79644da690
Improve the performance of the userlist refresh
Also only run one regex on search_for_color()
2015-06-22 00:55:21 +02:00
mathieui
0627a85483 Fix #3051 (always add an id attribute to rawxml IQ set/get) 2015-06-21 17:03:28 +02:00
mathieui
ce53874927 Call update_caps() asynchronously
(API changes in slixmpp)
2015-06-21 16:28:22 +02:00
mathieui
1efc45f882
Do not beep on outgoing carbons (fix #3049, fix #3091) 2015-06-21 15:38:33 +02:00
mathieui
d9050e9565
Add a show_jid_in_conversations option
To hide or show the JID of the contact in conversation tabs.
2015-06-18 21:11:58 +02:00
mathieui
43ef5fd949
Fix #3080 (show roster names instead of JIDs) 2015-06-18 21:02:13 +02:00
mathieui
5ae74e4c93
Do not log unhandled iq errors and timeouts in the error log
tends to happen quite often
2015-06-11 00:12:04 +02:00
mathieui
f076890944
Fix the paths to errors.log in the documentation 2015-06-06 19:23:03 +02:00
mathieui
b7a7da12fa
Fix #3062 (mention /accept or /deny must be done in the roster tab) 2015-06-06 17:08:29 +02:00
mathieui
3077ec2bc1
Fix /list when no server is provided
(thanks eijebong)
2015-06-06 16:49:39 +02:00
Florent Le Coz
028e22b480 Save the bookmark password in the tab in the initial join, for later usage 2015-06-01 14:20:10 +02:00
Florent Le Coz
8f75e10d2f Use the password stored in the MucTab, with /join, if none is found otherwise 2015-06-01 13:50:26 +02:00
mathieui
ab3c382709
Cleanup: remove sone unused code and threading stuff 2015-05-31 23:25:26 +02:00
Florent Le Coz
39ed7e35cc Disable the MUC self ping by default
Because it doesn’t work, due to a lot of factors, and we can’t fix them.
2015-05-26 20:49:46 +02:00
Florent Le Coz
0c8fe4da30 Properly yield an error on /add without arguments 2015-05-26 14:38:22 +02:00
mathieui
03c2d2974a
Handle not-well-formed XML in the XML tab buffer
happens with whitespace keepalive at least
2015-05-21 14:29:26 +02:00
mathieui
927822cb46
Document the vertical_tab_list_size option better
say it’s for horizontal size
2015-05-21 10:36:48 +02:00
mathieui
58103b1d39
Resize after setting the vertical_tab_list_size option 2015-05-21 10:34:53 +02:00
mathieui
c00c3f8498
Update the pip inside the venv 2015-05-21 10:06:03 +02:00
Eijebong
c59ece0cbf Fix the doc. use_log is not true by default. 2015-05-20 15:30:30 +02:00
Florent Le Coz
0d1ea0d8c3 Merge branch 'self-ping' into HEAD
Conflicts:
	src/tabs/muctab.py
2015-05-16 20:42:30 +02:00
mathieui
1914cfe003
Add a cyberplugin 2015-05-11 23:35:47 +02:00
Emmanuel Gil Peyrot
af0fe9d2e4
Remove translation support, and cleanup the Makefile. 2015-05-11 22:31:16 +02:00
Emmanuel Gil Peyrot
dd98aa44a5
Remove gettext support, as we don’t want to translate poezio, and it takes more than 1ms per call. 2015-05-11 22:31:12 +02:00
Florent Le Coz
861f5c4bbd The previous commit, but correctly done this time 2015-05-10 19:28:17 +02:00
Florent Le Coz
8aecdc7db7 Fix the completion of /win when a listtab is open
And probably some other things that use ListTab.matching_names()
2015-05-10 19:26:23 +02:00
mathieui
dfd60426d8
Micro-optimizations on refresh
Reduce the number of calls to config.get whenever possible. Yields a
performance improvement of at least 10% for the basic use case of
"receiving a message in the current tab". Logging stuff isn’t free
either, even when the call should be a no-op, so we should try to make
the debug log less verbose.
2015-05-08 20:37:21 +02:00
mathieui
3171c96eed
Remove an accidentally added debug log 2015-05-08 13:56:38 +02:00
mathieui
5a88bd1c89
Don’t call for resize on /set 2015-05-08 01:41:03 +02:00
Emmanuel Gil Peyrot
96fdd5e769 Remove unreachable code. 2015-05-06 01:39:22 +02:00
Emmanuel Gil Peyrot
ec40090cda Add a missing “return logs” in PrivateTab while loading the logs. 2015-05-06 00:50:59 +02:00
Emmanuel Gil Peyrot
9770a40e5f When reading logs, don’t consider a non-existing file as an error. 2015-05-06 00:49:11 +02:00
mathieui
ae7c506477
Display the MUC-related error messages inside the MUC 2015-04-28 17:44:03 +02:00
mathieui
39c01fe3b6
Fix MUC private messages
(bug introduced in 1c9257)
2015-04-16 14:06:00 +02:00
mathieui
e78ed92ba3
Fix #2714 (make bare /bookmark use the current room password if there is one) 2015-04-14 01:34:24 +02:00
mathieui
64ec234f6b
Fix #3043 (add a hint about /access when receiving a sub request) 2015-04-13 18:42:39 +02:00
Florent Le Coz
5cc714a327 “Disconnected from server” message is now an error only if we didn't ask for it 2015-04-13 18:07:58 +02:00
mathieui
91fde24388
Display error messages inside a conversation
if the error has the same id as a sent message, it will be displayed
    with a cross where there is usually a checkmark (ack), and the
    received error will be appended to the message, in red.
if it does not have a know id, it will be added as another message to
    the conversation, without a nick, and in red.
2015-04-13 17:35:40 +02:00
mathieui
1c9257b4a2
Handle error messages for real 2015-04-13 15:24:12 +02:00
mathieui
83113d42fc
Add a "." shortcut to /set in order to set the section for the current tab JID
e.g. /set . notify_messages false would set the option for a section
named after the current tab.
2015-04-13 14:31:35 +02:00
mathieui
c8caccc9a1
Fix a bug introduced in ee6c7d3
(the command args parser would never parse three args, making /set
unable to set section-specific options)
2015-04-13 14:28:52 +02:00