Yann Leboulanger
22239525a2
connection type in 'plain', not 'tcp'
2009-01-14 18:14:20 +00:00
Yann Leboulanger
dc7d34e471
fix previous commit: missing import and typo
2009-01-14 17:27:53 +00:00
Yann Leboulanger
6b2a816143
reapply patch for nslookup 9.6 that was remove with bosh merge. Fixes #4677
2009-01-14 17:24:07 +00:00
Yann Leboulanger
9b2382cd0e
[dwd] better way to encode using base64. Fixes #4568
2009-01-14 08:51:07 +00:00
Yann Leboulanger
5575502c0b
save certificate fingerprint when we don't have it.
2009-01-13 19:24:09 +00:00
Yann Leboulanger
3813f20888
don't allow to have several ssl_error / fingerprint_error / plain_connection / insecure_ssl dialog at the same time for one account. Fixes #4642
2009-01-13 19:20:12 +00:00
Yann Leboulanger
54283f7779
let banner size increase if we set a big font in it. Fixes #4670
2009-01-12 17:25:27 +00:00
Yann Leboulanger
5e710de4ea
make column resizable and reorderable in configure room dialog. Fixes #4667
2009-01-12 14:05:58 +00:00
Stephan Erb
593c23ebc8
Cosmetic only... as usaual: stanza_session.py. TODO: better variable names
2009-01-11 22:29:58 +00:00
Stephan Erb
d23aa630ba
ID will be autogenerated (like from): Done by dispatcher as it wraps transports send, when plugged into NonBlockingClient.
2009-01-11 21:00:58 +00:00
Stephan Erb
541167aa3e
Move IdleCommand from resolver.py to idlequeue.py
2009-01-11 17:54:41 +00:00
Stephan Erb
0f61260578
Use logic which idlequeue shall be used to idlequeue module.
2009-01-11 17:11:17 +00:00
Stephan Erb
f8e6635edf
Remove some (now) useless returns that where added because of a broken commit of mine...
2009-01-11 17:10:41 +00:00
tomk
2b0ef67c55
fixes #4657 - traceback on terminating stanza after BOSH init request
2009-01-11 15:12:28 +00:00
js
92a911da9b
If we don't have an interpreter for them, don't make them executable!
2009-01-11 14:47:21 +00:00
Stephan Erb
8a19e11bee
Add some FIXME statements due to open questions. Improve a two default parameters.
2009-01-11 13:42:39 +00:00
Yann Leboulanger
1383bb6a74
[shivan] improve strings in features window, make list sorted. Fixes #4571
2009-01-11 09:55:39 +00:00
js
6ede969f5f
Fix missing returns, so we don't run into that assert.
2009-01-10 22:46:26 +00:00
Yann Leboulanger
15ab37043e
remove duplicated STATUS_LIST variable
2009-01-10 16:45:52 +00:00
Stephan Erb
c8dc8cd758
Fix a potential traceback in onreceive() of NonBlockingTransport. A few more codingstandards
2009-01-10 16:44:11 +00:00
Yann Leboulanger
6080bea672
abilty to do some exceptions to invisible rule (to send custom status). Fixes #4631
2009-01-10 16:37:57 +00:00
Brendan Taylor
d9277816c7
log latex output instead of dumping it straight to stdout
2009-01-09 21:27:01 +00:00
Brendan Taylor
898bc7c347
gave latex processing its own file, merged duplicate processing and
...
detection code
2009-01-09 19:55:26 +00:00
Brendan Taylor
9298312369
detect latex support at startup
2009-01-09 18:40:17 +00:00
Brendan Taylor
02659358db
better use of pickle
2009-01-09 18:40:01 +00:00
Yann Leboulanger
bd759262bb
Don't change sleeper state when we send a presence to a user, to not think global status has changed from invisible. see #4631
2009-01-09 18:34:56 +00:00
Stephan Erb
bc3445881f
Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
...
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Stephan Erb
e00f871b26
Use hashlib module in favor of sha and md5.
2009-01-08 16:51:26 +00:00
Stephan Erb
cca10e6d29
A few more coding standards and readability improvements in client_nb.py.
2009-01-08 16:30:27 +00:00
Stephan Erb
10449444dd
Switch to SSL version 3 as the channel encryption protocol. As of http://docs.python.org/dev/library/ssl.html this is the maximally compatible SSL variant.
2009-01-08 16:14:26 +00:00
Brendan Taylor
b03483868b
don't display weird image in chat window when latex fails
2009-01-08 00:47:03 +00:00
Stephan Erb
a72b1ced91
Remove print statement.
2009-01-07 20:45:03 +00:00
Yann Leboulanger
12c54d9c17
remember which metacontacts were collapsed / expanded and restore their states. Fixes #4618
2009-01-06 11:13:10 +00:00
Yann Leboulanger
13e6b4e58f
install gajim-history-manager to bin directory, remove shebang line in py files. Fixes #4624
2009-01-06 07:16:07 +00:00
Yann Leboulanger
a4132ee58b
ability to use adtadir environment variable to set data directory
2009-01-05 15:12:19 +00:00
Stephan Erb
ed3de38ce5
Revert r10931. Fixes #4632 . See #2634
2009-01-03 16:34:58 +00:00
Stephan Erb
28112d6681
Fix indentation error.
2008-12-31 14:04:42 +00:00
Stephan Erb
8a76efb703
Proposed Fix. Make sure we read all data from our SSL socket wrappers and don't just rely on gobject.io_add_watch, select or poll.
...
This isn't really a clean solution, but the less intrusives fix that I can think of. Fixes #2634 .
2008-12-31 14:01:53 +00:00
Yann Leboulanger
be92286bed
a contact can be in none group. Fixes #4627
2008-12-31 09:21:14 +00:00
Yann Leboulanger
08cd4773b0
don't try to send some XML if we are disconnected/disconnecting/ Fixes #4605
2008-12-28 22:51:39 +00:00
Stephan Erb
b2a5b1046c
Remove print.
2008-12-28 14:55:23 +00:00
Stephan Erb
d8a2d8f447
Backport a few XMPPPY upstream changes.
...
* Use namespace instead of attrs={} for addChild
* Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb
f83eb5ae95
Remove two more "from protocol import *".
2008-12-28 01:52:21 +00:00
Brendan Taylor
e98a648908
added licence notice to common/xmpp/c14n.py
2008-12-28 01:39:39 +00:00
Stephan Erb
7c0b1e4ed0
Module documentation for c14n.py.
2008-12-28 01:32:34 +00:00
Stephan Erb
8b3833b443
Coding standards and documentation improvements in features_nb.py. Remove unused methods.
2008-12-28 01:29:33 +00:00
Stephan Erb
d7091c74a4
Remove method that was implemented for old, blocking dispatcher but is now unused.
2008-12-28 00:01:48 +00:00
Stephan Erb
aa9a85767f
Move module documentation ontop, so that it will show up in epydoc correctly.
2008-12-27 12:36:28 +00:00
Stephan Erb
c373f044db
Append vim config to resolver.py
2008-12-27 12:28:39 +00:00
Stephan Erb
233848aec0
Random bits in xmpp. Cosmetic only.
2008-12-27 11:45:58 +00:00
Stephan Erb
b7400724b7
Coding standards and documentation improvements in dispatcher_nb.py. Many open questions remain at my side. Please check FIXMEs.
2008-12-27 11:39:52 +00:00
Stephan Erb
de73b76771
Coding standards and documentation improvements in auth_nb.py
2008-12-26 15:39:18 +00:00
Stephan Erb
7427399a2a
More coding standards and documentation improvements in client_nb.py
2008-12-26 15:25:57 +00:00
Stephan Erb
afbac3d3e6
Coding standards and documentation improvements in idlequeue.py.
...
Fix a potential bug of missing an alarm_callback. Separate public from internal API.
2008-12-26 13:24:37 +00:00
Yann Leboulanger
507bd7b8c6
cache os information so it's requested to system only once
2008-12-24 15:00:38 +00:00
Stephan Erb
40d802284e
Coding standards and documentation improvements in client_nb.py
2008-12-24 14:41:26 +00:00
Stephan Erb
5139e7c8d0
Add credits and remove outdated documentation from __init__.py
2008-12-24 14:28:17 +00:00
Stephan Erb
6999e1bbb6
Make three docstrings epydoc enabled. See http://epydoc.sourceforge.net/manual-docstring.html
2008-12-24 13:56:02 +00:00
Stephan Erb
59b0216898
Remove Jacob Lundqvist's xmpp/debug.py module. We have switched to builtin python logging.
2008-12-24 13:51:15 +00:00
Stephan Erb
a8cfd83c3e
Move GObjectIdleQueue from gajim.py to idlequeue.py
2008-12-24 13:44:23 +00:00
Stephan Erb
6b5e9ea7ce
Documentation improvements in client.py
2008-12-24 13:25:57 +00:00
Yann Leboulanger
ad7c64998a
better handling of error when receiving a filetransfer without bytestream feature. Fixes #4607
2008-12-24 12:11:02 +00:00
Stephan Erb
9ec00eda74
Document consturctor in proxy_connector.py
2008-12-24 11:41:09 +00:00
Stephan Erb
1e00674505
Coding standards and documentation improvements in tls_nb.py
2008-12-24 11:10:58 +00:00
Stephan Erb
5c02a907b4
Coding standards and documentation improvements in transports_nb.py
2008-12-24 11:10:38 +00:00
Yann Leboulanger
7163be96e0
backport diff from 0.12 branch
2008-12-22 10:38:05 +00:00
Yann Leboulanger
45f9366d58
do'nt try starttls if stream version < 1.0. Fixes #4600
2008-12-22 09:59:35 +00:00
Jean-Marie Traissard
f8831b947d
Faster and cleaner version of groupchat_control.needs_visual_notification().
...
Thanks to omega for idea.
Now also highlighted for @nick or <nick> but not for "Gajim" if you are "jim"
2008-12-21 20:41:14 +00:00
Yann Leboulanger
8cf97654b8
notification-daemon doesn't seem to like empty text string.
2008-12-19 18:48:25 +00:00
Yann Leboulanger
08bb703640
fix GSSAPI authentication
2008-12-18 18:16:04 +00:00
Yann Leboulanger
549511d2e5
import updated files for 0.12 from 0.12 branch
2008-12-17 09:30:11 +00:00
Yann Leboulanger
9bf0632b43
fix missing variable in zeroconf
2008-12-16 20:41:13 +00:00
Yann Leboulanger
a09cbaddf1
remove useless print
2008-12-16 07:14:45 +00:00
Yann Leboulanger
b317ffcdae
merge BOSH branch to trunk
2008-12-15 21:06:08 +00:00
Yann Leboulanger
24bb239fdb
prevent traceback when server doen't include a query in jabber:iq:roster reply. Fixes #4579
2008-12-15 15:32:59 +00:00
Yann Leboulanger
5c8cd8839a
revert [10848] That's not the way to solve the problem you're trying to fix: first keepalive packet is sent too early.
2008-12-15 14:39:12 +00:00
js
23c99ac920
Use more sane timeout values. 2 min should be ok.
2008-12-15 13:41:08 +00:00
Brendan Taylor
aeff9046ab
a fix for autonegotiation after esessions were disabled
2008-12-13 18:10:37 +00:00
Yann Leboulanger
d0c3b6fd44
prevent sending messages to invalid JIDs. Fixes #4577
2008-12-13 14:43:46 +00:00
Yann Leboulanger
d820977e16
ctrl+Insert copy text too. Fixes #4580
2008-12-13 14:32:37 +00:00
js
23905492f5
Merge r10825 from osx_newbuildsys branch, as this might be useful on
...
X11 and win32 as well.
2008-12-13 10:42:01 +00:00
Yann Leboulanger
8d18e48af4
fix finding room jids in database. Fixes #4576 , #4578
2008-12-12 17:51:22 +00:00
Yann Leboulanger
5f6c7d858f
ignore show that are not in RFC-3921.
2008-12-11 22:04:25 +00:00
Yann Leboulanger
2633b5bf16
don't require to still be in the room to read pm. Fixes #4570
2008-12-11 21:15:52 +00:00
Yann Leboulanger
fe908b118e
don't escape gmail email notifications twice
2008-12-07 22:36:20 +00:00
Yann Leboulanger
944a3124c1
add missing import
2008-12-07 13:23:27 +00:00
js
ad727e47ab
Remove debug output.
2008-12-06 21:26:35 +00:00
Yann Leboulanger
2c9da5bf87
no need to escape title in notifications
2008-12-06 12:43:15 +00:00
Yann Leboulanger
3cc3283749
fix var name
2008-12-06 12:21:12 +00:00
Yann Leboulanger
0acaa647bd
fix caps stuff introduced in [10596]
2008-12-06 11:05:26 +00:00
Yann Leboulanger
28bc50316e
better keypress handling
2008-12-05 14:12:31 +00:00
Yann Leboulanger
d8c9aa0c5a
make widgets insensitive in history window where there is no jid selected. Fixes #4553
2008-12-05 10:38:44 +00:00
Yann Leboulanger
200a29e06c
Under vista, we can listen on both ipv4 and ipv6. Fixes #4452
2008-12-04 20:44:42 +00:00
Yann Leboulanger
7e2f44bee5
a new exception can be raised with [10752], handle it. Fixes #4547
2008-12-04 07:07:12 +00:00
Yann Leboulanger
fb5df8aa64
update features window and README about idle module
2008-12-03 23:00:05 +00:00
Yann Leboulanger
20d53262c6
added missing idle module
2008-12-03 22:57:43 +00:00
Yann Leboulanger
d1a0a436c7
[thorstenp] use ctype to have idle. No need to compile it from C. Fixes #4260
2008-12-03 22:46:55 +00:00
Yann Leboulanger
0830a5fe73
[thorstenp] use sorted() and list comprehension
2008-12-03 22:07:44 +00:00
Yann Leboulanger
89f02b1feb
[thorstenp] replace filter lambda with list comprehension
2008-12-03 22:04:42 +00:00
Yann Leboulanger
88ef121510
[thorstenp] fix rederer typo
2008-12-03 21:58:08 +00:00
Yann Leboulanger
aa507f43e6
[thorstenp] remove uselexx space
2008-12-03 21:57:14 +00:00
Yann Leboulanger
e389e0b16b
[thorstenp] remove whitespace at eol
2008-12-03 21:56:12 +00:00
Yann Leboulanger
0d33683944
[thorstenp] remove some utf8 byteorder mark
2008-12-03 21:39:21 +00:00
Yann Leboulanger
fe33410b43
[thorstenp] fix unequal operator
2008-12-03 21:38:31 +00:00
Yann Leboulanger
c271d1f15a
fix bad indentation
2008-12-03 21:37:54 +00:00
Yann Leboulanger
3392c54dd0
[thorstenp] fix empty exception clauses
2008-12-03 21:37:05 +00:00
Yann Leboulanger
f0dce41ab6
fix string exceptions
2008-12-03 21:35:07 +00:00
Yann Leboulanger
5eb402ba4b
[thorsten] pfix exceptions not inheriting from exception
2008-12-03 21:26:34 +00:00
Yann Leboulanger
088378a9b7
[thorstenp] fix reimported modules
2008-12-03 21:23:04 +00:00
Yann Leboulanger
22f2cb37a7
[thorstenp] don't use deprecated string module
2008-12-03 21:13:40 +00:00
Yann Leboulanger
70abf6a955
[thorstenp] self as first argument of method
2008-12-03 21:12:32 +00:00
Yann Leboulanger
1d94f0fbff
fix some typo. Fixes #4545
2008-12-03 20:45:26 +00:00
Yann Leboulanger
1865294a25
[thorstenp] fix access to members before definition
2008-12-03 19:56:37 +00:00
Yann Leboulanger
60ba33eb31
[thorstenp] fix possible undefined loop variables
2008-12-03 17:38:16 +00:00
Yann Leboulanger
31dc32eeb9
[thorstenp] fix redefined builtins
2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10
[thorstenp] fix unused variables
2008-12-02 15:53:23 +00:00
Yann Leboulanger
b3efd60822
[thorstenp] fix global use
2008-12-02 15:13:08 +00:00
Yann Leboulanger
7701f29beb
[thorstenp] fix undefined variables
2008-12-02 15:10:31 +00:00
Yann Leboulanger
e2118de64c
[thorstenp] remove useless import
2008-12-02 14:44:26 +00:00
Yann Leboulanger
983301d589
[thorstenp] convert some strings to comment
2008-12-02 14:09:18 +00:00
Yann Leboulanger
630c15e2d0
[thorstenp] remove redefined fnuction
2008-12-02 14:07:11 +00:00
Yann Leboulanger
36afb4e558
[thorstenp] comment useless code
2008-12-02 14:05:43 +00:00
Yann Leboulanger
11deb3b933
[thorstenp] remove useless pass
2008-12-02 14:03:32 +00:00
Yann Leboulanger
20ff72c523
[thorstenp] fix statements
2008-12-02 14:02:45 +00:00
Yann Leboulanger
eed5dc4e72
[thorstenp] remove useless semicolons
2008-12-02 13:58:54 +00:00
Yann Leboulanger
e90375bad3
check if remote contact support esession or session. If it supports esession, it supports session but may not announce it. see #4429
2008-12-02 09:49:49 +00:00
Yann Leboulanger
3a548491a9
strftime doesn't support %T. It works under linux (why?) but not under windows. Fixes #4526
2008-12-01 10:56:14 +00:00
Yann Leboulanger
27bc3bba1a
revert r10690 and r10691, it's not translatable
2008-12-01 10:03:04 +00:00
Yann Leboulanger
3ce1baa5d3
[urandom] fix position of notification when attach_to_systray is enabled. Fixes #4537
2008-11-30 21:37:50 +00:00
Yann Leboulanger
e9b1726e99
coding standard
2008-11-30 21:32:59 +00:00
Yann Leboulanger
1d4455bc20
fix missing argument
2008-11-30 18:59:34 +00:00
Yann Leboulanger
941ab84d22
fix typo
2008-11-30 18:58:32 +00:00
Yann Leboulanger
3e88fdf41e
check session support instead of Esession support, and announce we support it. Fixes #4429
2008-11-30 18:53:02 +00:00
js
68b41e43ae
Also apply our notexistant caps trick to XHTML.
2008-11-30 18:16:11 +00:00
Stephan Erb
8d0ff396b1
Do not duplicate a contact in roster on subscription changes. Fixes #4524 .
...
For performance reasons, get_contact_iters() cannot find a contact if get_shown_groups() returns something different to what has been applied to roster model. The contact was therefore duplicated as it was believed not to be there...
2008-11-29 23:43:23 +00:00
Yann Leboulanger
8907f71c86
fix session problem when other part don't support sessions. Fixes #4429
2008-11-29 18:50:03 +00:00
js
5a5937d96d
Really fix #4517 .
2008-11-29 13:37:06 +00:00
Yann Leboulanger
df1e5ee990
better handling of sessions in zeroconf. Fixes #4529
2008-11-28 15:34:56 +00:00
Yann Leboulanger
9d471b700c
prevent traceback when Connection fails. Fixes #4532
2008-11-28 09:59:36 +00:00
Yann Leboulanger
91cc491173
[Simo Sorce] fix GSSAPI to use FQDN. See #2465
2008-11-28 07:27:42 +00:00
Yann Leboulanger
961e4426ff
coding standards
2008-11-28 07:25:31 +00:00
Yann Leboulanger
4bef0e5cdf
no need to create html twice
2008-11-28 07:25:00 +00:00
Yann Leboulanger
fbd1127930
send empty tune when we disconnect an account. Fixes #4512
2008-11-26 22:44:17 +00:00
Stephan Erb
afd8e1819d
Correctly remove Observer and NotInRoster contact in one special case. Does not affect pending bug. See #4524 .
2008-11-26 21:15:15 +00:00
Stephan Erb
e0a365a234
Indicate that some methods are only intended for internal usage.
2008-11-26 21:11:08 +00:00
Yann Leboulanger
4cf9d0d622
if a SASL mechanism fails, try the others before abording authentification
2008-11-26 12:45:05 +00:00
Yann Leboulanger
73e4e000b9
fix typo. Fixes #4525
2008-11-26 08:50:33 +00:00
Yann Leboulanger
f9034952e0
allow sending None tune on startup. Fixes #4512
2008-11-25 15:00:23 +00:00
Stephan Erb
239d041b08
Fix IndentationError.
2008-11-25 14:02:24 +00:00
Yann Leboulanger
d155b90c3c
fix zeroconf to handle parameters of send_message (xhtml, forward_from, delayed). Fixes #4514
2008-11-25 12:51:31 +00:00