Commit Graph

8834 Commits

Author SHA1 Message Date
Alexander Cherniuk 7c1f4bf23e Rewrote the command_system/implementation/custom.py 2010-08-06 01:49:46 +03:00
Alexander Cherniuk 44fb0529d0 Patch to fix dataforms rendering. Thanks to Florob. Fixes #5834 2010-08-06 01:10:35 +03:00
Alexander Cherniuk 4635a08f94 Completely rewrote the dispatcher in the command system 2010-08-05 21:47:46 +03:00
Alexander Cherniuk 162dd1eb6f Minor fixes for the command system dispatching 2010-08-05 15:45:10 +03:00
Alexander Cherniuk 09e1742bcc Shortened a couple of things in the command system 2010-08-05 14:06:36 +03:00
Alexander Cherniuk da1f16b0c9 Simplified formatting of commands documentation 2010-08-04 22:31:47 +03:00
Alexander Cherniuk 96078f29de A bit more precise name for the polling interval 2010-08-04 11:37:01 +03:00
Alexander Cherniuk c6c2f1574d Added safe /execute and /show commands. May be moved to plugins later 2010-08-04 11:08:24 +03: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 3c2481fc2d Give focus to message textview when we open a new chat. Fixes #5740 2010-07-30 14:38:19 +02:00
Yann Leboulanger 18f03edd62 use a nec Event to dispatch RIE events 2010-07-30 01:30:59 +02:00
Zhenchao Li ae97a3ed83 wrap IO operations on SSL.Connection objects in try, catch SSL exceptions caused by SSL rehandshake request and simply ignore, retrying the IO should succeed. 2010-07-29 21:40:40 +08:00
Yann Leboulanger 3daf82f4cc add plugins stuff to build system 2010-07-29 10:10:06 +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
Zhenchao Li 2b603fd7e1 add some code to allow testing using some pre-existing certificates.
TODO: manually handle handshake states to allow non-blocking I/O
2010-07-27 21:29:12 +08:00
Yann Leboulanger 6f22aa9d54 don't show in console that computed caps hash is incorrect 2010-07-27 10:37:10 +02:00
Zhenchao Li e9af72e944 add jingle_xtls.py, get_context helper function 2010-07-27 13:02:44 +08:00
Zhenchao Li 216c370c1f add fingerprint argument, we shall use it to retrieve certificates later on. 2010-07-26 20:57:11 +08:00
Yann Leboulanger 0c14e5c266 prepare 0.14 beta1 2010-07-24 22:08:21 +02:00
Zhenchao Li 797b3fe6a9 remove unnecessary branch 2010-07-24 10:12:54 +08:00
Yann Leboulanger 65127b3620 prevent gtk warning when adding rows while treeview has no model 2010-07-24 00:29:20 +02:00
Yann Leboulanger ff1fd521be improve Gajim startup by disabling roster sorting while adding rows 2010-07-24 00:22:23 +02:00
Yann Leboulanger e70fd78d20 implement roster iter cache to speed iter search. 2010-07-24 00:12:16 +02:00
Yann Leboulanger 2d9c32c16e correctly set join muc dialog when we select one in browse muc dilog. 2010-07-22 22:09:11 +02:00
Yann Leboulanger 1d0ed41d15 improve connection time. Fixes #5764 2010-07-22 20:56:50 +02:00
Yann Leboulanger 875840d212 use setattr insted of __dict__ 2010-07-22 17:55:52 +02:00
Zhenchao Li 84debaabca if peer does not include a security element in content node, set use_security to false 2010-07-22 16:20:14 +08:00
Zhenchao Li 30cbdce234 if the peer supports jingle XTLS, send session-initiate with security element 2010-07-22 15:05:06 +08:00
Yann Leboulanger 33c155d889 use nec / ged to dispatch gmail event 2010-07-21 23:14:50 +02:00
Yann Leboulanger c7abc6872c Add finish button in ad hoc window. Fixes #5811 2010-07-21 20:15:47 +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
Zhenchao Li 4583482246 add namespace for XTLS 2010-07-19 14:21:01 +08:00
Zhenchao Li e75dc0c408 fix incorrect use of jid where account name should be used as parameter 2010-07-15 14:32:34 +08:00
Zhenchao Li 7d0029879a send proxy activated stanza to peer 2010-07-15 13:38:53 +08:00
Zhenchao Li 2938838f54 remove "pass" 2010-07-13 10:43:14 +08:00
Zhenchao Li c29fbdb617 enable FT over proxy 2010-07-13 10:38:31 +08:00
Zhenchao Li 2fec9f56f3 generate proxy host correctly 2010-07-12 10:20:31 +08:00
Yann Leboulanger 337b09d389 create ~/.config and ~/.cache folder if they don't exist 2010-07-10 11:03:46 +02:00
Zhenchao Li d55ba9269e fix bug: assign jingle session id as sid in file_props, so that file transfer window gets updated correctly for the sender. 2010-07-08 16:05:19 +08:00
Zhenchao Li 6f5b6f2612 use the 'in' operator on a dict instead of has_key 2010-07-07 23:14:29 +08:00
Zhenchao Li 8b66c1e69d send session-terminate on file transfer completion 2010-07-07 22:39:01 +08:00
Yann Leboulanger 40a25d0749 don't traceback when strange thing happen with keymap, just make ctrl+c not work. see #5636 2010-07-07 09:35:38 +02:00
Yann Leboulanger dd38dcee5e don't send a canceld filetransfer. Fixes #3586 2010-07-06 22:11:43 +02:00
Yann Leboulanger e5eb62e12b correctly get connection object in JingleTransportSocks5 2010-07-06 12:29:21 +02:00
Zhenchao Li 92988cf2ba fix bug: use jid without resource 2010-07-05 19:54:59 +08:00
Zhenchao Li fbc4144c82 remove debug tweak 2010-07-05 13:47:47 +08:00
Zhenchao Li 14fe189b00 send transport info, start "send_file" after receiving transport-info.
TODO: implement file transfer complete callback, various session management code for abnormal FT interactions.
2010-07-05 13:46:53 +08:00
Zhenchao Li d0adcb1a05 dispatch iq-result for a jingle iq stanza, start listener after iq-result on session-initiate. 2010-07-03 16:22:47 +08: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
Zhenchao Li 2203755734 parse transport, construct streamhosts 2010-07-01 15:48:44 +08:00
Zhenchao Li 2b745570ec add file_props structure to socks5queue 2010-07-01 13:25:33 +08: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 1cc05b156c improve jingle audio GUI 2010-06-20 22:48:49 +02:00
Yann Leboulanger 3adbc74edf change print into log.debug 2010-06-20 22:46:25 +02:00
Alexander Cherniuk 230670149f Fix the fix for checking translated string 2010-06-20 12:56:10 +03:00
Yann Leboulanger 09a0fcd19d fix checking translated string. Fixes #5786 2010-06-20 00:33:01 +02:00
Zhenchao Li b85e7849e8 contruct transport candidates for jingle socks5 bytestream 2010-06-19 22:52:17 +08:00
Alexander Cherniuk 45b2c24016 Removed incidentally commited artifact 2010-06-19 17:08:30 +03: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
Zhenchao Li e61e5db0b7 fix coding style: use 'is' operator when comparing object to None. put space around '%' operator. remove redundant str() on arguments. 2010-06-14 21:21:22 +08:00
Zhenchao Li 5f96675d56 send session-accept stanza if user approve file transfer 2010-06-14 20:41:24 +08: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 d96cfefae8 when a groupchat occupand uses a previously used nick for which you had a window opened, closes the previous one. 2010-06-10 10:26:15 +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 2017945e77 don't traceback when receiving a single message 2010-06-09 10:39:36 +02:00
Zhenchao Li 182a448630 receive jingle file transfer session initiate message, shout 'FILE-REQUEST' event to connection object. 2010-06-08 21:24:41 +08:00
Zhenchao Li d62dd5a521 construct well-formed jingle FT session-initiate stanza 2010-06-08 16:39:44 +08:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Zhenchao Li 048feb5528 added JingleFileTransfer for managing jingle ft content
code added to trigger jingle ft session when needed
2010-06-06 23:22:52 +08:00
Yann Leboulanger 28e3c36944 [Jonathan Michalon] flush and fsync config file before closing it. Fixes #5768 2010-06-02 22:14:57 +02:00
Zhenchao Li b7048aa0da fix typo. 'contacts' -> 'contact' 2010-06-01 15:14:18 +08:00
Zhenchao Li 01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger 30a1bb5026 merge 2010-05-25 09:47:44 +02:00
Yann Leboulanger 259e26ba7b prevent traceback when atom entry has no title 2010-05-25 09:46:12 +02:00
Yann Leboulanger 42579191b4 fix indentation 2010-05-25 09:36:30 +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
Alexander Cherniuk 8785db9478 Removed an excess lambda 2010-05-25 10:26:42 +03:00
Yann Leboulanger ced4db430c fix function names in atom window 2010-05-25 09:01:06 +02:00
Yann Leboulanger 90ddc1f595 fix arguments list of a on_cancel function 2010-05-25 09:00:42 +02:00
Yann Leboulanger 3fd6afb311 give focus to chat window after we open if. Fixes #5740 2010-05-25 09:00:14 +02:00
Yann Leboulanger b7d6441846 move "Do not ask me again" accelerator to D. Fixes #5755 2010-05-21 09:38:09 +02:00
Yann Leboulanger e9e54f2c9f uncomment lines commented for tests 2010-05-20 20:51:07 +02:00