Commit Graph

5250 Commits

Author SHA1 Message Date
junglecow 44674f7e75 - Implement matching of fingerprints against servers.xml
- Add support for fingerprints to servers.xml parser.
 - Add support for 'hidden' servers to servers.xml parser.
 - Add some fingerprints to servers.xml, for testing and as example for the new format.
 - Force asynchronous (nonblocking) SSL handshake in all case
 - Add logging to c/connection.py

Known issues:
 - Checking of fingerprints doesn't work on in-band SSL (Typically port 5222) because of stuff happening out of sequence. Workaround: use immediate SSL mode ("Legacy SSL" option in server config). Because there is as of yet no other way to /force/ SSL, this is also the most secure setting.
 - A lot of code is still looking for a better place to live.
2006-12-22 23:30:23 +00:00
junglecow 7f44b60267 - Use bytestrings instead of unicode for filesystem paths. See #2812 and close if fix works. 2006-12-22 13:49:38 +00:00
junglecow 35ecad1188 - Switch back to TLSv1 method
- Remove debug prints in stdlib ssl compatibility code
2006-12-21 18:08:17 +00:00
junglecow 62350adb36 - PyOpenSSL branch merged to trunk
Welcome to the world of PyOpenSSL! Please install PyOpenSSL, thanks!

svn merge -r 7426:HEAD svn://svn.gajim.org/gajim/branches/pyopenssl
2006-12-20 21:52:40 +00:00
junglecow fddb000a89 [Trunk]
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
 - Attempt at fixing traceback when getting user's home directory in Windows. See #2812. (c/configpaths.py)
 - Show 'error' icon next to account while waiting for reconnect. Fixes #2786. (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
 - Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
 - Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
 - Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
 - this → self (c/x/transports_nb.py)
 - Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
junglecow a4655276fe [Trunk]
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
 - Attempt at fixing traceback when getting user's home directory in Windows. See #2812. (c/configpaths.py)
 - Show 'error' icon next to account while waiting for reconnect. Fixes #2786. (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
 - Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
 - Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
 - Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
 - this → self (c/x/transports_nb.py)
 - Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
Jean-Marie Traissard 30b1c838dd Prevent TB 2006-12-19 22:50:53 +00:00
Yann Leboulanger 0e95430ac8 prepare 0.11 release 2006-12-19 09:12:54 +00:00
Yann Leboulanger 8e0def0a0d translate correctly song status. ♪ was badly understood by msgfmt, so moved out from translated string. 2006-12-18 09:32:23 +00:00
Yann Leboulanger 6bd518cb4a make music_track_listener work with older python-dbus than 0.80. see #2784 2006-12-18 09:13:12 +00:00
Yann Leboulanger e6a4d088a9 partially revert [7673]. see #2784 2006-12-17 23:00:44 +00:00
Jean-Marie Traissard 235950e2af Pyflakes spoted undefined name, 80 chars 2006-12-17 22:56:16 +00:00
Yann Leboulanger 724f702320 fix typo. 2006-12-17 22:37:21 +00:00
Nikos Kouremenos 5c4e2efb6e another patch so we work in python dbus 0.80; see #2784 2006-12-17 11:56:01 +00:00
Nikos Kouremenos 6faf04a056 make sure we use dbus public api so we work for python dbus 0.80; see #2784 2006-12-17 11:43:34 +00:00
Tomasz Melcer 2e16b3a590 Commands: Fix TB when someone executes an unknown command. 2006-12-16 23:30:07 +00:00
Yann Leboulanger b902d06eaa redraw account row too. see #2801 2006-12-16 23:07:18 +00:00
Yann Leboulanger de6dcc57bd redraw group row when we remove a contact. fixes #2801 2006-12-16 22:49:17 +00:00
Yann Leboulanger 3289f8fdd1 update gc roster instantly when we change theme. fixes #2766 2006-12-16 20:12:16 +00:00
Tomasz Melcer 257b1b7eeb Data forms: labels are aligned with top of widgets, default instructions gone,
borders removed.
2006-12-16 20:05:06 +00:00
Nikos Kouremenos 708977f0c0 HIG to adhod glade file; TODO-> FIXME and better header for the corresponding py 2006-12-16 17:44:59 +00:00
Tomasz Melcer 23fe716527 Dataforms: field descriptions in tooltips. 2006-12-16 12:58:58 +00:00
Yann Leboulanger 867abb8677 updated buttons in FT window when selected row status changes. fixes #2785 2006-12-15 18:59:24 +00:00
junglecow 8c78a14c3c - In [7647], reading of PID file was moved out of try..except block. Fixed.
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
junglecow 230a77ba94 - In [7647], reading of PID file was moved out of try..except block. Fixed.
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
Yann Leboulanger 2287625fdf encrypt must return 2 values. 2006-12-14 10:56:14 +00:00
junglecow c09e6e0b93 [PyOpenSSL]
- Improved data extraction from exceptions
 - Clearer error messages
 - Reduced exception spam
2006-12-13 20:15:22 +00:00
Yann Leboulanger 96417e6592 [mdt] better pid file behaviour for windows. fixes #2165 2006-12-13 14:41:57 +00:00
Yann Leboulanger 8af6e19a1f select active theme when we re-open gajim theme window. fixes #2778 2006-12-13 13:15:06 +00:00
Yann Leboulanger 9a8862099e redraw gc window title when we open a pm. fixes #2777 2006-12-13 12:52:59 +00:00
Yann Leboulanger 0fb837f74f detect when gpg is not installed and print a warning. fixes #2760 2006-12-13 12:29:24 +00:00
Jean-Marie Traissard fd13baefc4 Use good font settings for gc_roster nicks. See #2766. 2006-12-12 22:43:44 +00:00
Jean-Marie Traissard bf99ab82f7 Ask for status message for invisible status if ask_offline_status is True 2006-12-12 22:26:31 +00:00
Jean-Marie Traissard c54dfb4ffd Restore gc_banner tooltip (was broken when icon was added). See #2766. 2006-12-12 22:06:24 +00:00
Jean-Marie Traissard 3d844c0e29 Redraw correctly gc banners when we change theme. See #2766. 2006-12-12 19:10:52 +00:00
Yann Leboulanger d3970e70ea better detection of transport jid in add contact dialog. fixes #2750 2006-12-12 14:16:29 +00:00
Jean-Marie Traissard 3f80800f4a disco: Don't clean cache for account when browser still have a parent. Fixes #2742. 2006-12-10 23:01:37 +00:00
junglecow 7fbb4279ac - Reset retrycount if we auth successfully, so we can start retrying at 10 seconds instead of 15 minutes. This is an old bug, but wasn't noticable with 10 vs 20 seconds. 2006-12-10 20:22:02 +00:00
Yann Leboulanger bd2f62ab0d keep nickname and group when we re-ask auth. fixes #2741 2006-12-10 14:18:31 +00:00
junglecow 7c0696093a - Trying to connect to server every 20 seconds forever is extremely rude to its owner. Let's be polite and do exponential back-off. (See #2411)
- [PyOpenSSL] Ported [7443] to pyopenssl branch.
2006-12-08 21:19:01 +00:00
junglecow 9353c13d65 - Trying to connect to server every 20 seconds forever is extremely rude to its owner. Let's be polite and do exponential back-off. (See #2411)
- [PyOpenSSL] Ported [7443] to pyopenssl branch.
2006-12-08 21:19:01 +00:00
Yann Leboulanger c6e5bbf222 empty password is saved as '', not None (gnomeKeyring crashes when we set None). fixes #2748 2006-12-08 19:26:22 +00:00
Yann Leboulanger 90cda75734 make ask_new_gc_nick asynchronous. should fix #2746 2006-12-08 19:10:28 +00:00
Yann Leboulanger 8d3e9e62fb fix htmltextview bug. fixes #2730 2006-12-08 18:01:01 +00:00
Yann Leboulanger 26b0e1bc0a rendre role rows in muc the same way we render groups in roster. fixes #2765 2006-12-07 21:32:53 +00:00
Yann Leboulanger cebcb74c9b recognize x-tlen type from tlen transports. fixes #2756 2006-12-07 07:10:33 +00:00
Yann Leboulanger f89ccfe441 detect error while encrypting message, block sending it, and display error message. fixes #2712 2006-12-06 16:19:47 +00:00
Nikos Kouremenos 330ebb9c09 use the blinking when systray holds pending events [only new api/only in windows atm] 2006-12-05 18:45:02 +00:00
Yann Leboulanger 46cb1d9f92 hide advanced notification control button. fixes #2738 2006-12-05 09:54:18 +00:00
Yann Leboulanger 1732f00412 hide non-implemened option in advanced notificaton window. fixes #2738 2006-12-04 07:49:02 +00:00