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
Yann Leboulanger
04e88bab3c
coding standards
2008-11-24 17:00:20 +00:00
js
2c7c345a7c
[kaylan] Remember size and position of history window. Closes #2824 .
2008-11-23 19:17:58 +00:00
Jean-Marie Traissard
c785aee667
[Astro] typo
2008-11-21 13:11:05 +00:00
Yann Leboulanger
f059f3948f
[Florob] handle xmpp: and mailto: in a nicer way in conversations. Fixes #4245
2008-11-21 11:05:11 +00:00
Yann Leboulanger
c69b4e90b6
detect and handle incorrect stream start. Fixes #4499
2008-11-21 10:02:16 +00:00
Yann Leboulanger
0b93973c46
[shutnik] improved os info under posix. Fixes #4506
2008-11-20 14:37:38 +00:00
Yann Leboulanger
8babbb1de3
revert [10593]. see #4449
2008-11-12 20:04:25 +00:00
Yann Leboulanger
96ec9fb6bf
alpha -> beta
2008-11-11 20:45:44 +00:00
Jean-Marie Traissard
e76817e77e
If an avatar or vcard filename is > 48, use its hash for filename instead. I used the md5
...
method already in the same file. Fixes #4273 .
2008-11-11 15:00:18 +00:00
js
254dcd2f1c
Added new activities.
2008-11-08 22:26:05 +00:00
Stephan Erb
246e549012
Improved "is_groupchat" logic. Fixes #4413 .
2008-11-08 22:00:56 +00:00
Jean-Marie Traissard
fdc6b9d8bc
-Use common format for function documentation.
...
-Specify separation for 'gc_nicknames_colors' option.
2008-11-08 11:14:31 +00:00
Yann Leboulanger
a76f6b0133
show value in dataforms if there is no label
2008-11-07 22:22:58 +00:00
Yann Leboulanger
540fba2aaa
prevent some disk write error and show error dialog.
2008-11-06 08:10:36 +00:00
Yann Leboulanger
b632a8d2e1
[thorstenp] improve advanced configuration editor speed. see #4457
2008-11-05 20:26:58 +00:00
Yann Leboulanger
2521ea6080
[thorstenp] enable buffering of expat. see #4457
2008-11-05 20:03:27 +00:00
Yann Leboulanger
eb93f2a19e
[thorstenp] remove useless import
2008-11-05 20:00:18 +00:00
Yann Leboulanger
aaa82b8202
[thorstenp] import idna only when needed. see #4457
2008-11-05 19:48:58 +00:00
Yann Leboulanger
47f34bcd56
finish removing lastFM support. done in #9644
2008-11-05 19:45:57 +00:00
Yann Leboulanger
a368839123
[thorstenp] import rst generator only when needed. see #4457
2008-11-05 18:25:40 +00:00
Yann Leboulanger
573ddce6c7
use regex to parse config file. See #4457
2008-11-05 18:21:47 +00:00
Yann Leboulanger
2603ee19cd
don't require node in disco answer. It's only a should in XEP-0030. Fixes #3936
2008-11-04 22:03:54 +00:00
Yann Leboulanger
3f88abaf27
fix tb when we receive pep info from a room. Fixes #4449
2008-11-03 16:36:15 +00:00
Yann Leboulanger
67d19a226d
handle mood in messages, send mood in message if pep is not supported on server. Fixes #4449
2008-11-03 14:25:08 +00:00
Yann Leboulanger
bf93cb76f1
detect latex conversion error and print them in textview. Fixes #4439
2008-11-03 10:33:14 +00:00
Yann Leboulanger
223dc0a8f2
don't count echo as a file transfer proxy. Fixes #4411
2008-11-02 15:02:49 +00:00
js
2e24b393c3
D'oh!
2008-10-30 21:49:49 +00:00
js
e3b2ee4ea6
Updated moods to version 1.2 of the XEP.
2008-10-30 19:01:26 +00:00
Brendan Taylor
bd7bac578f
partial fix for renegotiating pm e2e sessions after one party
...
disconnects
2008-10-25 19:48:01 +00:00
js
6e20ce60f6
Add proxy65.talkonaut.com to default list of proxies.
2008-10-25 18:43:45 +00:00
js
9519d1bd6a
A subactivity of other means we have no subactivity.
2008-10-24 17:10:30 +00:00
Yann Leboulanger
ccc0cfd708
fix setting free for chat status through adhoc commands. fixes #1910
2008-10-23 16:52:29 +00:00
Yann Leboulanger
4a06659912
try to connect to next type when connection is refused (server not listening on 5223)
2008-10-22 19:59:14 +00:00
Yann Leboulanger
7ca670a303
assign variable soon enough.
2008-10-22 18:13:43 +00:00
Yann Leboulanger
6c41d9ecd4
show a link to wiki to restore malformed database. see #4428
2008-10-22 17:31:45 +00:00
Yann Leboulanger
e2a511b379
inform user when databas is malformed. Fixes #4428
2008-10-22 15:48:35 +00:00
Yann Leboulanger
6fc5ffe276
fix non blocking connect. don't block when connect fails. Fixes #4366 , #4107
2008-10-21 15:50:20 +00:00
Yann Leboulanger
06ab4a7b6d
revert thorstenp patches for now. They introduce bugs.
2008-10-20 21:38:06 +00:00
Yann Leboulanger
f801a50260
[thorstenp] fix unused variables
2008-10-20 21:17:48 +00:00
Yann Leboulanger
297a81325b
[thorstenp] fix globals
2008-10-20 18:08:25 +00:00
Yann Leboulanger
dc5d7bcf7c
[thorstenp] fix undefined variables
2008-10-20 18:05:33 +00:00
Yann Leboulanger
c2c681e05c
[thorstenp] remove useless import
2008-10-20 17:54:02 +00:00
Yann Leboulanger
86271b6e3c
[thorstenp] string to comment
2008-10-20 15:30:52 +00:00
Yann Leboulanger
010be12d8c
[thorstenp] remove duplicate function
2008-10-20 15:25:53 +00:00
Yann Leboulanger
c638f0c6ad
[thorstenp] fix unreachable code
2008-10-20 15:24:54 +00:00
Yann Leboulanger
c9f3c94bb3
[thorstenp] remove useless pass
2008-10-20 15:21:26 +00:00
Yann Leboulanger
464f62d580
[thorstenp] remove statements without effect
2008-10-20 15:20:51 +00:00
Yann Leboulanger
98255a0671
[thorstenp] remove useless ;
2008-10-20 15:16:01 +00:00
Yann Leboulanger
7055eec326
fix typo
2008-10-16 18:40:00 +00:00
Yann Leboulanger
44277d6c40
prevent traceback. Fixes #4319
2008-10-16 17:19:22 +00:00
Yann Leboulanger
7d3bff5b58
update Contact instance in privateChatControl. see #4292
2008-10-12 11:20:35 +00:00
Yann Leboulanger
158538b81c
[thorstenp] rename some var to not hide builts-in functions (list -> list_, ...)
2008-10-11 10:22:04 +00:00
Yann Leboulanger
fd54e68e6d
[thorstenp] some fixes with type() -> isinstance()
2008-10-11 10:06:49 +00:00
Yann Leboulanger
992e90208e
[thorstenp] use != instead of <>
2008-10-11 10:02:49 +00:00
Yann Leboulanger
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +00:00
Yann Leboulanger
00543277e4
[thorstenp] replace ` with repr
2008-10-11 09:51:27 +00:00
Yann Leboulanger
2ffad66473
[thorstenp] replace reduce instances
2008-10-11 09:49:30 +00:00
Yann Leboulanger
73aee40542
[thorstenp] replace none equality test with identity test
2008-10-11 09:44:12 +00:00
Yann Leboulanger
ed748fdda3
[thorstenp] replace list with tuple in for and if
2008-10-11 09:42:59 +00:00
Yann Leboulanger
567f1e17c1
[thorstenp] di not use emtpy except clauses
2008-10-11 09:37:13 +00:00
Yann Leboulanger
84e717c8df
[thorstenp] use startswith and endswith instead of array indices on strings
2008-10-11 09:32:59 +00:00
Yann Leboulanger
6cc8204319
[thorstenp] replace if statement with dict.get()
2008-10-11 09:31:48 +00:00
Yann Leboulanger
9262133315
reconnect correctly when you were conencted with plain connection. Fixes #4390
2008-10-10 18:03:25 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
Yann Leboulanger
96dd7b8ba7
revert [10494]. see #4388
2008-10-07 15:09:39 +00:00
Yann Leboulanger
46e958902f
start xmpp ping after we received the roster. Fixes #4388
2008-10-07 13:59:42 +00:00
Yann Leboulanger
e0a7fb8966
don't create None sub-option. Fixes #4379
2008-10-05 21:11:40 +00:00
Yann Leboulanger
feab799c3e
auto-create per_option config when trying to write in a non-existing one. Fixes #4370
2008-10-04 10:20:14 +00:00
Yann Leboulanger
349f8bd276
really remove avatar from roster when a contact removes his avatar. Fixes #4060
2008-10-01 16:07:58 +00:00
Yann Leboulanger
a36edae2f6
prevent traceback when removing an inexistant session. Fixes #1288
2008-09-30 10:22:55 +00:00
Yann Leboulanger
7e5b9ab20d
reply to XEP-0184 receipt requests in pm too. see #4339
2008-09-27 18:04:29 +00:00
Yann Leboulanger
32b583986f
[Jelmer Vernooij] Kerberos (GSSAPI) SASL authentication mechanism added
2008-09-27 14:59:12 +00:00
Yann Leboulanger
3d46bf0b6e
[dwd] fix reconnection when we get wrong XML with undeclared namespaces. Fixes #3083
2008-09-27 14:26:50 +00:00
Yann Leboulanger
c797a14b8c
fix listing and leaving groupchats from adhoc commands. Fixes #4344
2008-09-26 17:41:07 +00:00
Yann Leboulanger
22cc993fa7
ability to sort by status in roster and in muc separatly. Fixes #3823
2008-09-26 15:22:16 +00:00
Yann Leboulanger
e236382f3d
handle XEP-0203 (Delayed Delivery) and use it when forwarding unread messages via adhoc commands. Fixes #4347
2008-09-26 11:11:38 +00:00
Yann Leboulanger
10af522af6
disable proxy resolution. See #4299 .
2008-09-23 12:43:59 +00:00
Yann Leboulanger
363277cc69
allow all features if a contact has no resource until we fall back to disco query. Fixes #4327
2008-09-22 09:35:19 +00:00
Yann Leboulanger
c71269c9ec
remove event for full jid and bar jid when we scroll conversation window. Fixes #4243
2008-09-17 19:16:08 +00:00
Yann Leboulanger
6df6e9ddf1
coding standards
2008-09-17 19:04:17 +00:00
Yann Leboulanger
3e2f9fcbec
prevent affiliatio spoofing by checking namespace. Fixes #4323
2008-09-16 08:30:27 +00:00
Yann Leboulanger
8d3c1c59ad
decode string before splitting it.
2008-09-08 18:36:15 +00:00
Yann Leboulanger
3b4875e38e
[avm] always encode data in utf-8 in database. see #4254
2008-09-08 17:37:44 +00:00
Yann Leboulanger
a4bab043b9
[avm] Gzip don't support unicode strings. Fixes #4254
2008-09-08 16:31:02 +00:00
Yann Leboulanger
5f2e4c818c
[Alex V. Myltsev] idle.c: cleanup.
...
Replace METH_VARARGS with METH_NOARGS, discard win32 ifdefs (it's no more compiled on win32 anyway).
2008-09-08 12:00:27 +00:00
js
f260d83c80
Fix #4290
2008-09-05 19:09:01 +00:00
Yann Leboulanger
238ee10039
prevent traceback when connection is lost while waiting for user to accept plain connection or ssl certificate. Fixes #4285
2008-09-05 18:24:51 +00:00
Yann Leboulanger
66f8bab7d6
show number of participants in groupchats. fixes #3418
2008-09-02 07:00:35 +00:00
tomk
a7c36048b9
- renamed src/common/nslookup.py to resolver.py
...
- refactored resolver code and added asynchronous resolver based on patch by Damien Thebault[1]
* Uses libasyncns-python[2]. If it's not available, old nslookup resolver is used)
* works for SRV requests only at the moment
[1] https://www.lagaule.org/pipermail/gajim-devel/2008-July/000460.html
[2] https://code.launchpad.net/libasyncns-python
2008-08-31 23:40:06 +00:00
Yann Leboulanger
c335a96199
correctly parse nslookup result. fixes #4194
2008-08-31 19:40:45 +00:00
Julien Pivotto
59b8506cf2
remove unsed tupples
2008-08-31 14:14:00 +00:00
Yann Leboulanger
1607000c5c
revoke tune when disconnecting only for current account. fixes #4267
2008-08-31 13:40:53 +00:00
Yann Leboulanger
ab694e09ee
revert [10361]: doesn't work in a non-utf-8 environment
2008-08-31 12:24:45 +00:00
Yann Leboulanger
643e47175a
get result of nslookup command using unicode. really fixes #4194
2008-08-31 11:53:54 +00:00
Yann Leboulanger
b2e3c2cc72
fix missing import
2008-08-30 18:48:06 +00:00
Yann Leboulanger
b5b27227ea
fix parsing SRV result with idna names. Fixes #4194
2008-08-30 18:24:07 +00:00
Yann Leboulanger
aa6c163506
check that connection is still active in all handlers. Fixes #4261 , #4258
2008-08-30 17:14:27 +00:00
Brendan Taylor
5d6b60be68
fix GPG mysteriously turning on when you open a chat window
2008-08-30 02:50:10 +00:00
Brendan Taylor
32b56a2328
move most of is_loggable out of the session object. fixes #4103
2008-08-30 01:31:25 +00:00
Yann Leboulanger
bcc39c4e1c
ask to change nickname for a groupchat only once. Fixes #4250
2008-08-29 08:06:28 +00:00
Julien Pivotto
45122a3381
beter way to delete PEP when a user goes oflline
2008-08-28 22:43:28 +00:00
Julien Pivotto
1c2ce732b1
E2E dialogs
...
* String changes
* Improve SAS visibility
* Add ability to re-verify
* espace text and buttons
* Should fix #3468
2008-08-28 13:14:54 +00:00
Yann Leboulanger
a0e9a0d905
handle correctly forwarded messages. fixes #4246
2008-08-28 12:24:31 +00:00
Julien Pivotto
269e5a31c7
hide pep-stuffs if a contact goes offline. fix #4206
2008-08-28 11:43:10 +00:00
Yann Leboulanger
9618bb77a4
fix FT proxy testing. We needed a receiver to connect to proxy to really test it
2008-08-27 13:11:46 +00:00
Yann Leboulanger
95b6855aa3
remove test thing
2008-08-27 10:09:38 +00:00
Yann Leboulanger
1e8e0f6067
no need of GUI classes in connection_handlers.py, socks5.py and secrets.py
2008-08-27 07:53:12 +00:00
Yann Leboulanger
f63dcff5d3
prevent a traceback. Fixes #4236
2008-08-26 10:07:53 +00:00
Julien Pivotto
4df776851f
Valid IANI schemes are highlighted. Fix #4229
2008-08-25 21:47:23 +00:00
Yann Leboulanger
6f3cca4669
[Jeff Bailes] better strings
2008-08-25 10:06:22 +00:00
Stephan Erb
433fcafc52
Correctly sort metacontact data if one of the jids is a transport and not in our roster. Fixes #4208 , #4195 .
2008-08-19 21:41:43 +00:00
tomk
ed7dd84cfe
fixed zeroconf to work with refactored dispatcher
2008-08-18 14:34:09 +00:00
tomk
2712786383
Corrected return values of zeroconf client in order to return true-evaluable values. related to #4051
2008-08-18 14:20:03 +00:00
tomk
acdf4ff143
improved disconnect handling, added comments, fixed minor bugs
2008-08-17 22:57:48 +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
tomk
a76c173816
- improved SSL connections with BOSH - SSL over HTTP proxy is possible now,
...
Gajim will do HTTP CONNECT on proxy to reach the BOSH Conn manager and try
to estabilish TLS (same as what firefox do when approaching HTTPS server via
proxy)
- moved proxy-connecting code to xmpp/proxy_connectors.py
- debugged SOCKS5 proxy code
- tested with Tigase server
2008-08-14 21:48:43 +00:00
Yann Leboulanger
37014a2ace
don't remove label in dataforms if there is no. Fixes #4202
2008-08-14 17:51:14 +00:00
Yann Leboulanger
1b160115ec
fix version name
2008-08-12 10:42:50 +00:00
Yann Leboulanger
a5c2b1d3dd
prepare sources for 0.12-alpha
2008-08-12 09:10:07 +00:00
Yann Leboulanger
c619f59b84
show status of not in roster contacts in roster. Fixes #4144
2008-08-12 06:31:32 +00:00
Yann Leboulanger
7f908667a4
don't take into account keyid in error presence: it's our own signed message
2008-08-11 15:30:24 +00:00
Yann Leboulanger
bda1d9cd56
fix typo. Now caps are correctly reset when a contact goes offline. Fixes #4181
2008-08-11 08:01:03 +00:00
Yann Leboulanger
3c7e7f5052
idle.c is GPLv3 too. Fixed #4187
2008-08-10 20:28:22 +00:00
js
5638c568e6
Fix a typo.
2008-08-09 16:40:48 +00:00
tomk
4504861084
fixed handling of SSL errors
2008-08-09 12:16:42 +00:00
Yann Leboulanger
c7d33bb68e
register Disconnect handler soon enough
2008-08-06 21:37:56 +00:00
Stephan Erb
f5be05a14a
Coding style
2008-08-06 20:19:16 +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
js
59fb1857ef
It does not need to be a message.
2008-08-05 22:03:31 +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
e13c472e2c
implement legacy pep protocol (v1.3). Fixes #4146
2008-08-04 22:06:54 +00:00
Yann Leboulanger
e22c6e9697
fix printing of sent zeroconf messages. fixes #4051
2008-08-04 10:54:56 +00:00
Yann Leboulanger
2b896152a2
make back strings translatable
2008-08-04 08:07:07 +00:00
js
9bb8f8c5e6
Make "This message is encrypted" bodies consistent.
2008-08-03 23:01:43 +00:00
Yann Leboulanger
0317d93561
notify GUI about ERROR presences. Fixes #3667
2008-08-03 19:11:03 +00:00
Brendan Taylor
615ed1be06
attach an unencrypted explanatory body to XEP-0200 encrypted messages
2008-08-03 16:46:27 +00:00
Yann Leboulanger
4eebf0e036
fix some translated strings
2008-08-01 13:03:23 +00:00
Yann Leboulanger
409a1c315a
prevent a traceback. fixes #4169
2008-08-01 10:27:38 +00:00
Yann Leboulanger
fa2d983354
better transltion strings. see #4166
2008-08-01 09:30:36 +00:00
Brendan Taylor
798c412c85
handle XEP-0200 encrypted messages with extra unencrypted bodies
2008-08-01 00:39:40 +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
Yann Leboulanger
b3dd46acae
don't remove field in the loop that iter on them.
2008-07-30 07:46:05 +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
js
993d0d8609
Revert r10064 and to it the right way™.
2008-07-29 19:42:31 +00:00
js
981dca2b6b
Remove get_uf_{mood,activity} as nobody used them.
...
Didn't notice them and implemented something like that myself.
2008-07-29 19:27:16 +00:00