summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2012-09-02added muc_history_length supportJohannes Krude
2012-08-08Fix yet another bunch of potential tracebacksmathieui
(notably, the /message one) All JID calls in poezio’s code were already covered, but sleekxmpp does that, too, so each jid given to sleek must be validated, otherwise an unwanted exception may occur.
2012-08-07Take care of the race condition "node@groupchat_server is now online/offline"mathieui
- get rid of the ugly blacklist thing that didn’t work sometimes
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-05Should fix most tracebacks due to the new sleek versionmathieui
(sleekxmpp added JID validation, which means that JID(something) now raises an exception if the jid is invalid, instead of failing silently and having JID('') as a default)
2012-08-05Add a filter_info_messages optionmathieui
- This option takes a list of words separated by colons - All the messages containing those words will not be shown
2012-08-03Do not set last activity when sending a stanza because it makes no sensemathieui
2012-08-02Implement XEP-0012 (last activity) ; Fixes #1870mathieui
- Add a /activity command - Load xep_0012 on start - Add a 'l' shortcut in the roster to get the last activity - Using "/activity" in a direct conversation will add a message in the conversation, and not in the info buffer.
2012-07-29/bind with only one argument now resets the bindingmathieui
2012-07-27Fix get_conversation_by_jid when a string is passed.Florent Le Coz
2012-07-26Add a /self commandmathieui
2012-07-26Add a /runkey commandmathieui
This allows the user to run the action defined on a key without having to press that key. The completion completes all the available keys that will have an effect.
2012-07-26Change how scrolling is donemathieui
- All functions involved return a boolean, and the core function use that value to determine if a refresh is needed or not. (avoids useless refreshs) - Scrolling with PGUP/DOWN on the roster now only does _one_ action, an not a range corresponding to the screen size (should be way faster)
2012-07-26Remove the duplicate function get_tab_of_conversation_with_jidmathieui
- get_conversation_by_jid() now behaves like the removed name
2012-07-26Refactor core.py to have meaningful sectionsmathieui
- Put the commands and the related completions together - Put the xmpp handlers together - Put the curses-using functions together
2012-07-26Small non-impacting modificationsmathieui
- Write the config with “option = value” instead of “option= value” - Docstring for sighup_handler - Optimize a join() in the main loop - Rename the verbose get_error_message_from_error_stanza() with get_error_message() - Remove the unused Tab.just_before_refresh() which is litterally used nowhere in poezio
2012-07-17Fix /version to find a fulljid when availablemathieui
And improve the completion in the roster (go to the resources)
2012-07-04Use no_auth instead of failed_auth eventmathieui
With failed_auth, poezio was showing an error message for each authentication mechanism tried (3, usually). This commit fixes that.
2012-07-03Do not reload plugins on reconnectionmathieui
If the plugins_autoload list was not empty, it caused the plugins to be reloaded upon each reconnection (with /connect or not). Now it does not.
2012-07-03Make /status comply with the command args rulemathieui
- if there are more args than handled, no message will be set - fix the 'status' plugin accordingly
2012-07-03Improve the simple_notify plugin and the daemon to execute a command to ↵Florent Le Coz
clean the notification and to execute the remote commands through sh -c, letting us use pipes and redirections. Also adds the highlight event for plugin, and make the simple_notify plugin use it as well.
2012-05-29Move ^D to ^Xmathieui
2012-05-22Remove the unused “port” option.mathieui
custom_port is already used instead.
2012-05-21Fix the ^I (when pasting) issue correctly this time.Florent Le Coz
2012-05-21Revert "Do not display ^I when pasting a tabulation char."Florent Le Coz
This reverts commit 837b46d68b10f5c6e9cc80e07e33fd025b51634b.
2012-05-21Docstrings, and small cleanupmathieui
2012-05-20Do not display ^I when pasting a tabulation char.Florent Le Coz
2012-05-17Show subscription changes in the info buffer - Fixes #2234mathieui
2012-05-16Put color in the topic againmathieui
2012-05-16Prevent the rooms from going “offline”mathieui
Add a blacklist inside the roster that contains the bare JIDs of all the rooms ever joined in this session, so that no JID using this server will ever be shown as getting “offline”. If there is a cleaner way to do that (discriminating JIDs), I welcome it.
2012-05-16Add status code handling - Fixes #2338mathieui
Get status codes in presence and message stanzas, and show information related to them. If the change hinders privacy (logs added, or public JIDs), then a red “Warning” message is shown instead of the classic “Info”.
2012-05-14Fix the “/bookmark{,_local} *” behaviourmathieui
2012-05-12Add the ignore_private and private_auto_response optionsmathieui
MUC-specific options. private_auto_response is empty by default. + new event ignored_private
2012-05-10Prevent iq errors & timeouts on /join completionmathieui
2012-05-10Fix the usr join/rejoin when someone gets kicked or bannedmathieui
2012-05-10Add a way to execute a custom command with a custom key bindingmathieui
(+doc)
2012-05-10Add new status & bookmarks actionsmathieui
2012-05-08Add the possibility to map keys on 'actions'mathieui
2012-05-07Fix the duplicate messages when talking to an offline gmail contactmathieui
2012-04-28Trigger only the 'normal_presence' event if the contact is in the rostermathieui
2012-04-27Roster update: Merge branch 'master' of https://git.louiz.org/poeziomathieui
Conflicts: src/core.py src/tabs.py
2012-04-27Fix the completion for all commands manipulating the rostermathieui
2012-04-27Add the new subscription handlers and update on_message() and disconnect()mathieui
2012-04-27Update the got_online, got_offline, and presence handlersmathieui
2012-04-27New roster attributes and new subscription eventsmathieui
2012-04-18Do not quotify completions where it is not allowedmathieui
2012-04-18Refactor command_win a bitmathieui
2012-04-18Remove if len(list) in command_thememathieui
2012-04-18Refactor command_list a bitmathieui
2012-04-18Replace arg.split with shell_split in command_messagemathieui