summaryrefslogtreecommitdiff
path: root/src/tabs/basetabs.py
AgeCommit message (Collapse)Author
2015-06-21Do not beep on outgoing carbons (fix #3049, fix #3091)mathieui
2015-05-11Remove gettext support, as we don’t want to translate poezio, and it takes ↵Emmanuel Gil Peyrot
more than 1ms per call.
2015-05-06Remove unreachable code.Emmanuel Gil Peyrot
2015-04-13Display error messages inside a conversationmathieui
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-12Fix #3029 (reset completion when a command is executed)mathieui
2014-12-30Only graphically ack a message if it was sent by usmathieui
2014-12-08Fix #2754 (make /xhtml send a message with receipts, chatstates and display ↵mathieui
it properly) (also make the message appear in PrivateTabs)
2014-12-08Add a visual “feature check” for chat states toomathieui
2014-11-25Parse command arguments using a decorator and make things more consistentFlorent Le Coz
Avoid surprises with some commands accepting quoted arguments and some other not. fix #2555
2014-11-12Merge branch 'master' of git.poez.io:poezio into slixmathieui
2014-11-12Don’t display a feature check of the remote party if it doesn’t support ↵mathieui
anything it’s confusing.
2014-10-31Merge branch 'master' of git.poez.io:poezio into slixmathieui
Conflicts: src/bookmark.py src/config.py src/connection.py src/core/commands.py src/core/core.py src/core/handlers.py src/windows/info_bar.py src/windows/muc.py src/windows/roster_win.py src/windows/text_win.py src/xhtml.py
2014-10-30Use a space instead of a cross while checking featuresmathieui
2014-10-25Make the features disco in chat more user-friendlymathieui
2014-10-22Typomathieui
2014-10-20Remove the (sometimes wrong) default values in the config.get() callsmathieui
2014-10-20Change the API of Config.get_by_tabnamemathieui
Make the "default" parameter optional and thus move it to the end of the command with the other optional parameters. And change all the calls.
2014-08-01Entirely remove the g_lock (used to avoid a few race conditions with ncures)Florent Le Coz
2014-08-01Fix a few blocking iq, and remove all block=False function argumentsFlorent Le Coz
2014-08-01Little comments fixFlorent Le Coz
2014-08-01Make the TimedEvents work with asyncioFlorent Le Coz
Improvements: events now occur precisely at the specified date. You don’t need to stop touching your keyboard to execute them.
2014-05-18Handle the case where the contact does not support anythingmathieui
2014-05-17Only display the supported features when they changemathieui
also, check the features every rejoin for PrivateTabs and refresh the window after displaying the features
2014-05-17Add an informative message about what the contact supports feature-wisemathieui
and add a handler for missing commands
2014-05-15Make detecting the features supported by the remote entity less awfulmathieui
no more stalling while waiting for a disco info while sending a message.
2014-05-08Fix a hidden traceback on error message outside MUCsmathieui
2014-05-05Revert "Fix #2072 (only resize a tab if the size changed since the last ↵mathieui
display)" This reverts commit b46f0f5e266c321632738ca40839759486b47a7e. Conflicts: src/tabs/muclisttab.py Doing this made the unresized elements refresh in the old subwins, causing glitches and weirdness. And anyway, the only problematic element is the TextWin (rebuilding all the lines of a buffer is expensive), but it already checks if the width changed.
2014-05-05Fix a traceback when creating a gaptabmathieui
2014-05-03Fix #2072 (only resize a tab if the size changed since the last display)mathieui
2014-04-30Remove Tab.get_name() and use Tab.name insteadmathieui
(keep a get_name() fallback just in case for now)
2014-04-30Fix #2510 (link displayed twice in xhtml-im)mathieui
- also, fix the /xhtml command that was nesting one <body/> too many
2014-04-29Fix most UI issues with introduced in 0caf941mathieui
2014-04-28Make the size modular, remove small-size lock (also seems to fix #2155)mathieui
some stuff is now hidden wen the window size gets too small (might need some adjustments). The info buffer in the roster tab, the userlist in mucs, the vertical tab list, the info buffer everywhere, etc…
2014-04-27Fix #2106 (implement message delivery receipts)mathieui
- two options request/ack_message_receipts - two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK - if a message has a receipt, the character is displayed between the timestamp and the nick, using the color
2014-04-23Wrap yet another curses operation with a lockmathieui
2014-04-17Do not lock on the “composing” chat state with otrmathieui
might send too many stanzas when send_chat_states is false, but I don’t care.
2014-04-15Fix #2440 (highlight composing tabs)mathieui
- add a show_composing_tabs option, default value: "direct" - todo: find a nice different color for this
2014-04-04Remove unused importsmathieui
(thanks eijebong)
2014-04-02Fix #2340 (change tab priority when the input is not empty)mathieui
2014-04-01Fix #2462 (wrong timezone in the logs)mathieui
Now everything in the logs is in UTC time, and is converted when read (also, actually return the logs after loading them instead of not doing anything)
2014-03-24Use RawConfigParser.get{int,bool,float} whenever possiblemathieui
config.get('option', 'value').lower() == 'value' is just ugly and stupid, especially for bool. One if in basetabs:556 was also missing a comparison, leading to True whenever the option was set.
2014-03-23Fix formatting, some typos, and unused code, and add docstringsmathieui
- No idea why subclasses of ConversationTab were working before (info_header was overriden with None in __init__) - Or why the date parsing worked (“Exeception”) - Some more reformatting with pylint indications - Document each module in the tabs module
2014-03-19split the "tabs" module into separate filesmathieui
- todo: write a common import file to avoid duplicating the imports