Commit Graph

373 Commits

Author SHA1 Message Date
Yann Leboulanger 0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Yann Leboulanger ea6c062b9a prevent a traceback when we get a wrong disco#info reply (a feature without a var attribute). Fixes #5232 2009-10-05 13:46:38 +02:00
Yann Leboulanger 7e79f710e8 acknoledge rosterx messages 2009-10-02 16:54:33 +02:00
Yann Leboulanger 887b8d31b2 don't show empty RIE requests. Fixes #5299 2009-10-02 14:58:47 +02:00
Yann Leboulanger c31d3e526a stop sending chatstates when remote server doesn't respond anymore. Don't acknoledge error message receipes. Fixes #4064 2009-10-01 09:41:46 +02:00
Yann Leboulanger a3e80d2c76 [Florob] handle new error code in groupchat. Fixes #5285 2009-09-30 17:21:58 +02:00
Yann Leboulanger 709dba715a global option alwaysauth become a per-account autoauth option. Fixes #5264 2009-09-15 22:26:42 +02:00
Yann Leboulanger 0ea6544c26 show notification for bad GPG pass instead of an error dialog 2009-09-10 18:30:26 +02:00
Yann Leboulanger 44e98585ed move music track listener things from roster_window.py to gajim.py. see #3643 2009-09-09 13:26:53 +02:00
Yann Leboulanger a2ca911d80 when a JID is invalid in member / admin / ... list in MUC configuration, just ignore this JID and not all others. Fixes #5241 2009-08-31 23:04:54 +02:00
Yann Leboulanger 9345ddfad5 connect to server even if it doesn't support disco 2009-08-31 21:57:01 +02:00
Yann Leboulanger 306fe18521 fix typo. fix #5233 2009-08-30 12:03:29 +02:00
Yann Leboulanger 54fa89af23 correctly detect vcard support of server. Fixes #5233 2009-08-28 13:41:36 +02:00
Yann Leboulanger 260f1541d1 request privacy lists after disco result 2009-08-04 17:57:12 +02:00
Yann Leboulanger ff2a02269d request privacy rules and metacontacts only once at startup 2009-08-04 00:49:56 +02:00
Yann Leboulanger 1f32083334 fix XML -> PubSub transition for bookmarks when bookmarks node doesn't exist 2009-08-04 00:36:28 +02:00
Yann Leboulanger f501c2c4fe prevent traceback when a room is destroyed. Fixes #5194 2009-08-01 18:28:25 +02:00
Yann Leboulanger 2ffd6cbcb8 store bookmarks in both pubsub and xml, and copy those from xml to pubsub on startup 2009-07-31 17:11:55 +02:00
Yann Leboulanger 5b62a6fbbd add publish-options to bookmark storage if server supports it 2009-07-31 15:50:11 +02:00
Yann Leboulanger 4a0e5bc2b3 [Link Mauve & I] store bookmarks in pubsub if server supports that. 2009-07-31 14:52:01 +02:00
Yann Leboulanger 66254bc47f discover server feature in first when connecting 2009-07-31 13:47:47 +02:00
Yann Leboulanger ec71c7d7c2 do not add 127.* IPs when sending file 2009-07-31 10:57:48 +02:00
Yann Leboulanger 8622a3cca7 prevent traceback when we get an empty roster item exchange message 2009-07-22 10:48:28 +02:00
Anaël Verrier 6eba5f9946 * fixed a bug (when we try to remove a jid from roster window) 2009-07-20 20:09:39 +02:00
Yann Leboulanger 938593952d detect and send all our local IPs from local DNS. Fixes #4249 2009-07-16 15:29:07 +02:00
Yann Leboulanger 50cf012b75 don't remove occupant from room roster when we try to change our nick to the occupant's nick. Fixes #5120 2009-07-16 14:53:14 +02:00
Yann Leboulanger 278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Yann Leboulanger 016ccb74b1 handle jid errors 2009-07-08 21:41:40 +02:00
Yann Leboulanger 676bda8281 get_full_jid_from_iq is in helpers. Fixes #5146 2009-07-07 19:17:28 +02:00
Yann Leboulanger c54194d844 parse_jid is in helpers 2009-07-07 16:56:04 +02:00
Yann Leboulanger e1890c3938 fix some bugs with non-normalized jids 2009-07-07 16:34:46 +02:00
Yann Leboulanger 0de2e8522d ability to send contacts via DnD to another contact. Fixes #378 2009-07-07 16:28:26 +02:00
Yann Leboulanger e42bb5823f don't traceback when we receive pep info from muc 2009-07-07 13:41:05 +02:00
Anaël Verrier 23394732c2 * fixed a bug when we have a groupchat minimized in the roster 2009-07-06 22:34:24 +02:00
Anaël Verrier 6c56dd173b * now there is no more sparkling when we update the RosterWindow with the roster received from the server (when server does not handle roster versioning or when it resends the whole roster) 2009-06-30 17:06:17 +02:00
Anaël Verrier 4d10bdcf6f * In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190 2009-06-30 11:46:27 +02:00
Anaël Verrier 5e4fb8fddb * in order to permit roster loading at gajim startup we need to save all roster pushs (even if it's not for versioning) 2009-06-29 15:49:46 +02:00
Yann Leboulanger c739465890 ignore <iq> without an ID. They are required by RFC. Fixes #5122 2009-06-29 07:57:10 +02:00
Anaël Verrier b3fbd59866 * added 'ask' support
* fixed a bug (when a contact does not have a name)
2009-06-27 20:54:49 +02:00
Anaël Verrier d347b79c38 * added a method to load roster from DB
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +02:00
Yann Leboulanger f2e214a033 use helper function 2009-06-23 22:24:39 +02:00
Anaël Verrier 0a3d26e5d4 * added another table to handle roster group
* we now handle roster push and roster reception
* changed version number in src/common/defs.py
2009-06-23 19:29:25 +02:00
Mateusz Biliński 38fa0be12a [roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378. Only handling NS_ROSTERX 'set' operations is supported and tested as of now. 2009-06-21 03:43:57 +02:00
Anaël Verrier 9133960fbc * added one table in logs.db to save roster
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger 731c8f691f prevent traceback when receiving a disco info while we are disconnected. Fixes #5042 2009-05-21 21:12:11 +02:00
Yann Leboulanger ffd82a69a4 prevent traceback when we receive a presence but we are no more connected. Fixes #5028 2009-05-20 10:33:19 +02:00
Yann Leboulanger 1a8def3341 prevent traceback when we get a presence from an invalid JID 2009-04-29 17:34:27 +00:00
Yann Leboulanger 533e36c22c close filtransfers when we get an offline presence, but only for this resource. Fixes #4980 2009-04-29 07:46:24 +00:00
Yann Leboulanger 6ce94752d4 add a pubsub_supported variable in connection 2009-04-22 14:24:04 +00:00
Yann Leboulanger 8ccba78a15 [tpatnoe] don't add a to attribut to roster pushes if we don't get a from. Fixes #4978 2009-04-22 08:39:10 +00:00