Commit Graph

3591 Commits

Author SHA1 Message Date
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
Yann Leboulanger e8f61ddfd5 fix missing ) 2010-06-20 22:56:20 +02:00
Yann Leboulanger 3adbc74edf change print into log.debug 2010-06-20 22:46:25 +02:00
Yann Leboulanger 44d53c40cc ability to fix framerate and video size for jingle video. 2010-06-19 15:44:10 +02:00
Yann Leboulanger 50653e2a10 [Zash] fix traceback when sending messages over zeroconf. Fixes #5784. 2010-06-18 07:45:07 +02:00
Yann Leboulanger f6e45c18ef prevent traceback when disconnecting while a jingle session is active. 2010-06-16 10:13:23 +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 3f4194e1a8 treat incoming messages from a groupchat jid as a groupchat message 2010-06-10 09:24:22 +02:00
Alexander Cherniuk 62710e906a Corrected exception handling. We really should bump to Python 2.6. Fixes #5778 2010-06-09 23:13:17 +03: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 28e3c36944 [Jonathan Michalon] flush and fsync config file before closing it. Fixes #5768 2010-06-02 22:14:57 +02:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger f919c10742 check that pubsub messages have a Atom namespace before presenting them to the user. Fixes #5757 2010-05-25 09:33:59 +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 bcee7c2125 indicator API changes too much, remove it's support. Fixes #5694 2010-05-11 17:20:23 +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
Yann Leboulanger 93d15da2b3 remove fixed TODO 2010-05-04 10:46:47 +02:00
Thibaut Girka 5960ec3bce [Jingle] Handle description-info 2010-05-04 10:31:05 +02:00
Thibaut Girka 50482f7c2a [Jingle] Don't end the session on a content failure, only remove the content 2010-05-04 10:04:53 +02:00
Thibaut Girka 10554ff067 [Jingle] Introduce RTP stream fallback 2010-05-03 21:59:46 +02:00
Thibaut Girka 800e87d5e9 [Jingle] Reduce CPU and bandwidth usage with videotestsrc by fixing framerate 2010-05-03 18:09:55 +02:00
Thibaut Girka bf8347e931 [Jingle] Fix detection of multiple devices 2010-05-03 17:23:06 +02:00
Thibaut Girka 06c7f2bdd5 [Jingle] Don't send transport-info before the content itself 2010-05-03 15:27:56 +02:00
Thibaut Girka af7238f4e7 [Jingle] Sends bad-request when receiving jingle action on unknown content 2010-05-03 15:17:02 +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
Yann Leboulanger 8a1305c082 [Dicson] don't flood with geoloc info if only timestamp changes. Fixes #5728 2010-05-02 11:10:42 +02:00
Yann Leboulanger 11ddb8a6fb [Dicson] differenciate what we get from geoclue and when we get from jabber server. It's different. Fixes #5724 2010-04-29 23:27:34 +02:00
Alexander Cherniuk d8b17e0166 Correct a timestamp for the XEP-0080 implementation. Thanks to Dicson. Fixes #5727 2010-04-29 22:20:07 +03: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 d3ae49ea60 catch all ssl exception. Fixes #5706 2010-04-24 13:49:12 +02:00
Yann Leboulanger fe48933d5f fix BOSH connection over SSL. Fixes #5710 2010-04-24 12:31:19 +02:00
Yann Leboulanger a359b06912 [Dicson] try to run geoclue service id it's not running. Fixes #5715 2010-04-24 09:21:09 +02:00
Yann Leboulanger 9081b465ed better var name. 2010-04-24 09:06:07 +02:00
Alexander Cherniuk 378096f797 Fixed a typo. Thanks to Dicson. Fixes #5714 2010-04-23 21:13:41 +03:00
Alexander Cherniuk 08eb94ed61 Unobvious code execution order. Minor fix. Fixes #5713 2010-04-23 15:08:42 +03:00
Thibaut Girka 8209f4543d [Jingle] Fix misplaced tags in error stanzas ; added error type support (for types other than cancel) 2010-04-21 20:25:27 +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
Alexander Cherniuk 5d56decdc4 A fix for the SASL EXTERNAL. Thanks to Calmar. Fixes #5704 2010-04-19 13:28:25 +03:00
Yann Leboulanger e6f6f65746 better coding style 2010-04-18 20:57:47 +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 292a78abc3 merge trunk 2010-04-09 21:25:50 +02: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 56da0c19d8 More whitespace fixes. 2010-04-08 01:20:22 +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
Éric Araujo dd6062319a More whitespace mini fixes. 2010-04-08 01:10:17 +02:00
Alexander Cherniuk cf0bc0b478 Refactored the Q_ translation function 2010-04-07 04:09:58 +03:00
Alexander Cherniuk d359879c2c Reflect recent changes in translation 2010-04-03 20:49:31 +03:00
Alexander Cherniuk 918b8d5c32 Disambiguation of some words to translate. Thanks to mako. Fixes #5686 2010-04-03 14:38:12 +03:00
Yann Leboulanger 50f1567bc8 check we have a cached vcard before looking in it. Fixes #5670 2010-04-01 11:28:21 +02:00
Alexander Cherniuk 36ea39e74a Fixed the autorejoin bug with overlimited MUC. Fixes #5678 2010-03-28 15:36:51 +03:00
Yann Leboulanger 5f2b217fd6 [Florob] improve geoloc usage. Fixes #5677 2010-03-28 11:34:17 +02:00
Alexander Cherniuk dcc6869a0f Switched DTMF batch implementation to use deque 2010-03-23 11:45:58 +02:00
Alexander Cherniuk e501754aab Improved sending a DTMF batch 2010-03-23 09:31:52 +02:00
Thibaut GIRKA 845d310c9b Fix /dtmf command 2010-03-21 22:06:10 +01:00
Thibaut GIRKA ff34c61caa Merged local changes 2010-03-21 21:47:34 +01:00
Thibaut GIRKA fbf9a769d8 Delete invalid jingle sessions. Kick audio/video availability from jingle states.
Fixes #5668, #5651
2010-03-21 21:45:45 +01:00
Yann Leboulanger 32a14182df check that we are authenticated to server before sending anything. 2010-03-20 19:00:33 +01:00
Yann Leboulanger 9a72b97768 don't try to resolve wrong streamhost. Fixes #5665 2010-03-19 14:06:22 +01:00
Yann Leboulanger 103a6ccd51 fix traceback with zeroconf under windows. Fixes #5652 2010-03-19 08:27:35 +01:00
Yann Leboulanger 9dedf990bd merge with default 2010-03-19 08:23:24 +01:00
Yann Leboulanger d3e1b50ed1 remove useless print 2010-03-19 08:21:57 +01:00
Thibaut GIRKA dadf58286f Fix gstreamer device discovery 2010-03-18 14:40:00 +01:00
Alexander Cherniuk faca8c5d12 Tiny code cleanup 2010-03-18 06:52:05 +02:00
Yann Leboulanger cd21d4a68f [MattJ] don't send an authorization identity in SASL PLAIN. Fixes #5658 2010-03-16 07:09:44 +01:00
Thibaut GIRKA ab0f7899ad Refuse multiple sessions and implement alternative-session; make jingle GUI a bit more reliable. 2010-03-15 21:34:28 +01:00
Thibaut GIRKA b3b8e2f46b Fix TraceBack in the case of failure in jingle content negotiation 2010-03-15 19:25:27 +01:00
Thibaut GIRKA 3b7eaa6866 Fix a TraceBack when a stun host name cannot be resolved. 2010-03-14 22:47:54 +01:00
Yann Leboulanger 320157ec82 ability to do jingle with zeroconf 2010-03-14 22:12:10 +01:00
Thibaut GIRKA 6e5d8c4ce0 Change ConnectionJingle.__sessions keys from (jid, sid) to sid. 2010-03-14 21:51:04 +01:00
Alexander Cherniuk d3e91d90a8 Wrong variable name. Fixes #5653 2010-03-14 16:59:01 +02: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 5d6fd195ab don't traceback when we get disconnected wile we parse stream features. Fixes #5574 2010-03-09 20:28:25 +01:00
Alexander Cherniuk c558a6751c Fixed the missing import 2010-03-09 14:15:54 +02:00
Alexander Cherniuk bbe46f2a5c Improved get_contacts_jid_list 2010-03-08 18:33:53 +02:00
Alexander Cherniuk 5e5dba080b Missed a bracket 2010-03-05 15:56:13 +02:00
Alexander Cherniuk 43527d23d0 Fixed buggy config update to 01215 2010-03-05 15:54:06 +02:00
Yann Leboulanger c9f31ec966 fix some function call under windows 2010-02-26 18:54:42 +01:00
Yann Leboulanger ef05eb75d9 don't remove keepalive and xmpp ping timeouts when we get an expected stanza. 2010-02-25 22:56:38 +01:00
Yann Leboulanger dd2ee07826 check session and system bus before supposing dbus is working. Fixes #5628 2010-02-25 15:33:27 +01:00
Alexander Cherniuk 407c9a2975 Tiny fixups for the SCRAM-SHA-1 2010-02-25 13:10:35 +02:00
Alexander Cherniuk 74572af64e Code improvments for the SCRAM-SHA-1 implementation 2010-02-25 13:02:28 +02:00
Yann Leboulanger 8e35e76d78 fix get_password argument list. Fixes #5624 2010-02-25 11:59:12 +01:00
Yann Leboulanger 50c4a2fa42 [Dave Cridland] basic SCRAM-SHA-1 implementation (no channel binding). Fixes #5622 2010-02-25 10:42:58 +01:00
Yann Leboulanger 7b0c54a606 fix connection to openfire server using TLS. Fixes #5530 2010-02-24 21:32:35 +01:00
Yann Leboulanger 4287d26669 fix upgrading from 0.12.5. Fixes #5619 2010-02-23 19:47:14 +01:00
Yann Leboulanger 52442fcf13 fix bad class name in zeroconf 2010-02-23 19:10:51 +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 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
Yann Leboulanger 9d9ef1da89 move some error/warning to info so it's not printed in stderr by default. Fixes #5609 2010-02-16 09:44:23 +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 c6b496e1de process network events faster under windows so Gajim reacts faster. 2010-02-14 21:07: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
Yann Leboulanger 708d94a310 fix adding a new contact. Fixes #5602 2010-02-11 18:50:56 +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 5372611e60 put pid file to $XDG_CACHE_HOME. Fixes #2149 2010-02-07 19:33:09 +01:00
Éric Araujo 8d8c8a7f4e look at environment variables by hand if PyXDG isn't available. see #2149 2010-02-07 17:52:15 +01:00
Yann Leboulanger 8455e779cb move files from ~/.gajim to XDG folders 2010-02-05 20:13:49 +01:00
Yann Leboulanger 3e777ea8f1 use and create files in folders using XDG standards. Fixes #2149 2010-02-04 20:08:30 +01:00
Yann Leboulanger c642556377 increase SRV answer timeout. Fixes #5466 2010-02-03 23:20:11 +01:00
Yann Leboulanger 64da0b0671 correctly get error numbre from error object. 2010-02-02 20:02:47 +01:00
Yann Leboulanger 841e3401d3 add missing function. Fixes #5585 2010-01-29 19:47:52 +01:00
Yann Leboulanger 7a07d32b49 prevent wrong spliting of db 2010-01-29 19:02:54 +01:00
Yann Leboulanger e86d1feeb2 missing import and incomplete error message. Fixes #5583 2010-01-29 15:20:23 +01:00
Yann Leboulanger 46b50f48a1 split logs.db into logs.db and cache.db. Fixes #2845 2010-01-29 11:25:06 +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 bfded43d1e don't synchronize groupchats when we synchronize contacts between 2 accounts. Fixes #5570 2010-01-25 19:31:48 +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 b99c10f696 add ged.py file 2010-01-19 22:06:00 +01:00
Yann Leboulanger 32050296a8 import ged from plugin-system branch 2010-01-19 21:32:45 +01:00
Yann Leboulanger 3a76966c14 merge from default branch 2010-01-19 16:37:14 +01:00
Thibaut GIRKA 1e6ab49e09 [Jingle] Fix a bug when user didn't provide a stun server 2010-01-14 15:50:21 +01:00
Thibaut GIRKA 600b433296 [Jingle] Fix a minor bug that showed incorrect states when adding a content to a session 2010-01-13 18:40:48 +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 7548a44c09 ability to add arguments to features_nb.register callback 2010-01-13 11:09:33 +01:00
Yann Leboulanger 3238e30359 some coding standards 2010-01-13 10:35:52 +01:00
Yann Leboulanger a19cbbfc9d remove pysexy dependance, PyGTK2.18 supports links in gtk.Label 2010-01-12 22:30:46 +01:00
Yann Leboulanger cbbfe98d32 add some debug info when resolving hostnames. see #5466 2010-01-12 15:29:40 +01:00
Yann Leboulanger 8faa6feac6 [misc] Fix crash when accepting a video call. Fixes #5545 2010-01-10 22:12:12 +01:00
Thibaut GIRKA e3f16c6371 [Jingle] Volume levels are saved, audio UI shows up even if there are errors, until the session ends 2010-01-10 16:31:00 +01:00
Thibaut GIRKA 6978305528 Set the error-condition's namespace instead of iq's. Fixes #5546 2010-01-07 23:16:02 +01:00
Yann Leboulanger 4a8e30800f add advanced option to disable showing affiliation in muc. Fixes #5534 2010-01-07 20:52:16 +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 d712a2d879 merge local changes 2010-01-04 18:46:20 +01:00
Thibaut GIRKA 400390acaa Correct JingleContent.send_candidate and JingleTransport.make_transport. Fixes #5525 2010-01-04 18:27:18 +01:00
Yann Leboulanger dffb2c308b remove duplicate function 2010-01-04 11:58:42 +01:00
Yann Leboulanger 61ffd6f91f revert wrong behaviour. see #5527 2010-01-03 19:21:39 +01:00
Yann Leboulanger 88bb5ab8fc fix missing import. see #5327 2010-01-03 11:31:22 +01:00
Anaël Verrier 5b9582bf01 Removed a change from the previous commit because I would not have done it. I need sleep. 2010-01-03 01:57:44 +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
Alex V. Myltsev 0699e2e3a1 catch "address family not supported" errors when sending files. Fixes #5327 2010-01-02 22:47:36 +01:00
Yann Leboulanger 1d0c57915a Really ignore messages from invalid jids. Fixes #5539 2010-01-02 22:45:02 +01:00
Yann Leboulanger 9cdbf9814e make zeroconf connections is_zeroconf attribute True. Fixes #5538 2010-01-02 22:33:25 +01:00
Yann Leboulanger d41d4b2460 fix typo in variable name 2009-12-30 11:27:54 +01:00
Yann Leboulanger 1f69b98cac re-enable LATEX usage. 2009-12-29 00:01:10 +01:00
Yann Leboulanger 1de511c0fd fix indentation typo 2009-12-28 23:23:04 +01:00
mariolenz 05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +01:00
Stephan Erb 85a35a21ac Correctly fake NullClientCaps: Assume we support everything instead of the blacklisted features. 2009-12-28 21:29:51 +01:00
Stephan Erb da0749b5d9 Make NullClientCaps a singleto so that we don't create a new object for each contact. 2009-12-28 20:58:34 +01:00
Stephan Erb 5cb3c74da9 Only perform the longish check for latex support if the user has enabled latex in ACE. 2009-12-27 17:50:06 +01:00
Stephan Erb d00a5f737c Create index on the logs table on time instead of on kind.
That way we can search through all logs in constant time instead of having to perform a full table scan.
2009-12-27 16:50:43 +01:00
Stephan Erb 54ad65c744 Show warning if calculated and received caps hash are different. 2009-12-27 16:23:31 +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
Thibaut GIRKA dea4cdc073 Import xmpp in jingle_content, so that JingleContent.__content can work. fixes #5524 2009-12-20 13:37:56 +01:00
Alexander Cherniuk d7cefc1e43 Removed trailing space 2009-12-19 13:49:10 +02:00
Yann Leboulanger 4b9e7f19a5 add missing import to common/protocol/bytestream.py. Fixes #5520 2009-12-19 10:26:03 +01:00
Yann Leboulanger 8d8db58003 ignore invalid SRV reply from libasyncns. Fixes #5507 2009-12-18 17:27:09 +01:00
Yann Leboulanger 5ec5886c57 prevent having twice the same group for a contact. Fixes #5504 2009-12-15 19:04:35 +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 4b07509d5e [Dave Cridland] try to encode username, realm and password in iso-8859-1 when doing DIGEST-MD5 before computing the hash. Fixes #5512 2009-12-14 17:47:14 +01:00
Yann Leboulanger 9072ff18c1 [Dave Cridland] implement EXTERNAL auth method. See #5512 2009-12-14 17:39:32 +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 a48087aae7 Don't traceback when receiving entity capabilties. Fixes #5492
This is a workaround until the whole update_contact method is gone. It should not be needed.
2009-12-13 00:55:04 +01:00
Stephan Erb b7aa05a684 Merge local changes (not again...) 2009-12-11 01:01:17 +01:00
Stephan Erb 9eb35dcf18 Split send_socks5_info monster method into smaller methods. (Extract Method Refactoring)
(I don't think what we have here is good, but it is atleast readable)
2009-12-11 01:00:29 +01:00
Stephan Erb 24f44d8bdd Remove zeroconf dummy methods. 2009-12-10 23:54:51 +01:00
Stephan Erb 9bfb5753c2 Move three methods from filetransfer_window to protocol/bytestream.
One of the methods was duplicated. Additionally, apply a very few coding standards.
2009-12-10 23:53:39 +01:00
Stephan Erb 24e2047fe3 Remove obvious code duplication. 2009-12-10 23:22:51 +01:00
Stephan Erb bb50871bce Remove logging of callback method calls. Such cross-cutting concerns are better directly implemented in the xmpp dispatcher. 2009-12-10 23:01:48 +01:00
Stephan Erb f846d51f07 Follow the most basic coding standards. 2009-12-10 22:09:37 +01:00
Thibaut GIRKA b82f829b10 Import socket in jingle_rtp, fixes typo in 'stun_server', connect changed signal of stun_server_entry Fixes #5502 2009-12-10 22:02:03 +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 d1a9a6983a EncryptedSession cannot be an ArchivingSession 2009-12-10 17:40:48 +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 47ff962e5b rename some archiving functions 2009-12-08 17:09:41 +01:00
Yann Leboulanger 6b7f36ebd1 prevent traceback when geoclue not installed. Fixes #5495 2009-12-08 14:45:58 +01:00
Yann Leboulanger 408a2adffc correctly reset localisation data, set altitude, timestamp and accuracy correctly 2009-12-08 00:04:04 +01:00
Yann Leboulanger 7c2cb2dd93 fix typo in finction name and correctly retract location data 2009-12-07 23:50:29 +01:00
Yann Leboulanger 5e2f1cf770 fix typo in finction name and correctly retract location data 2009-12-07 23:45:37 +01:00
Yann Leboulanger 108aaa0027 move enable_location_listener to location_listener.py directly 2009-12-07 23:40:28 +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 7b58e145af fix variable name. Fixes #5492 2009-12-07 19:22:03 +01:00
Yann Leboulanger 07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Yann Leboulanger bbd4b16d9c set hg version higher than 0.13.1. Fixes #5488 2009-12-06 11:45:05 +01:00
Stephan Erb 228678d6e8 Do not add the resource when morphing a GC_Contact to a normal Contact.
gc_contact.jid and gc_contact.resource are empty in anonymous rooms. In non-anonymous rooms those contain the real jid and resource of the contact.
We must not mix those information with the jid of the contact in the groupchat: We assumed that "test@conference.gajim.org/nick" was the Jid and 'someresource' the resource. So we tried to talk to 'test@conference.gajim.org/nick/someresource'.
2009-12-05 11:49:07 +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
Thibaut GIRKA 594072999c Fix video output pipeline, and improve error dialog. fixes #5482 2009-12-03 23:07:45 +01:00
Yann Leboulanger 3f4f07d326 correctly escape msgs when we search in database 2009-12-03 18:59:10 +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 619518204c ability to change mic volume through GUI (doesn't work for the moment) 2009-12-02 21:37:21 +01:00
Yann Leboulanger b739802fd7 convert print to log.debug 2009-12-02 12:05:52 +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
Stephan Erb e7337211fb Rename the Contacts class and document it, beeing a temporary refactoring artifact. 2009-12-01 23:31:17 +01:00
Thibaut GIRKA afaa90f91d Rename FailedApplication to JingleContentSetupException 2009-12-01 22:39:02 +01:00
Stephan Erb f128391189 One more vim config entry. 2009-12-01 22:31:42 +01:00