Commit graph

121 commits

Author SHA1 Message Date
Brendan Taylor
2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
js
4eeb96368b Store otr_userstates at the right place and create it the right way.
This fixes the crash when creating a new account, which made Gajim
unusable on systems where it never ran before.
2008-05-10 21:29:47 +00:00
js
64ee7c14a7 Fix a backtrace. session isn't always defined here. Fixed. 2008-05-10 14:23:55 +00:00
js
435042968e Added OTR support.
Work done by Kjell Braden <fnord@pentabarf.de>.
Some fixes done by me.
2008-05-09 12:35:25 +00:00
Yann Leboulanger
3193a8e8cf [Florob] Send and handle nicknames reveices through PEP. Fixes #3651 2008-05-05 21:55:59 +00:00
Jean-Marie Traissard
75ffe12157 Change very bad var names 2008-05-05 03:18:09 +00:00
Jean-Marie Traissard
5689daf66b In configure room, works even if we receive an affiliation list with more than one affiliation inside.
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Yann Leboulanger
f4f38e3738 type in identities is not mendatory 2008-04-22 23:52:04 +00:00
Stephan Erb
92b596a698 Use startswith() instead of string slicing to check for prefixes or suffixes.
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Jean-Marie Traissard
68fdb002df Use good message time 2008-04-21 16:35:39 +00:00
Jean-Marie Traissard
94580b3019 Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Jean-Marie Traissard
30f1a15efb Don't log room description at each gc connection 2008-04-21 00:00:52 +00:00
Yann Leboulanger
a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Yann Leboulanger
54608822a3 always say we want to receive pep notifications even if server don't support it. 2008-04-19 22:08:40 +00:00
Yann Leboulanger
0158db6001 show better error message when sending message to a room where we are no more connected. fixes #3870 2008-04-18 18:35:53 +00:00
Yann Leboulanger
ef97e91a1d put namespace name in protocol.py 2008-04-18 18:19:33 +00:00
Yann Leboulanger
041969309d add many supported features to disco#info reply. fixes #3872 2008-04-18 18:10:12 +00:00
Jean-Marie Traissard
968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
b04d6aea63 correctly detect vcard error from groupchat participants (with fake jid) 2008-04-09 21:30:12 +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
13541c0425 ability to configure pubsub nodes. see #3053 2008-02-15 22:55:21 +00:00
Yann Leboulanger
419652d61f correctly detect XEP-0199 answer from server. 2008-02-08 07:58:23 +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
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
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
Jean-Marie Traissard
14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Jean-Marie Traissard
314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +00:00
Jean-Marie Traissard
fb273aeadf Don't process roster during gpg_passphrase dialog is showed. Fixes #3634,
hopefully... :p Please test
2007-12-27 17:06:30 +00:00
Yann Leboulanger
4f4e9a3723 don't crash when dbus is not supported 2007-12-15 12:15:10 +00:00
Yann Leboulanger
554194d954 fix traceback when we get an error from pep service. see #3053 2007-12-13 20:44:30 +00:00
Yann Leboulanger
48786d39ff correctly decode timezone name. fixes #3569 2007-12-13 08:37:20 +00:00
Yann Leboulanger
a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Piotr Gaczkowski
55a7061ea3 Better Tune support 2007-08-10 20:18:32 +00:00
Yann Leboulanger
ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Yann Leboulanger
07b324ced4 ability to see pep nodes and their access model. TODO: ability to change it 2007-06-03 10:30:34 +00:00
Piotr Gaczkowski
e3ef0821b3 Merge with trunk 2007-06-03 10:04:20 +00:00
Yann Leboulanger
c02eb73bd0 add pep_supported var to pep branch too 2007-03-30 19:16:44 +00:00
Piotr Gaczkowski
06f43c1e2a Mood and Activity shown in tooltips. Caps set properly 2007-03-29 19:40:50 +00:00
Piotr Gaczkowski
149b0fcdef Buggy. Don\'t touch 2007-03-29 19:04:14 +00:00
Piotr Gaczkowski
512db7618b Lame Mood and Activity support. Announcing caps. 2007-03-28 21:18:16 +00:00
Piotr Gaczkowski
5f9eab3c62 First buggy commit 2007-03-25 22:16:48 +00:00
Yann Leboulanger
5920d03aee ability to destroy a room when we are owner, give a reason and alternative room
jid. fixes #3031
2007-03-11 20:14:53 +00:00
Yann Leboulanger
0bacc77364 [misc] fix entity caps behaviour. fixes #3001 2007-03-08 08:57:20 +00:00
Yann Leboulanger
5b63c41c41 use new dataform widget in register agent window. Remove no more used old DataFormWindow. 2007-02-15 09:18:24 +00:00
Yann Leboulanger
3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Jean-Marie Traissard
68619a5597 No space in indentation, /src/common/ part 2007-02-04 18:57:25 +00:00
Jean-Marie Traissard
e4fca50eb7 If we got sha from disk and don't ask for new avatar, store sha in mem 2007-02-04 00:45:14 +00:00
Jean-Marie Traissard
3f16220afb Group chat avatars fixs :
- Stop saving avatars of participants without their resource.
- Complement of [7927], don't save sha before avatar. Really fix #2956
- Don't save sha if avatar not readable.
2007-02-03 23:56:40 +00:00