summaryrefslogtreecommitdiff
path: root/src/core/handlers.py
AgeCommit message (Collapse)Author
2015-07-21Always register the handlers for carbon, and only onceFlorent Le Coz
The handlers are always there, but we only get carbons events when the server sends them to us, which is only when we enabled them. fix #3104
2015-07-20Fix wrong DNS resolution when reconnectingmathieui
even if custom_host was set, poezio would use the dns records for the reconnection
2015-06-27Micro-optimize the roster refreshmathieui
The roster wrapper sucks and is way too slow. Halve refresh time by more than 50% using manually managed counters.
2015-06-21Call update_caps() asynchronouslymathieui
(API changes in slixmpp)
2015-06-21Do not beep on outgoing carbons (fix #3049, fix #3091)mathieui
2015-06-18Fix #3080 (show roster names instead of JIDs)mathieui
2015-06-06Fix #3062 (mention /accept or /deny must be done in the roster tab)mathieui
2015-06-01Save the bookmark password in the tab in the initial join, for later usageFlorent Le Coz
2015-05-31Cleanup: remove sone unused code and threading stuffmathieui
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-04-28Display the MUC-related error messages inside the MUCmathieui
2015-04-16Fix MUC private messagesmathieui
(bug introduced in 1c9257)
2015-04-14Fix #2714 (make bare /bookmark use the current room password if there is one)mathieui
2015-04-13Fix #3043 (add a hint about /access when receiving a sub request)mathieui
2015-04-13“Disconnected from server” message is now an error only if we didn't ask ↵Florent Le Coz
for it
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-13Handle error messages for realmathieui
2015-02-09Change the bookmark interfacemathieui
move the modulename to bookmark → boookmarks add a bookmarklist class with remove module-level variables do a features check on startup before trying to fetch the bookmarks
2015-01-28Minor fixes to the certificate warning prompt (#2949)mathieui
- slightly lower the CPU usage (callback instead of active waiting w/ sleep) - make the terminal beep so the user knows something happened - prevent the user “escaping” the prompt by pressing /, s, or S
2014-12-30Only graphically ack a message if it was sent by usmathieui
2014-12-17Explicitly disconnect when refusing to acknowledge a certificate changemathieui
2014-12-17Handle invalid certificate chains (with the ca_cert_path option)mathieui
2014-12-11Fix #2847 (SASL External support)mathieui
- Add two new options, keyfile and certfile, which must be both set for the auth to work. - if both are set, then poezio doesn’t force-prompt a password if there is none specified - add /cert_add, /cert_fetch, /cert_disable, /cert_revoke and /certs commands. - add a page of documentation on the process
2014-12-07Don’t put newlines between xml stanzas in the xml tabmathieui
2014-12-07Fix the xml tab when pygments isn’t presentmathieui
2014-12-07Fix #2570 (add /filter_jid to XMLTab, and syntax highlighting)mathieui
Also add /filter_from and /filter_to, and allow chaining filters.
2014-12-04Set auto_reconnect to True by defaultFlorent Le Coz
2014-11-29Add our own JID to the rostermathieui
2014-11-02Add a stream error handler in order to display error messagesmathieui
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-30Fix the ssl check for asynciomathieui
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-10-16Extract XHTML-IM inline imags by defaultmathieui
- Add two new options: tmp_image_dir and extract_inline_images - tmp_image_dir is $XDG_CACHE_HOME(usually ~/.cache)/poezio/images if unset - Name the images from a SHA-1 of their data and their mimetype - Output file:// links inside the message
2014-10-16Do not ignore empty topicsFlorent Le Coz
2014-10-14Merge branch 'master' of git.poez.io:poezio into slixmathieui
Conflicts: src/core/handlers.py src/tabs/xmltab.py
2014-10-12Add an open_all_bookmarks optionmathieui
this option determines if the non-autojoin bookmarks will be opened on startup or not. It is false by default.
2014-10-08Use SHA-2 (SHA-512) to store the certificate fingerprint instead of SHA-1mathieui
Because SHA-1 is not really relevant anymore. Too bad it's significantly longer and tiring to check, even if that is to be expected.
2014-09-30Fix an other call to an old SleekXMPP function nameFlorent Le Coz
2014-08-01Fix a traceback when a receiving a message from a bare JIDFlorent Le Coz
2014-08-01Fix a few blocking iq, and remove all block=False function argumentsFlorent Le Coz
2014-08-01First implementation of auto_reconnect, poezio-sideFlorent Le Coz
2014-08-01Display “authentication failed” only when all auth methods failedFlorent Le Coz
2014-07-30Make the bookmark stuff non-blockingFlorent Le Coz
2014-07-30Fix all the connect() reconnect() stuffFlorent Le Coz
The /reconnect command should now properly work everytime.
2014-07-30Send pings only when we are connectedFlorent Le Coz
2014-07-28Do not traceback when we receive a message from a JID with no resourceFlorent Le Coz
2014-07-24First adaptation to slixmppFlorent Le Coz
2014-07-24Use slixmppFlorent Le Coz
2014-07-06Fix #2534 (display who changed the topic)mathieui