summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-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-10-03Fix #2692 (ad-hoc mistakes show /help list)mathieui
2014-07-28Do not traceback when we receive a message from a JID with no resourceFlorent Le Coz
2014-07-06Fix #2534 (display who changed the topic)mathieui
2014-07-01Fix a traceback when we trigger the reload using a signalFlorent Le Coz
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-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-08Add an ugly fix to avoid endless disco#info queries with each message (with ↵mathieui
receipts) We need to check if the remote entity supports 0184, but if it doesn’t support disco#info, then we will get an iq type="error" and nothing will be cached, leading to disco#info queries being sent each time. Keep a cache valid 2 hours of the JIDs which replied with an error. TODO: check that this the kind of time period we want.
2014-05-08Fix a hidden traceback on error message outside MUCsmathieui
2014-05-06When closing a tab, go to the previous one, and not the one before it in the ↵mathieui
tab list
2014-05-05Fix a traceback on adhoc errormathieui
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-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-05-04Add the /ad-hoc <jid> command to list commands of the given jidFlorent Le Coz
2014-05-03Fix #2072 (only resize a tab if the size changed since the last display)mathieui
2014-05-01Move data_forms in the tabs directoryFlorent 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-30Add a 'tab_change' eventmathieui
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 #2514 (add a /toggle command)mathieui
2014-04-26Fix #2444 (implement room destroy)mathieui
- destroy the current room if no parameter - destroy the room given as a parameter if any - no reason or alt room because it would be ambiguous in a command (implementation ideas welcome)
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-20Log exit from signals to the error logmathieui
(SIGTERM, SIGHUP, and SIGPIPE for now)
2014-04-18Same formatting changes in core.commandsmathieui
2014-04-18Mostly line-wrap at 80 chars and add docstringsmathieui
- also fix some erroneous comment(s) - remove self.background which wasn’t set to something other than false - fix the chatroom address (and the doc) in the first help message
2014-04-18Fix #2297 (crash after resize)mathieui
wrap some curses calls with try/except block
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-12Fix #2503/4 (use “.” as an alias for the current tab in /move_tab)mathieui
2014-04-11Fix #2428 (complete fulljids on /version in MUCs)mathieui
also clean up some newlines mess
2014-04-11Fix #2421 (load and unload several plugins)mathieui
2014-04-09Fix #2497/#2498 (/theme should return an error when loading fails)mathieui
It was actually doing that for old python version but not recent onces
2014-04-08Fix a forgotten "self." that caused alt+k to tracebackFlorent Le Coz
2014-04-06fix a wrong naming in the previous commitmathieui
2014-04-06Code cleanupmathieui
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster!
2014-04-05Do not instantiate Keyboard at module-levelmathieui
2014-04-05Remove the pubsub-related stuff from the main branchmathieui
as it is unused code anyway.
2014-04-05Split the Core classmathieui
Although the logic stays the same, and everything is put back together in a single class.