Commit graph

1073 commits

Author SHA1 Message Date
js
8d0d85ee99 Make a string translatable. Fixes #4203. 2008-08-16 19:49:56 +00:00
Julien Pivotto
de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto
b58dfd6a59 Prevent many traceback due to headers and my last commit (it's late,
sorry)
2008-08-15 03:39:27 +00:00
Julien Pivotto
8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger
d2669df77b fix some resource problems. see #3799 2008-08-12 08:53:09 +00:00
Yann Leboulanger
cdffa94641 some coding standards 2008-08-12 08:17:02 +00:00
Yann Leboulanger
168fb471cd typo 2008-08-11 14:10:30 +00:00
Yann Leboulanger
31b3c543ec make room participants list private when continuing a conversation. Fixes #4102 2008-08-11 13:23:09 +00:00
Yann Leboulanger
f18d97b97a remove unused function 2008-08-11 08:41:44 +00:00
Julien Pivotto
db9440c7c3 remove testing stuff... I am distracted 2008-08-11 08:13:27 +00:00
Julien Pivotto
2733ffb3d0 Make continued conversations (chat2muc) members-only (fix #4102) 2008-08-11 08:12:11 +00:00
js
0f41f0613a Revert r10159 as this breaks it completely. It's not possible to
disable E2E if for example the logging settings differ. Makes
chatting with such contacts impossible.
2008-08-09 21:13:41 +00:00
Brendan Taylor
559a8c8b13 status change tests, hopefully fix some status change issues 2008-08-09 06:10:04 +00:00
Brendan Taylor
ab70491d56 correctly decide whether to autonegotiate after a session was replaced 2008-08-08 22:55:12 +00:00
Yann Leboulanger
303c0f6a71 2 less blocking windows 2008-08-07 15:51:23 +00:00
Julien Pivotto
d7c60041ea Don't print twice "ping? pong" when using /ping command in a pm. 2008-08-07 15:27:02 +00:00
tomk
cbfa9d97df - TLS classes refactored - NonBlockingTLS is now plugged to NonBlockingTCP and
derived (was plugged to NonBlockingClient which made it unusable for BOSH)
- Fixed HTTP CONNECT proxy socket
- Implemented workaround for the bug with insecure-connection warning dialog
  (unfortunately, this is not over - I just forbid the transport to send
  BOSH empty bodies until auth module is plugged, which is wrong and will
  break if user will wait more than "inactivity" (usualy thirty) seconds
  before clicking the dialog.
  This workaround works with ejb and opf, and also breaks connection with
  both of them if delay is too long.
- Implemented basic TLS over BOSH. It works only with OPF and poorly.
2008-08-05 23:52:35 +00:00
Yann Leboulanger
d6f20965a9 update correctly self contact when we get PEP info. fixes #4145 2008-08-04 22:44:48 +00:00
Yann Leboulanger
7eb30a1f77 fix call to get_status_message 2008-08-04 13:48:36 +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
aae57c2990 comment a string on which xgettext fails. see #4166 2008-08-02 07:54:28 +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
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
Yann Leboulanger
0c662cf2fd use PassphraseDialog only asynchronously. see #4147 2008-07-31 06:14:48 +00:00
Yann Leboulanger
673052f1b8 handle disconnection while insecure connetion dialog is opened. fixes #4138 2008-07-30 15:43:53 +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
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
Yann Leboulanger
676b91731d restore autoconnect_as option. Correctly use 80 char width 2008-07-29 06:42:34 +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
tomk
af3f1a9dd4 - implemented BOSH key sequencing, acknowledgements
- improved HTTP persistent connections
- added alarm-unregister method to idlequeue
- extended proxy managing dialog for BOSH proxy
2008-07-26 22:42:40 +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
js
83a317c042 Renegotiate if the remote end got disconnected and now got back online. 2008-07-24 22:14:42 +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
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
Stephan Erb
1b2e12057c Some cleanups and an attempt to fix the MUC highlight problem. 2008-07-21 21:44:40 +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
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
cdbdaa52f3 Fix #4113. 2008-07-20 13:48:50 +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
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
tomk
a58618c843 persistent HTTP connections in BOSH roughly implemented, added hack for openfire incapability of after-SASL-stream-restart-response in BOSH, changed doubles quotes to single 2008-07-18 00:34:49 +00:00