summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
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-19small refactormathieui
- add a get_tabs(cls) method to avoid manual filtering - move some stuff to avoid cyclic dependency hell between tab classes
2014-02-22Remove the dependency on poezio from xhtml.pyEmmanuel Gil Peyrot
2014-02-20Fix #2470 (server_cycle joining the wrong room with domain-only muc)mathieui
2014-02-14Call on_gain_focus on the new current tab after closing a tabmathieui
2014-02-13Fix #2407 (unencrypted connections)mathieui
Add a force_encryption option set to true by default.
2014-02-12Fix #2458 (correctly display non-groupchat room messages)mathieui
2014-02-03Do not unlock a tab when receiving a presence from the same resourcemathieui
(makes OTR bug)
2014-02-01Fix #2441 (don’t send chatstates in a non-chatstate conv)mathieui
Also enable chatstates when we receive them from our contacts.
2014-02-01Fix #2437 (show version in /self)mathieui
2014-02-01Fix #2443 (:)Mathieu Pasquet
2014-01-30Fix the nickname with carbonsMathieu Pasquet
2014-01-28Provide a more standardized fingerprint representationMathieu Pasquet
(also includes silent modification of the hash already in the config)
2013-12-28Previous commit with get/setmathieui
2013-12-28Fix #2281 (display iq results when sent with /rawxml)mathieui
2013-12-04Handle signals differently than /quitMathieu Pasquet
- do not save the config (only for roster and stuff) - do not except that resetting the curses state will work everytime
2013-11-26refactor the texts in core to be more readable and fix some typosMathieu Pasquet
2013-10-06Give help about tab-specific command first in /helpMathieu Pasquet
(the tab-specific commands were executed first, but their help wasn’t given first)
2013-10-06Fix #2373 (/message creates duplicate tabs)Mathieu Pasquet
2013-09-19Fix #2372 (traceback on space in roster after disconnect)Mathieu Pasquet
selected_row wasn’t reset
2013-08-10Fix #2337 (search the themes the same way than plugins)mathieui
- Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer
2013-08-04Fix some refresh quirksmathieui
2013-08-04If plugins removed the message body in a callback, don’t send itmathieui
2013-08-03Logs errors by default, in a dedicated filemathieui
- log_errors option, true by default - errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log by default) This should help a lot for debugging, and provide a way for people to easily give debug traces without useless or personal infos.
2013-08-02Fix #2317 (/join completion is broken)mathieui
Also add an override parameter to new_completion so that the completion does not care if the list matches the previous input or not.
2013-08-01Fix #2049 (get the current completed argument)mathieui
A command argument can now be completed even if it isn’t the last one in the input. - Add a new method Input.new_completion Almost like the old auto_completion method, except taht it takes another argument: argument_position, which is the argument to be completed. - Methods using the old completion method still work - All completion methods in poezio now use the new one if necessary - Further details can be found in the docstring of new_completion
2013-08-01ref #2318 (fix correction when the server doesn’t send back the same ids)mathieui
This will only work if the message ids are the same across all participants…
2013-07-30Fix #2341 (/message <bare/resource> doesn’t open a new tab…)mathieui
If a tab with the given fulljid is not found, then a new tab will be opened, even if we are in discussion with the bare jid.
2013-07-29Fix #2335 (crash on /cycle with room without userpart)mathieui
2013-06-26Ignore errors on PEP publishing (fix #2322)mathieui
(since we can’t do anything about them anyway)
2013-06-24Fix /w completionmathieui
2013-06-22Fix #2294 (fix /w priority)mathieui
Now each different match has a different priority. It might need some tuning to have the desired result.
2013-06-18Add config_change handlers for the two keepalive optionsFlorent Le Coz
We can now change the keepalive values with /set, without restarting
2013-06-18Trigger config_change handlers when the config has changed using a USR1 signalFlorent Le Coz
2013-06-18Add the possibility to watch the changes of a config valueFlorent Le Coz
Using add_configuration_handler() we can now set a callback to be called whenever a given option value is changed using /set
2013-06-18Message to join the room with an other nick only if the room is not joined yetFlorent Le Coz
Because that message doesn’t make any sense if you are in the room and you get a nick conflict from the /nick command.
2013-06-10Implement Message Carbons (XEP-280)mathieui
- Add an option enable_carbons (defaults to false) - Make a disco on non-roster entites to determine if the message commes from a muc private chat or not.
2013-06-09Lock on one forgotten curses operationmathieui
2013-06-09Fix #2301mathieui
2013-06-09Use the new format in the roster log too (ref #2311)mathieui
(and add the pep events and invites to it)
2013-06-09Adopt the mcabber log format (Fix #2311)mathieui
2013-06-08Add a way to format background colors in a stringmathieui
(also add colors to the /info command in MUCs)
2013-06-08Fix setting autojoin with /bookmarkmathieui
2013-06-06Add a M-k keyboard shortcut to escape the next keyboard shortcutFlorent Le Coz
fix #2227
2013-06-05Fix joining a domain-only roommathieui
(e.g. “/join @conference.prosody.im”) - If the current tab is a MUC the @ prefix is mandatory as there is no way to tell if the user meant a room name or a domain. - If it is not a MUC, then the @ prefix is not mandatory (but works anyway)
2013-06-01Fix the caps updating (“do not verify” message in swift)mathieui
2013-05-15Fix #2229 (prevent correction if the 2 fulljid differ)mathieui
(Except in MUC, where we check the User object for that)
2013-05-11Handle the roster order cache as a real cachemathieui
When an external (or internal) event may cause the order of the cache to be modified, or new elements to be added, schedule it for a rebuild. Otherwise, don’t, and only rebuild it when refreshing (that should improve refresh speed a lot). Also, if the position in the roster is further than the total size of the roster, go back to the top instead of displaying an empty window with “+++”.
2013-05-10Do not add a nick to each bookmarked roommathieui
2013-05-10Fix #2295 (sanitize commands given to /help)mathieui
remove starting slashes and starting and trailing spaces