Commit Graph

3591 Commits

Author SHA1 Message Date
Yann Leboulanger c8dcfc771b fix typo 2010-11-15 21:13:28 +01:00
Yann Leboulanger 078de46bf0 use NEC to handle ping events 2010-11-15 17:35:19 +01:00
Yann Leboulanger 9d21a70896 use NEC to handle connection lost events 2010-11-15 17:03:38 +01:00
Yann Leboulanger da97249ef6 use NEC to handle bad GPG passphrase events 2010-11-15 16:50:54 +01:00
Denis Fomin 98e89a5204 Fixed broken registration for a new account. Fixed typos 2010-11-14 14:22:45 +03:00
Yann Leboulanger 09f16c5872 use NEC to handle agent-removed events 2010-11-09 21:52:22 +01:00
Yann Leboulanger f5b38c8253 use NEC to handle stanza arrived / sent events 2010-11-09 20:58:11 +01:00
Yann Leboulanger c4f5a8ceec use NEC to handle vcard (not) published events 2010-11-08 22:34:04 +01:00
Yann Leboulanger 5a589d747c use NEC to handle message (not) sent events 2010-11-08 21:23:08 +01:00
Yann Leboulanger 1a0533998f use NEC to handle connection type events 2010-11-07 22:45:01 +01:00
Yann Leboulanger d676dbd900 use NEC to handle new account connected events 2010-11-07 18:50:24 +01:00
Yann Leboulanger 60e8c63a29 use NEC to handle account creation events 2010-11-07 18:26:31 +01:00
Yann Leboulanger 69578659a2 use NEC to handle our-status event 2010-11-06 10:04:41 +01:00
Yann Leboulanger f68d270f8f fix typo 2010-11-06 09:19:20 +01:00
Yann Leboulanger 344181fc01 use NEC to handle archiving stanza. 2010-11-05 20:36:45 +01:00
Yann Leboulanger 989e606672 use NEC to handle jingle-error events 2010-11-05 11:08:06 +01:00
Yann Leboulanger 59c8eb05a3 don't continue testing next Ips when on work 2010-11-02 22:23:13 +01:00
Yann Leboulanger 21f66fcc47 initialize a variable before it's used. 2010-11-02 20:24:37 +01:00
Yann Leboulanger 5a9464f0cf prevent traceback when we receive a message archiving negotiation while our server doesn't support message archiving. Fixes #5859 2010-10-31 22:02:24 +01:00
Yann Leboulanger 58feae6cee use NEC to handle jingle-disconnected events 2010-10-29 16:49:53 +02:00
Yann Leboulanger 1bbb42a9ae handle read event before close event in case pipe sends us something and close pipe in the same time. 2010-10-29 11:41:38 +02:00
Yann Leboulanger 359a6e901e improve connection to server that have an IPv6 but jabber server don't listen on that IP. 2010-10-29 11:37:07 +02:00
Yann Leboulanger 8dcbf3e73e e NEC to handle jingle-connected events 2010-10-27 19:37:14 +02:00
Yann Leboulanger 6edd6cbfd5 change attributes in jingle Event 2010-10-27 10:28:59 +02:00
Yann Leboulanger ab2ddc4935 use NEC to handle jingle incoming events 2010-10-27 09:36:29 +02:00
Yann Leboulanger ffa7cbda9c rename __sessions to _session 2010-10-27 01:16:05 +02:00
Yann Leboulanger 75b6872064 use NEC to handle anonymous jid changment 2010-10-26 21:25:41 +02:00
Yann Leboulanger 538fec1571 fixes for windows build 2010-10-26 17:28:08 +02:00
Yann Leboulanger edccb053a8 fix roster handling with zeroconf. Fixes #5820 2010-10-26 11:25:30 +02:00
Yann Leboulanger 1048db503e handle captcha images when registering an account 2010-10-26 00:10:25 +02:00
Yann Leboulanger 26d6b50e3e check error before incoming or outgoing events. Fixes #5991 2010-10-25 21:06:45 +02:00
Yann Leboulanger 278ba237f9 check real JID <-> fake JID correspondance only when needed. 2010-10-24 15:33:19 +02:00
Yann Leboulanger eaaa2634e3 correctly clean groupchat_jids when we get an empty vcard. 2010-10-24 15:32:38 +02:00
Yann Leboulanger 8da3246f08 check use_ft_proxies before discovering our server's proxy 2010-10-22 22:22:47 +02:00
Yann Leboulanger 13a46aa0b4 fix handling error messages. Fixes #5982, #5986 2010-10-20 14:57:50 +02:00
Yann Leboulanger 74d68305f1 fix var name 2010-10-20 14:54:43 +02:00
Yann Leboulanger b8e9498cf8 fix var name 2010-10-19 21:49:49 +02:00
Yann Leboulanger 186b84c481 prevent showing twice the same message in muc when we are twice in a room from 2 accounts. 2010-10-19 21:43:44 +02:00
Yann Leboulanger 435b6832cf use RosterReceivedEvent object to handle load_roster_from_db. 2010-10-19 18:14:30 +02:00
Yann Leboulanger 58f26f3bfe fix var name. Fixes #5984 2010-10-19 17:21:11 +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 e5de6cbfaa some refactoring in presence event generator 2010-10-05 12:25:56 +02:00
Yann Leboulanger 4bf5a3712e don't ignore presence from other resources of our jid. 2010-10-04 21:24:34 +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 27b3621680 fix typo 2010-09-30 11:17:16 +02:00
Yann Leboulanger ffba6193e4 show "room has been destroyed" only when it has been destroyed. Fixes #5952 2010-09-29 17:51:52 +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 69a1eee8e6 new event for groupchat presences 2010-09-28 15:13:51 +02:00
Yann Leboulanger 8d218ab0d0 [Zhihao Yuan & I] use convert is dvipng doesn't work. Fixes #5935 2010-09-24 23:15:21 +02:00
Yann Leboulanger 97ec4df020 fix some var name 2010-09-24 19:53:25 +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 1d9a550ca8 ignore invalid payload types. Fixes #5919 2010-09-23 13:05:33 +02:00
Yann Leboulanger 180178608d fix typo 2010-09-22 18:20:01 +02:00
Yann Leboulanger c36e00ed87 first show to use NEC to handle presence events 2010-09-17 12:41:30 +02:00
Yann Leboulanger c9bc9393d5 fix a bug in ged that prevent callback to be called in the correct order. 2010-09-17 12:41:00 +02:00
Yann Leboulanger 6d430aa372 handle canceling of creating gnome keyring. Fixes #5909 2010-09-16 21:15:12 +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 cfac956598 handle milliseconds in time result stanza. Fixes #5905 2010-09-13 12:23:49 +02:00
Yann Leboulanger 89d8147cc5 [Dicson] fix typo preventing sending XHTML. Fixes #5900 2010-09-11 15:32:44 +02:00
Yann Leboulanger 96de172951 Fix running Gajim under windows for users with non-ascii char in account name. Fixes #5852 2010-09-10 21:31:25 +02:00
Yann Leboulanger 9f644dade0 prevent traceback when receiving strange reply to iq:last. Fixes #5898 2010-09-10 21:27:10 +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 35039100ff fix changing account name. Fixes #5891 2010-09-08 22:26:04 +02:00
Yann Leboulanger da524c94fd use NEC to handle error messages 2010-09-08 19:55:19 +02:00
Yann Leboulanger 3e2bfd67a3 use xdg-open if available. Thanks to polymorphm forthe initial patch. Fixes #5874 2010-09-08 15:25:36 +02:00
Yann Leboulanger 646c9f86a0 add missing import. Fixes #5889 2010-09-07 10:23:37 +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 5397f643bd remove useless import, coding standards 2010-08-28 00:30:23 +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 f93dca04f3 raise event through ged before generating child events 2010-08-27 22:45:16 +02:00
Thibaut Girka 21079a0546 [Jingle] Move on_negotiated callback to JingleContent 2010-08-26 16:59:29 +02:00
Thibaut Girka e4f5bacdb0 [Jingle] Don't wait for all contents to be ready to accept a session 2010-08-26 13:52:00 +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 c8252c4583 don't try to reconnect a disabled account. Fixes #5865 2010-08-23 14:55:03 +02:00
Yann Leboulanger df7096167f use NEC to handle roster set events 2010-08-23 14:35:03 +02:00
Yann Leboulanger 06da4df46f [Andrej A Antonov] Use correct word: System Tray -> notification area. Fixes #5864 2010-08-23 10:40:04 +02:00
Yann Leboulanger 1e3622ade2 declare log variable in stanza_session.py 2010-08-23 10:38:09 +02:00
Yann Leboulanger d90e153477 forget password if it's wrong and we don't want to save it. Fixes #5862 2010-08-23 10:04:19 +02:00
Alexander Cherniuk ef75781d1c Fixed a typo. Fixes #5863 2010-08-21 02:29:31 +03:00
Yann Leboulanger a63d16fa20 uncommenta line commented for tests. Fixes #5861 2010-08-20 20:24:03 +02:00
Yann Leboulanger bbe4ae3b43 remove some useless code 2010-08-19 09:59:53 +02:00
Yann Leboulanger ed7eec3798 [Florob] Don't return non-existant variables. Fixes #5856 2010-08-18 08:35:32 +02:00
Thibaut Girka 91a28dc1ef [jingle] JingleSession.remove_content: don't send session-terminate 2010-08-17 18:22:25 +02:00
Thibaut Girka e0ffa2d293 [jingle] fix TB when receiving an error stanza 2010-08-17 18:17:36 +02:00
Yann Leboulanger cbd384ed31 send IBB data in Iq instead of Message 2010-08-17 15:42:34 +02:00
Yann Leboulanger 8af6bd2aae mercurial python module is not installed in site-packages under windows. use hg binary instead to get current revision 2010-08-17 11:55:58 +02:00
Yann Leboulanger f4e0992e9c use a more portable code to get current hg revision. se #5831 2010-08-17 11:34:53 +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 751894d453 [Zash] fix var name 2010-08-16 16:13:55 +02:00
Yann Leboulanger 1e0448af35 announce both IBB and bytestream 2010-08-16 16:11:53 +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 4ef341bf2e handle URI in a better way. some require ://, some only :. Fixes #5841 2010-08-15 21:51:40 +02:00
Yann Leboulanger 72e75131b3 another missimg return 2010-08-12 21:42:15 +02:00
Yann Leboulanger 685a7a6e7f add missing return 2010-08-12 21:37:26 +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 2d9e622f65 check that user made a selection in a list-* field if it's required. Fixes #5829 2010-08-11 09:31:41 +02:00
Yann Leboulanger 04c7b20c77 always send at least an emtpy <value> for every required fields when we send a dataform. Fixes #5829 2010-08-10 18:25:45 +02:00
Yann Leboulanger 61b26858d5 check jid-single and jid-multi fields when filling ad-hoc commands. Fixes #5829 2010-08-10 16:08:06 +02:00
Yann Leboulanger effa7cedfb correctly prep JID: "@server" is not a valid JID 2010-08-10 16:06:41 +02:00
Yann Leboulanger 457f75c945 fix var name 2010-08-10 09:28:11 +02:00
Yann Leboulanger 6c5565bfe2 add hg revision in Gajim version for hg users too 2010-08-09 14:42:55 +02:00
Yann Leboulanger 05f90734ee fix missing function call 2010-08-09 01:54:40 +02:00
Yann Leboulanger 546d1af937 typo in protocol.py 2010-07-31 00:54:13 +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 05a1af2c55 merge plugin system to trunk 2010-07-28 14:11:46 +02:00
Yann Leboulanger 6f22aa9d54 don't show in console that computed caps hash is incorrect 2010-07-27 10:37:10 +02:00
Yann Leboulanger 0c14e5c266 prepare 0.14 beta1 2010-07-24 22:08:21 +02:00
Yann Leboulanger 1d0ed41d15 improve connection time. Fixes #5764 2010-07-22 20:56:50 +02:00
Yann Leboulanger 33c155d889 use nec / ged to dispatch gmail event 2010-07-21 23:14:50 +02:00
Alexander Cherniuk 314342ada2 Added an ability to execute a command when a new Gmail event arrives. Thanks to umonkey. Fixes #5818 2010-07-20 20:15:44 +03: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 337b09d389 create ~/.config and ~/.cache folder if they don't exist 2010-07-10 11:03:46 +02:00
Yann Leboulanger dd38dcee5e don't send a canceld filetransfer. Fixes #3586 2010-07-06 22:11:43 +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
Thibaut Girka c6dc1b8b20 [Jingle] refactor a bit and ignore non-critical errors. Fixes #5794 2010-07-01 18:30:35 +02:00
Alexander Cherniuk b7bff44494 Minor fixes for CAPTCHA 2010-06-30 05:38:21 +03: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 af804641b6 stop message archiving for encrypted sessions. Fixes #5792 2010-06-27 22:31:55 +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 eb6f09e51c fix traceback when we get a <stream:error> from server. 2010-06-23 14:54:50 +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 4ab308d855 stop saving bookmarks in pubsub if server doesn't support #publish-options. see #5787 2010-06-21 19:15:08 +02:00