summaryrefslogtreecommitdiff
path: root/src/core.py
AgeCommit message (Collapse)Author
2013-10-06Fix #2373 (/message creates duplicate tabs)Mathieu Pasquet
2013-09-19Fix #2372 (traceback on space in roster after disconnect)Mathieu Pasquet
selected_row wasn’t reset
2013-08-10Fix #2337 (search the themes the same way than plugins)mathieui
- Load the themes from: 1 - The sources found in the directory ../data/themes/ (if it exists) 2 - The user-defined dir (or ~/.local/blah) 3 - The poezio_themes package if found - Also fix some potential issues with the plugins importer
2013-08-04Fix some refresh quirksmathieui
2013-08-04If plugins removed the message body in a callback, don’t send itmathieui
2013-08-03Logs errors by default, in a dedicated filemathieui
- log_errors option, true by default - errors go in log_dir/errors.log (so $XDG_DATA_HOME/errors.log by default) This should help a lot for debugging, and provide a way for people to easily give debug traces without useless or personal infos.
2013-08-02Fix #2317 (/join completion is broken)mathieui
Also add an override parameter to new_completion so that the completion does not care if the list matches the previous input or not.
2013-08-01Fix #2049 (get the current completed argument)mathieui
A command argument can now be completed even if it isn’t the last one in the input. - Add a new method Input.new_completion Almost like the old auto_completion method, except taht it takes another argument: argument_position, which is the argument to be completed. - Methods using the old completion method still work - All completion methods in poezio now use the new one if necessary - Further details can be found in the docstring of new_completion
2013-08-01ref #2318 (fix correction when the server doesn’t send back the same ids)mathieui
This will only work if the message ids are the same across all participants…
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