Commit Graph

898 Commits

Author SHA1 Message Date
Yann Leboulanger 346b38944c use NEC to handle signed-in events 2010-11-29 11:11:24 +01:00
Yann Leboulanger 04b89bc473 use NEC to handle password-required events 2010-11-29 10:00:23 +01:00
Yann Leboulanger 6bdf47d7e7 use NEC to handle privacy list events 2010-11-24 22:48:39 +01:00
Yann Leboulanger 3f781f5382 use NEC to handle unique room id events 2010-11-24 17:28:18 +01:00
Yann Leboulanger 4fb9b442c8 use NEC to handle fingerprint error events 2010-11-24 17:00:14 +01:00
Yann Leboulanger b80254e20e use NEC to handle ssl error events 2010-11-24 16:50:37 +01:00
Yann Leboulanger b5497da876 use NEC to handle insecure ssl connection events 2010-11-24 16:32:59 +01:00
Yann Leboulanger a3b51a892b use NEC to handle insecure password events 2010-11-24 16:18:56 +01:00
Yann Leboulanger a45cc993e8 use NEC to handle plain connection events 2010-11-24 15:38:16 +01:00
Yann Leboulanger 3fea030706 rename some events 2010-11-24 10:33:34 +01:00
Yann Leboulanger 10b735636d use NEC to handle gpg paswword things 2010-11-17 23:52:14 +01:00
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 f5b38c8253 use NEC to handle stanza arrived / sent events 2010-11-09 20:58:11 +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 75b6872064 use NEC to handle anonymous jid changment 2010-10-26 21:25:41 +02:00
Yann Leboulanger 1048db503e handle captcha images when registering an account 2010-10-26 00:10:25 +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 4500641054 use NEC to handle search form request / result 2010-08-30 21:42:36 +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 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
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 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 4ab308d855 stop saving bookmarks in pubsub if server doesn't support #publish-options. see #5787 2010-06-21 19:15:08 +02:00
Yann Leboulanger 262cad2d99 don't forget password when authentication fails. It may be a server problem. Fixes #5779 2010-06-13 18:17:36 +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 25d251b455 add new ad-hoc command to forward unread messages then disconnect. Thanks Geobert. 2010-04-27 11:31:36 +02:00
Yann Leboulanger d44c30373f [Calamar and me]sasl-external c2s authentication. Fixes #5704 2010-04-18 20:43:40 +02:00
Yann Leboulanger 3728658933 [Stefan] handle user/password from HTTP_PROXY environment variable. Fixes #5691 2010-04-09 22:49:17 +02:00
Yann Leboulanger 32a14182df check that we are authenticated to server before sending anything. 2010-03-20 19:00:33 +01:00
Yann Leboulanger d3e1b50ed1 remove useless print 2010-03-19 08:21:57 +01: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 b21d538b0f fix insecure_connection text to not talk about password, and add new warning to inform user when he is about to send plain password on plain connection. Fixes #5607 2010-02-17 13:35:18 +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
É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 53a974114a fix some typo in comments 2010-01-25 18:29:57 +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 32050296a8 import ged from plugin-system branch 2010-01-19 21:32:45 +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 61ffd6f91f revert wrong behaviour. see #5527 2010-01-03 19:21:39 +01:00
Anaël Verrier 5e744a3e8e forgot to remove an useless line in the previous commit... 2010-01-03 01:52:40 +01:00
Anaël Verrier 714b7d965d Fixed a minor bug in the calculation of the date for room history request. Thanks Zash for the report. 2010-01-03 01:49:49 +01:00
Yann Leboulanger d41d4b2460 fix typo in variable name 2009-12-30 11:27:54 +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
Yann Leboulanger b82ea5feff restore xmpp ping callback that was removed in [bc039f78321d] Fixes #5510 2009-12-14 23:39:46 +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
Yann Leboulanger 2a944e5404 ability to get address / location from geoclue and send it via PEP 2009-12-07 23:16:30 +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
Alexander Cherniuk cea7c66f75 A portion of doc-string refactoring 2009-11-26 12:21:43 +02:00
Yann Leboulanger a59011138b merge diff from default 2009-11-25 21:15:36 +01:00
red-agent 102126b330 Fixed broken resource setting 2009-11-22 13:33:19 +02:00
Yann Leboulanger 094941f89e don't try to send thing after we are disconnected. Fixes #5437 2009-11-19 22:42:35 +01:00
Yann Leboulanger c9c5f72ff9 fix traceback on startup. Fixes #5435 2009-11-18 21:07:11 +01:00
Yann Leboulanger 88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Stephan Erb a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Stephan Erb 5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Yann Leboulanger e4128f5c29 merge from default 2009-11-13 19:45:11 +01:00
Yann Leboulanger 8f2120371b update correctly self_contact Contact instance and roster row when we use an anonymous account (our jid changes in this case). Fixes #5370 2009-11-07 12:37:16 +01:00
Yann Leboulanger ea5429b248 fix XEP-202 implementation, child element must be <time>, not <query>. Fixes #5412 2009-11-06 08:11:07 +01:00
Yann Leboulanger 4743d224fd fix sending message to several contacts (in this case we cannot get a contact instance as there are several jids in one. Fixes #5408 2009-11-05 19:44:01 +01:00
Stephan Erb 213fd5a8ed Update a few outdated comments. 2009-10-27 22:48:47 +01:00
Stephan Erb 33fe53ff7d Swtich from old to new caps API.
Now we do:

contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Stephan Erb 3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +02:00
Yann Leboulanger f18ede1c88 detect incoming MUC error presences from the ID. Fixes #5309 2009-10-13 19:26:56 +02:00
Yann Leboulanger 3a13f91162 prevent traceback 2009-10-06 21:27:40 +02:00
Yann Leboulanger b954492bc2 fix typo 2009-10-02 17:18:36 +02:00
Yann Leboulanger 5406f8b49c improve connection time to muc. 2009-10-02 16:47:42 +02:00
Yann Leboulanger 4d8454a242 request bookmarks via XML if server announce it supports pubsub but doesn't answer in the next 30 seconds. Fixes #5198 2009-09-29 11:08:42 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +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 377a777823 always reply to incoming resource. see #5227 2009-09-09 10:38:26 +02:00
Yann Leboulanger bad4297952 when unregistering an account, wait server answer before closing connection. 2009-09-09 10:13:03 +02:00
Yann Leboulanger 54fa89af23 correctly detect vcard support of server. Fixes #5233 2009-08-28 13:41:36 +02:00
Yann Leboulanger 4438154eb0 prevent traceback when changing nick 2009-08-27 20:15:54 +02:00
Yann Leboulanger 982db9636c add 2 advanced option to configure how many log lines we want when entering a room. Fixes #5237 2009-08-27 18:08:14 +02:00
Yann Leboulanger 1f760de1ff prevent traceback. Fixes #5202 2009-08-06 00:07:23 +02:00
Yann Leboulanger 8fcaa914e1 ability to use anonymous authentication 2009-08-05 20:53:58 +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
Anaël Verrier 690c5e82ed * second draft of message archiving preferences window 2009-07-31 19:16:03 +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 19e302b918 bosh port must now be included in bosh URI 2009-07-17 11:20:28 +02:00
Anaël Verrier 66e7ea153e * now we handle result for archiving preferences request and also all changes that come from server 2009-07-15 15:13:12 +02:00
Yann Leboulanger 711dfce03c better way to detect pyopenssl usage 2009-07-13 17:44:12 +02:00
Yann Leboulanger 278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Anaël Verrier c66aee5b9d * better way to propagate roster at start 2009-07-09 14:33:18 +02:00
Yann Leboulanger 0de2e8522d ability to send contacts via DnD to another contact. Fixes #378 2009-07-07 16:28:26 +02:00
Jonathan Schleifer 086d031374 Remove spaces at EOL. 2009-06-15 21:00:14 +02:00
Yann Leboulanger f8267ad047 missing commit. see #4643 2009-05-01 09:40:03 +00:00
Yann Leboulanger a7f0022bb4 Add a second timeout to differenciate keepalive and ping alive packets. We now wait 55s before sending a keepalive (whitespace packet) and 2 minutes before sendind a xmpp ping (and then we wait for 1min the answer before reconnecting) Fixes #4643 2009-05-01 09:18:21 +00:00
Yann Leboulanger 6ce94752d4 add a pubsub_supported variable in connection 2009-04-22 14:24:04 +00:00
Yann Leboulanger dc69e49db6 don't send NS_MUX <x> element when we change nickname in room 2009-04-08 16:38:28 +00:00
Yann Leboulanger 5834a2ae82 ability to block all contacts (from privacy list editor). Fixes #4831 2009-02-20 10:15:16 +00:00
Yann Leboulanger bf8c12ee9f ask user what to do when GPG key is not trusted. 2009-02-19 22:47:38 +00:00
Yann Leboulanger c1e6cd17b7 detect expires GPG keys. Fixes #4263 2009-02-19 20:17:05 +00:00
Yann Leboulanger 0724a4ffea show Error Dialog with full error message instead of popup when Stream Error arrives. see #4660 2009-02-19 14:46:54 +00:00
Yann Leboulanger 16fa30a1e7 handle stream error and show message to user. Fixes #4660, #4823 2009-02-19 13:18:23 +00:00
Yann Leboulanger 849108b11f request connection password only when neede. No need to request it for GSSAPI or ANONYMOUS login. see #2465 2009-02-13 20:24:23 +00:00
Yann Leboulanger 7c96178126 add XEP-202 in vcard window. Fixes #4007 2009-02-10 21:45:44 +00:00
Yann Leboulanger 6f951d20d0 remove useless code 2009-02-08 22:37:39 +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 e629ceb637 don't allow to send xhtml when gpg is active (because this part is not encrypted). Fixes #4650 2009-01-16 15:01:36 +00:00
Yann Leboulanger 5575502c0b save certificate fingerprint when we don't have it. 2009-01-13 19:24:09 +00:00
Yann Leboulanger 15ab37043e remove duplicated STATUS_LIST variable 2009-01-10 16:45:52 +00:00
Yann Leboulanger 6080bea672 abilty to do some exceptions to invisible rule (to send custom status). Fixes #4631 2009-01-10 16:37:57 +00:00
Yann Leboulanger 08cd4773b0 don't try to send some XML if we are disconnected/disconnecting/ Fixes #4605 2008-12-28 22:51:39 +00:00
Yann Leboulanger a09cbaddf1 remove useless print 2008-12-16 07:14:45 +00:00
Yann Leboulanger b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger d0c3b6fd44 prevent sending messages to invalid JIDs. Fixes #4577 2008-12-13 14:43:46 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 60ba33eb31 [thorstenp] fix possible undefined loop variables 2008-12-03 17:38:16 +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 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 4bef0e5cdf no need to create html twice 2008-11-28 07:25:00 +00:00
Stephan Erb e0a365a234 Indicate that some methods are only intended for internal usage. 2008-11-26 21:11:08 +00:00
Yann Leboulanger f9034952e0 allow sending None tune on startup. Fixes #4512 2008-11-25 15:00:23 +00:00
Yann Leboulanger 8babbb1de3 revert [10593]. see #4449 2008-11-12 20:04:25 +00:00
Yann Leboulanger 540fba2aaa prevent some disk write error and show error dialog. 2008-11-06 08:10:36 +00:00
Yann Leboulanger a368839123 [thorstenp] import rst generator only when needed. see #4457 2008-11-05 18:25:40 +00:00
Yann Leboulanger 67d19a226d handle mood in messages, send mood in message if pep is not supported on server. Fixes #4449 2008-11-03 14:25:08 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 73aee40542 [thorstenp] replace none equality test with identity test 2008-10-11 09:44:12 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 84e717c8df [thorstenp] use startswith and endswith instead of array indices on strings 2008-10-11 09:32:59 +00:00
Yann Leboulanger 6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger 9262133315 reconnect correctly when you were conencted with plain connection. Fixes #4390 2008-10-10 18:03:25 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 96dd7b8ba7 revert [10494]. see #4388 2008-10-07 15:09:39 +00:00