summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2013-05-06Fix #2284 (don’t send always send an inactive chatstate with /w)mathieui
2013-05-06Fix #2286mathieui
Also fix the copy of the default config if -f is used
2013-05-01Fix a typo "on on an unknown platform"Florent Le Coz
2013-05-01Lets plugins change the presence BEFORE joining a muc, with a new plugin eventFlorent Le Coz
2013-04-23Typomathieui
2013-04-05Handle I/O errors bettermathieui
- Do not crash because of low disk space - Notify the user whenever it happens - A few functions now return a boolean instead of nothing - Config.silent_set is Config.set_and_save without toggle and returning strings. It is used whenever we don’t need set_and_save - Config.set_and_save now returns a tuple (that can be passed directly to core.information()) TODO: display the precise error to the user (instead of “unable to…”)
2013-03-31Fix #2275, ref #2229mathieui
- Refactor the message handlers to be more readable - Add a group_corrections tab-specific option (#2229) - Fix issues with /correct in private tabs and conversation tabs
2013-03-30Fix some PEP issuesmathieui
2013-03-28Fix the help of /gamingmathieui
2013-03-28Typo/tracebackmathieui
2013-03-16On /exit, save the config earlier.Florent Le Coz
2013-03-12Implement user gaming (xep-0196)mathieui
- configuration options - theming options - /gaming
2013-03-11Fix #1839 (User mood/activity)mathieui
- Added as always new theming variables: CHAR_ROSTER_MOOD, CHAR_ROSTER_ACTIVITY (a SNOWMAN!) COLOR_ROSTER_MOOD, COLOR_ROSTER_ACTIVITY - Added two new notification types in Theme.INFO_COLORS (mood/activity) - Added new configuration options: display_mood/activity/tune_notifications (those can be set for a specific JID) enable_user_tune/nick/activity/mood - Added /activity and /mood commands, with completions - Moved the old /activity to /last_activity - Details are show in the ContactInfoWin if there is room, or with "i" on a contact in the roster.
2013-03-11Fix #1841 (User nickname)mathieui
- add a use_pep_nick boolean option - use it as a nickname for roster contacts, but it does not supercede the user-defined handle - send a <nick/> at the beginning of a normal chat - not implemented in MUC (wontfix)
2013-03-11Implement XEP-0118 (Fix #1840)mathieui
- Add new theming options - Show the tune in the roster (both in contact line and infowin) - add an option to show tunes as info messages
2013-03-10Disable plugins on exitmathieui
2013-03-10Fix #2241mathieui
2013-03-08Update the plugins to use the PluginAPImathieui
Also: - Add get_conversation_messages() to PluginAPI - Make plugins_autoload colon-separated instead of space-separated (for consistency) - Replace a JID() with a safeJID() in the uptime plugin
2013-03-04Fix #2126 (per-server configuration sections)mathieui
(also move replace_key_with_bound() to core.py, to prevent having common.py depending of config.py)
2013-03-03Fix #2182 (show s2s errors)mathieui
- Add the theming options COLOR_ROSTER_ERROR, CHAR_ROSTER_ERRROR, and CHAR_ROSTER_ASKED
2013-03-03Add a plugins_conf_dir optionmathieui
2013-03-02Fix /reconnectmathieui
2013-03-01Fix #2226 (TB on /activity)mathieui
2013-02-28Fix signal handlingmathieui
- reload the config/theme with SIGUSR1 - quit properly with SIGHUP/SIGTERM
2013-02-27Improve XEP-0308 supportmathieui
- Prevent correction of delayed messages - Prevent correction of messages by someone else in a MUC (and in a private tab) - Messages with unauthorized corrections (above) or wrong message id will be displayed as normal messages TODO: restrict the corrections to the same fullJID (only in direct "normal" conversations, because we can know in private an muc tabs, via the User object)
2013-02-03Remove some useless keys, and change the keys to scroll the info win.Florent Le Coz
M-d and M-c become M-D and M-C
2013-01-28Do not open new useless tabs with /messagemathieui
2013-01-28fix the completion of jids for /messagemathieui
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