summaryrefslogtreecommitdiff
path: root/src/connection.py
AgeCommit message (Collapse)Author
2014-10-31Merge branch 'master' of git.poez.io:poezio into slixmathieui
Conflicts: src/bookmark.py src/config.py src/connection.py src/core/commands.py src/core/core.py src/core/handlers.py src/windows/info_bar.py src/windows/muc.py src/windows/roster_win.py src/windows/text_win.py src/xhtml.py
2014-10-20If the whitespace_interval value set in the config is null or negative, ↵mathieui
don’t send any
2014-10-20Remove the (sometimes wrong) default values in the config.get() callsmathieui
2014-08-01First implementation of auto_reconnect, poezio-sideFlorent Le Coz
2014-07-30Send pings only when we are connectedFlorent Le Coz
2014-07-24First adaptation to slixmppFlorent Le Coz
2014-07-24Use slixmppFlorent Le Coz
2014-05-15Make detecting the features supported by the remote entity less awfulmathieui
no more stalling while waiting for a disco info while sending a message.
2014-05-08Add an ugly fix to avoid endless disco#info queries with each message (with ↵mathieui
receipts) We need to check if the remote entity supports 0184, but if it doesn’t support disco#info, then we will get an iq type="error" and nothing will be cached, leading to disco#info queries being sent each time. Keep a cache valid 2 hours of the JIDs which replied with an error. TODO: check that this the kind of time period we want.
2014-05-04Add the /ad-hoc <jid> command to list commands of the given jidFlorent Le Coz
2014-04-29Do not ask for receipts in messages without a bodymathieui
2014-04-27Fix #2106 (implement message delivery receipts)mathieui
- two options request/ack_message_receipts - two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK - if a message has a receipt, the character is displayed between the timestamp and the nick, using the color
2014-04-26Disable 0198 for now because we will properly implement it latermathieui
2014-04-2280-columns wrapping and some docstringsmathieui
also bump version, and add some gettext wraps
2014-04-14Implement XEP-0249 (Direct MUC Invitations)mathieui
- fallback to mediated invitations if only the bare jid is given to the command or if the jid does not advertise support TODO: provide a way to send passwords
2014-04-06Code cleanupmathieui
fixes whitespace issues, some builtin overrides, and some enormous lines might make poezio run nanoseconds faster!
2014-04-04Enable XEP-0198 (Stream Management)mathieui
2014-04-04Remove unused importsmathieui
(thanks eijebong)
2014-03-24Use RawConfigParser.get{int,bool,float} whenever possiblemathieui
config.get('option', 'value').lower() == 'value' is just ugly and stupid, especially for bool. One if in basetabs:556 was also missing a comparison, leading to True whenever the option was set.
2014-02-13Add a configurable way of setting cipher suitesMathieu Pasquet
And put reasonable defaults
2014-02-13Fix #2407 (unencrypted connections)mathieui
Add a force_encryption option set to true by default.
2013-11-14Add a /password command in the RosterTabMathieu Pasquet
Thanks to Florob for the initial input
2013-06-18Let the user disable the auto-ping by setting connection_check_interval to 0Florent Le Coz
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-11Fix #2315 (send pings to the server every minute to check the connection)mathieui
add two new options: connection_timeout_delay and connection_check_interval
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-03Do not block on roster operations (and do not traceback on errors) #2315mathieui
2013-06-01Fix the caps updating (“do not verify” message in swift)mathieui
2013-05-06Fix #2286mathieui
Also fix the copy of the default config if -f is used
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-11Add a receive_user_tune option (fix #2261)mathieui
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-03Fix #1923 (caps)mathieui
2013-02-28Fix a traceback due to a sleekxmpp API changemathieui
- remove the help message for people still using the old custom sleekxmpp repo
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
2012-12-31Fix #2082 (xml:lang)mathieui
This is now already done in sleekxmpp, so I added a “lang” configuration option. TODO: use the locale of the system.
2012-10-12Implement message correction.Emmanuel Gil Peyrot
2012-08-08Fix yet another bunch of potential tracebacksmathieui
(notably, the /message one) All JID calls in poezio’s code were already covered, but sleekxmpp does that, too, so each jid given to sleek must be validated, otherwise an unwanted exception may occur.
2012-08-05Use the revision/date for the poezio version if a .git is foundmathieui
2012-08-02Fix a traceback due to a missing '%'mathieui
2012-08-02Implement XEP-0012 (last activity) ; Fixes #1870mathieui
- Add a /activity command - Load xep_0012 on start - Add a 'l' shortcut in the roster to get the last activity - Using "/activity" in a direct conversation will add a message in the conversation, and not in the info buffer.
2012-08-02Add simple communication blocking (Fixes #1837)mathieui
- Add /block, /unblock, and /list_blocks commands - Enable the commands only if the server advertises the feature - http://xmpp.org/extensions/xep-0191.html#example-9 was not tested, but should work (could not find a server to test with) - Add documentation for the commands
2012-08-01Do not generate invalid jids (e.g. localpart@domainpart/)mathieui
This is in prevision of a sleekxmpp update with JID validation. Also, comment the “server” option in the config file a bit better.
2012-07-13Finally fix the ipv6 issues.mathieui
- with reattempt = True & max_attempts = 0
2012-06-01Prevent a crash when the value of custom_port is not expectedmathieui
2012-05-24Change version to 0.8-devmathieui
2012-05-24Change version to 0.7.5mathieui
2012-05-21Docstrings, and small cleanupmathieui