Commit graph

110 commits

Author SHA1 Message Date
mathieui
2b4c06b6f8 Fix #2315 (send pings to the server every minute to check the connection)
add two new options:
connection_timeout_delay and connection_check_interval
2013-06-11 00:03:48 +02:00
mathieui
97d3690aea Implement Message Carbons (XEP-280)
- 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-10 23:49:10 +02:00
mathieui
0abc789403 Do not block on roster operations (and do not traceback on errors) #2315 2013-06-03 23:13:10 +02:00
mathieui
0dcc6f9cc4 Fix the caps updating (“do not verify” message in swift) 2013-06-01 21:43:15 +02:00
mathieui
48614d6cf0 Fix #2286
Also fix the copy of the default config if -f is used
2013-05-06 20:23:33 +02:00
mathieui
d797b1fd65 Implement user gaming (xep-0196)
- configuration options
- theming options
- /gaming
2013-03-12 16:12:47 +01:00
mathieui
cec1151ecb Fix #1839 (User mood/activity)
- 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-11 23:06:52 +01:00
mathieui
d2d0416214 Fix #1841 (User nickname)
- 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-11 17:54:29 +01:00
mathieui
34af8f69c7 Add a receive_user_tune option (fix #2261) 2013-03-11 11:43:32 +01:00
mathieui
71c35eb279 Implement XEP-0118 (Fix #1840)
- 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-11 02:04:20 +01:00
mathieui
fb7586f049 Fix #1923 (caps) 2013-03-03 13:47:11 +01:00
mathieui
5a0cec9717 Fix a traceback due to a sleekxmpp API change
- remove the help message for people still using the old custom
    sleekxmpp repo
2013-02-28 22:44:07 +01:00
mathieui
c5cc462963 Move to the upstream SleekXMPP
- 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-17 17:37:06 +01:00
mathieui
a1607c4c6e Fix #2082 (xml:lang)
This is now already done in sleekxmpp, so I added a “lang” configuration
option. TODO: use the locale of the system.
2012-12-31 14:00:09 +01:00
Emmanuel Gil Peyrot
2e8fc00f8b Implement message correction. 2012-10-12 15:28:41 +00:00
mathieui
9fec124250 Fix yet another bunch of potential tracebacks
(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-08 23:59:00 +02:00
mathieui
ec5bb3b213 Use the revision/date for the poezio version if a .git is found 2012-08-05 02:04:52 +02:00
mathieui
0b8211fe28 Fix a traceback due to a missing '%' 2012-08-02 16:32:59 +02:00
mathieui
3897d131c1 Implement XEP-0012 (last activity) ; Fixes #1870
- 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-02 16:24:10 +02:00
mathieui
18074c3c23 Add simple communication blocking (Fixes #1837)
- 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-02 01:09:10 +02:00
mathieui
0cb39b32a4 Do not generate invalid jids (e.g. localpart@domainpart/)
This is in prevision of a sleekxmpp update with JID validation.
Also, comment the “server” option in the config file a bit better.
2012-08-01 20:10:00 +02:00
mathieui
9322835659 Finally fix the ipv6 issues.
- with reattempt = True & max_attempts = 0
2012-07-13 02:22:25 +02:00
mathieui
a7e3814c09 Prevent a crash when the value of custom_port is not expected 2012-06-01 22:46:21 +02:00
mathieui
cea0d284d9 Change version to 0.8-dev 2012-05-24 23:57:32 +02:00
mathieui
a8947a3a31 Change version to 0.7.5 2012-05-24 23:55:30 +02:00
mathieui
0af1c7fe9a Docstrings, and small cleanup 2012-05-21 02:14:25 +02:00
mathieui
7778ad9216 0030 query now says 'Poezio' or nothing for the client’s identity
(Fixes #2273)
2012-05-04 18:52:36 +02:00
mathieui
bdcddf56e1 Load xep_0092 even if send_poezio_info is false 2012-04-18 23:07:28 +02:00
mathieui
c6e4358706 Fix bookmarks 2012-03-13 21:39:06 +01:00
mathieui
27a7bfc92c Add a whitespace_interval option 2012-03-13 18:46:02 +01:00
mathieui
5c412a66b8 Add a ca_cert_path option 2012-03-09 00:48:49 +01:00
mathieui
be5ccce421 Useless option ssl=True (deprecated & unused) 2012-02-13 14:04:23 +01:00
Florent Le Coz
c9c066ae33 [Link Mauve] Add the ability to send and receive Attention (XEP-0224). 2012-01-27 19:13:04 +01:00
mathieui
bbcd9c631c Add an auto_reconnect option 2012-01-26 17:21:13 +01:00
mathieui
4d7a11e238 Add an XML tab (/xml_tab) to view incoming/outgoing stanzas
Fixes #2074
2012-01-26 10:05:32 +01:00
mathieui
97aaeb1d13 Load the XEP-0048 plugin on startup 2011-11-26 23:09:51 +01:00
mathieui
5c47b735b3 Should avoir connecting on port -1.
Fixes #2289
2011-11-15 19:41:49 +01:00
mathieui
80edd248ec Make custom_host and custom_port work better 2011-11-10 17:20:25 +01:00
Florent Le Coz
cfb074c178 Set version to 0.7.5 and update the changelog 2011-11-09 01:35:27 +01:00
Florent Le Coz
8fad2f464a Update version to 0.7.2 2011-11-08 23:48:32 +01:00
mathieui
c3c67b5e0a Code cleanup (unused import, variables, undefined names, etc…) 2011-11-06 21:10:09 +01:00
Florent Le Coz
71ed190f30 By the way, that’s version 0.7.2 2011-09-11 20:29:19 +02:00
Florent Le Coz
96794a4e49 Change license to zlib (MIT sucks :() 2011-09-11 17:10:05 +02:00
Florent Le Coz
d41634d4ea Change license to MIT 2011-09-06 02:45:53 +02:00
Florent Le Coz
ca0b4af364 First pubsub browser iteration: can list root nodes, create an item and receive items 2011-06-20 03:19:37 +02:00
Florent Le Coz
ba02b51554 Convert html markup received in xhtml_im elements to poezio colors
and use that as the body
2011-03-29 20:36:02 +02:00
Florent Le Coz
fb40ac54fc Kind of big cleanup.
Core and Connection classes are now used as singletons, we do not need to pass them to each Tab and Win. This remove a lot of arguments to varius methods.
2011-03-05 21:42:56 +01:00
Florent Le Coz
138b17cdb3 In normal conversations: Send composing and active chat states
and display the state of the remote contact
2011-02-24 20:02:18 +01:00
Florent Le Coz
d31f1390ad update version to 0.7.5-dev and remove some debug 2011-02-09 20:42:57 +01:00
Florent Le Coz
7598a9eff9 Update to 0.7.1 2011-02-02 01:48:46 +01:00