Commit Graph

8276 Commits

Author SHA1 Message Date
Stephan Erb 9e74881ed6 Merge xmpp.py 4.1 simplexml.py
See #3694


 * WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).

 * Added CDATA extracting method to xml node.

 * added xmlns safety check

 * Fixed node attribute deletion with "del node[attr]" syntax.

 * Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)

 * Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
Yann Leboulanger 12fc03ecdc define a search function that escapes text as it's escaped in treemodel. fixes #3668 2008-01-17 22:48:34 +00:00
Yann Leboulanger 907f64f021 [Benjamin Drung] updated german translation 2008-01-14 20:13:32 +00:00
Yann Leboulanger 9e453f15c5 [Fomin Denis] updated russian translation 2008-01-14 12:03:09 +00:00
Stephan Erb 79fb241153 Replace the broken gpg-togglebutton by an insensitve status image. See #3196 2008-01-11 17:45:20 +00:00
Stephan Erb 40af7bfc1c Do not mess up vcard window when there is no user avatar or when it is resized. Fixes #3674 2008-01-11 17:23:26 +00:00
Stephan Erb ce3fe8da97 Do not enable GPG when we just want to assign a speller language. 2008-01-10 22:45:53 +00:00
Yann Leboulanger 68324dd104 fix XEP-0126 (invisibility) support. see #3666 2008-01-09 19:32:09 +00:00
Yann Leboulanger 62924fcf38 fix traceback when we get a presence with no fram attribute. see #3666 2008-01-09 19:05:38 +00:00
Yann Leboulanger e0f6ede052 [pk] updated slovak translation 2008-01-07 16:19:48 +00:00
Yann Leboulanger 6138b914ea one more typo 2008-01-06 20:50:30 +00:00
Yann Leboulanger f2aef5f9f2 [pk] fix 2 typo in strings 2008-01-06 20:48:25 +00:00
Yann Leboulanger 13b6d75588 get gajim module where it is. fixes #3661 2008-01-06 12:12:24 +00:00
Yann Leboulanger 2aef21f026 [Elmar Hoffmann] prefer contacts on the same server as you in metacontacts. fixes #3649 2008-01-06 11:12:07 +00:00
Stephan Erb 1b5b9138a4 Kill risk of double color usage when color pool is not exhausted.
Make code a bit more pythonic.
2008-01-05 22:07:53 +00:00
Yann Leboulanger 0bfe53c158 refactor invite to submenu code and add it to group context menu. fixes #3658 2008-01-04 19:31:07 +00:00
Yann Leboulanger 77804ee7aa typo in [9231] fixes #3656 2008-01-04 19:29:27 +00:00
Yann Leboulanger 5128ef67d3 add groups in contact_information returned by gajim-remote. fixes #3655 2008-01-04 14:48:46 +00:00
Stephan Erb ea5db436e1 Do not duplicate accounts with pep support in Edit->Profile menu.
Fix some strange encoding error.
2008-01-02 13:41:41 +00:00
Yann Leboulanger 2acc696716 improve look when we set avatar to the left. fixes #2102 2008-01-02 13:08:42 +00:00
Yann Leboulanger 9a7dafa802 add advanced option to position avatar in the roster left or right. fixes #2102 2008-01-01 23:51:28 +00:00
Yann Leboulanger 2ced6413f0 some space in some comments 2008-01-01 04:58:51 +00:00
Stephan Erb 30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Yann Leboulanger 077e3370f5 replace /me by nickname in notifications. fixes #3609 2007-12-31 00:24:59 +00:00
Travis Shirk 458696948d Fix for #3650 (and whitespace cleanup) 2007-12-30 20:43:58 +00:00
Stephan Erb 282bc3346e Do not allow enabling GPG if E2E is active and vice versa. Lazily fixes #3633.
Do not try to send encrypted messages when we don't use GPG, though it is enabled per user.
2007-12-30 16:30:37 +00:00
Jean-Marie Traissard 8be83102b7 Checker tells it's better not to use == True 2007-12-30 12:44:30 +00:00
Yann Leboulanger ab8024dfce [Formin Denis] updated russian translation 2007-12-30 11:24:29 +00:00
Stephan Erb d621eb9405 SSL errors got mixed up. Fixed 2007-12-30 00:10:22 +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 d17a51c648 [tpatnoe] better one window description. fixes #3632 2007-12-29 13:37:39 +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 f6ceb19876 ability to block / unblock a transport. Remove log on / log off (it's the same as send_custom_status) 2007-12-28 23:37:06 +00:00
Jean-Marie Traissard e5ba743641 remove unused global dict. sb, is there a reason for that one I can't see ? 2007-12-28 22:08:28 +00:00
Jean-Marie Traissard a995c09977 Escape pep in tooltips without breaking tooltips, third try :p 2007-12-28 22:04:17 +00:00
Stephan Erb fef742c863 Refactor the way we decide whether GPG is usable or not: Ability to change keys when no valid passphrase could be entered.
See #1210. Workaround for unavailable keys.

Remove useless except block: import of GnuPGInterface is the same on Debian and non Debian systems.
2007-12-28 18:49:28 +00:00
Stephan Erb f671b9bff7 Fix indent error, introduced in r9209 2007-12-28 15:16:32 +00:00
Stephan Erb 2e59feab3b Remove useless import and fix GPG private key dialog.
Do not fail when no key is selected.
2007-12-28 15:13:41 +00:00
Yann Leboulanger a03009d1e2 coding standards, empty line don't need tabs, no space at the end of lines 2007-12-28 10:23:41 +00:00
Yann Leboulanger ec91275255 ask GPG passphrases one by one for each account. fix #3644 2007-12-28 10:20:41 +00:00
Yann Leboulanger f95df09441 how SSL error message in bold. fixes #720 2007-12-27 23:33:05 +00:00
Stephan Erb e25ac90068 Improving readability (little) by shifting some boolean checks to a lambda function. 2007-12-27 22:28:40 +00:00
Jean-Marie Traissard 14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Jean-Marie Traissard 5ffa1590f9 stupid parser... 2007-12-27 19:04:09 +00:00
Jean-Marie Traissard 314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +00:00
Stephan Erb a707eaa050 Honor coding standards 2007-12-27 17:21:04 +00:00
Jean-Marie Traissard fb273aeadf Don't process roster during gpg_passphrase dialog is showed. Fixes #3634,
hopefully... :p Please test
2007-12-27 17:06:30 +00:00
Jean-Marie Traissard a467a1d48d Revert [9196]. Escape pep stuff in tooltips the right way. 2007-12-27 15:53:42 +00:00
Stephan Erb a67683919a Variable referenced before assignment 2007-12-27 10:59:29 +00:00
Stephan Erb 71fd4665eb Fix possible parsing error 2007-12-27 10:06:30 +00:00