summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2013-07-30Fix #2341 (/message <bare/resource> doesn’t open a new tab…)mathieui
If a tab with the given fulljid is not found, then a new tab will be opened, even if we are in discussion with the bare jid.
2013-07-29Fix #2335 (crash on /cycle with room without userpart)mathieui
2013-06-26Ignore errors on PEP publishing (fix #2322)mathieui
(since we can’t do anything about them anyway)
2013-06-24Fix /w completionmathieui
2013-06-22Fix #2294 (fix /w priority)mathieui
Now each different match has a different priority. It might need some tuning to have the desired result.
2013-06-18Add config_change handlers for the two keepalive optionsFlorent Le Coz
We can now change the keepalive values with /set, without restarting
2013-06-18Trigger config_change handlers when the config has changed using a USR1 signalFlorent Le Coz
2013-06-18Add the possibility to watch the changes of a config valueFlorent Le Coz
Using add_configuration_handler() we can now set a callback to be called whenever a given option value is changed using /set
2013-06-18Message to join the room with an other nick only if the room is not joined yetFlorent Le Coz
Because that message doesn’t make any sense if you are in the room and you get a nick conflict from the /nick command.
2013-06-10Implement Message Carbons (XEP-280)mathieui
- Add an option enable_carbons (defaults to false) - Make a disco on non-roster entites to determine if the message commes from a muc private chat or not.
2013-06-09Lock on one forgotten curses operationmathieui
2013-06-09Fix #2301mathieui
2013-06-09Use the new format in the roster log too (ref #2311)mathieui
(and add the pep events and invites to it)
2013-06-09Adopt the mcabber log format (Fix #2311)mathieui
2013-06-08Add a way to format background colors in a stringmathieui
(also add colors to the /info command in MUCs)
2013-06-08Fix setting autojoin with /bookmarkmathieui
2013-06-06Add a M-k keyboard shortcut to escape the next keyboard shortcutFlorent Le Coz
fix #2227
2013-06-05Fix joining a domain-only roommathieui
(e.g. “/join @conference.prosody.im”) - If the current tab is a MUC the @ prefix is mandatory as there is no way to tell if the user meant a room name or a domain. - If it is not a MUC, then the @ prefix is not mandatory (but works anyway)
2013-06-01Fix the caps updating (“do not verify” message in swift)mathieui
2013-05-15Fix #2229 (prevent correction if the 2 fulljid differ)mathieui
(Except in MUC, where we check the User object for that)
2013-05-11Handle the roster order cache as a real cachemathieui
When an external (or internal) event may cause the order of the cache to be modified, or new elements to be added, schedule it for a rebuild. Otherwise, don’t, and only rebuild it when refreshing (that should improve refresh speed a lot). Also, if the position in the roster is further than the total size of the roster, go back to the top instead of displaying an empty window with “+++”.
2013-05-10Do not add a nick to each bookmarked roommathieui
2013-05-10Fix #2295 (sanitize commands given to /help)mathieui
remove starting slashes and starting and trailing spaces
2013-05-10Fix #2131 (Input cursor when pasting text)mathieui
2013-05-09Fix the exit messagemathieui
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)