Commit Graph

269 Commits

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