summaryrefslogtreecommitdiff
path: root/src/tabs.py
AgeCommit message (Collapse)Author
2012-12-30Do not rebuild everything in order to modify a messagemathieui
(should fix the “leak” on /correct, and make it faster)
2012-12-29Fix /correct and /me highlights, and handle /correct a bit better.Emmanuel Gil Peyrot
2012-12-18Fix a tb on /names (typo)mathieui
2012-12-17Remove that buggy thing (don’t ask more details, just read the diff).Florent Le Coz
2012-12-15Sort the configurations options by name in the documentationmathieui
(instead of chaos)
2012-12-15(should) Fix #2175 ; prevent bugs caused by tab gapsmathieui
2012-12-15Make /w command better.Florent Le Coz
fix #2185
2012-12-15Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.Florent Le Coz
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse mode. fix #2165
2012-12-13bugfix: count roster list length by real listed item and not count filtered ↵Łabędź
items bugfix: use cache table of roster (created on every refresh) to get selected row object, fixing bad row selecting when jumping over group (was changing pos variable and not selected_row while moving to next contact after group)
2012-11-30Add a hide_user_lits option that does what it says.Florent Le Coz
fix #2170
2012-11-22Fix the slow searchmathieui
2012-11-22Make the search usable againmathieui
- Disable the history when searching - → allow moving the cursor around to select a contact when searching - fix refresh issues
2012-11-17Fix the history numbers when re-joining a roommathieui
the <history/> element had a xmlns="" instead of the proper namespace.
2012-11-11Preload history into discussion windows (à la mcabber)mathieui
- New option load_log defaulting to 200 to indicate the number of lines to be loaded - It’s still very raw, and the format of the message does not match the format of the normal room history, for example - Works in the Private chat, MUC, and Conversation tabs Thanks to labedz <github@labedz.org> for the original code
2012-11-06Add a add_space_after_completion bool option.Florent Le Coz
fix #2150
2012-11-05Fix the completion for /infomathieui
2012-10-15Fix a refresh issue with /messagemathieui
2012-10-15Prettify the /names commandmathieui
2012-10-14Rename /connect to /reconnect and make it rostertab-onlymathieui
2012-10-14Add decorators to handle refreshs more easilymathieui
(and fix one more issue with the refresh in the roster)
2012-10-14Add a space after a nick completion not at the start of the line.Florent Le Coz
2012-10-14Fix a refresh issue on space in the rostermathieui
2012-10-13Fixes #2374 (Crash on " " in the MUC list)mathieui
- Also fixes arefresh issue (up&down keys didn’t refresh the win) - Rework the style of the Columns a bit (was 2-spaces indent & trailing spaces)
2012-10-13Fixes #2376 (Only open one XMLTab)mathieui
- Also make Core.focus_tab_named take an optional type, and return a boolean
2012-10-13Add a “debug” attribute to Coremathieui
2012-10-12Correctly rebuild the messages when we corrected one. And avoid code duplicatesFlorent Le Coz
2012-10-12When a message is corrected, display it correctly in place of the previous one.Emmanuel Gil Peyrot
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.