Commit Graph

564 Commits

Author SHA1 Message Date
Yann Leboulanger b8e9498cf8 fix var name 2010-10-19 21:49:49 +02:00
Yann Leboulanger 435b6832cf use RosterReceivedEvent object to handle load_roster_from_db. 2010-10-19 18:14:30 +02:00
Yann Leboulanger 128635699e don't reply to XEP-184 requests when we fail to decrypt messages 2010-10-19 17:19:13 +02:00
Yann Leboulanger 9ced743057 check receipt (XEP-184) requests / answers only after stanza is decrypted 2010-10-19 11:43:17 +02:00
Yann Leboulanger 6700307846 fix receiving encrypted messages. fixes #5982 2010-10-19 10:47:43 +02:00
Yann Leboulanger 03e90746b9 some message handling fixes. see #5982. There are still problems with encrypted messages. 2010-10-19 07:03:45 +02:00
Yann Leboulanger e4ff7c6ced use NEC to handle messages / gc_messages 2010-10-18 22:05:41 +02:00
Yann Leboulanger d39a962157 coding standards 2010-10-06 21:11:23 +02:00
Yann Leboulanger 4d14935987 - rename error-received event to iq-error-received
- move some code from generate() function to the correct handler for PresenceEvent
2010-10-04 13:51:42 +02:00
Yann Leboulanger e2c270a67c handle (un)subscription requests with NEC 2010-10-04 10:56:34 +02:00
Yann Leboulanger 58efb054bd import hmac where it needs to be. Fixes #5948 2010-09-28 21:05:18 +02:00
Yann Leboulanger 0f2ddd50c4 fix some tracebacks when adding / removing a contact. Fixes #5946 2010-09-28 15:51:26 +02:00
Yann Leboulanger 04f6c68244 fix presence event handling. Fixes #5936 2010-09-24 19:27:08 +02:00
Yann Leboulanger e0ac19678c merge presence handling modifications changes 2010-09-23 21:43:07 +02:00
Yann Leboulanger 2476506338 spread presence handler into classes that really need it 2010-09-23 20:46:47 +02:00
Yann Leboulanger c36e00ed87 first show to use NEC to handle presence events 2010-09-17 12:41:30 +02:00
Yann Leboulanger 096b8f3d91 [Dicson] ability to install from zip / uninstall plugin. Fixes #5906 2010-09-14 19:31:35 +02:00
Yann Leboulanger 016e2d4876 use NEC to handle resource conflict 2010-09-09 16:40:58 +02:00
Yann Leboulanger 5969a0a720 use NEC to handle ping 2010-09-09 15:48:08 +02:00
Yann Leboulanger 42591685fc handle GMailNewMailCB with NEC 2010-09-09 15:21:43 +02:00
Yann Leboulanger da524c94fd use NEC to handle error messages 2010-09-08 19:55:19 +02:00
Yann Leboulanger 8d6ff98ee9 check server features in correct stanza 2010-09-03 11:29:15 +02:00
Yann Leboulanger 4500641054 use NEC to handle search form request / result 2010-08-30 21:42:36 +02:00
Yann Leboulanger fea877e154 use NEC to handle roster receipt 2010-08-29 20:22:20 +02:00
Yann Leboulanger f66a7c458c save bookmarks / annotations only for our account 2010-08-28 13:58:35 +02:00
Yann Leboulanger b01da6a83c move network events classes to a new file 2010-08-28 00:25:07 +02:00
Yann Leboulanger d54401d404 use NEC to handle bookmarks via pubsub. 2010-08-27 23:53:17 +02:00
Yann Leboulanger cb0f30f4b4 use NEC to handle private storage stanza 2010-08-27 22:45:59 +02:00
Yann Leboulanger d56bfb18e6 use NEC to handle muc admin events 2010-08-24 11:37:37 +02:00
Yann Leboulanger ff66a095a6 use NEC to handle muc config event 2010-08-24 09:15:42 +02:00
Yann Leboulanger a067cf552a handle roster set only for our account! 2010-08-24 08:26:17 +02:00
Yann Leboulanger ea90b2ba45 fix var name 2010-08-23 16:55:39 +02:00
Yann Leboulanger df7096167f use NEC to handle roster set events 2010-08-23 14:35:03 +02:00
Alexander Cherniuk ef75781d1c Fixed a typo. Fixes #5863 2010-08-21 02:29:31 +03:00
Yann Leboulanger bbe4ae3b43 remove some useless code 2010-08-19 09:59:53 +02:00
Yann Leboulanger cbd384ed31 send IBB data in Iq instead of Message 2010-08-17 15:42:34 +02:00
Yann Leboulanger 9a1bee4761 use nec to handle time / time revised requests 2010-08-17 00:13:38 +02:00
Yann Leboulanger 372c4e8d76 use nec to handle last requests 2010-08-16 23:47:08 +02:00
Yann Leboulanger f66baccf3b use nec to handle version requests 2010-08-16 23:39:33 +02:00
Yann Leboulanger eb589020ed ability to send / receive file using IBB based on xmpppy implementation. Fixes #2331 2010-08-16 14:33:50 +02:00
Yann Leboulanger 6474ea0d98 update XEP-184 support by including id of request in <reveived> answer 2010-08-11 23:53:08 +02:00
Yann Leboulanger 9282678d8c request message archiving only if server supports it. 2010-08-11 20:12:11 +02:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger 457f75c945 fix var name 2010-08-10 09:28:11 +02:00
Yann Leboulanger 05f90734ee fix missing function call 2010-08-09 01:54:40 +02:00
Yann Leboulanger 88c84e26f4 fix wrong var name. Fixes #5827 2010-07-30 16:42:51 +02:00
Yann Leboulanger 84982aaf30 prevent duplicate bookmarks 2010-07-30 15:16:09 +02:00
Yann Leboulanger 18f03edd62 use a nec Event to dispatch RIE events 2010-07-30 01:30:59 +02:00
Yann Leboulanger 79297d919c Fix wrong event name 2010-07-28 21:00:39 +02:00
Yann Leboulanger 33c155d889 use nec / ged to dispatch gmail event 2010-07-21 23:14:50 +02:00
Yann Leboulanger 8595638cb4 use nec / ged to handle time, version and last received event 2010-07-20 16:53:07 +02:00
Yann Leboulanger 01d486ec60 use Network Event Dispatcher in connection_handler to handle HttpAuth events. 2010-07-20 10:35:38 +02:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Yann Leboulanger 7716423b27 support XEP-0231 : BoB (without cache as it's useless for captcha) 2010-07-02 00:25:08 +02:00
Yann Leboulanger f9e8b46e6c iability to show captcha when joining a groupchat with captcha. (TODO: download image when it's not in the message itself) 2010-06-27 23:09:07 +02:00
Yann Leboulanger 60d9b234a7 Fix some mino things about archiving preference window. see #5792 2010-06-27 21:50:00 +02:00
Yann Leboulanger 77a6a02dc3 delete bookmarks from pubsub if server doesn't support publish-options. Fixes #5787 2010-06-21 19:15:46 +02:00
Yann Leboulanger 3f4194e1a8 treat incoming messages from a groupchat jid as a groupchat message 2010-06-10 09:24:22 +02:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger 493dbce89d don't show more than one error dialog for a given groupchat. Fixes #5753 2010-05-20 18:45:09 +02:00
Yann Leboulanger ed28b14b82 prevent some traceback when receiving an error when we want to configure pep. Fixes #5737 2010-05-05 19:32:18 +02:00
Alexander Cherniuk 93e895dde1 Micro code improvement 2010-05-03 06:42:37 +03:00
Yann Leboulanger c6044ca60a request full roster if we have no contacts in our current database, in case we cleaned database but not roster_version option. Fixes #5729 2010-05-02 19:33:16 +02:00
Alexander Cherniuk 3353e0cb23 <confirm/> must be included if it's a message instead of an IQ. Fixes #5690 2010-04-21 14:59:46 +03:00
Yann Leboulanger 974001196d [Gabriel] add <confirm> tag when we reply to XEP-0070 request when it's a message. Fixes #5690 2010-04-09 15:11:04 +02:00
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Alexander Cherniuk 36ea39e74a Fixed the autorejoin bug with overlimited MUC. Fixes #5678 2010-03-28 15:36:51 +03:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger 28e2874853 ability to send jabber:iq:last query over zeroconf. Fixes #5644 2010-03-10 21:58:14 +01:00
Yann Leboulanger 42f1952e15 don't print a second DB error message if a first one is already shown. Fixes #5637 2010-03-09 21:48:57 +01:00
Yann Leboulanger 72f10672e5 split XEP-0096 (FT negociation) and XEP-0066 (Socks5 bytestream) into 2 clases 2010-02-22 16:29:01 +01:00
Yann Leboulanger 04db669265 don't fail to connect when no <stream:features> is sent by server. Fixes #5610 2010-02-16 09:27:19 +01:00
Yann Leboulanger 23f73004db [Mattj] Fix connection to facebook server that don't understand ver="" in roster query. Fixes #5600 2010-02-11 18:57:39 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo 0408b35cfb convert tabs to spaces in source code thanks to reindent.py
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Yann Leboulanger fa05d88b2b merge from default branch 2010-02-08 22:25:41 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger ebf9407c5d improve subscription request message, ability to save it. Fixes #2176 2010-01-27 17:23:37 +01:00
Yann Leboulanger 7923ff54c1 coding standards 2010-01-26 15:41:13 +01:00
Yann Leboulanger db575a25f6 send pep info only once we are connected. Fixes #5567 2010-01-20 12:23:46 +01:00
Yann Leboulanger 3a76966c14 merge from default branch 2010-01-19 16:37:14 +01:00
Yann Leboulanger a1c8ec3ebd don't reply to presence type=subscribe before we do the roster push when registering to a transport. Fixes #5549 2010-01-13 11:12:14 +01:00
Yann Leboulanger 3238e30359 some coding standards 2010-01-13 10:35:52 +01:00
Yann Leboulanger c1d0013cb0 ability to discover STUN server with SRV records of jabber server 2010-01-07 18:02:05 +01:00
Yann Leboulanger 95137bae06 [Tony] print idle time in tooltip. see #5528 2010-01-06 23:12:56 +01:00
Yann Leboulanger 1d0c57915a Really ignore messages from invalid jids. Fixes #5539 2010-01-02 22:45:02 +01:00
Stephan Erb 11c83109f4 Remove some unneeded bits in the xmpp ping code. Add additional logging. 2009-12-20 23:16:58 +01:00
Stephan Erb 1f954582fb [Florob] Fix logic error resulting in a None type exception. 2009-12-13 22:55:57 +01:00
Stephan Erb d48202d221 Move ConnectionBytestream to common/protocols. 2009-12-10 21:52:32 +01:00
Stephan Erb f52532f6f0 Merge local changes. 2009-12-10 20:08:09 +01:00
Stephan Erb e9caf06992 Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00
Stephan Erb 7708e3b87e Refactor internas of ConnectionCaps
* Make it testable and write a very basic test for the presenceCallback
 * Use Extract Method to make the code more readable and to increase reusability
 * Start to decouple ConnectionCaps from the other Connection classes/handlers
2009-12-10 18:31:00 +01:00
Yann Leboulanger 88a149035b [Jim++] keep in mem las muc message time, and save it in database when we quit. Fixes #5490 2009-12-10 06:59:47 +01:00
Stephan Erb acf06b4470 Merge local changes. 2009-12-05 11:28:13 +01:00
Stephan Erb d8f6e39020 Merge head. 2009-12-05 11:27:53 +01:00
Stephan Erb e72a8f519e Backed out changeset d4ef03c57366 2009-12-05 11:25:07 +01:00
Stephan Erb 754a683043 Mark internal methods as protected. 2009-12-05 11:22:24 +01:00
Yann Leboulanger 9914792723 re-enable the ability to connect as invisible: check that we don't send presence with show=invisible at the correct place, after we diferenciate invisible conection from not-invisible connection. Fixes #5473 2009-12-03 18:10:23 +01:00
Yann Leboulanger 5a3ef285a5 fix some archiving session negotiation bugs
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00