summaryrefslogtreecommitdiff
path: root/src/tabs.py
AgeCommit message (Collapse)Author
2012-10-12Implement message correction.Emmanuel Gil Peyrot
2012-10-02Revert "Add a tab-specific “ignore_changes” option"Florent Le Coz
This reverts commit c66ec81c4530a806b0aacc2933f6493cdcbbfc82.
2012-09-30Add a tab-specific “ignore_changes” optionmathieui
- The documentation is included in the commit
2012-09-26Rewrite the tab number handlingmathieui
- Now the tab number is computed instead of assigned and fixed - Added tabs.GapTab to keep the old behaviour - Added a create_gaps option, defaults to true (may change in the future) - If there are gaps before using /set to change the option to false, they will be removed. (this is a preparation for the move_tab command)
2012-09-13Fix TBs when the system is not in utf-8 by defaultmathieui
(force every file opening to be with the utf-8 encoding)
2012-09-01Add a <body xmlns='http://www.w3.org/1999/xhtml'/> element on /xhtml commandFlorent Le Coz
Because not having that element is not allowed by the xhtml-im XEP, poezio should put that by default.
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-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-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-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-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-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-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-03Remove the duplicated sort_by function in the MUCListmathieui
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-21Docstrings, and small cleanupmathieui
2012-05-20Merge branch 'master' of https://git.louiz.org/poezioFlorent Le Coz
2012-05-19Allow nick completion in the Private tabs as well.mathieui
2012-05-17Add a shortcut to go to the first unread message (separator) with M-pmathieui
2012-05-17Add an option to always show the separator - Fixes #2240mathieui
2012-05-17Resolves separator persistence problems - Fixes #2073mathieui
Now we have to pass the textbuffer object when we want to add a line separator.
2012-05-17Add a way to review room highlights - Fixes #1673mathieui
This new features is available with M-p and M-n (previous/next). It saves the last highlight viewed, meaning that if you scroll in the buffer, M-n or M-p will take you to the next or previous hl compared to the one before you started scrolling. For convenience, going to the previous highlight of the first highlight will take you to the bottom of the buffer, and going to the next highlight of the last highlight will do *the same*. If there are several highlights in one message, only the first line will be considered a highlight.
2012-05-16Put color in the topic againmathieui
2012-05-16Complete the commands differently.mathieui
If there is 0 match for the beginning of command, delete the last letter (over and over) until there is a match, then complete that.
2012-05-16Put a space after completion only if there is one (and only one) commandmathieui
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-10Fixes #2358mathieui
2012-05-10Avoid a traceback on /close on a non-joined MucTab. fixed #2358Florent Le Coz
2012-05-10Fix the usr join/rejoin when someone gets kicked or bannedmathieui
2012-05-09Fix the size of the XMLTabmathieui
2012-05-05Use COLOR_OWN_NICK whenever possile (Fixes #2318)mathieui
2012-05-05Add a /ban command, and fix completion & parameters for /kickmathieui
2012-05-04Fix /groupmovemathieui
2012-05-04Do not quote the JID for /remove completionmathieui
2012-04-27Roster update: Merge branch 'master' of https://git.louiz.org/poeziomathieui
Conflicts: src/core.py src/tabs.py
2012-04-27Update the ConversationTabmathieui
2012-04-27Update group commandsmathieui
2012-04-27Update commmand_add, command_remove, command_accept, and command_denymathieui
2012-04-27Update the roster search functionsmathieui
2012-04-27Fix the completion for all commands manipulating the rostermathieui