Commit Graph

7031 Commits

Author SHA1 Message Date
Yann Leboulanger 2b896152a2 make back strings translatable 2008-08-04 08:07:07 +00:00
js 9bb8f8c5e6 Make "This message is encrypted" bodies consistent. 2008-08-03 23:01:43 +00:00
Jean-Marie Traissard 94a43a03fb Update counting of online transports when a transport change status. 2008-08-03 22:21:50 +00:00
Yann Leboulanger 6bd991882b save config on quitting Gajim. see #4174 2008-08-03 21:48:30 +00:00
Yann Leboulanger 68c5c9e6bc don't indent status row in systray tooltip. fixes #4171 2008-08-03 21:36:26 +00:00
Yann Leboulanger 0317d93561 notify GUI about ERROR presences. Fixes #3667 2008-08-03 19:11:03 +00:00
Brendan Taylor 615ed1be06 attach an unencrypted explanatory body to XEP-0200 encrypted messages 2008-08-03 16:46:27 +00:00
Yann Leboulanger 6967ced458 fix a translatable string 2008-08-02 08:14:30 +00:00
Yann Leboulanger aae57c2990 comment a string on which xgettext fails. see #4166 2008-08-02 07:54:28 +00:00
Yann Leboulanger b558388db4 windows steal focus when clicking on systray. fixes #4168 2008-08-01 14:27:09 +00:00
Yann Leboulanger 32eaa3219f left click on systray under windows show pending events if there are. fixes #4167 2008-08-01 14:23:50 +00:00
Yann Leboulanger 4eebf0e036 fix some translated strings 2008-08-01 13:03:23 +00:00
Yann Leboulanger eaf9f1c3bc don't translate empty string. fixes #4170 2008-08-01 12:05:01 +00:00
Yann Leboulanger 409a1c315a prevent a traceback. fixes #4169 2008-08-01 10:27:38 +00:00
Yann Leboulanger b9fc3556c7 [avm] allow to search contact in roster by typing the middle of the name, not only the begining 2008-08-01 10:26:29 +00:00
Yann Leboulanger 9130004249 [avm] prevent eating up the passphrase when you fail to enter it 2 times, but succeed on the 3rd. see #4164 2008-08-01 10:22:24 +00:00
Yann Leboulanger 23d9413687 fix some typo. see #4166 2008-08-01 10:01:45 +00:00
Yann Leboulanger fa2d983354 better transltion strings. see #4166 2008-08-01 09:30:36 +00:00
Brendan Taylor 798c412c85 handle XEP-0200 encrypted messages with extra unencrypted bodies 2008-08-01 00:39:40 +00:00
Yann Leboulanger 879ceac36c don't delay click on systray if there is no waiting event. Fixes #2932 2008-07-31 20:12:23 +00:00
Yann Leboulanger 3f3e33c846 fix traceback when canceling GPG passphrase dialog 2008-07-31 20:08:36 +00:00
Yann Leboulanger 81509d894a [avm] add a PassphraseRequest class that queue GPG passphrase requests. Fixes #4164 2008-07-31 19:24:34 +00:00
Stephan Erb d82635a55a Some coding standards. 2008-07-31 18:23:14 +00:00
Yann Leboulanger 56598c447b don't look for a contact when we double click on an account row 2008-07-31 13:34:19 +00:00
Yann Leboulanger d23612c904 implement double_click in systray. see #2932 2008-07-31 08:49:31 +00:00
Yann Leboulanger f586c8dd55 block adding ourself in our roster. Fixes #4073 2008-07-31 08:08:54 +00:00
Yann Leboulanger a5584151c2 Use InvitationReceivedDialog asynchronously. see #4147 2008-07-31 06:23:03 +00:00
Yann Leboulanger 0c662cf2fd use PassphraseDialog only asynchronously. see #4147 2008-07-31 06:14:48 +00:00
Yann Leboulanger bc5fa8f80e TrackMusickListener (so is PublishTune) is available only if dbus id supported. Fixes #4153 2008-07-30 16:08:38 +00:00
Yann Leboulanger 673052f1b8 handle disconnection while insecure connetion dialog is opened. fixes #4138 2008-07-30 15:43:53 +00:00
js 5a16f09b3e Fix a TB. 2008-07-30 14:00:21 +00:00
Yann Leboulanger d030cd8b03 prevent sending invalid XML chars in chat / groupchat and status. Fixes #3296 2008-07-30 12:21:47 +00:00
Yann Leboulanger b3dd46acae don't remove field in the loop that iter on them. 2008-07-30 07:46:05 +00:00
js b38cc15186 Make tooltips consistent. 2008-07-29 20:57:13 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js 993d0d8609 Revert r10064 and to it the right way™. 2008-07-29 19:42:31 +00:00
js 981dca2b6b Remove get_uf_{mood,activity} as nobody used them.
Didn't notice them and implemented something like that myself.
2008-07-29 19:27:16 +00:00
js a226760275 Make moods better translatable. 2008-07-29 19:02:57 +00:00
js 0fae75888a Fix a TB. 2008-07-29 17:53:24 +00:00
js b3767ac3da * text += '\n' + text is wrong.
* Don't call it markup if it's plaintext.
2008-07-29 16:33:21 +00:00
Yann Leboulanger 8b1746140e implement a get_purged() function in dataforms to send minimalist dataforms when we send a reply. fixes #4132 2008-07-29 15:27:00 +00:00
Yann Leboulanger 69b088b4b9 prevent traceback when player is no more on dbus. fixes #4131 2008-07-29 07:52:51 +00:00
Yann Leboulanger 64b73530c4 prevent traceback, fixed #4121 2008-07-29 07:36:44 +00:00
Yann Leboulanger bdcce03d5d don't require python2.5 2008-07-29 07:28:07 +00:00
Yann Leboulanger 54422608ff don't require python2.5 2008-07-29 07:23:56 +00:00
Yann Leboulanger b039c1e229 don't require python2.5 2008-07-29 07:20:12 +00:00
Yann Leboulanger 4ebee785ff don't require python2.5 2008-07-29 07:11:39 +00:00
Yann Leboulanger 0e4df7800d don't require python2.5 2008-07-29 07:08:56 +00:00
Yann Leboulanger e7b7e01b54 don't require python2.5 2008-07-29 06:59:14 +00:00
Yann Leboulanger 676b91731d restore autoconnect_as option. Correctly use 80 char width 2008-07-29 06:42:34 +00:00
Yann Leboulanger 49ea574c7d typo 2008-07-29 06:40:09 +00:00
Yann Leboulanger 1fd2c5f050 add NS_TUNE, ACTIVITY and NICK to features list 2008-07-29 06:17:35 +00:00
Yann Leboulanger e21b1dcb37 remove publish_mood, publish_activity and publish_nick options. 2008-07-29 06:15:41 +00:00
js c078f11fe0 Show activity in roster. 2008-07-29 02:32:57 +00:00
js d3b86d2105 Translate activity in tooltips. 2008-07-29 02:14:06 +00:00
js 6dfa9c7e35 * Fix a TB with unknown moods
* Add the 'thoughtful' mood in the Gajim namespace (trying to get it in
  the XEP!)
2008-07-29 00:11:44 +00:00
js c06c258b2f Show activity in conversation window. 2008-07-28 22:33:20 +00:00
js ebea2ef2b0 Actually, that didn't really fix it. But this does. 2008-07-28 21:43:41 +00:00
js 50406b13e6 Disable ok button if no activity is set, but enable is selected. 2008-07-28 21:36:11 +00:00
js f7d8631a5c New activity dialog. 2008-07-28 20:57:56 +00:00
js dc8b56c9ed Some users don't want their status to be restored. Make it an option. 2008-07-28 16:36:17 +00:00
Yann Leboulanger cd6742a9e4 prevent TB when connection is lost. fixes #4112 2008-07-28 12:17:33 +00:00
Brendan Taylor d8070318ff don't autonegotiate if gpg is already active 2008-07-27 21:42:34 +00:00
Brendan Taylor 36f286f808 enable esession and gpg menuitems if they're active 2008-07-27 21:35:02 +00:00
Jean-Marie Traissard aa749cb77b Remove useless function and check. Make avatar in notification works with jpeg too. See #4060. 2008-07-27 10:21:51 +00:00
Brendan Taylor 2bb2c452c6 update resource-specific chat controls when that resource comes back online 2008-07-26 18:44:47 +00:00
Brendan Taylor abbdf8d5c9 attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline 2008-07-26 05:28:15 +00:00
js 11b5ce1d04 Fix restoring of multiline status messages on reconnect. 2008-07-26 01:58:30 +00:00
Brendan Taylor 094052eb7c fix some issues with the difference between Contacts and GC_Contacts 2008-07-26 01:16:24 +00:00
js 67fb7e211c If I add that missing quote, I should add it at the right place... 2008-07-25 16:51:26 +00:00
js 486caffc00 Oops, killed that quote by mistake. 2008-07-25 16:44:20 +00:00
js d8bd70c93b Show tunes in roster. 2008-07-25 14:11:14 +00:00
Stephan Erb 4674480e61 Fix wrong paranthesis. Fixes #4137 2008-07-25 10:50:56 +00:00
js 6cc8cd28e9 [Florob] Make exception handling not cause an exception. Fixes #4125. 2008-07-25 02:12:21 +00:00
js 0653680203 Only show mood in account row when show_mood_in_roster_is active. 2008-07-25 01:16:30 +00:00
js 5958bb8771 D'oh!! Killed that ) just before comitting :-( 2008-07-25 01:11:38 +00:00
js d694b8a6df Show own mood in account row. 2008-07-25 01:10:14 +00:00
js 0d6394b0ca * Better rendering of mood in roster.
(Only takes space if needed now)
* Possibility to disable display of mood in roster from preferences.
  (Also works on the fly with the new rendering method)
* Minor improvements in the translation of the moods to German.
2008-07-25 00:43:01 +00:00
js aec24f6e21 Show mood in roster & coding style. 2008-07-24 23:53:56 +00:00
js 83a317c042 Renegotiate if the remote end got disconnected and now got back online. 2008-07-24 22:14:42 +00:00
js 87d5904384 Possibility to disable ESessions (not only autonegotiation) per account 2008-07-24 22:13:59 +00:00
js dcfeafd0c6 Start autonegotiation when the user starts typing. 2008-07-24 22:13:37 +00:00
js ffd0bb8b0b If there are no per-contact settings, return defaults. 2008-07-24 22:13:13 +00:00
js c484fdddf1 Show tooltip for chat states. 2008-07-24 22:11:48 +00:00
js ea26f8eabc If no resource is left, we shouldn't have caps left either! 2008-07-23 18:38:52 +00:00
js 701fe4267f Fix a TB. 2008-07-23 18:34:26 +00:00
js 40112aa128 Handle it correctly if caps were removed.
YES, it CAN happen that we had caps and now got a presence without!
And that WILL happen very often, for example if the other end signs
off!
2008-07-23 18:28:55 +00:00
js 0d9a73cde9 Always have self.contact of a chat control point to the hightest
resource if none was specified.

As it's still possible to start E2E when the only E2E-capable resource
goes offline, this means that caps is definitely broken.

(Yes, I verified it with a print contact.resource - it IS checked for
the right contact!)
2008-07-23 18:21:02 +00:00
js 6bfdebf347 Fix #4069. 2008-07-23 17:40:02 +00:00
js 5441c32e0e Finally fix status message tooltip in conversation window.
This also doesn't leave the tooltip when the status was removed anymore
2008-07-23 17:28:01 +00:00
js c5b7f356a9 Be compatible with pygtk 2.10.
I'm still for kicking compatibility for everything < 2.12.0 as with
2.12.0, there are a few new APIs that obsolete old, stupid APIs.
2008-07-23 16:27:06 +00:00
js 8abacfdb8f A few new files were added with the new Gtk+. Update NSIS. 2008-07-23 13:33:23 +00:00
js 0f17f4dfec Update text to 'None' when disabling mood. 2008-07-23 02:16:09 +00:00
js 00847d91bf Same for user mood.
Woohooo! This is the 10000st commit to Gajim! Let's have a party!! \o/
2008-07-22 23:41:07 +00:00
js 73d73404be Update tune in converstaion window. 2008-07-22 23:39:45 +00:00
js 869d451aba Mood still wasn't translatable at some places. 2008-07-22 23:34:45 +00:00
js 63524f79e9 Be consistent in the chat window. 2008-07-22 23:30:52 +00:00
js 417fcaddf5 Make mood in tooltip translatable. 2008-07-22 23:27:53 +00:00
js 8599a46046 More coding style.
(Do I always have to fix the coding style first before I can work with
it? Damn, that's annoying! My terminal has a width of 80 chars, what's
so hard about using the 80 chars width we have specified in the coding
style?)
2008-07-22 23:25:27 +00:00
js cc733a6cac Coding style. 2008-07-22 23:22:49 +00:00
js 1b675d0961 Replace _ in moods by space. 2008-07-22 23:11:30 +00:00
js b9ea534850 Show user tune in conversation window. 2008-07-22 23:06:58 +00:00
js c3079e5ac5 Make user tune tooltip translatable.
@whoever did that: _() has to be around the format string, NOT the
result of the sprintf!
2008-07-22 23:03:33 +00:00
js 4178ec7fcb Better User Mood dialog. 2008-07-22 22:20:51 +00:00
js d46995ad8e 'None' is not a mood! 2008-07-22 21:43:19 +00:00
js c5e679a078 Show mood in chat window. 2008-07-22 21:08:52 +00:00
Stephan Erb 9ecf0e5fa9 Some small tweaks to the roster visible_func
* Do not show transports when the account is disconnected. Fixes #4124
 * Hide contacts with unconfirmed subscription when we only want to see online contacts. Fixes #4118
2008-07-22 20:29:31 +00:00
js 213d9dd54c Separate the code to update the toolbar. Now we can update when the
status / caps chance.
2008-07-22 15:40:20 +00:00
js 65d5d92087 * End ESession when remote signs off.
* Fix typo.
* Better code in conversation_textview.py.

@bct: Your diff didn't work, I had to move it + add an if. Seems to
work now.
2008-07-22 14:32:37 +00:00
js 229006a28e Coding style. 2008-07-22 14:13:37 +00:00
js 6239ae57c3 Remove rev keyword code again as this doesn't work. It's only updated
when the defs.py file is changed.
2008-07-21 22:55:03 +00:00
Stephan Erb 1b2e12057c Some cleanups and an attempt to fix the MUC highlight problem. 2008-07-21 21:44:40 +00:00
Brendan Taylor e5abe84484 correct dh prime (for real this time) 2008-07-21 19:55:27 +00:00
Brendan Taylor 758adfbaf3 fix esession caps condition 2008-07-21 19:55:16 +00:00
js 2cf1171124 Remove \n from distribution name. 2008-07-21 17:29:49 +00:00
Brendan Taylor 1d48ca648f corrected one of the dh primes 2008-07-21 15:14:16 +00:00
js 327673cdd7 bct, could you please test what you commit? I was just flooded by TBs,
had to kill Gajim.
2008-07-21 14:36:45 +00:00
Brendan Taylor c9b2556c41 make esessions an optional caps feature 2008-07-20 15:54:05 +00:00
Brendan Taylor 90098b1e34 make esession autonegotiation option per-account and per-jid 2008-07-20 15:06:21 +00:00
Brendan Taylor a3d0166f1d wrong method name when restarting e2e 2008-07-20 15:06:15 +00:00
js 8c49e10f93 It's bad to silently drop errors when not running it from the SVN repo.
On Windows, it's even worse: When something throws a TB, the user won't
notice before Gajim is terminated (a dialog will show then that
gajim.exe.log was created, nothing more!)
2008-07-20 14:53:34 +00:00
js dd63bbe7d2 This does a better job :). 2008-07-20 14:48:08 +00:00
js 41e3b00dbe This should automatically include the revision in our version. 2008-07-20 14:44:08 +00:00
js cdbdaa52f3 Fix #4113. 2008-07-20 13:48:50 +00:00
Brendan Taylor f11b5dd081 added option for esession autonegotiation
added option for modp groups to use in a negotiation
2008-07-19 20:42:03 +00:00
Brendan Taylor e4b4d839da fix a really silly bug caused by my last commit 2008-07-19 20:41:53 +00:00
Stephan Erb fc39f33590 Add use_tune support for banshee 1.0. (No more polling, yeah!) 2008-07-19 19:55:13 +00:00
Brendan Taylor 913c434c80 update status in resource-specific chat windows 2008-07-19 18:31:45 +00:00
Stephan Erb d83f9da555 Improved groupchat minimization:
* partly rewrote join_room because it was hard to read
 * Correctly handle invites from anonymous rooms. Fixes #4057
 * Use HIG dialog for invitation requests
 * Fix bug where minimized groupchats where hidden after a reconnect
 * Removed some duplicated code
2008-07-19 17:36:21 +00:00
js f5d92c296b Nicer XEP-0184 warning image. 2008-07-19 14:45:04 +00:00
js 053a1be708 Use timeout_add_seconds - that easier on the resources. 2008-07-19 12:08:01 +00:00
js ed48bffa08 Only show the XEP-0184 warning if the message has not been received
in 2 seconds.
2008-07-19 11:57:03 +00:00
Brendan Taylor 8e9b2d1781 automatically restart esession when we can't decrypt a message 2008-07-18 23:33:59 +00:00
Brendan Taylor 010afb1176 disconnect session from chat window only when the highest remote contact changes 2008-07-18 22:42:28 +00:00
js f704701ba4 Support for displaying XEP-0184 receipts. 2008-07-18 20:24:34 +00:00
Brendan Taylor 8b1abeba54 fix disappearing crypto icon 2008-07-18 04:01:07 +00:00
js 1f429354a9 Remove E2E password dialog. bct wanted to remove this, but I was
bored, so I did his job :).
2008-07-16 16:17:50 +00:00
js 1fabaa8844 Keep last status on autoconnect. 2008-07-16 15:50:51 +00:00
js 4dbf5d9c0e Another part of a fix for #4098.
I'm not sure how fatal if would be if the idle queue of NS lookups
hangs, but this fix won't hurt anyway, so I better fix it.
2008-07-16 12:58:52 +00:00
js d1c60a07e5 This should fix #4098. However, I'll let that bug open until I'm
very very sure and gave that a few days of testing.
2008-07-16 02:37:57 +00:00
js 3bd76e406a Partially fix #4098.
This is, however, only a half fix as this fixes that it fails when
there's None in waiting_descriptors[2], but actually, there never
should be None, so I have to investigate why there was none.

This patch is, however, correct and needed and the other queues also
have that check. It's just that I also need to fix the reason for
the None in the queue.
2008-07-15 23:23:31 +00:00
js 6b9bfab6d1 Last diff was incomplete. 2008-07-15 17:04:36 +00:00
js e01968ef91 GPG is always authenticated as we use GPG's WoT.
An idea: Currently, we don't send the message when the key has not
enough trust. How about showing the unauthenticated icon then, but
sending the message?
2008-07-15 16:45:39 +00:00
js 92e9a51fc5 D'oh! 2008-07-15 14:39:54 +00:00
js cf2da2b039 Fix #4100.
dbus-monitor actually showed the traceback that wouldn't appear
anywhere else.

Note to others: DBus.String needs to be converted using str()!
2008-07-15 14:22:34 +00:00
js 151e7af63e Proper checking for XEP-0085, with workaround for the caps missing
problem. Same here, remove check to notexistant once we have fallback
to disco.
2008-07-15 13:51:20 +00:00
js cb29efd57e Revert r9928 and implement a workaround that allows real E2E checking.
This workaround will still work once fallback to disco is supported,
though it SHOULD be removed then as it's not necassary anymore then.

@bct: Now we only need to get rid of that password dialog :).
2008-07-15 13:30:31 +00:00
Brendan Taylor a6dfa86ad0 show warning dialog when receiving an unencryptable message 2008-07-15 03:16:58 +00:00
Brendan Taylor 15567aa113 fix encrypted/unencrypted notifications in PM 2008-07-14 23:46:22 +00:00
Brendan Taylor d541b42236 fix clicking notification when someone logs in 2008-07-14 23:21:08 +00:00