Commit Graph

408 Commits

Author SHA1 Message Date
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 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 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
js d3b86d2105 Translate activity in tooltips. 2008-07-29 02:14:06 +00:00
js c06c258b2f Show activity in conversation window. 2008-07-28 22:33:20 +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
Brendan Taylor 094052eb7c fix some issues with the difference between Contacts and GC_Contacts 2008-07-26 01:16:24 +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 dcfeafd0c6 Start autonegotiation when the user starts typing. 2008-07-24 22:13:37 +00:00
js c484fdddf1 Show tooltip for chat states. 2008-07-24 22:11:48 +00:00
js 701fe4267f Fix a TB. 2008-07-23 18:34:26 +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 63524f79e9 Be consistent in the chat window. 2008-07-22 23:30:52 +00:00
js b9ea534850 Show user tune in conversation window. 2008-07-22 23:06:58 +00:00
js c5e679a078 Show mood in chat window. 2008-07-22 21:08:52 +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
Brendan Taylor 90098b1e34 make esession autonegotiation option per-account and per-jid 2008-07-20 15:06:21 +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
Brendan Taylor 913c434c80 update status in resource-specific chat windows 2008-07-19 18:31:45 +00:00
js f704701ba4 Support for displaying XEP-0184 receipts. 2008-07-18 20:24:34 +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 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 7ff17b7e1f don't automatically start esessions, at least until we get caps sorted out 2008-07-14 05:00:57 +00:00
Brendan Taylor a407414dd9 automatically start an esession when the remote client supports it 2008-07-14 00:26:14 +00:00
js e67048bdfd If we receive an error PEP packet, don't treat it as incoming PEP event 2008-07-11 12:34:43 +00:00
Brendan Taylor ebcb659196 improved esession auth messages 2008-07-09 03:10:50 +00:00
Brendan Taylor 2e97cc3adb snagged tango security icons from gnome-icon-theme 2008-07-09 02:03:57 +00:00
Brendan Taylor e32b184cf7 fix GroupchatControl session-related TB 2008-07-04 00:30:07 +00:00
js 0405981b15 Added a function to check for specific features. This makes
implementing a later coming fallback to disco rather easy.
2008-07-02 09:20:49 +00:00
js 62fe1c72e3 Use caps to determine remote clients' support for specific features.
Caps is now used for: File Transfers, MUC Invites, Ad-Hoc Commands.

TODO:
 * Also handle it this way for typing notifications
   (This might give some trouble / compatibility issues)
 * Fall back to service discovery if no caps are available. Otherwise,
   we break compatibility with a lot of clients. (Asterix?)
2008-07-01 10:26:50 +00:00
Brendan Taylor 908bf97fbc fix esession toggling 2008-06-29 15:57:07 +00:00
Brendan Taylor b490904454 make esession authentication warning less obtrusive 2008-06-29 04:39:29 +00:00
Yann Leboulanger 2f6106bda5 don't allow /ping command for zeroconf account. Fixes #3685 2008-06-16 12:56:16 +00:00
Brendan Taylor 2b074aed41 pass the ChatControl around with printed_chat events 2008-06-14 16:49:48 +00:00
Jean-Marie Traissard f9c981df5d -Set General and Observer group directly in contact instance, instead of calculating it each time
-When creating self-contact contact instance, store it with group 'self_contact', so it never goes in General
-Make general group not be seen visible because of self contact even if self.regroup
-Remove the self contact instance itself too when WE deconnect or when IT deconnect, so we will
not see it as offline if refilling roster (regroup account for example)
2008-06-08 21:27:31 +00:00
js d0b15bf5fd Don't return 1 on error, but None. 1 could also be a message ID. 2008-06-08 16:54:59 +00:00
js 593ed0c6d8 * Fix passing of message ID.
* Don't asnwer to receipt requests from users not in roster.
2008-06-08 15:51:55 +00:00
js c2eb4b5a9f Completely remove OTR.
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.

Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr

I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.

Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
Jean-Marie Traissard 7fbfa0547d Regroup window.present() calls. See #3908. 2008-06-05 15:09:17 +00:00
Brendan Taylor d19cb43ee0 don't assign a session to a control until it's needed 2008-06-02 23:26:32 +00:00