Stephan Erb
76013a044b
Remove a very suspicious line. Maybe I introduce bugs here.
...
I remove this line because it makes no sense to assume that we have joind a groupchat, just because someone request a VCard for a jid which pretends to be from a Groupchat.
2009-11-30 00:34:23 +01:00
Alexander Cherniuk
cea7c66f75
A portion of doc-string refactoring
2009-11-26 12:21:43 +02:00
Yann Leboulanger
a59011138b
merge diff from default
2009-11-25 21:15:36 +01:00
Yann Leboulanger
98e27253b6
prevent showing error message when we receive a PEP error message and really ignore it
2009-11-25 16:50:49 +01:00
Yann Leboulanger
3aa07f485e
refactor connection_handlers_zeroconf.py
2009-11-25 16:29:33 +01:00
Yann Leboulanger
6c4724f53f
fix attribute name. Fixes #5448
2009-11-25 12:31:40 +01:00
Stephan Erb
bcef68c8e2
Merge local changes.
2009-11-24 16:04:58 +01:00
Alexander Cherniuk
94f6d6b79a
Fixed timezone parsing
2009-11-24 14:24:35 +02:00
Alexander Cherniuk
3a190b8328
Fixed a typo
2009-11-24 12:20:40 +02:00
Stephan Erb
fb456b1ee4
Make dependencies of ConnectionPEP explicit.
...
This means ConnectionPEP now knows the objects on which it calls method. Before, it just assumed that: "it will be subclassed and that the subclass defines a few methods".
Big advantage is that false positives in the pylint report are gone
2009-11-22 22:57:52 +01:00
Yann Leboulanger
8720eb221d
don't propose to add contacts we already have in our roster when we get a RIE request.
2009-11-19 22:13:16 +01:00
Yann Leboulanger
623a51d53f
fix bug when merging server logs of MUC conversations
2009-11-15 15:37:41 +01:00
Yann Leboulanger
72420b0e73
write code to synchronise server logs from archiving with local DB
2009-11-15 11:33:05 +01:00
Mateusz Biliński
70731dbab7
Merged default branch into plugin-system branch.
2009-11-14 21:15:27 +01:00
Stephan Erb
30580702d5
Create a ConnectionPEP class and directly register its callback to handle pep events.
2009-11-14 19:56:15 +01:00
Yann Leboulanger
e4128f5c29
merge from default
2009-11-13 19:45:11 +01:00
Stephan Erb
004619f99e
Work around a reported NoneType exception.
2009-11-09 22:03:14 +01:00
Yann Leboulanger
d5351f6328
ignore unknown show types when we receive strange stanza.
2009-10-31 23:22:12 +01:00
Stephan Erb
a9f5bb59d7
Merge changes from default branch into refactoring branch
2009-10-31 17:25:47 +01:00
Thibaut GIRKA
1c33d42158
Merge default to jingle
2009-10-29 10:19:58 +01:00
Stephan Erb
33fe53ff7d
Swtich from old to new caps API.
...
Now we do:
contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Yann Leboulanger
4305882303
[Florob] handel remote-server-not-found MUC error. Fixes #5309
2009-10-23 16:49:33 +02:00
Yann Leboulanger
3330f7bfa5
enable music track listener only after we signed it. Fixes #5351
2009-10-21 19:39:43 +02:00
Yann Leboulanger
f2aee9e7cb
add show_self_contact ACE option to show / hide self_contact row as we want. Fixes #4796
2009-10-16 19:51:29 +02:00
Thibaut GIRKA
ab6510db38
merge default branch to jingle
2009-10-16 17:19:33 +02:00
Yann Leboulanger
d7a780e60a
fix typo
2009-10-13 19:31:07 +02:00
Yann Leboulanger
f18ede1c88
detect incoming MUC error presences from the ID. Fixes #5309
2009-10-13 19:26:56 +02:00
red-agent
6c2b658a9a
Improved the lookup of the minimized control
2009-10-13 17:38:42 +03:00
Yann Leboulanger
997a8f8429
correctly get minimized room
2009-10-13 12:56:14 +02:00
Yann Leboulanger
970aa8c848
fix look in minimized_controls
2009-10-13 07:53:05 +02:00
red-agent
2367dda7c3
Fix for the autorejoin, to handle absent conferences
2009-10-13 00:46:06 +03:00
Yann Leboulanger
ad0bb43793
[Dicson] Fix call to history manager
2009-10-08 17:51:49 +02:00
Yann Leboulanger
0d37f4f64b
better session handling:
...
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
- don't re-use a session that was for another sessin
Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Yann Leboulanger
ea6c062b9a
prevent a traceback when we get a wrong disco#info reply (a feature without a var attribute). Fixes #5232
2009-10-05 13:46:38 +02:00
Yann Leboulanger
7e79f710e8
acknoledge rosterx messages
2009-10-02 16:54:33 +02:00
Yann Leboulanger
887b8d31b2
don't show empty RIE requests. Fixes #5299
2009-10-02 14:58:47 +02:00
Yann Leboulanger
c31d3e526a
stop sending chatstates when remote server doesn't respond anymore. Don't acknoledge error message receipes. Fixes #4064
2009-10-01 09:41:46 +02:00
Yann Leboulanger
a3e80d2c76
[Florob] handle new error code in groupchat. Fixes #5285
2009-09-30 17:21:58 +02:00
Yann Leboulanger
40199e359c
farsighr module is now optional. Fixes #5278
2009-09-20 20:46:03 +02:00
Thibaut GIRKA
6b99db8980
merge default branch to jingle
2009-09-19 16:35:47 +02:00
Yann Leboulanger
709dba715a
global option alwaysauth become a per-account autoauth option. Fixes #5264
2009-09-15 22:26:42 +02:00
Yann Leboulanger
0ea6544c26
show notification for bad GPG pass instead of an error dialog
2009-09-10 18:30:26 +02:00
Yann Leboulanger
44e98585ed
move music track listener things from roster_window.py to gajim.py. see #3643
2009-09-09 13:26:53 +02:00
Yann Leboulanger
1f7b19180d
merge default branch to jingle
2009-09-08 12:01:09 +02:00
Yann Leboulanger
a2ca911d80
when a JID is invalid in member / admin / ... list in MUC configuration, just ignore this JID and not all others. Fixes #5241
2009-08-31 23:04:54 +02:00
Yann Leboulanger
9345ddfad5
connect to server even if it doesn't support disco
2009-08-31 21:57:01 +02:00
Yann Leboulanger
306fe18521
fix typo. fix #5233
2009-08-30 12:03:29 +02:00
Yann Leboulanger
54fa89af23
correctly detect vcard support of server. Fixes #5233
2009-08-28 13:41:36 +02:00
Yann Leboulanger
260f1541d1
request privacy lists after disco result
2009-08-04 17:57:12 +02:00
Yann Leboulanger
ff2a02269d
request privacy rules and metacontacts only once at startup
2009-08-04 00:49:56 +02:00
Yann Leboulanger
1f32083334
fix XML -> PubSub transition for bookmarks when bookmarks node doesn't exist
2009-08-04 00:36:28 +02:00
Yann Leboulanger
f501c2c4fe
prevent traceback when a room is destroyed. Fixes #5194
2009-08-01 18:28:25 +02:00
Yann Leboulanger
2ffd6cbcb8
store bookmarks in both pubsub and xml, and copy those from xml to pubsub on startup
2009-07-31 17:11:55 +02:00
Yann Leboulanger
5b62a6fbbd
add publish-options to bookmark storage if server supports it
2009-07-31 15:50:11 +02:00
Yann Leboulanger
4a0e5bc2b3
[Link Mauve & I] store bookmarks in pubsub if server supports that.
2009-07-31 14:52:01 +02:00
Yann Leboulanger
66254bc47f
discover server feature in first when connecting
2009-07-31 13:47:47 +02:00
Yann Leboulanger
ec71c7d7c2
do not add 127.* IPs when sending file
2009-07-31 10:57:48 +02:00
Yann Leboulanger
8622a3cca7
prevent traceback when we get an empty roster item exchange message
2009-07-22 10:48:28 +02:00
Anaël Verrier
6eba5f9946
* fixed a bug (when we try to remove a jid from roster window)
2009-07-20 20:09:39 +02:00
Yann Leboulanger
938593952d
detect and send all our local IPs from local DNS. Fixes #4249
2009-07-16 15:29:07 +02:00
Yann Leboulanger
50cf012b75
don't remove occupant from room roster when we try to change our nick to the occupant's nick. Fixes #5120
2009-07-16 14:53:14 +02:00
Anaël Verrier
ee59f1754b
* added an entry in the roster menu to display archiving preferences window
...
* now we check service discovery features for message archiving
2009-07-15 20:44:34 +02:00
Anaël Verrier
66e7ea153e
* now we handle result for archiving preferences request and also all changes that come from server
2009-07-15 15:13:12 +02:00
Yann Leboulanger
278a8bc59e
merge elghinn's branch (roster versioning) to trunk. Fixes #4661 , #3190
2009-07-10 15:05:01 +02:00
Yann Leboulanger
016ccb74b1
handle jid errors
2009-07-08 21:41:40 +02:00
Yann Leboulanger
676bda8281
get_full_jid_from_iq is in helpers. Fixes #5146
2009-07-07 19:17:28 +02:00
Yann Leboulanger
c54194d844
parse_jid is in helpers
2009-07-07 16:56:04 +02:00
Yann Leboulanger
e1890c3938
fix some bugs with non-normalized jids
2009-07-07 16:34:46 +02:00
Yann Leboulanger
0de2e8522d
ability to send contacts via DnD to another contact. Fixes #378
2009-07-07 16:28:26 +02:00
Yann Leboulanger
e42bb5823f
don't traceback when we receive pep info from muc
2009-07-07 13:41:05 +02:00
Anaël Verrier
23394732c2
* fixed a bug when we have a groupchat minimized in the roster
2009-07-06 22:34:24 +02:00
Anaël Verrier
6c56dd173b
* now there is no more sparkling when we update the RosterWindow with the roster received from the server (when server does not handle roster versioning or when it resends the whole roster)
2009-06-30 17:06:17 +02:00
Anaël Verrier
4d10bdcf6f
* In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190
2009-06-30 11:46:27 +02:00
Anaël Verrier
5e4fb8fddb
* in order to permit roster loading at gajim startup we need to save all roster pushs (even if it's not for versioning)
2009-06-29 15:49:46 +02:00
Yann Leboulanger
c739465890
ignore <iq> without an ID. They are required by RFC. Fixes #5122
2009-06-29 07:57:10 +02:00
Anaël Verrier
b3fbd59866
* added 'ask' support
...
* fixed a bug (when a contact does not have a name)
2009-06-27 20:54:49 +02:00
Anaël Verrier
d347b79c38
* added a method to load roster from DB
...
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +02:00
Yann Leboulanger
f2e214a033
use helper function
2009-06-23 22:24:39 +02:00
Anaël Verrier
0a3d26e5d4
* added another table to handle roster group
...
* we now handle roster push and roster reception
* changed version number in src/common/defs.py
2009-06-23 19:29:25 +02:00
Mateusz Biliński
e8c3ba51b2
Fixed bug related to account name in NewEventsExample name. Modified way to acquire message type.
2009-06-21 23:12:30 +02:00
Mateusz Biliński
38fa0be12a
[roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378 . Only handling NS_ROSTERX 'set' operations is supported and tested as of now.
2009-06-21 03:43:57 +02:00
Mateusz Biliński
018bda5a5f
Merged default branch with plugin-system branch. Not all elements are fully
...
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +02:00
Anaël Verrier
9133960fbc
* added one table in logs.db to save roster
...
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger
731c8f691f
prevent traceback when receiving a disco info while we are disconnected. Fixes #5042
2009-05-21 21:12:11 +02:00
Yann Leboulanger
ffd82a69a4
prevent traceback when we receive a presence but we are no more connected. Fixes #5028
2009-05-20 10:33:19 +02:00
Yann Leboulanger
1a8def3341
prevent traceback when we get a presence from an invalid JID
2009-04-29 17:34:27 +00:00
Yann Leboulanger
533e36c22c
close filtransfers when we get an offline presence, but only for this resource. Fixes #4980
2009-04-29 07:46:24 +00:00
Yann Leboulanger
6ce94752d4
add a pubsub_supported variable in connection
2009-04-22 14:24:04 +00:00
Yann Leboulanger
8ccba78a15
[tpatnoe] don't add a to attribut to roster pushes if we don't get a from. Fixes #4978
2009-04-22 08:39:10 +00:00
Yann Leboulanger
c7c5d0f66d
don't fail when we get a wrong time format when requesting contact time
2009-03-18 11:04:25 +00:00
Yann Leboulanger
9a6913053d
acknowledge roster pushes. Fixes #4826
2009-02-19 09:52:23 +00:00
Yann Leboulanger
3d23320697
[Petr Menšík] correct 2 typos
2009-02-15 09:28:56 +00:00
Yann Leboulanger
49d32e84f6
ignore wrong answer to XEP-202 (entity time) requests (Adium don't reply correctly). Fixes #4816
2009-02-14 18:56:17 +00:00
Yann Leboulanger
200069062e
fix localetime() call. Fixes #4798
2009-02-11 10:58:57 +00:00
Yann Leboulanger
626b080457
fix sending correct time with DST / non-DST time
2009-02-10 22:25:04 +00:00
Yann Leboulanger
7c96178126
add XEP-202 in vcard window. Fixes #4007
2009-02-10 21:45:44 +00:00
Yann Leboulanger
26d8624377
[Zod] convert GPG decrypted string to unicode. Fixes #4788
2009-02-08 09:56:38 +00:00
Yann Leboulanger
a4f9764f21
stanza sent at startup now start with Gajim_ instead of p. Fixes #4774
2009-02-07 12:47:13 +00:00
Yann Leboulanger
e0123f0c24
encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445
2009-02-06 19:01:36 +00:00
Yann Leboulanger
ffb52eb626
[Dicson] option have moved per account. Fixes #4748
2009-01-29 20:16:34 +00:00
Yann Leboulanger
2804251df6
infor user about success or failure of registration with an agent. Fixes #3474
2009-01-26 10:27:46 +00:00
Yann Leboulanger
15ab37043e
remove duplicated STATUS_LIST variable
2009-01-10 16:45:52 +00:00
Stephan Erb
e00f871b26
Use hashlib module in favor of sha and md5.
2009-01-08 16:51:26 +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
Yann Leboulanger
b317ffcdae
merge BOSH branch to trunk
2008-12-15 21:06: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
5f6c7d858f
ignore show that are not in RFC-3921.
2008-12-11 22:04:25 +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
e389e0b16b
[thorstenp] remove whitespace at eol
2008-12-03 21:56:12 +00:00
Yann Leboulanger
3392c54dd0
[thorstenp] fix empty exception clauses
2008-12-03 21:37:05 +00:00
Yann Leboulanger
1865294a25
[thorstenp] fix access to members before definition
2008-12-03 19:56:37 +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
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
3e88fdf41e
check session support instead of Esession support, and announce we support it. Fixes #4429
2008-11-30 18:53:02 +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
Yann Leboulanger
8babbb1de3
revert [10593]. see #4449
2008-11-12 20:04:25 +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
223dc0a8f2
don't count echo as a file transfer proxy. Fixes #4411
2008-11-02 15:02:49 +00:00
Brendan Taylor
bd7bac578f
partial fix for renegotiating pm e2e sessions after one party
...
disconnects
2008-10-25 19:48:01 +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
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
98255a0671
[thorstenp] remove useless ;
2008-10-20 15:16:01 +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
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +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
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
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
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
js
f260d83c80
Fix #4290
2008-09-05 19:09:01 +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
Yann Leboulanger
a0e9a0d905
handle correctly forwarded messages. fixes #4246
2008-08-28 12:24:31 +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
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
Mateusz Biliński
c0a26be684
Three core (raw) events (iq, message, presence) go also through Network Events Controller (layer between network library and Global Events Dispatcher, newly added) and from there they are dispatched through Global Events Dispatcher.
...
Ability to register new incoming network events (based on exisiting one) added. Modify-only network events are possible (eg. add some text each message, but don't create any new global event). Events creation can be chained.
Examples of new network events classes are in New Events Example plugin.
Events from src/gajim.py now all go through Global Events Dispatcher and only through it (easy to modify, in chain, data passed with them).
2008-08-18 16:35:14 +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
8bc9bc29ae
* Big headers review
...
* Remove some licencing problems
* To do: same for images
* See #4200
2008-08-15 03:20:23 +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
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
Yann Leboulanger
0317d93561
notify GUI about ERROR presences. Fixes #3667
2008-08-03 19:11:03 +00:00
Yann Leboulanger
409a1c315a
prevent a traceback. fixes #4169
2008-08-01 10:27:38 +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
Yann Leboulanger
64b73530c4
prevent traceback, fixed #4121
2008-07-29 07:36:44 +00:00
Yann Leboulanger
cd6742a9e4
prevent TB when connection is lost. fixes #4112
2008-07-28 12:17:33 +00:00
Brendan Taylor
abbdf8d5c9
attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline
2008-07-26 05:28:15 +00:00
js
f704701ba4
Support for displaying XEP-0184 receipts.
2008-07-18 20:24:34 +00:00
Brendan Taylor
c24041a0df
moved receipt handling after XEP 0200 decryption
2008-07-14 00:25:53 +00:00
js
e67048bdfd
If we receive an error PEP packet, don't treat it as incoming PEP event
2008-07-11 12:34:43 +00:00
Yann Leboulanger
9457c28a63
don't try the old (XEP-018) way to go invisible. It's not XMPP complient. That prevent to show the we are invisible but we are not. Fixes #4012
2008-06-25 09:25:43 +00:00
Yann Leboulanger
d2b5b31bde
acknowledge privacy list set iqs as required by XEP-0016
2008-06-25 07:35:35 +00:00
Yann Leboulanger
16fc7508ae
remove unused function
2008-06-25 07:13:42 +00:00
Brendan Taylor
d885e05500
don't send thread ids in message receipts unless there's a thread
2008-06-24 01:17:02 +00:00
Brendan Taylor
8b4627049b
moved session negotiation handling from gajim.py to session.py
2008-06-21 19:12:47 +00:00
js
9c75374da4
Use the namespace variable. Sorry, forgot to change that here.
2008-06-17 18:17:30 +00:00
js
9634f98250
* Implemented XEP-0184 section 5.
...
* Added NS_RECEIPTS to protocol namespace list.
* Show our support of XEP-0184 in caps.
* Added a big, fat warning to get_contact as this does not work as
expected.
* There was some strangeness in our XEP-0022, it added an id tag to
the x tag, which isn't mentioned anywhere in the XEP. And for some
strange reason, that id even was the same all the time.
* Fixed a typo.
2008-06-17 16:03:21 +00:00
Brendan Taylor
399233f293
detach sessions from controls when the highest priority contact changes.
...
this way we don't get multiple tabs when the remote user moves to another resource.
2008-06-10 02:58:17 +00:00
js
6fe9bee70b
* Fixed a BT when receiving receipt request for offline messages.
...
* Fixed a BT when receiving receipt request for users not in roster.
2008-06-09 15:04:13 +00:00
tomk
6a15c9b9c9
initial cleanup of xmpppy perfomed, see #3260
2008-06-09 00:32:02 +00:00
js
593ed0c6d8
* Fix passing of message ID.
...
* Don't asnwer to receipt requests from users not in roster.
2008-06-08 15:51:55 +00:00
js
c2eb4b5a9f
Completely remove OTR.
...
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.
Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr
I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.
Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
js
8fefd0ede4
Comment options.
2008-06-07 19:52:13 +00:00
js
a495d090c3
Initial XEP-0184 support.
...
TODO:
* Implement section 5.
* Think of a way to show in GUI
Possible way: Grey out the sent msg until we receive a <received/>,
but only if we know the other end supports XEP-0184.
* Maybe implement section 6?
2008-06-07 19:47:19 +00:00
Jean-Marie Traissard
e487aa7802
Change the way to remember last message time in groupchat again. Save the time on
...
disconnection or exit. Previous version seemed perfect, but if server don't have the
same exact time than us (always), lots of messages can be logged twice. Here we will
lost log for messages that were sent beetween we lost connection and we see it. But that
seems better for me. For previous version, see [9516].
2008-06-05 11:18:33 +00:00
Yann Leboulanger
d1762dd9a0
improve new gmail e-mail popup window. Fixes #3252
2008-06-03 14:15:57 +00:00
Brendan Taylor
ccca9332c6
fix undefined 'session' variable in _messageCB
2008-06-03 01:13:30 +00:00
Brendan Taylor
dc89b61d37
fix lazy session binding to reuse sessions and pick them up from pending events
2008-06-02 23:26:40 +00:00
Jean-Marie Traissard
d927d260c2
Removing tic tac toe game. Maybe one day a full version in a plugin ? :)
2008-06-01 23:07:34 +00:00
Yann Leboulanger
533e955cf1
make pep work, move config options per account, make publish_tune configurable in account context menu. fixes #3954
2008-05-30 21:43:53 +00:00
js
37b6f7058a
[Kjell Braden] Fix OTR SMP.
2008-05-29 18:42:58 +00:00
js
6c9063b702
[Kjell Braden] Fix HTML on OTR.
...
@bct: When moving the OTR stuff, you would've needed to adjust the
XHTML killing part. This patch fixes it. I didn't even notice since
I have XHTML disabled globally.
2008-05-27 14:50:54 +00:00
Yann Leboulanger
c127493e58
remove pep options from pref window, store them per account, store caps_hash per account. see #3954
2008-05-27 10:24:29 +00:00
Brendan Taylor
df5200b3bb
try not to send session termination messages to non-XEP-0201 clients
2008-05-25 21:28:32 +00:00
Brendan Taylor
f7874d29c7
reuse chat controls after session termination
...
fixes #3950
2008-05-23 23:27:08 +00:00
Brendan Taylor
f68ffc3816
not every OTR message needs a session
2008-05-23 23:26:53 +00:00
Brendan Taylor
4feacc73ab
moved OTR stuff from session.received to connection._messageCB
...
fixed lock icon when session has been terminated
2008-05-20 00:44:30 +00:00
Brendan Taylor
f413a8a7e8
should fix zeroconf-related tb on exit
2008-05-19 18:27:45 +00:00
js
8a6615a5d0
Renable OTR. I found a way no messages will get lost, but it's more
...
or less a workaround. We never let libotr handle unencrypted messages
now and handle notifying the user about the message not being encrypted
ourself.
2008-05-18 19:11:13 +00:00
Brendan Taylor
e5fac7315e
don't create sessions for pubsub and xep-0070 messages
2008-05-18 17:35:00 +00:00
Brendan Taylor
517d962221
fixed link-local messaging (broken by session-centric) and removed a ton of duplicated/unused code
2008-05-17 02:23:46 +00:00
js
96a5b497a8
* Remove old code to update status to current track.
...
* Don't bind the track listener when not enabled anymore.
* Remove the signal / add the signal when changed in preferences.
2008-05-15 19:52:04 +00:00
Brendan Taylor
2552e1024f
fixed dropped messages after initiating a tic-tac-toe game with a contact that doesn't support sessions
2008-05-14 02:57:29 +00:00
Brendan Taylor
d511b5afc4
merged in session-centric branch, with fixes for OTR compatibility
2008-05-13 01:59:10 +00:00
js
573568f9ac
Reverted r9614 and r9615.
...
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
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