summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2013-01-26Remove a single trailing space. hihi.Florent Le Coz
2013-01-26Implement XEP 296 for locking resource in conversations.Florent Le Coz
With a few specific behaviours: When manually opening a conversation with a bare jid, we open a normal conversation that follows the XEP (locked and unlocked accordingly). If the user manually opens a conversation with a fulljid (by selecting a specific resource in the roster, or by specifying a fulljid to the /message command), we open a special tab that doesn’t follow the XEP (it is always locked to the same resource, and cannot be unlocked). When a message is received, unless a special tab has been manually opened by the other with that specific resource, we always send the messages to a uniq normal tab, unlocking or locking it according to the XEP. This means that only one tab can be opened with a given contact, unless the user specifically chooses to open a special tab for a specific resource. fixes #2159
2013-01-21Fix it for real.mathieui
2013-01-19Fix get_version and get_room_formmathieui
2013-01-18Open tabs for rooms without autojoin (but do not join them)mathieui
2013-01-17Move to the upstream SleekXMPPmathieui
- remove the decline command that is not in the trunk (and mediated declines are supported nowhere anyway) - change a bit xhtml-im support - change the bookmarks management a bit - Add a verification to avoid crashing when poezio will be launched the next time - Fix the (unrelated) bug when setting a jid affiliation
2013-01-07Fix the behaviour of /move_tabmathieui
2013-01-06Improve the help system (#1986)mathieui
TODO: change the plugin API to take advantage of this This change is backwards-compatible (as in “should not break anything”)
2013-01-05Do not display messages if they have an empty body after the hookmathieui
2013-01-04Do not display the messages with type=headline and an empty bodymathieui
(thanks, jappix)
2013-01-02Add the save_status, status, and status_message optionsmathieui
(the name show is not intuitive, so I used status and status_message) - The status is send when connecting, and is the same used when joining rooms - save_status is true by default, and will make poezio save the status whenever it changes - status and status_message are empty by default
2013-01-02Fix a TB on /move_tabmathieui
2012-12-30Fix #2189 Fix #2139 - Make /correct work properly in all chat tabsmathieui
#2189 wasn’t crashing, but well. Also fix a crash with the separator and /correct
2012-12-30Fix #2143 Fix #2056mathieui
Show headline messages in the info buffer, and show error messages (or other errors) with a special style.
2012-12-29Fix /correct and /me highlights, and handle /correct a bit better.Emmanuel Gil Peyrot
2012-12-28Fix #1977mathieui
2012-12-28Fix #2174mathieui
/server_cycle now takes a suffix and will match all the rooms with this same suffix. It also means that /server_cycle room@domain.tld will now only cycle root@domain.tld instead of all the rooms of domain.tld.
2012-12-20Allow theming of the info buffer messagesmathieui
(only the left part)
2012-12-20Fix #2186 (muc password in the config file)mathieui
Also use the passwords on start, and automatically use a password with /join if there is one.
2012-12-18Do not take 100% of the CPU when the certificate has changedmathieui
and let the user have a better chance to read the question entirely
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-15Add support for /set <option> toggle, which toggles the current valueFlorent Le Coz
fix #2184
2012-12-14Use get_wch() if available, otherwise use the old (maybe buggy) method.Florent Le Coz
This makes it possible to read the ctrl+arrows keys with python3.3, assign ctrl+left/right to next/previous tab, in the default config.
2012-12-05Sort items in /helpmathieui
2012-11-30Force a resize of the interface whenever we /set something.Florent Le Coz
This avoid some garbage on the screen when we set an option that changes the behaviour of the UI.
2012-11-23Fix the timedelta for python 3.1mathieui
2012-11-17Changes to the plugin_dir option are now taken into account on runtimemathieui
2012-11-17Fix the history numbers when re-joining a roommathieui
the <history/> element had a xmlns="" instead of the proper namespace.
2012-11-05Fix a traceback when opening a conversation with a resource from the rostermathieui
2012-10-22Make the Executor class reliable.Florent Le Coz
Plugins do not need to escape the command arguments or remove the line breaks and care about how the will get parsed anymore, they just need to pass a list of args. Do not spawn an additional shell, for more clarity, simplicity and possibly security.
2012-10-15Fixes #2368 (/join /nick not working)mathieui
2012-10-15Put back the “truc@chose.com is now online” messagesmathieui
2012-10-14Fix a traceback on completion_versionmathieui
2012-10-14Rename /connect to /reconnect and make it rostertab-onlymathieui
2012-10-14Do not display "None" in the /self commandmathieui
2012-10-14Add decorators to handle refreshs more easilymathieui
(and fix one more issue with the refresh in the roster)
2012-10-14Do not quotify the status in /status command.Florent Le Coz
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-13Fixes #2380 (traceback on /invite)mathieui
2012-10-12When a message is corrected, display it correctly in place of the previous one.Emmanuel Gil Peyrot
2012-10-09Transform a char (\xf1) into what we meant (Ctrl+/, apparently).Florent Le Coz
If we try to send that, we get disconnected…
2012-10-09Send a real \t when pasting a text containing tabs.Florent Le Coz
2012-10-09Refresh less often when entering text.Florent Le Coz
2012-10-09Separate special keys from normal chars when receving a batch of chars.Florent Le Coz
In case of lags or paste of text, the input can yield a list of chars instead of just one char. In case of lags, keyboard special keys (KEY_BACKSPACE, ^W, etc) are mixed with other “normal” chars ('a', 'b', 'D', ' ' etc). Instead of handling that whole batch in one go (which requires us to ignore all the special keys, otherwise they would be displayed in the input, which are both bad ways to handle that), we separate special keys from the normal ones, and we handle that big batch as one or more smaller batches. This should make the input behave correctly in case of lag AND in case of paste of huge text (only one refresh per batch, respond instantly, no key lost or ignored, etc) fixed #2365
2012-09-27Prevent special keys to appear in the input when laggingmathieui
2012-09-27Fix the bug of Alt-e (go to important room)mathieui
2012-09-26Add a /move_tab commandmathieui
And break it down into understandable functions
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)