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
Brendan Taylor
d15b9dea6e
reuse existing chat sessions and controls
2008-05-03 16:52:27 +00:00
Brendan Taylor
99f2997d27
pm fixes
2008-05-03 00:10:17 +00:00
Brendan Taylor
20beea4b49
fixed groupchat
2008-05-02 02:32:28 +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
Brendan Taylor
76808901eb
check tic-tac-toe win conditions, slimmed down _messageCB some more
2008-04-15 05:32:45 +00:00
Brendan Taylor
b170e77cdb
functioning tic-tac-toe :D
2008-04-11 03:52:45 +00:00
Yann Leboulanger
b04d6aea63
correctly detect vcard error from groupchat participants (with fake jid)
2008-04-09 21:30:12 +00:00
Brendan Taylor
d034078c03
rearranged _messageCB and split it into multiple methods
2008-04-06 22:21:46 +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
Brendan Taylor
c8cae71099
merged trunk
2008-02-14 02:20:07 +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
Brendan Taylor
381ba838b9
post-refactor traceback fixing
2008-02-06 05:24:07 +00:00
Brendan Taylor
0b574d2360
move message handling into ChatControlSession
2008-02-06 01:40:51 +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
Brendan Taylor
0b48b05218
merged trunk into session_centric branch
2008-02-05 03:09:31 +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
Yann Leboulanger
dd9fd681b5
[Elmar Hoffmann] Advanced option to disable presence signing. fixes #3601
2007-12-04 09:57:40 +00:00
Yann Leboulanger
55385c5356
\x00 chars are not allowed in C (end of string) so in GTK. But we can get from gpg encrypted messages.
2007-12-03 21:29:12 +00:00
Yann Leboulanger
c94d22dcb1
correctly answer on disco#items on our ad hoc commands
2007-12-01 11:46:46 +00:00
Yann Leboulanger
243ece28ba
fix possible traceback when we get a signed presence
2007-11-24 20:08:24 +00:00
Yann Leboulanger
5fb061478f
signe -> sign
2007-11-22 14:05:05 +00:00
Yann Leboulanger
8722df168c
typo again
2007-11-22 14:00:01 +00:00
Yann Leboulanger
b833bd3cb7
typo
2007-11-22 13:55:50 +00:00
Yann Leboulanger
08e577c637
fix GPG behaviour
2007-11-22 13:53:12 +00:00
Yann Leboulanger
d19c28930a
fix missing )
2007-11-22 11:03:45 +00:00
Yann Leboulanger
0ceb41f650
request GPG password only when connected to server, before sending presence. fixes #3483 , #3375 , #3115
2007-11-22 10:41:57 +00:00
Yann Leboulanger
1c7c459c5f
correctly decode string returned by strftime when we get a jabber:iq:time request. fixes #3569
2007-11-21 09:49:18 +00:00
Yann Leboulanger
483604cd0b
remove useless print
2007-11-16 18:25:45 +00:00
Yann Leboulanger
a5e8adf232
detect when we get our own presences
2007-11-16 10:51:52 +00:00
Yann Leboulanger
605caae2b8
My name has changed
2007-10-22 11:33:50 +00:00
Yann Leboulanger
22c1aeda29
next release will be GPL v3. fixes #3290
2007-10-22 11:13:13 +00:00
Yann Leboulanger
77eab243e6
when we get a 40* error from server about private storage, it doesn't mean server doesn't support it.
2007-10-21 16:59:47 +00:00
Yann Leboulanger
3db9f2ddd9
[Jonathan Schleifer] fix filetransfer. fixes #3498
2007-10-14 16:15:57 +00:00
Yann Leboulanger
314d3e8a81
[kingshivan] really cancel canceled file transfers. fixes #3366
2007-10-11 16:48:28 +00:00
Yann Leboulanger
34f04c69b7
stoped -> stopped
2007-10-10 16:19:22 +00:00
Yann Leboulanger
af681cc5ba
ignore resource when we get a subscription request
2007-10-09 19:52:09 +00:00
Brendan Taylor
bd8ececb46
encrypted secret storage and an improved SAS verification dialog
2007-09-29 20:51:01 +00:00
Yann Leboulanger
5c80d100b7
handle - in version name. It's not taken into account for config file updates and caps. fixes #3011 . svn version is not 0.11.2.0-svn
2007-09-27 21:34:00 +00:00
Yann Leboulanger
530cc9e62f
[asac] support jabber ❌ data in message elements. fixes #2225
2007-09-27 20:39:42 +00:00
Yann Leboulanger
96e6457c30
[torypatnoe] use our helper function to parse time. fixes #3462
2007-09-25 11:36:13 +00:00
Yann Leboulanger
6667eb5e29
send our local ip only once
2007-09-16 17:28:51 +00:00
Jean-Marie Traissard
76b6680650
Do NOT log GC that we said we don't want to log
2007-09-15 13:05:23 +00:00
Yann Leboulanger
4f09fea1b5
[js] Don't lookup ft_override_host_to_send. fixes #3246
2007-09-13 22:12:49 +00:00
Yann Leboulanger
8ec061f5f6
prevent the user before sending a file to a groupchat contact that doesn't know his real jid.
2007-09-12 23:12:29 +00:00
Brendan Taylor
d536fc9648
oops, my last checkin was incomplete
2007-09-10 21:59:27 +00:00
Brendan Taylor
abec26cdfc
minor adjustments to how sessions are handled (partially fixes #3407 )
2007-09-10 21:58:15 +00:00
Nikos Kouremenos
20b7d165c5
yeah nothing as usual :/
2007-09-08 23:52:52 +00:00
Brendan Taylor
d5900cd384
fix determining whether a message was encrypted
2007-08-29 06:08:06 +00:00
Yann Leboulanger
62edcc71de
make python-crypto an optional dependency
2007-08-27 13:36:24 +00:00
Yann Leboulanger
09388ddf1a
fix missing import
2007-08-26 07:11:00 +00:00
Yann Leboulanger
c9a407ca52
[Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544
2007-08-25 22:42:35 +00:00
Yann Leboulanger
b989617158
convert order to int
2007-08-24 13:28:39 +00:00
Yann Leboulanger
78f2c8c021
[roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408 . TODO: DND
2007-08-21 23:13:03 +00:00
Brendan Taylor
eb93f9a172
advertise xep-0116 support via disco
2007-08-20 19:02:58 +00:00
Brendan Taylor
88e49ffa46
don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms
2007-08-20 17:33:12 +00:00
Brendan Taylor
0230c91e4c
esession bugfixes
2007-08-20 08:16:48 +00:00
Yann Leboulanger
176593db97
don't allow to bookmark a room on server that don't support private storage.
2007-08-19 15:32:41 +00:00
Brendan Taylor
9985b784d5
bugfixes, send not-acceptable for fields with only unsupported options
2007-08-18 08:59:36 +00:00
Brendan Taylor
e1c4d80e65
notify on begin/end encryption
2007-08-17 17:26:05 +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
3b52e0d73b
fix TB: get room_jid var before using it
2007-08-07 12:14:54 +00:00
Yann Leboulanger
987f6fe01f
show room jid in error messages when unable to join it.
2007-08-06 09:59:14 +00:00
Yann Leboulanger
85158665d4
fix traceback when receiving a file
2007-07-25 23:02:55 +00:00
Yann Leboulanger
c131a04df8
request last_status_time and os_info to real jid if we know it. fixes #3304
2007-07-22 18:25:43 +00:00
Julien Pivotto
0314f23aa4
Add notification of Configuration Changes in MUC. See #3270 .
...
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Julien Pivotto
015ee132ae
XEP-0045: Multi-User Chat
...
* Handle Multiple status code in MUC.
* Warn the user if room logging is enabled (
http://www.xmpp.org/extensions/xep-0045.html#enter-logging ). Fix #3270 .
2007-07-19 09:27:33 +00:00
Brendan Taylor
fdef1c3d72
shared retained secrets
2007-07-17 08:08:27 +00:00
Yann Leboulanger
3f5327dc6f
[mrk] handle Google Apps For Your Domain. fixes #3163
2007-07-11 16:32:18 +00:00
Yann Leboulanger
952e6d96e3
catch disk full errors. fixes #2937
2007-07-09 16:01:19 +00:00
Yann Leboulanger
dc2dd87a31
prevent message spoofing. Thanks Misc. Fixes #3281
2007-07-04 13:29:06 +00:00
Brendan Taylor
2bed6a522a
fixed a traceback
2007-07-03 18:00:09 +00:00
Tomasz Melcer
1c0aa7ad10
Caps: caps are queried, results are stored in cache.
2007-06-30 17:31:27 +00:00
Travis Shirk
270c956db3
Handle malformed timestamps (which would cause an unhandled exception and hork the connection)
...
and XEP-82 (dashes in timestamps).
2007-06-29 21:21:08 +00:00