Commit graph

493 commits

Author SHA1 Message Date
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
e8c3ba51b2 Fixed bug related to account name in NewEventsExample name. Modified way to acquire message type. 2009-06-21 23:12:30 +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
Mateusz Biliński
018bda5a5f Merged default branch with plugin-system branch. Not all elements are fully
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +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
Yann Leboulanger
c7c5d0f66d don't fail when we get a wrong time format when requesting contact time 2009-03-18 11:04:25 +00:00
Yann Leboulanger
9a6913053d acknowledge roster pushes. Fixes #4826 2009-02-19 09:52:23 +00:00
Yann Leboulanger
3d23320697 [Petr Menšík] correct 2 typos 2009-02-15 09:28:56 +00:00
Yann Leboulanger
49d32e84f6 ignore wrong answer to XEP-202 (entity time) requests (Adium don't reply correctly). Fixes #4816 2009-02-14 18:56:17 +00:00
Yann Leboulanger
200069062e fix localetime() call. Fixes #4798 2009-02-11 10:58:57 +00:00
Yann Leboulanger
626b080457 fix sending correct time with DST / non-DST time 2009-02-10 22:25:04 +00:00
Yann Leboulanger
7c96178126 add XEP-202 in vcard window. Fixes #4007 2009-02-10 21:45:44 +00:00
Yann Leboulanger
26d8624377 [Zod] convert GPG decrypted string to unicode. Fixes #4788 2009-02-08 09:56:38 +00:00
Yann Leboulanger
a4f9764f21 stanza sent at startup now start with Gajim_ instead of p. Fixes #4774 2009-02-07 12:47:13 +00:00
Yann Leboulanger
e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Yann Leboulanger
ffb52eb626 [Dicson] option have moved per account. Fixes #4748 2009-01-29 20:16:34 +00:00
Yann Leboulanger
2804251df6 infor user about success or failure of registration with an agent. Fixes #3474 2009-01-26 10:27:46 +00:00
Yann Leboulanger
15ab37043e remove duplicated STATUS_LIST variable 2009-01-10 16:45:52 +00:00
Stephan Erb
e00f871b26 Use hashlib module in favor of sha and md5. 2009-01-08 16:51:26 +00:00
Yann Leboulanger
ad7c64998a better handling of error when receiving a filetransfer without bytestream feature. Fixes #4607 2008-12-24 12:11:02 +00:00
Yann Leboulanger
b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Brendan Taylor
aeff9046ab a fix for autonegotiation after esessions were disabled 2008-12-13 18:10:37 +00:00
Yann Leboulanger
d0c3b6fd44 prevent sending messages to invalid JIDs. Fixes #4577 2008-12-13 14:43:46 +00:00
Yann Leboulanger
5f6c7d858f ignore show that are not in RFC-3921. 2008-12-11 22:04:25 +00:00
Yann Leboulanger
0830a5fe73 [thorstenp] use sorted() and list comprehension 2008-12-03 22:07:44 +00:00
Yann Leboulanger
89f02b1feb [thorstenp] replace filter lambda with list comprehension 2008-12-03 22:04:42 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +00:00
Yann Leboulanger
1865294a25 [thorstenp] fix access to members before definition 2008-12-03 19:56:37 +00:00
Yann Leboulanger
31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger
eed5dc4e72 [thorstenp] remove useless semicolons 2008-12-02 13:58:54 +00:00
Yann Leboulanger
e90375bad3 check if remote contact support esession or session. If it supports esession, it supports session but may not announce it. see #4429 2008-12-02 09:49:49 +00:00
Yann Leboulanger
3a548491a9 strftime doesn't support %T. It works under linux (why?) but not under windows. Fixes #4526 2008-12-01 10:56:14 +00:00
Yann Leboulanger
3e88fdf41e check session support instead of Esession support, and announce we support it. Fixes #4429 2008-11-30 18:53:02 +00:00
Yann Leboulanger
8907f71c86 fix session problem when other part don't support sessions. Fixes #4429 2008-11-29 18:50:03 +00:00
Yann Leboulanger
8babbb1de3 revert [10593]. see #4449 2008-11-12 20:04:25 +00:00