Jean-Marie Traissard
f9ca40ff1b
- Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
...
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard
d32e1ae0ed
Fix another place where database could be malformed, using Asterix work in [9390]. Fixes #3342 .
2008-03-17 19:30:38 +00:00
Yann Leboulanger
0d427eff3b
Warn user when database is corrupted and unreadable. Fixes #3761
2008-03-17 07:22:43 +00:00
Yann Leboulanger
323c50ec44
coding standards
2008-03-13 09:07:58 +00:00
Yann Leboulanger
cc1c4457c3
don't lower jids in DB. They are already stringprep'ed. Fixes #3766
2008-03-13 09:04:43 +00:00
Yann Leboulanger
1fd13ae4fa
fix call to Popen()
2008-03-10 22:11:43 +00:00
Yann Leboulanger
7f639f145d
Use subprocess instead of Popen2. fixes #3369
2008-03-10 13:27:31 +00:00
Yann Leboulanger
95bf9c4f74
send xml:lang in groupchat presences and configuration request. fixes #3743
2008-03-03 23:00:01 +00:00
Yann Leboulanger
cdb31a2b55
remove use_pep option, always PEP it to send played song. fixes #3053
2008-03-03 22:42:04 +00:00
Yann Leboulanger
1b90552446
ability to remove a PEP node
2008-03-02 23:56:39 +00:00
Yann Leboulanger
c8b25f37a5
[shtrom] $S and $T in autoaway status message. fixes $3741
2008-02-25 14:09:47 +00:00
Yann Leboulanger
19e594f919
[Merwok] use os.pathsep to know the PATH environment separator
2008-02-17 16:01:44 +00:00
Yann Leboulanger
13541c0425
ability to configure pubsub nodes. see #3053
2008-02-15 22:55:21 +00:00
Yann Leboulanger
494ae444b6
ability to ignore SSL errors until certificate changes. Fixes #3710
2008-02-15 10:11:17 +00:00
Yann Leboulanger
7c49600135
use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734 , #3736
2008-02-14 19:18:07 +00:00
Jean-Marie Traissard
894e752292
Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
...
Reverting [9324]. Reopen #3734 .
2008-02-13 18:03:29 +00:00
Yann Leboulanger
ad3935d9e9
[Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734
2008-02-13 07:14:06 +00:00
Yann Leboulanger
597096ce81
don't show us online automatically when we are in error state and we try to go online
2008-02-08 22:04:42 +00:00
Yann Leboulanger
436c75a244
show in GUI that we are offline when we don't get XMPP ping in time
2008-02-08 21:48:20 +00:00
Yann Leboulanger
419652d61f
correctly detect XEP-0199 answer from server.
2008-02-08 07:58:23 +00:00
Yann Leboulanger
0727ebd940
wrong syntax, missing )
2008-02-08 07:53:09 +00:00
Yann Leboulanger
a9e0ce5a0e
add advanced option to configure the time we wait XMPP Ping answer
2008-02-08 07:47:35 +00:00
Yann Leboulanger
85cc4889ec
use XMPP ping (XEP-0199) to detect connection lost at applicatin level. fixes #2767
2008-02-07 23:53:02 +00:00
Yann Leboulanger
e8b7778521
detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711
2008-02-05 14:50:21 +00:00
Yann Leboulanger
594313ed94
fix creation of new accounts
2008-02-04 22:17:35 +00:00
Yann Leboulanger
853d06bcaa
fix args retured by on_connect_failure
2008-02-04 22:15:00 +00:00
Yann Leboulanger
848c492926
add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923
2008-02-04 21:38:36 +00:00
Yann Leboulanger
e93d287c5b
[TuX] better uname call
2008-01-30 21:31:19 +00:00
Yann Leboulanger
58210daf44
arch linux file /etc/arch-release doesn't contain version number
2008-01-30 21:29:55 +00:00
Yann Leboulanger
17e7c02374
remove useless spaces and tabs
2008-01-30 11:01:08 +00:00
Yann Leboulanger
4fcddb6738
[nijel] unescape non-ascii chars in the output of GnuPG. fixes #3709
2008-01-30 07:56:02 +00:00
Yann Leboulanger
7d5602c4b1
add a new event to allow not playing sound when chat window is focused. fixes #2907
2008-01-27 20:15:17 +00:00
Yann Leboulanger
3c2a220c65
handle all PyopenSSL errors. fixes #3686
2008-01-23 19:04:35 +00:00
Stephan Erb
4bb29675a8
padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts.
2008-01-23 16:10:28 +00:00
Jean-Marie Traissard
39fe7fc4c0
Remove saveposition. Now we always save and restore positions and sizes. See #3638 . steve-e, this bug
...
is still opened for what you told ;)
2008-01-22 21:08:24 +00:00
Stephan Erb
55eed6bda6
Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694
2008-01-20 23:24:03 +00:00
Stephan Erb
9e74881ed6
Merge xmpp.py 4.1 simplexml.py
...
See #3694
* WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).
* Added CDATA extracting method to xml node.
* added xmlns safety check
* Fixed node attribute deletion with "del node[attr]" syntax.
* Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)
* Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
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
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
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
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
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
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
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
Yann Leboulanger
f95df09441
how SSL error message in bold. fixes #720
2007-12-27 23:33:05 +00:00