summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2014-04-02Fix #2377 (send back unavailable presence on message from unknown room)mathieui
2014-04-02Fix #2323 (implement XEP-0012 last activity)mathieui
TODO: check if this method of setting activity isn’t a bit heavy.
2014-04-01Fix activation of mood/activity which was invertedmathieui
2014-03-31Fix a traceback with broken roster itemsmathieui
only happens with buggy servers (hello ejabberd)
2014-03-28Fix #2493 (private tab displaying a join on /nick)mathieui
2014-03-28Improve dynamic conversation tabsmathieui
Add color to the info messages Unlock the tab when the locked resource goes offline
2014-03-24Use RawConfigParser.get{int,bool,float} whenever possiblemathieui
config.get('option', 'value').lower() == 'value' is just ugly and stupid, especially for bool. One if in basetabs:556 was also missing a comparison, leading to True whenever the option was set.
2014-03-23Allow opening a static conversation even when a (dynamic) conversation with ↵mathieui
the contact is already open
2014-03-23Add jid info to the unlock messagesmathieui
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