Commit Graph

5664 Commits

Author SHA1 Message Date
Yann Leboulanger 85cc4889ec use XMPP ping (XEP-0199) to detect connection lost at applicatin level. fixes #2767 2008-02-07 23:53:02 +00:00
Nikos Kouremenos 059ed3dd27 2008 in about dialog 2008-02-06 16:33:46 +00:00
Nikos Kouremenos 15acf57f5f cosmetic changes 2008-02-06 14:59:28 +00:00
Yann Leboulanger 7e6bcdc6ed always show tabs in one_window mode so that we can close latest tab in GUI. fixes #3720 2008-02-06 09:45:15 +00:00
Yann Leboulanger 0ac8ce3c6e Prevent traceback when gajim-remote is used while gajim is not running. Add a check_gajim_running command to gajim-remote 2008-02-05 22:13:16 +00:00
Yann Leboulanger 36438f44b6 fix the draw avatar calls 2008-02-05 21:24:48 +00:00
Jean-Marie Traissard 37ea4052e1 Cleaner way to check for 'show_avatars_in_roster' 2008-02-05 17:48:25 +00:00
Jean-Marie Traissard 4d675c42b1 Never load avatars for roster and gc-roster if we don't want them.
See #3718. See also [9287].
2008-02-05 17:02:05 +00:00
Nikos Kouremenos dea4d9f745 Merwok complained about left and right arrow on tab in chats couldn't allow him to do traversing. This patch is a almost there fix. What is missing after the new tab is focused, it steals focus [couldn't find how to fix that atm], hopefully Yann remembers nicfit's code better.. 2008-02-05 16:46:05 +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 e409a04789 fix traceback when opening features window. fixes #3714 2008-02-05 09:34:56 +00:00
Yann Leboulanger 594313ed94 fix creation of new accounts 2008-02-04 22:17:35 +00:00
Yann Leboulanger 853d06bcaa fix args retured by on_connect_failure 2008-02-04 22:15:00 +00:00
Stephan Erb 84fcc6e8ce Do not redraw roster when opening the accounts window. Rework preference window. Fixes #3330, #1621, #2113 2008-02-04 22:04:33 +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 8bb9df92d4 fix syntax 2008-02-04 15:29:33 +00:00
Yann Leboulanger 5951ea5d86 fix coding standards 2008-02-04 15:22:36 +00:00
Yann Leboulanger 24d6f11bab fix wrong commit. see #3718 2008-02-03 21:22:30 +00:00
Yann Leboulanger 167aff1fdb don't remove / readd timeout, just lt it run. It's a bit faster. see #3718 2008-02-03 21:19:24 +00:00
Yann Leboulanger 4d55bbf842 re-draw groups and accounts after 0.5s so to not call them too often. see #3718 2008-02-03 21:00:27 +00:00
Yann Leboulanger dc12930253 [sgala] nicer code. No need to change contact's status to offline when we go offline if contact is already offline. see #3718 2008-02-03 19:31:01 +00:00
Jean-Marie Traissard 7448dab437 Do not load avatar in roster if we don't want to show it there 2008-02-02 15:19:12 +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 7e88b7608a fix roster sorting whith user that just became offline and are still in roster. Fixes #3531 2008-01-31 20:39:03 +00:00
Yann Leboulanger e93d287c5b [TuX] better uname call 2008-01-30 21:31:19 +00:00
Yann Leboulanger 58210daf44 arch linux file /etc/arch-release doesn't contain version number 2008-01-30 21:29:55 +00:00
Yann Leboulanger 17e7c02374 remove useless spaces and tabs 2008-01-30 11:01:08 +00:00
Yann Leboulanger 6951442efb re-compute big brother when a contact of a metacontact goes offline. fixes #3464 2008-01-30 10:46:12 +00:00
Yann Leboulanger d85e0fdc75 prevent a GTK warning 2008-01-30 08:12:59 +00:00
Yann Leboulanger 4fcddb6738 [nijel] unescape non-ascii chars in the output of GnuPG. fixes #3709 2008-01-30 07:56:02 +00:00
Yann Leboulanger e0e86b8f91 don't generate transparent png file when rendering latex expressions. 2008-01-29 18:24:22 +00:00
Stephan Erb 67b9f1cdae We may not add ourself to roster. Make entry in occupants menu insensitive. 2008-01-28 21:22:38 +00:00
Yann Leboulanger 7e2b371861 compile .py to .pyc and .pyo and install those files too. 2008-01-28 18:40:26 +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 623aba4f94 Do not log gpg encrypted chats when log_encrypted_session is false. See #3095. 2008-01-25 21:16:22 +00:00
Stephan Erb 40da75e119 Fix regression introduced in #9256. 2008-01-25 18:12:56 +00:00
Yann Leboulanger d7dd4c6396 send custom presence to self contact with the resource. fixes #3359 2008-01-24 21:14:11 +00:00
Yann Leboulanger 831511b2cb use correct function to open a groupchat from gajim-remote. fixes #3705 2008-01-24 12:16:17 +00:00
Yann Leboulanger 3c2a220c65 handle all PyopenSSL errors. fixes #3686 2008-01-23 19:04:35 +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
Jean-Marie Traissard 39fe7fc4c0 Remove saveposition. Now we always save and restore positions and sizes. See #3638. steve-e, this bug
is still opened for what you told ;)
2008-01-22 21:08:24 +00:00
Yann Leboulanger b3bafa75ff never move a window outside the screen. fixes #3501 2008-01-22 17:47:56 +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 55eed6bda6 Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694 2008-01-20 23:24:03 +00:00
Yann Leboulanger 347e8e1e5f strip username and server is account creation wizard 2008-01-20 18:10:58 +00:00
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
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 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
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 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
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 298d33a2c2 check if relogin or resend presence is needed when we close accounts window. fixes #3637 2007-12-26 21:44:37 +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 3cea125207 [js] fix MRPIS behaviour 2007-12-26 19:25:29 +00:00
Yann Leboulanger 829cc3acb8 don't fail when we scroll features window with no row selected 2007-12-24 10:24:52 +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
Travis Shirk 4bedeec964 MessageWindow reconfig bug fixes for deleted roster 2007-12-20 03:40:27 +00:00
Travis Shirk 1a7b1672a7 Use show_all on the notebook and not the window when a new tab is added.
For example, if the roster is hidden in single UI mode and a new chat arrived the roster would unhide.
2007-12-20 03:11:44 +00:00