Commit graph

579 commits

Author SHA1 Message Date
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