summaryrefslogtreecommitdiff
path: root/src/tabs.py
AgeCommit message (Collapse)Author
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-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-01Move /clear_infos to /clear for consistencymathieui
2013-07-24Fix contact removalmathieui
2013-06-30Fix #2329 (display the info buffer in the muclisttab)mathieui
also fix some typos in the comments, and a refresh issue with the input
2013-06-30Clear the XML Tab buffer when closingmathieui
2013-06-25Do not open a tab on Enter when searching in the rosterFlorent Le Coz
Often, we search people but don’t actually want to open a tab with them (maybe the users wants to talk to a specific resource, or see the contact’s status, or things like that) To open a tab to talk to this contact, the user just need to type Enter twice
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-22Parse the new log format to display it. (ref #2311)mathieui
Archiving old logs is recommended before running this update, just in case.
2013-06-14Fix #2320 (TB on /info with an off-roster contact)mathieui
2013-06-13Improve the roster searchmathieui
- now case-insensitive - search in the bare jid instead of userpart only (and still in roster names) - do not display groups when searching - display offline contacts - do not expand resources if they were before the search
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-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-03Do not block on roster operations (and do not traceback on errors) #2315mathieui
2013-05-17Fix a tb on "/ban "mathieui
2013-05-17Fix a traceback on /role completion if the tab is not connectedmathieui
(also add outcast to the completed roles)
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-15Fix a traceback on /nick [tab]mathieui
(introduced in 686352d22bc2973cdb9a003353a9811e5587d177, because a nick bookmark can now be None)
2013-05-15Sort users in /namesmathieui
2013-05-11Actually use it.mathieui
2013-05-11Fix the reason in the ban messagemathieui
2013-05-09Add a little workaround for MUC servers that do not send the 110 statusFlorent Le Coz
2013-05-09Add the 'changing_nick' eventFlorent Le Coz
2013-05-09Fix a crash introduce something like 5-6 commits ago, np.Florent Le Coz
2013-05-01Fix a typo "on on an unknown platform"Florent Le Coz
2013-05-01Take into account the nick given by the MUC when joining a room.Florent Le Coz
This way, if the MUC service decides to give us an other nick than the one we asked it works properly.
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-04-05Consistencymathieui
2013-04-04Fix #2255 (search in input history)mathieui
- The input is split in two parts: on the left is what the user enters, on the right is the first match (the right part has a different color) - Start and cancel a search with ^R - Validate a search with enter, then press another time enter to send - CommandInput and MessageInput now inherit from the HistoryInput class and share some methods
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-28Add a (per-tab) notif_messages option to ignore MUC’s normal messagesFlorent Le Coz
2013-03-16Catch CorrectionError to avoid tracebacking when /correct failsFlorent 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-09Fix #2254mathieui
(add a new theming option, too)
2013-03-04Make /affiliation and /role non-blocking (fix #2235)mathieui
2013-03-02Fix #2132 (/disconnect)mathieui
2013-02-28Remove a debug that floods too muchmathieui
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-15Fix a potential traceback on /ignoremathieui
(if the room was not joined)
2013-02-11Do not add a space after /unignore completionmathieui
2013-02-03Fix the folding of contacts in multiple groupsmathieui
(add a defaultdict to keep the folded state in each group)
2013-02-03Fix a traceback on the completion of /correctmathieui
when no message has been sent yet
2013-01-29Fix a tb on /accept. Make sure jid is a JID object, not an str.Florent Le Coz
2013-01-26Add an /unlock command to manually unlock a DynamicConversationTab.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