Yann Leboulanger
6a2651ebd5
use NEC to handle agent info / items events
2010-11-29 12:53:50 +01:00
Yann Leboulanger
c25e582887
use NEC to handle register-agent-info events
2010-11-29 11:22:27 +01:00
Yann Leboulanger
346b38944c
use NEC to handle signed-in events
2010-11-29 11:11:24 +01:00
Yann Leboulanger
e9f5065479
use NEC to handle failed-decrypt events
2010-11-29 10:50:30 +01:00
Yann Leboulanger
04b89bc473
use NEC to handle password-required events
2010-11-29 10:00:23 +01:00
Yann Leboulanger
30e054df49
use NEC to handle zeroconf name conflict event
2010-11-28 11:00:53 +01:00
Yann Leboulanger
5cb8def28b
use NEC to handle metacontacts events
2010-11-28 10:37:05 +01:00
Yann Leboulanger
3043986614
remove unused function
2010-11-27 22:04:42 +01:00
Yann Leboulanger
12217815fd
use NEC to handle pep config events
2010-11-27 21:49:58 +01:00
Yann Leboulanger
ef741a0084
use NEC to handle groupchat config changed events
2010-11-27 21:02:41 +01:00
Yann Leboulanger
ddb27d0e7e
use NEC to handle gc subject events
2010-11-27 19:12:43 +01:00
Yann Leboulanger
a87540ddc0
use NEC to handle vcard events
2010-11-26 21:14:59 +01:00
Yann Leboulanger
6bdf47d7e7
use NEC to handle privacy list events
2010-11-24 22:48:39 +01:00
Yann Leboulanger
3f781f5382
use NEC to handle unique room id events
2010-11-24 17:28:18 +01:00
Yann Leboulanger
4fb9b442c8
use NEC to handle fingerprint error events
2010-11-24 17:00:14 +01:00
Yann Leboulanger
b80254e20e
use NEC to handle ssl error events
2010-11-24 16:50:37 +01:00
Yann Leboulanger
b5497da876
use NEC to handle insecure ssl connection events
2010-11-24 16:32:59 +01:00
Yann Leboulanger
a3b51a892b
use NEC to handle insecure password events
2010-11-24 16:18:56 +01:00
Yann Leboulanger
a45cc993e8
use NEC to handle plain connection events
2010-11-24 15:38:16 +01:00
Yann Leboulanger
352bda2ef5
use NEC to handle PEP / ATOM messages
2010-11-24 11:41:20 +01:00
Yann Leboulanger
1c9d56e7de
handle correctly groupchat presences. Fixes #6047
2010-11-23 23:10:43 +01:00
Denis Fomin
9dfbd23424
Fix typo
2010-11-18 18:51:25 +03:00
Yann Leboulanger
10b735636d
use NEC to handle gpg paswword things
2010-11-17 23:52:14 +01:00
Yann Leboulanger
d94a85f5a2
use NEC to handle caps events
2010-11-17 17:27:36 +01:00
Yann Leboulanger
078de46bf0
use NEC to handle ping events
2010-11-15 17:35:19 +01:00
Yann Leboulanger
9d21a70896
use NEC to handle connection lost events
2010-11-15 17:03:38 +01:00
Yann Leboulanger
da97249ef6
use NEC to handle bad GPG passphrase events
2010-11-15 16:50:54 +01:00
Yann Leboulanger
09f16c5872
use NEC to handle agent-removed events
2010-11-09 21:52:22 +01:00
Yann Leboulanger
f5b38c8253
use NEC to handle stanza arrived / sent events
2010-11-09 20:58:11 +01:00
Yann Leboulanger
c4f5a8ceec
use NEC to handle vcard (not) published events
2010-11-08 22:34:04 +01:00
Yann Leboulanger
5a589d747c
use NEC to handle message (not) sent events
2010-11-08 21:23:08 +01:00
Yann Leboulanger
1a0533998f
use NEC to handle connection type events
2010-11-07 22:45:01 +01:00
Yann Leboulanger
60e8c63a29
use NEC to handle account creation events
2010-11-07 18:26:31 +01:00
Yann Leboulanger
375c9cf05e
remove unused event
2010-11-07 17:52:21 +01:00
Yann Leboulanger
69578659a2
use NEC to handle our-status event
2010-11-06 10:04:41 +01:00
Yann Leboulanger
344181fc01
use NEC to handle archiving stanza.
2010-11-05 20:36:45 +01:00
Yann Leboulanger
989e606672
use NEC to handle jingle-error events
2010-11-05 11:08:06 +01:00
Yann Leboulanger
c4b005e0ee
better handling of block list. Fixes #6005
2010-10-31 18:21:33 +01:00
Yann Leboulanger
58feae6cee
use NEC to handle jingle-disconnected events
2010-10-29 16:49:53 +02:00
Yann Leboulanger
8dcbf3e73e
e NEC to handle jingle-connected events
2010-10-27 19:37:14 +02:00
Yann Leboulanger
6edd6cbfd5
change attributes in jingle Event
2010-10-27 10:28:59 +02:00
Yann Leboulanger
ab2ddc4935
use NEC to handle jingle incoming events
2010-10-27 09:36:29 +02:00
Yann Leboulanger
75b6872064
use NEC to handle anonymous jid changment
2010-10-26 21:25:41 +02:00
Yann Leboulanger
435b6832cf
use RosterReceivedEvent object to handle load_roster_from_db.
2010-10-19 18:14:30 +02:00
Yann Leboulanger
e4ff7c6ced
use NEC to handle messages / gc_messages
2010-10-18 22:05:41 +02:00
Yann Leboulanger
7b4e4ee410
fix traceback when goig offline in the first 30 sec after authenticating with GPG. Fixes #5970
2010-10-13 22:33:39 +02:00
Yann Leboulanger
c961463f10
don't close all GPG passphrase request dialogs when an account goes offline. Fixes #5938
2010-10-04 21:46:39 +02:00
Yann Leboulanger
4d14935987
- rename error-received event to iq-error-received
...
- move some code from generate() function to the correct handler for PresenceEvent
2010-10-04 13:51:42 +02:00
Yann Leboulanger
e2c270a67c
handle (un)subscription requests with NEC
2010-10-04 10:56:34 +02:00
Yann Leboulanger
15b2612666
fix typo
2010-10-03 19:43:01 +02:00
Yann Leboulanger
69a1eee8e6
new event for groupchat presences
2010-09-28 15:13:51 +02:00
Yann Leboulanger
8d218ab0d0
[Zhihao Yuan & I] use convert is dvipng doesn't work. Fixes #5935
2010-09-24 23:15:21 +02:00
Yann Leboulanger
f8d691f886
fix var name. Fixes #5934
2010-09-23 22:17:43 +02:00
Yann Leboulanger
2476506338
spread presence handler into classes that really need it
2010-09-23 20:46:47 +02:00
Yann Leboulanger
c36e00ed87
first show to use NEC to handle presence events
2010-09-17 12:41:30 +02:00
Yann Leboulanger
016e2d4876
use NEC to handle resource conflict
2010-09-09 16:40:58 +02:00
Yann Leboulanger
da524c94fd
use NEC to handle error messages
2010-09-08 19:55:19 +02:00
Yann Leboulanger
4500641054
use NEC to handle search form request / result
2010-08-30 21:42:36 +02:00
Yann Leboulanger
cb0f30f4b4
use NEC to handle private storage stanza
2010-08-27 22:45:59 +02:00
Yann Leboulanger
ac0e0448b2
send content-remove when a filetranfer is finished but other are still running
2010-08-26 16:56:46 +02:00
Yann Leboulanger
f03cdbbebf
send a session-terminate at the end of a jingle filetransfer
2010-08-25 13:01:35 +02:00
Yann Leboulanger
f613c602c5
don't try to publish tune for accounts that don't support PEP. Fixes #5868
2010-08-24 11:43:16 +02:00
Yann Leboulanger
d56bfb18e6
use NEC to handle muc admin events
2010-08-24 11:37:37 +02:00
Yann Leboulanger
ff66a095a6
use NEC to handle muc config event
2010-08-24 09:15:42 +02:00
Yann Leboulanger
df7096167f
use NEC to handle roster set events
2010-08-23 14:35:03 +02:00
Yann Leboulanger
a3863703f0
merge from trunk
2010-08-16 17:32:23 +02:00
Yann Leboulanger
9282678d8c
request message archiving only if server supports it.
2010-08-11 20:12:11 +02:00
Yann Leboulanger
ca43e5441c
merge message archiving branch. Fixes #3593
2010-08-11 18:43:41 +02:00
Yann Leboulanger
fb41b65368
no need to go through GUI to handle cert request / reply
2010-08-11 08:44:49 +02:00
Alexander Cherniuk
39f96a92be
Tweaked the RE for detecting URLs again
2010-08-11 01:35:06 +03:00
Yann Leboulanger
831a3c2bab
Partially revert [e9c73ef32827]. see #5675 , Fixes #5840
2010-08-10 22:38:36 +02:00
Zhenchao Li
91a68d30be
add code to send/request certificates
2010-08-10 20:34:46 +08:00
Yann Leboulanger
18f03edd62
use a nec Event to dispatch RIE events
2010-07-30 01:30:59 +02:00
Yann Leboulanger
05a1af2c55
merge plugin system to trunk
2010-07-28 14:11:46 +02:00
Yann Leboulanger
ff1fd521be
improve Gajim startup by disabling roster sorting while adding rows
2010-07-24 00:22:23 +02:00
Yann Leboulanger
33c155d889
use nec / ged to dispatch gmail event
2010-07-21 23:14:50 +02:00
Alexander Cherniuk
314342ada2
Added an ability to execute a command when a new Gmail event arrives. Thanks to umonkey. Fixes #5818
2010-07-20 20:15:44 +03:00
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
Zhenchao Li
e75dc0c408
fix incorrect use of jid where account name should be used as parameter
2010-07-15 14:32:34 +08:00
Zhenchao Li
6f5b6f2612
use the 'in' operator on a dict instead of has_key
2010-07-07 23:14:29 +08:00
Zhenchao Li
8b66c1e69d
send session-terminate on file transfer completion
2010-07-07 22:39:01 +08: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
77a6a02dc3
delete bookmarks from pubsub if server doesn't support publish-options. Fixes #5787
2010-06-21 19:15:46 +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
b7d6441846
move "Do not ask me again" accelerator to D. Fixes #5755
2010-05-21 09:38:09 +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
bcee7c2125
indicator API changes too much, remove it's support. Fixes #5694
2010-05-11 17:20:23 +02:00
Yann Leboulanger
8da03ee1d1
fix zeroconf name conflict answer.
2010-05-02 11:59:13 +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
49b49cf8fc
Use contracted form for RE flags
2010-03-26 21:23:05 +02:00
Alexander Cherniuk
48cd4d796a
Tweak URI detection RE to capture non-ascii symbols. Fixes #5675
2010-03-26 21:17:11 +02:00
Yann Leboulanger
0aca2d6a34
correctly add contacts to roster when we get a roster set <iq>, even in case we have a Contact instance already. Fixes #5595
2010-03-25 07:50:32 +01:00
Thibaut GIRKA
fbf9a769d8
Delete invalid jingle sessions. Kick audio/video availability from jingle states.
...
Fixes #5668 , #5651
2010-03-21 21:45:45 +01:00
Thibaut GIRKA
ab0f7899ad
Refuse multiple sessions and implement alternative-session; make jingle GUI a bit more reliable.
2010-03-15 21:34:28 +01:00
Yann Leboulanger
2be53c4aac
update my copyright to 2010
2010-03-11 16:52:36 +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
16607e0909
don't traceback when using metacontact over several accounts. Fixes #5616
2010-02-26 17:09:29 +01:00
Yann Leboulanger
7387d779c0
don't traceback when using metacontact over several accounts. Fixes #5616
2010-02-22 09:57:59 +01:00
Yann Leboulanger
8abbf990ba
don't show sign in/out notifications if another resource or a metacontact brother is already connected. Fixes #5318
2010-02-17 22:23:13 +01:00
Yann Leboulanger
b21d538b0f
fix insecure_connection text to not talk about password, and add new warning to inform user when he is about to send plain password on plain connection. Fixes #5607
2010-02-17 13:35:18 +01:00
Yann Leboulanger
d8f9289349
fix indentation and some pylint warning in roster_window.py
2010-02-17 11:32:55 +01:00
Yann Leboulanger
408be06002
prevent traceback when destroy handler already clean self.instances[account]['online_dialog'] dict. Fixes #5604
2010-02-16 10:41:16 +01:00
Yann Leboulanger
336102c6f2
build regex pattern correctly. Fixes #5596
2010-02-11 10:24: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
bb30fb7b65
fix line width and some warning from pylint
2010-02-10 15:09:35 +01:00
Yann Leboulanger
abb846f883
Doubble -> Double
2010-02-08 23:23:02 +01:00
Yann Leboulanger
b20199a423
Dubble -> Doubble
2010-02-08 22:46:50 +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
5b527408bb
When there is an error connecting to an account, close only this account's pass dialog. Fixes #5586
2010-02-03 22:13:52 +01:00
Yann Leboulanger
47bfbb3b95
use ged for account creation wizard
2010-01-19 22:51:03 +01:00
Yann Leboulanger
d1d4a4e7c8
use GED for disco.py
2010-01-19 22:23:19 +01:00
Yann Leboulanger
32050296a8
import ged from plugin-system branch
2010-01-19 21:32:45 +01:00
Yann Leboulanger
3a76966c14
merge from default branch
2010-01-19 16:37:14 +01:00
Yann Leboulanger
95137bae06
[Tony] print idle time in tooltip. see #5528
2010-01-06 23:12:56 +01:00
Yann Leboulanger
1f69b98cac
re-enable LATEX usage.
2009-12-29 00:01:10 +01:00
Stephan Erb
b0b555c630
Add missing Vim config line to gui_interface.py
2009-12-28 13:27:05 +01:00
Thibaut GIRKA
d5e3c6a935
Remove duplicated code...
2009-12-19 22:24:15 +01:00
Yann Leboulanger
15408e8e86
remove some useless tab at the end of lines
2009-12-14 21:05:14 +01:00
Stephan Erb
a48087aae7
Don't traceback when receiving entity capabilties. Fixes #5492
...
This is a workaround until the whole update_contact method is gone. It should not be needed.
2009-12-13 00:55:04 +01:00
Stephan Erb
9eb35dcf18
Split send_socks5_info monster method into smaller methods. (Extract Method Refactoring)
...
(I don't think what we have here is good, but it is atleast readable)
2009-12-11 01:00:29 +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
108aaa0027
move enable_location_listener to location_listener.py directly
2009-12-07 23:40:28 +01:00
Yann Leboulanger
2a944e5404
ability to get address / location from geoclue and send it via PEP
2009-12-07 23:16:30 +01:00
Stephan Erb
b73bbb8cae
Merge local changes.
2009-12-01 22:16:30 +01:00
Stephan Erb
ca382031eb
Fix bug that prevented avatars to be shown in groupchats. Bug was due to a wrong re-use of a local variable (local variabes are evil :-).
...
Additionally: Remove some appreviations and unneeded local variables.
2009-12-01 22:15:35 +01:00
Yann Leboulanger
e7dd3e7d13
don't show in roster / notification that a contact unsubscribed us if we already popup up the dialog. Fixes #5470
2009-12-01 16:51:11 +01:00
Yann Leboulanger
002b8a720f
finish using icon theme. Fixes #2378
2009-12-01 15:50:58 +01:00
Yann Leboulanger
3d4688e9fa
request archiving logs only since last time we requested it
2009-11-26 08:27:31 +01:00
Yann Leboulanger
bbd740b62f
merge logs at connection time
2009-11-25 21:15:56 +01:00
Yann Leboulanger
a59011138b
merge diff from default
2009-11-25 21:15:36 +01:00
Alexander Cherniuk
7316d00766
New portion of doc-string refactoring
2009-11-25 19:52:56 +02:00
Yann Leboulanger
3aa07f485e
refactor connection_handlers_zeroconf.py
2009-11-25 16:29:33 +01:00
Yann Leboulanger
5ce4d52dc3
Don't clean dict twice, Fixes #5419
2009-11-24 19:41:29 +01:00
Yann Leboulanger
eb11c24eea
egg.trayicon is dead. Light a candle :'(
...
Fixes #3021 , #5246
2009-11-24 14:33:49 +01:00
Yann Leboulanger
d664daad1a
we can now send pep thing to a zeroconf connection objec, it will just send nothing. so GUI doesn't have to know it's a zeroconf connection or not. fixes #5432
2009-11-19 20:36:40 +01:00
Stephan Erb
d6e6a5d62d
Do not try to send (and fail) sending PEP via Zeroconf. Fixes #5432 .
2009-11-17 23:17:08 +01:00
Stephan Erb
10428555aa
Various pep-related cleanups.
...
Most important change is that pep send/retract functions no reside on the ConnectionPEP object.
2009-11-16 19:31:17 +01:00
Stephan Erb
aa53988fd1
Similar to update_pep, unify towards draw_pep of the RosterWindow.
2009-11-15 23:23:56 +01:00
Stephan Erb
338cb11dcc
Unify update_mood, update_tune, update_activity by using a single update_pep(pep_type) method.
2009-11-15 22:54:20 +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
Stephan Erb
6c0fb26e58
Use central event_handler in Interface() instead of updating the GUI directly from XMPP callbacks.
2009-11-15 11:11:51 +01:00
Mateusz Biliński
b38249c406
Added core events handlers to GED in src/gui_interface.py (previously kept in src/gajim.py).
2009-11-14 23:41:28 +01:00
Yann Leboulanger
e4128f5c29
merge from default
2009-11-13 19:45:11 +01:00
Stephan Erb
36fb5def4b
Shrink public interface of the MetacontactManager.
2009-11-12 22:58:45 +01:00
Stephan Erb
022003239d
Merge changes from default branch into refactoring branch
...
Hg: changed data/pixmaps/mic_active.png
2009-11-11 23:37:46 +01:00
Yann Leboulanger
8f2120371b
update correctly self_contact Contact instance and roster row when we use an anonymous account (our jid changes in this case). Fixes #5370
2009-11-07 12:37:16 +01:00
Stephan Erb
17af7902e4
Make it explicit whether an ordinary Contact, a Self Contact or a Not-In-Roster Contact is created.
2009-11-05 22:16:38 +01:00
Stephan Erb
89b1c6a7df
Move method close to data.
...
gajim.contacts.contact_from_gc_contact(gc_contact) is now gc_contact.as_contact()
2009-11-05 16:25:13 +01:00
Stephan Erb
06129f45ef
Let contact instances know their corresponding account.
...
contact.account and gc_contact.account contains the account name of the owning account. There is still code around in many placed which tries to workaround this missing information. Such code has to be migrated on per-need basis.
2009-11-05 15:57:43 +01:00
Stephan Erb
3157cf0b1b
Allow multiple event handlers for a single Interface event.
...
We can use that until the plugin branch is available.
2009-11-05 08:53:19 +01:00
Stephan Erb
e1ccec089c
Add missing file
2009-11-03 23:37:11 +01:00