Yann Leboulanger
8595638cb4
use nec / ged to handle time, version and last received event
2010-07-20 16:53:07 +02:00
Yann Leboulanger
01d486ec60
use Network Event Dispatcher in connection_handler to handle HttpAuth events.
2010-07-20 10:35:38 +02:00
Yann Leboulanger
796213c9cb
merge with trunk
2010-07-19 19:53:29 +02:00
Yann Leboulanger
7716423b27
support XEP-0231 : BoB (without cache as it's useless for captcha)
2010-07-02 00:25:08 +02:00
Yann Leboulanger
f9e8b46e6c
iability to show captcha when joining a groupchat with captcha. (TODO: download image when it's not in the message itself)
2010-06-27 23:09:07 +02:00
Yann Leboulanger
60d9b234a7
Fix some mino things about archiving preference window. see #5792
2010-06-27 21:50:00 +02:00
Yann Leboulanger
77a6a02dc3
delete bookmarks from pubsub if server doesn't support publish-options. Fixes #5787
2010-06-21 19:15:46 +02:00
Yann Leboulanger
3f4194e1a8
treat incoming messages from a groupchat jid as a groupchat message
2010-06-10 09:24:22 +02:00
Yann Leboulanger
d58841cb2b
[Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772
2010-06-07 19:11:44 +02:00
Yann Leboulanger
2c2e4201d7
merge from trunk
2010-05-25 16:33:40 +02:00
Yann Leboulanger
493dbce89d
don't show more than one error dialog for a given groupchat. Fixes #5753
2010-05-20 18:45:09 +02:00
Yann Leboulanger
ed28b14b82
prevent some traceback when receiving an error when we want to configure pep. Fixes #5737
2010-05-05 19:32:18 +02:00
Alexander Cherniuk
93e895dde1
Micro code improvement
2010-05-03 06:42:37 +03:00
Yann Leboulanger
c6044ca60a
request full roster if we have no contacts in our current database, in case we cleaned database but not roster_version option. Fixes #5729
2010-05-02 19:33:16 +02:00
Alexander Cherniuk
3353e0cb23
<confirm/> must be included if it's a message instead of an IQ. Fixes #5690
2010-04-21 14:59:46 +03:00
Yann Leboulanger
974001196d
[Gabriel] add <confirm> tag when we reply to XEP-0070 request when it's a message. Fixes #5690
2010-04-09 15:11:04 +02:00
Éric Araujo
9b5ee1e13b
convert tabs to spaces in source code thanks to reindent.py
...
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Alexander Cherniuk
36ea39e74a
Fixed the autorejoin bug with overlimited MUC. Fixes #5678
2010-03-28 15:36:51 +03:00
Yann Leboulanger
2be53c4aac
update my copyright to 2010
2010-03-11 16:52:36 +01:00
Yann Leboulanger
28e2874853
ability to send jabber:iq:last query over zeroconf. Fixes #5644
2010-03-10 21:58:14 +01:00
Yann Leboulanger
42f1952e15
don't print a second DB error message if a first one is already shown. Fixes #5637
2010-03-09 21:48:57 +01:00
Yann Leboulanger
72f10672e5
split XEP-0096 (FT negociation) and XEP-0066 (Socks5 bytestream) into 2 clases
2010-02-22 16:29:01 +01:00
Yann Leboulanger
04db669265
don't fail to connect when no <stream:features> is sent by server. Fixes #5610
2010-02-16 09:27:19 +01:00
Yann Leboulanger
23f73004db
[Mattj] Fix connection to facebook server that don't understand ver="" in roster query. Fixes #5600
2010-02-11 18:57:39 +01:00
Éric Araujo
357d7db07d
fixed some whitespace thanks to 2to3 -f ws_comma
2010-02-10 19:24:11 +01:00
Éric Araujo
0408b35cfb
convert tabs to spaces in source code thanks to reindent.py
...
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Yann Leboulanger
fa05d88b2b
merge from default branch
2010-02-08 22:25:41 +01:00
Éric Araujo
fedd7dc8e2
convert tabs to spaces in source code thanks to reindent.py
...
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger
ebf9407c5d
improve subscription request message, ability to save it. Fixes #2176
2010-01-27 17:23:37 +01:00
Yann Leboulanger
7923ff54c1
coding standards
2010-01-26 15:41:13 +01:00
Yann Leboulanger
db575a25f6
send pep info only once we are connected. Fixes #5567
2010-01-20 12:23:46 +01:00
Yann Leboulanger
3a76966c14
merge from default branch
2010-01-19 16:37:14 +01:00
Yann Leboulanger
a1c8ec3ebd
don't reply to presence type=subscribe before we do the roster push when registering to a transport. Fixes #5549
2010-01-13 11:12:14 +01:00
Yann Leboulanger
3238e30359
some coding standards
2010-01-13 10:35:52 +01:00
Yann Leboulanger
c1d0013cb0
ability to discover STUN server with SRV records of jabber server
2010-01-07 18:02:05 +01:00
Yann Leboulanger
95137bae06
[Tony] print idle time in tooltip. see #5528
2010-01-06 23:12:56 +01:00
Yann Leboulanger
1d0c57915a
Really ignore messages from invalid jids. Fixes #5539
2010-01-02 22:45:02 +01:00
Stephan Erb
11c83109f4
Remove some unneeded bits in the xmpp ping code. Add additional logging.
2009-12-20 23:16:58 +01:00
Stephan Erb
1f954582fb
[Florob] Fix logic error resulting in a None type exception.
2009-12-13 22:55:57 +01:00
Stephan Erb
d48202d221
Move ConnectionBytestream to common/protocols.
2009-12-10 21:52:32 +01:00
Stephan Erb
f52532f6f0
Merge local changes.
2009-12-10 20:08:09 +01:00
Stephan Erb
e9caf06992
Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
...
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00
Stephan Erb
7708e3b87e
Refactor internas of ConnectionCaps
...
* Make it testable and write a very basic test for the presenceCallback
* Use Extract Method to make the code more readable and to increase reusability
* Start to decouple ConnectionCaps from the other Connection classes/handlers
2009-12-10 18:31:00 +01:00
Yann Leboulanger
88a149035b
[Jim++] keep in mem las muc message time, and save it in database when we quit. Fixes #5490
2009-12-10 06:59:47 +01:00
Stephan Erb
acf06b4470
Merge local changes.
2009-12-05 11:28:13 +01:00
Stephan Erb
d8f6e39020
Merge head.
2009-12-05 11:27:53 +01:00
Stephan Erb
e72a8f519e
Backed out changeset d4ef03c57366
2009-12-05 11:25:07 +01:00
Stephan Erb
754a683043
Mark internal methods as protected.
2009-12-05 11:22:24 +01:00
Yann Leboulanger
9914792723
re-enable the ability to connect as invisible: check that we don't send presence with show=invisible at the correct place, after we diferenciate invisible conection from not-invisible connection. Fixes #5473
2009-12-03 18:10:23 +01:00
Yann Leboulanger
5a3ef285a5
fix some archiving session negotiation bugs
...
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00
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