summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
AgeCommit message (Collapse)Author
2018-06-29Update poezio for the new tabs modulemathieui
2018-06-28Replace the '%s' % var pattern with str(var).Emmanuel Gil Peyrot
2018-05-31MUC-PM: bare-JID messages can't be PMsGeorg Lukas
2018-04-01Sent Carbon: handle MUC-PMs properly. Fix #3294Georg Lukas
2018-04-01MUC-PM handler: support 'sent' messages (for Carbons)Georg Lukas
2018-03-31Remove unused import.Emmanuel Gil Peyrot
2018-03-31Use slixmpp’s new cache module for avatars too.Emmanuel Gil Peyrot
2018-03-14Factorise the /version callback and make it handle errorsEmmanuel Gil Peyrot
Fixes #3376.
2018-02-11Fix the nick conflict codemathieui
also yapf -rip
2018-01-25Check that avatar sha1 is consistent with the hash.Emmanuel Gil Peyrot
2018-01-25Fix caching newer avatars.Emmanuel Gil Peyrot
2018-01-13yapf -irmathieui
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2017-11-23Remove all remote_wants_chatstates logic, keep the stubs.Emmanuel Gil Peyrot
2017-11-12yapf -irmathieui
2017-10-14Fix #3316 (normal private messages in MUC do not open a private tab)mathieui
2017-10-10Fix #3190 (TOFU the SPKI hash and not the whole cert)mathieui
Makes letsencrypt renewals more pleasant. Thanks jonasw and aioxmpp for the ASN.1 wizardry
2017-10-09Fix #3322 (send a beep when we get disconnected)mathieui
2017-10-08Fix #3257 (print cert hashes after validating the dialog)mathieui
2017-10-08Don’t put the vCard/0084 tracebacks in the error log.Emmanuel Gil Peyrot
2017-10-08Change all “not … in …” into “… not in …”.Emmanuel Gil Peyrot
2017-10-08Add a cache for 0084 avatars.Emmanuel Gil Peyrot
2017-10-08Add a cache for vCard avatars.Emmanuel Gil Peyrot
2017-10-07Fix vCard avatars, and increase retrieve timeout to one minute.Emmanuel Gil Peyrot
2017-10-07Display contact avatar in the roster.Emmanuel Gil Peyrot
Implements XEP-0084 and XEP-0153.
2017-10-07asyncio.async() is deprecated since python 3.5mathieui
2017-08-07Fix reception of private messages (variable used but not defined)louiz’
2017-07-21Simplify double negation.Emmanuel Gil Peyrot
2017-07-21Fix message correctionmathieui
2017-07-18handlers: Stop appending <replace/> elements on incoming messages.Emmanuel Gil Peyrot
Fixes #3186.
2017-06-27Fix the resource duplication when reconnecting while auto_reconnect is true.Eijebong
The problem is that core.legitimate_disconnect is set to True in the on_connecting callback which is called before the session_end for some reasons. on_connecting sets core.legitimate_disconnect back to False so session_end thinks we've been disconnected and connects automagically adding a resource and thus duplicating everything. Moving the reset of legitimate_disconnect to the on_connected callback fixes the problem.
2017-05-03Avoid some deprecation warnings when casting raw XML into bool. (thanks pypy3)Emmanuel Gil Peyrot
2017-04-09Fix ssl warning tabmathieui
It wasn’t blocking because the asyncio api slightly changed in december which prevent us from running another event loop while a first one was already running. This bypasses asyncio completely, thus avoiding future problems (hopefully the select() API won’t change soon)
2017-01-08Fix a crash when using XEP-0380mathieui
(which nobody uses yet)
2016-11-26Add support for XEP-0380: Explicit Message EncryptionEmmanuel Gil Peyrot
Both for displaying incoming messages, and sending OTR and legacy OpenPGP.
2016-10-21pyflake fixesmathieui
unused variables, imports, name shadowing
2016-10-07Replace sendPresence() with send_presence(), fix adding a contact.Emmanuel Gil Peyrot
2016-09-29Display status changes in one to one chatsmathieui
Make hide_status_change work there as well, with per-jid configuration
2016-09-29Make enable_xhtml_im tab-specificmathieui
2016-09-20Stop using deprecated aliases from slixmpp.Emmanuel Gil Peyrot
2016-08-26Fix #3193 (report PM errors in PM tab)mathieui
2016-08-26Remove walls of text from the main body of core.handlersmathieui
It’s not pleasant to read
2016-08-20Fix #3219, Fix #3220 (no connection loops on some stream errors)mathieui
Do not reconnect if the stream error is a conflict or an host-unknown; also add a sleep(1) in order to not DoS the server if it loops on other conditions.
2016-08-20Fix a typo in the httpauth dialogmathieui
2016-08-20Implement XEP-0070 using the confirmtabmathieui
2016-08-19Use the confirmtab for TLS cert validationmathieui
And wipe the YesNoInput from the codebase
2016-08-18Use conversation.get_nick() instead of conversation.nick when adding aEijebong
message to a conversation tab. When you rename one of your contact and have a conversation opened, the nickname wasn't updated when you received new messages.
2016-07-14Improve the topic displaymathieui
More colors, show an indicator if we changed it
2016-07-12Improve refresh performance in big roomsmathieui
going through a list with more than 1000 elements, one at a time, can be a bit tedious. Especially if you go through it every time you receive one of those elements.
2016-06-30Absolute imports everywheremathieui