Commit graph

733 commits

Author SHA1 Message Date
Yann Leboulanger
7c49600135 use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734, #3736 2008-02-14 19:18:07 +00:00
Jean-Marie Traissard
894e752292 Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
2008-02-13 18:03:29 +00:00
Yann Leboulanger
ad3935d9e9 [Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734 2008-02-13 07:14:06 +00:00
Stephan Erb
4974773895 Remove workaround old, non xep-complient MSN transports. 2008-02-08 22:15:03 +00:00
Yann Leboulanger
e8b7778521 detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711 2008-02-05 14:50:21 +00:00
Yann Leboulanger
848c492926 add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923 2008-02-04 21:38:36 +00:00
Yann Leboulanger
e695dddf24 better text when fingerprint change. fixes #3712 2008-02-01 16:22:32 +00:00
Yann Leboulanger
dbaac78ef5 the on_yes handler of YesNoDialog don't take any argument. fixes #3712 2008-02-01 07:56:16 +00:00
Yann Leboulanger
7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Stephan Erb
4bb29675a8 padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts. 2008-01-23 16:10:28 +00:00
Yann Leboulanger
d27f9a9c85 * YesNo dialog now destroy itself when we click on a button
* yes YesNo dialog when a contact removes us to as if user wants to remove it too
 * fix some coding standards
2008-01-22 16:06:16 +00:00
Stephan Erb
6fdd7c0f88 Rework GPG behaviour:
Only encrypt when the receiver is trusted. You have to sign its key or it has to be signed by someone you trust. Fixes #109

Make checkbox insensitive when GPG is disabled on an account (or no passphrase given).

Auto assign trusted keys on received presence. Deny encryption on missmatch of assigned key and signing key. Fixes #3376

Do not disable encrypted when receiving an unencrypted message. Print whether a received message was encrypted or not.

TODO: Remove togglebutton, its useless now
2007-12-29 23:28:27 +00:00
Yann Leboulanger
d846f28a0e fix argument type. statusCode is a list, cannot be None 2007-12-29 00:24:56 +00:00
Yann Leboulanger
ec91275255 ask GPG passphrases one by one for each account. fix #3644 2007-12-28 10:20:41 +00:00
Jean-Marie Traissard
14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Travis Shirk
7539d5b70e Since KeyboardInterrupt is "common" then catch the exception, print to stderr, and exit. No traceback, which says "error" to me... 2007-12-27 01:30:40 +00:00
Yann Leboulanger
6247de33da don't propose to add certificate to cacerts.pem file if it's useless, and don't add it if it is already in. fixes #720 2007-12-26 23:59:54 +00:00
Yann Leboulanger
9d068dc322 [shprotx] save config when gnome sessions ends. fixes #3618 2007-12-15 09:04:10 +00:00
Yann Leboulanger
a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Yann Leboulanger
ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Yann Leboulanger
07b324ced4 ability to see pep nodes and their access model. TODO: ability to change it 2007-06-03 10:30:34 +00:00
Piotr Gaczkowski
e3ef0821b3 Merge with trunk 2007-06-03 10:04:20 +00:00
Yann Leboulanger
ada5753cb9 detect correctly running instances under win with built version. fixes #3050 2007-03-22 18:37:23 +00:00
Yann Leboulanger
738da72f5a [andreas] don't change status message when we go auto away and no autoaway status message is defined. Same thing for autoXA. fixes #2994 2007-03-07 16:52:08 +00:00
Yann Leboulanger
5b63c41c41 use new dataform widget in register agent window. Remove no more used old DataFormWindow. 2007-02-15 09:18:24 +00:00
Yann Leboulanger
3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Yann Leboulanger
0f91b1cdad catch correct exception when we try to use set_restart_command() 2007-02-12 19:59:40 +00:00
Jean-Marie Traissard
039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Yann Leboulanger
56bcc2e1fa missing commit 2007-02-07 12:13:41 +00:00
Yann Leboulanger
6d30138e80 fix call to self 2007-02-07 08:49:13 +00:00
Jean-Marie Traissard
20835ad104 Removing useless global vars (finally found a good debugger :) 2007-02-04 14:09:38 +00:00
Jean-Marie Traissard
d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Yann Leboulanger
f079604c15 reset status_before_autoaway var when we come back online 2007-01-31 20:39:44 +00:00
Yann Leboulanger
d7b9b50a67 prevent TB. fixes 2nd traceback of #2936. see #2936 2007-01-24 20:54:22 +00:00
Nikos Kouremenos
e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger
3567a8c20f remove privacy list from dialog only when server return the result, else show an error dialog. fixes #2853 2007-01-11 20:21:53 +00:00
Yann Leboulanger
959687c262 check at startup if gajim is the default xmp:// handler and prompt user if it's not. fixes #2861 2007-01-05 17:20:58 +00:00
Yann Leboulanger
53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger
483481c586 ask transport contact avatars only when transport is connected. fixes #2832 2007-01-02 11:43:57 +00:00
junglecow
847d9fe6e9 - Enhanced parsing of -l/--loglevel option
- Demote one message w/exception to debug
 - Hopefully improved user error message when fingerprint is bad
2006-12-27 18:38:50 +00:00
Yann Leboulanger
45341476db don't show empty () when a pm contact changes his status. fixes #2832 2006-12-27 11:32:01 +00:00
Yann Leboulanger
badf46a852 redraw account row when we remove a group and when an observer removes us. see #2801 2006-12-26 13:30:35 +00:00
junglecow
9deb76a8ad - Started new way of logging, with configurable level for each subsystem
- Added -q, --quiet (speaks for itself)
   - Added -l, --loglevel subsystem=LEVEL,subsystem2=LEVEL2,...
 - Quell winsock 10035 error. (Equivalent of EINPROGRESS, but winsock likes to have its own error numbers.)
 - Hide SSL certificate debug stuff unless gajim.c.x.transports loglevel is DEBUG or lower
 - Avoid unicode problems if we set a profile
 - Move fingerprint checks from _register_handlers to _connect_success
 - Some enhancements to fpr checking code
2006-12-23 21:18:07 +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
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
96417e6592 [mdt] better pid file behaviour for windows. fixes #2165 2006-12-13 14:41:57 +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
Yann Leboulanger
df58c1f309 play gmail_received sound only if it is enabled. fixes #2697 2006-12-03 13:49:16 +00:00
Nikos Kouremenos
053c5c0776 we now fail if no pywin32 is there. REFIX 2006-12-02 01:26:45 +00:00
Yann Leboulanger
ac4fab231c remove gc contact avatar when he removes his avatar. see #2718 2006-11-28 16:41:31 +00:00