Commit graph

2326 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
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
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
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
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
Jean-Marie Traissard
8be83102b7 Checker tells it's better not to use == True 2007-12-30 12:44:30 +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
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
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
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
314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +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
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
5264b14290 create caps_cache table if it doesn't exists. fixes #3641 2007-12-26 21:30:45 +00:00
Yann Leboulanger
f1a2f0966d use jabber iconset when no iconset exists for a transport. fixes #3604 2007-12-20 19:43:24 +00:00
Yann Leboulanger
3bc22371cc [ruiabreuferreira and I] ability to use http_proxy environment variable. fixes #2977 2007-12-19 14:42:04 +00:00
Travis Shirk
0afc7b2328 Merge one_window branch
Merged revisions 9143,9145-9155,9157-9162,9164-9169,9171-9177 via svnmerge from
svn://88.191.11.156/gajim/branches/one_window

........
  r9145 | nicfit | 2007-12-13 21:49:09 -0700 (Thu, 13 Dec 2007) | 2 lines

  Implemented the original Nikos patch with an HPaned instead of a HBox and only do this mode when one_message_window == 'always'
........
  r9152 | nicfit | 2007-12-15 13:33:56 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added config and GUI for one_message_window_with_roster
........
  r9153 | nicfit | 2007-12-15 13:41:46 -0700 (Sat, 15 Dec 2007) | 2 lines

  Use one_message_window_with_roster and some whitespace cleanup
........
  r9154 | nicfit | 2007-12-15 14:04:49 -0700 (Sat, 15 Dec 2007) | 2 lines

  Scratch the chckbox for with roster mode, use one_message_window opt and combo
........
  r9155 | nicfit | 2007-12-15 17:01:13 -0700 (Sat, 15 Dec 2007) | 2 lines

  MessageWindowMgr knows about ONE_MESSAGE_WINDOW_ALWAYS_WITH_ROSTER and MessageWindow can reparent itself rather then the roster having to do so.
........
  r9157 | nicfit | 2007-12-15 17:47:20 -0700 (Sat, 15 Dec 2007) | 2 lines

  Resizing fixes and make the roster window shrink when last tab is removed
........
  r9158 | nicfit | 2007-12-15 19:15:11 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added "Show roster" (CTRL+R) to view menu when using always_with_roster to quickly hide/show the roster.
........
  r9159 | nicfit | 2007-12-15 19:49:30 -0700 (Sat, 15 Dec 2007) | 2 lines

  Handle window title setting in always_with_roster mode.
........
  r9160 | nicfit | 2007-12-15 20:13:57 -0700 (Sat, 15 Dec 2007) | 2 lines

  Removed FIXME
........
  r9167 | nicfit | 2007-12-17 18:40:59 -0700 (Mon, 17 Dec 2007) | 2 lines

  When roster is hidden, show it when the number of MessageWindow controls == 0
........
  r9168 | nicfit | 2007-12-17 19:07:49 -0700 (Mon, 17 Dec 2007) | 2 lines

  Disable hiding roster when there are no message controls open
........
  r9169 | nicfit | 2007-12-17 20:41:11 -0700 (Mon, 17 Dec 2007) | 2 lines

  Bunch of saved size bugs fixed
........
2007-12-18 23:42:22 +00:00
Yann Leboulanger
c53050c0a4 remove 'dh' from version name. Was from pep branch 2007-12-17 20:15:06 +00:00
Yann Leboulanger
a2e53ccc5c fix creation of account on server that supports dataforms 2007-12-15 12:41:39 +00:00
Yann Leboulanger
4f4e9a3723 don't crash when dbus is not supported 2007-12-15 12:15:10 +00:00
Yann Leboulanger
14f1232308 get SSL error message where it is in Error instance 2007-12-15 12:10:25 +00:00
Yann Leboulanger
b7cc062d7d [shprotx] fix loading of multiple SSL certificates and better error message. fixes #3619 2007-12-15 08:31:42 +00:00
Yann Leboulanger
554194d954 fix traceback when we get an error from pep service. see #3053 2007-12-13 20:44:30 +00:00
Yann Leboulanger
19761f081f [js & I] show pep info in account tooltip, fix a bug in create_contact() 2007-12-13 20:26:13 +00:00
Yann Leboulanger
48786d39ff correctly decode timezone name. fixes #3569 2007-12-13 08:37:20 +00:00
Yann Leboulanger
d2d92e7de3 remove useless print 2007-12-12 20:05:00 +00:00
Yann Leboulanger
a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Brendan Taylor
b8882ba48e merged realtime cancellation patch 2007-12-08 09:09:06 +00:00
Brendan Taylor
88f017a20d realtime notification of esession begin/end 2007-12-08 05:49:38 +00:00
Yann Leboulanger
00ad2846c0 import release diff from 0.11.4, svn version is now 0.11.4.0-svn 2007-12-06 20:38:41 +00:00
Yann Leboulanger
dd9fd681b5 [Elmar Hoffmann] Advanced option to disable presence signing. fixes #3601 2007-12-04 09:57:40 +00:00
Yann Leboulanger
46aac301c8 SSL certificate verification, certificate fingerprint verification. fixes #720, #2499 2007-12-04 09:38:39 +00:00
Yann Leboulanger
55385c5356 \x00 chars are not allowed in C (end of string) so in GTK. But we can get from gpg encrypted messages. 2007-12-03 21:29:12 +00:00
Yann Leboulanger
31a1f3ef6d create new account in 2 steps:
1/ connect, get form and disconnect
2/ re-connect, get form, check it and send filled form
2007-12-02 22:37:08 +00:00
Yann Leboulanger
157d6826ec [Dicson] make a string translatable. fixes #3594 2007-12-02 19:29:22 +00:00
Yann Leboulanger
a861a3f719 typo: contact1 -> contact2 2007-12-02 16:02:32 +00:00
Yann Leboulanger
f409450998 re-create gpg instance in connection.py at each connection son use_gpg_agent current value of use_gpg_agent option is used
warn user when he configured gajim to use gpg-agent but it returns a wrong passphrase. see #3592
2007-12-01 13:22:39 +00:00
Yann Leboulanger
c94d22dcb1 correctly answer on disco#items on our ad hoc commands 2007-12-01 11:46:46 +00:00
Yann Leboulanger
75ee2169d7 fix the ability to choose GPG key before we connect
remove useless config option usegpg
2007-11-30 15:18:26 +00:00
Brendan Taylor
1cd5b3da39 fixed use of common.xmpp namespace in a place it wasn't imported 2007-11-28 19:26:40 +00:00
Stephan Erb
f791def2f7 Nothing as usual. 2007-11-27 20:33:02 +00:00
Yann Leboulanger
8d7cce23f4 fix invisible status 2007-11-25 14:31:04 +00:00
Yann Leboulanger
243ece28ba fix possible traceback when we get a signed presence 2007-11-24 20:08:24 +00:00
Yann Leboulanger
4442098276 prevent traceback when we fill the roster. fixes #3579 2007-11-24 09:48:38 +00:00