summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-05Use the revision/date for the poezio version if a .git is foundmathieui
2012-08-05Move from optparse (deprecated) to argparsemathieui
2012-08-03Do not set last activity when sending a stanza because it makes no sensemathieui
2012-08-02Fix a traceback due to a missing '%'mathieui
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-08-02Add simple communication blocking (Fixes #1837)mathieui
- Add /block, /unblock, and /list_blocks commands - Enable the commands only if the server advertises the feature - http://xmpp.org/extensions/xep-0191.html#example-9 was not tested, but should work (could not find a server to test with) - Add documentation for the commands
2012-08-01Do not generate invalid jids (e.g. localpart@domainpart/)mathieui
This is in prevision of a sleekxmpp update with JID validation. Also, comment the “server” option in the config file a bit better.
2012-08-01Sort resources from highest priority to lowestmathieui
- Previously it was from lowest to highest - Add the “Priority:” info to the “i” key in the roster
2012-08-01Various changes to the roster sortingmathieui
- Change the separator from _ to : - Move the functions away in another module to avoir cluttering the roster code - Add a case-sensitive sort (“sname”)
2012-08-01Add an "online" contact sorting methodmathieui
- put the online contacts at the beginning of the list - allows, e.g. jid_reverse_online_reverse, to put offline contacts at the start of the group, in alphabetical order
2012-08-01Sort the unavailable contacts at the end of the contact listmathieui
2012-08-01Add a roster_group_sort option, which works like roster_sortmathieui
- defaults to "name" (sort by group name) - document it - also, micro-optimize get_nb_connected_contacts()
2012-07-31Add a roster_sort option to sort the contacts inside the roster groupsmathieui
- defaults to jid_show (which means that they are sorted into sub-groups by show and are sorted by JID inside those) - See the default config file or the documentation for details
2012-07-31Also sort the contacts alphabeticallymathieui
Contacts are first sorted alphabetically, and then sorted again depending on their show; since the python sorts are stable, the order will remain and the sub-groups (corresponding to one show type) will be sorted alphabetically too.
2012-07-31Sort the contacts in the roster groups by show (xa/away/…)mathieui
2012-07-31Make the autorejoin option work with bans, too, and fix the documentationmathieui
2012-07-30Add an autorejoin_delay optionmathieui
- document it - works in per-tab config too
2012-07-29/bind with only one argument now resets the bindingmathieui
2012-07-29Implement the sending of underlined text in xhtml-im messages (C-c u).Florent Le Coz
Note that a portion of text can NOT have a color AND be underlined at the same time, but it's not really tragic (see comment in source code).
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-19Remove the shell_completionmathieui
- completion is normal with no way to change it (shell_completion was buggy) - remove it in the default config and in the doc too
2012-07-19Fix /info (role and affiliation were inverted)mathieui
2012-07-18[labedz] Add keys to jump to the next and previous contact in the roster.Florent Le Coz
2012-07-17Fix /version to find a fulljid when availablemathieui
And improve the completion in the roster (go to the resources)
2012-07-13Finally fix the ipv6 issues.mathieui
- with reattempt = True & max_attempts = 0
2012-07-05Properly quote the %(body)s and %(from)s used in the simple_notify plugin.Florent Le Coz
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-03Add a new color to the theme, for the warning promptmathieui
- Currently only used by the SSL checking prompt - fg: black ; bg: red ; bold
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-03Remove the duplicated sort_by function in the MUCListmathieui
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-06-01Prevent a crash when the value of custom_port is not expectedmathieui
2012-05-29Move ^D to ^Xmathieui
2012-05-24Change version to 0.8-devmathieui
2012-05-24Change version to 0.7.5mathieui
2012-05-24Truncate everything in the roster if needed.mathieui
Group names, resources jids, and bare jid/roster name combinations are now truncated if they are bigger than the window size. If there is a resource (for a contct) or a number of online contacts (for groups), it will still be displayed at the end of the line.
2012-05-23Put the personal words in the last words completion (M-/)mathieui
(instead of the normal completion)
2012-05-23Add personal words completion - Fixes #1723mathieui
This commits adds a “words” variable to the configuration file. This variable must contain a list of words, separated by colons (:). Those words will then be completed upon tab completion in the chatrooms, private conversations, and direct conversations.
2012-05-22Add a few punctuation char to avoid in recent words completion.Florent Le Coz
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.