Commit Graph

5664 Commits

Author SHA1 Message Date
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
James Newton 4bd76ef2ff Return error under error condition 2007-12-19 17:22:15 +00:00
James Newton 56721d63b8 Removing generated files that accidentally got checked in 2007-12-19 17:18:44 +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
Jean-Marie Traissard ddbcfcd7a2 Highlight on (nick/muc_highlight_words) that contains a space too. Fixes #3624. 2007-12-17 21:54:18 +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 28878b111d fix showing of systray popup menu under Windows. fixes #3611 2007-12-15 12:33:21 +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 9d068dc322 [shprotx] save config when gnome sessions ends. fixes #3618 2007-12-15 09:04:10 +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
Travis Shirk 661acc5a09 grammar fix 2007-12-14 03:25:13 +00:00
Travis Shirk a55a62a4d4 raise and return, right next to each other? Go with the newer revision of
returning DBUS_BOOLEAN(False)
2007-12-14 03:19:22 +00:00
Yann Leboulanger 3a305866c0 [js] move pep page in pref window before advanced one 2007-12-13 20:51:13 +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 192669b64e publish tune for every connected accounts if we use pep 2007-12-13 19:14:41 +00:00
Yann Leboulanger 48786d39ff correctly decode timezone name. fixes #3569 2007-12-13 08:37:20 +00:00
Yann Leboulanger 762f80cbd2 remove a windows GTK workarround. it's fixed in gtk2.12.3 (maybe before too) 2007-12-13 01:13:51 +00:00
Yann Leboulanger 228f7597c0 fix rhythmbox track change. no need to liste to playingUriChanged event 2007-12-12 22:18:01 +00:00
Yann Leboulanger aa41133f63 [js] pool for benshee player only if it is installed
fix mpris track change
2007-12-12 20:50:34 +00:00
Yann Leboulanger d2d92e7de3 remove useless print 2007-12-12 20:05:00 +00:00
Yann Leboulanger d65cba8493 don't send user tune if account is disconnected 2007-12-12 19:54:48 +00:00
Yann Leboulanger e5b2db0099 hide pep menuitems when use_pep is not activated 2007-12-12 18:54:08 +00:00
Yann Leboulanger a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Yann Leboulanger f3f622769c [Florob] add album to tune pep message. see #3053 2007-12-04 10:20:52 +00:00
Piotr Gaczkowski 55a7061ea3 Better Tune support 2007-08-10 20:18:32 +00:00
Piotr Gaczkowski 947ec8e933 PEP prefs added 2007-08-09 23:05:43 +00:00
Yann Leboulanger a18e21c476 fix new contacts API in pep 2007-08-09 15:54:16 +00:00
Yann Leboulanger ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Piotr Gaczkowski fca81d8795 A TODO. Good to know, what we're going to do 2007-07-08 11:35:52 +00:00
Piotr Gaczkowski 64566299ac Slight modifications of PEP Services dialog 2007-06-03 17:23:25 +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
Piotr Gaczkowski 19c5c70f80 Initial User Tune support 2007-04-01 09:02:04 +00:00
Piotr Gaczkowski 6917ab7ff5 Activity setting from a dialog once again 2007-03-31 09:09:16 +00:00
Yann Leboulanger 9f9a662c84 remove useless commented lines 2007-03-31 08:22:48 +00:00
Yann Leboulanger af37cf9d68 make moods translatable 2007-03-31 08:16:58 +00:00
Yann Leboulanger a26d9c028a make mood dialog not use blocking run() function 2007-03-31 08:11:25 +00:00
Piotr Gaczkowski 6ab511eee2 One more 2007-03-31 07:48:53 +00:00
Piotr Gaczkowski 37de10d82f Properish mood dialog 2007-03-31 07:43:33 +00:00
Piotr Gaczkowski 4f68782ec7 Activity and Mood in tooltips now bug-free (:P) 2007-03-30 23:24:12 +00:00
Piotr Gaczkowski ab26867fb2 Setting mood now supported (crappy). 2007-03-30 22:52:11 +00:00
Yann Leboulanger c02eb73bd0 add pep_supported var to pep branch too 2007-03-30 19:16:44 +00:00
Piotr Gaczkowski 39f161fa6d Version changed 2007-03-29 20:24:30 +00:00
Piotr Gaczkowski 06f43c1e2a Mood and Activity shown in tooltips. Caps set properly 2007-03-29 19:40:50 +00:00
Piotr Gaczkowski 149b0fcdef Buggy. Don\'t touch 2007-03-29 19:04:14 +00:00
Piotr Gaczkowski 512db7618b Lame Mood and Activity support. Announcing caps. 2007-03-28 21:18:16 +00:00
Piotr Gaczkowski e0c9b6309f Third buggy commit 2007-03-25 22:47:04 +00:00
Piotr Gaczkowski d7ea3283b9 Second buggy commit 2007-03-25 22:27:43 +00:00
Piotr Gaczkowski 5f9eab3c62 First buggy commit 2007-03-25 22:16:48 +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 290df83c80 show combobox in dataform widget when there are more than 5 options. see #3046 2007-03-20 14:09:27 +00:00
Yann Leboulanger aa241a338a destroy send file confirmation dialog when we press ok. fixes #3048 2007-03-20 12:32:01 +00:00
Yann Leboulanger ae9dc18244 fix number of arguments in a callback. fixes #3047 2007-03-20 10:35:06 +00:00
Yann Leboulanger 3bf528d988 add now argument to send funtions in zeroconf connection. fixes #3045 2007-03-20 07:13:25 +00:00
Yann Leboulanger 61949ac74d in adhoc commands, use the node name provided by the entity (It can change) 2007-03-19 21:02:35 +00:00
Yann Leboulanger 1e58cb09e9 show a confirmation dialog when we drop a file on a contact before sending files. fixes #2896 2007-03-17 10:14:31 +00:00
Yann Leboulanger f7799dfbec add an ACE option to disable the fact that gajim auto-expand and selects the contact who sent last message. fixes #2911 2007-03-17 08:14:25 +00:00
Yann Leboulanger efaa1a18e7 add a now argument to the send function, so that stanza is sent instantly instead of added to queue. Use it to send answer to adhoc command when we disconnect. fixes #3008 and #2808 2007-03-15 12:53:29 +00:00
Yann Leboulanger f09799f9d9 warning and information dialogs are now no more modal, but transient for parent. This means all windows are usable even if such a dialog is opened, but dialog stays above parent windows. Parent is roster window. fixes #3035 2007-03-14 13:31:50 +00:00
Yann Leboulanger 5920d03aee ability to destroy a room when we are owner, give a reason and alternative room
jid. fixes #3031
2007-03-11 20:14:53 +00:00
Yann Leboulanger 81c0b528ae give list of removed event to fire_event_removed func so that it transmits it to listeners 2007-03-11 08:58:08 +00:00
Yann Leboulanger a7ce2b28c3 [Mikhail Gusarov and me] Use listeners when an event is added / removed to the events class and use them to update systray. 2007-03-10 11:30:23 +00:00
Yann Leboulanger 718a4a006b [tristil] better banshee music player support. fixes #2940 2007-03-09 19:58:21 +00:00
Yann Leboulanger 019f43fa38 when we compare 2 offline contacts, the one which has a status messages is shown above the one without. fixes #3010 2007-03-09 19:17:19 +00:00
Yann Leboulanger 607f13747e don't re-open file transfert dialog when a transfert is finished. fixes #3002 2007-03-08 09:13:41 +00:00
Yann Leboulanger 0bacc77364 [misc] fix entity caps behaviour. fixes #3001 2007-03-08 08:57:20 +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
junglecow bbed22a410 - Workaround for #2846: Make the error silent. Fixes #2846.
- Workaround for #2838: Use synchronous (blocking) SSL handshake. Fixes #2838.
2007-03-03 20:13:43 +00:00
Yann Leboulanger e268cd7708 svn version is now 0.11.1.0 2007-02-20 08:08:42 +00:00
Yann Leboulanger 2fb7c9cf99 [misc] Don't duplicate status message when someone is kicked 2007-02-20 07:08:36 +00:00
Yann Leboulanger aa44fc9eb3 [bronger] translate None when selecting gpg key. fixes #2390 2007-02-18 20:58:56 +00:00
Yann Leboulanger d7f5885778 change click on systray behaviour. left click always toggle roster appearance, middle lcick to open pending events. fixes #2932 2007-02-15 22:15:37 +00:00
Yann Leboulanger 4a1a99a220 revert [7980]: remove useless command /slap 2007-02-15 15:59:55 +00:00
Yann Leboulanger 4d864fe2aa fix instructions code in dataforms.py 2007-02-15 09:33:30 +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
Jean-Marie Traissard 78f7ac7886 [bb] /slap 2007-02-15 00:17:05 +00:00
Yann Leboulanger 3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Yann Leboulanger b1c350f35c we keep node in self.subscriptions, not name, so when we look in this dict, look for node. 2007-02-14 10:13:27 +00:00
Yann Leboulanger ec80b7dc82 fix number of argument of _add_item() function in pubsub browser. fixes #2990 2007-02-14 09:10:50 +00:00
Yann Leboulanger efad862700 share space in pref window in status tab between default status message expander and preset status message frame when expander is expander. see #2918 2007-02-13 20:35:41 +00:00
Yann Leboulanger 6484e67d36 if gajim is quit while roster was hidden, start gajim with roster minimized next time. fixes #2986 2007-02-13 20:12:52 +00:00
Yann Leboulanger b55a0c097e fixes [7955]: don't set sleeper state to off when we send a presence while autoaway. 2007-02-12 21:51:12 +00:00
Yann Leboulanger 0f91b1cdad catch correct exception when we try to use set_restart_command() 2007-02-12 19:59:40 +00:00
Yann Leboulanger a5b0e51dcb since 2006-11-29 we don't require a status message to sign a presence. 2007-02-12 19:37:09 +00:00
Yann Leboulanger db6a9787f2 [Branko Kokanovic] Serbian translation 2007-02-12 18:33:33 +00:00
Jean-Marie Traissard bb0a985432 If we can't find gajim-remote, stop checking everytime if we are default client 2007-02-12 16:53:59 +00:00
Jean-Marie Traissard 05f306115e Delete change_nick() func, use join_gc() instead. Fixes #2903. 2007-02-11 03:22:40 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Jean-Marie Traissard 9611d4f945 oups, forgot that one 2007-02-08 23:48:52 +00:00
Jean-Marie Traissard 60cccbbd3d Use one var less and works better (we could lost first typing message previously)
See Yann, was possible, even if it's only one bit gain :D
2007-02-08 23:36:17 +00:00
Jean-Marie Traissard 578fd59361 Use one focus_out_line pixbuf for all conv_textview instances 2007-02-08 23:00:27 +00:00
Jean-Marie Traissard 2d55775f85 Do NOT save muc_cmds list for every gc_control instance 2007-02-08 19:08:44 +00:00
Jean-Marie Traissard 5e15b7c5f5 Small indent fix 2007-02-08 18:33:42 +00:00
Jean-Marie Traissard e6b3c40e97 Deleting control.display_names, useless var now 2007-02-08 18:32:10 +00:00
Yann Leboulanger 71293a38e6 don't set sleeper state to off when we send a presence while not online 2007-02-08 16:21:28 +00:00
Yann Leboulanger cba44a43a1 handle proxy errors. fixes #799 (socks5 proxies should now be supported. tests needed) 2007-02-07 22:05:52 +00:00
Yann Leboulanger 56bcc2e1fa missing commit 2007-02-07 12:13:41 +00:00