summaryrefslogtreecommitdiff
path: root/src/core/handlers.py
AgeCommit message (Collapse)Author
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
2014-05-31get_tab_by_name() should specify a tab type whenever possibleFlorent Le Coz
For example, a tab can be named muc.example.com, if you do /list muc.example.com. If you then do /join muc.example.com, the error handler needs to get the correct tab (the MucTab, not the MucListTab previously opened). This commit fixes the above issue (a traceback), and maybe some others like that.
2014-05-08Fix a hidden traceback on error message outside MUCsmathieui
2014-05-05Fix a traceback on adhoc errormathieui
2014-05-04Do not beep in a MUC if we receive a message from one of our resourcesmathieui
happens when beep_on contains "message". thanks eijebong
2014-05-04Implement the execution of ad-hoc commands (#1832)Florent Le Coz
2014-04-30Remove Tab.get_name() and use Tab.name insteadmathieui
(keep a get_name() fallback just in case for now)
2014-04-29Do not ask for receipts in messages without a bodymathieui
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-27Provide our own wrapper for checking the host category (ref #2511?)mathieui
xmpp.plugin['xep_0030'].has_identity appears to be unreliable at best, so we provide our own. Might help the case of carbons not displayed.
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-26Fix the nickname of server-generated messagesmathieui
2014-04-25Fix #2516 (display error with carbons)mathieui
- fix the bug where messages from our own jid were incorrectly displayed - the nick is now fixed for the whole conversation
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-14Implement XEP-0249 (Direct MUC Invitations)mathieui
- fallback to mediated invitations if only the bare jid is given to the command or if the jid does not advertise support TODO: provide a way to send passwords
2014-04-06Code cleanupmathieui
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster!
2014-04-05Split the Core classmathieui
Although the logic stays the same, and everything is put back together in a single class.