Commit Graph

8610 Commits

Author SHA1 Message Date
Yann Leboulanger ddb493c87d always use statusicon in systray, not event icon, we already blink. 2009-11-25 08:27:06 +01:00
Alexander Cherniuk c5843e8878 Fixes #5447 2009-11-25 09:10:30 +02:00
Yann Leboulanger bbf12be6f2 set AccountCreationWizardWindow transient for RosterWindow. Fixes #5444 2009-11-24 20:07:05 +01:00
Yann Leboulanger 5ce4d52dc3 Don't clean dict twice, Fixes #5419 2009-11-24 19:41:29 +01:00
Stephan Erb bcef68c8e2 Merge local changes. 2009-11-24 16:04:58 +01:00
Yann Leboulanger 39dc648ec8 don't use removed variables 2009-11-24 15:42:31 +01:00
Yann Leboulanger 478454985b fix strimg comparison according to locales. Fixes #4201 2009-11-24 15:41:16 +01:00
Yann Leboulanger e3dbbed2dd auto-increment order value in privacy list entries. Fixes #5441 2009-11-24 15:06:04 +01:00
Yann Leboulanger eb11c24eea egg.trayicon is dead. Light a candle :'(
Fixes #3021, #5246
2009-11-24 14:33:49 +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
Alexander Cherniuk 8be7f9d2e1 Setting my identity straight 2009-11-23 16:08:09 +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
Stephan Erb 96b9326b0f Move function closer to where it is used.
This makes it easier to reason about its usage.
2009-11-22 22:14:05 +01:00
Stephan Erb 07c008cbaa Remove TODO which was more or less a "might be useful one day" 2009-11-22 22:10:55 +01:00
Stephan Erb a53e906a92 Ignore error <message /> stanzas with event tag.
This prevents dialogs poping up with showing "Service unavailable".
2009-11-22 22:07:48 +01:00
red-agent 22ab1c9553 Fixed refactoring artifact 2009-11-22 20:05:30 +02:00
red-agent 102126b330 Fixed broken resource setting 2009-11-22 13:33:19 +02:00
Yann Leboulanger 8bd359dc30 fix resizing of the MUC occupant treeview when we resize chat window. Fixes #5433 2009-11-20 22:09:05 +01:00
Yann Leboulanger 094941f89e don't try to send thing after we are disconnected. Fixes #5437 2009-11-19 22:42:35 +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 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
red-agent 909ef8da53 Added /grep command. Fixes #5438 2009-11-19 07:39:04 +02:00
Yann Leboulanger 750fbc844d [Urcher] ability to copy emoticons when they are selected. Fixes #2570 2009-11-18 21:32:10 +01:00
Yann Leboulanger c9c5f72ff9 fix traceback on startup. Fixes #5435 2009-11-18 21:07:11 +01:00
Yann Leboulanger 4671f62d2f fix ConnectionZeroconf initialization 2009-11-18 11:16:15 +01:00
Yann Leboulanger 86b39a72c6 fix http message parsing, it may contain \n\n! 2009-11-18 11:12:06 +01:00
Yann Leboulanger 88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Yann Leboulanger 960e402cf0 typo in a comment 2009-11-18 11:04:05 +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
Yann Leboulanger ff551cd75d make some strings translatable in RIE dialog 2009-11-16 20:56:51 +01:00
Stephan Erb 8b3a82ff12 Merge changes from default branch into refactoring branch 2009-11-16 19:53:43 +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
Yann Leboulanger 1c28dbfae9 properly decode string in history manager. Fixes #5430 2009-11-16 16:42:40 +01:00
Stephan Erb a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +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 28161dc33c Apply coding standards. 2009-11-15 22:59:43 +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
Stephan Erb 4c03c1ab85 Remove duplicated Icon determination logic used when drawing accounts. 2009-11-15 22:41:17 +01:00
Thibaut GIRKA b1173a2e87 Fix a regression introduced by my last patch 2009-11-15 21:21:10 +01:00
Thibaut GIRKA b2c5810869 Refactorize a bit jingle.py and split it into different files.
There is still room for improvement, but it should be better.
2009-11-15 20:47:06 +01:00
Stephan Erb 3b15d70782 Unify PEP cell_data_functions. 2009-11-15 17:11:06 +01:00
Stephan Erb b7c7beafd9 Unify the PEP drawing methods in the RosterWindow. 2009-11-15 17:00:39 +01:00
Stephan Erb 30191888ba Create asPixbufIcon and asMarkupText functions on the UserActivity class. 2009-11-15 16:52:19 +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
Stephan Erb 5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Stephan Erb 234a6520dd Removed unused code. 2009-11-15 00:15:31 +01:00
Stephan Erb e41e484855 Proof of concept: Move markup / pixbuf determination logic from the UI to the different PEP classes.
Currently this is only done for UserMood. We can decide later on (if needed), to move the asPixbufIcon and asMarkupText methods to a more appropriate place.

Goal is to remove as much redundant code as possible.
2009-11-15 00:12:15 +01:00
Stephan Erb 088916f4e7 Strip PEP info at the network level.
(Currently it is done at the UI level in many, many different places)
2009-11-14 23:07:22 +01:00
Stephan Erb 3d5e8cc427 Move common pep constructor logic to base class. 2009-11-14 22:47:21 +01:00
Stephan Erb 99e718583a Initial simplification of PEP data extraction by moving the extraction methods to the newly created PEP classess.
If-else-retract complexity is substituted by dictionaries.
2009-11-14 22:31:27 +01:00
Stephan Erb 7c6dc424af Make user_tune a instance method, not a function. 2009-11-14 20:54:42 +01:00
Stephan Erb 85b7b89b49 Create a class for each PEP XEP that we support. Dispatch an event to the Interface() handlers when we have have received a PEP event. 2009-11-14 20:48:33 +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
Stephan Erb ac5d0f24da Fix error in the documentation of our xmpp dispatcher fork.
Raise NodeProcessed if the stanza should NOT be handled by other user handlers.
2009-11-14 19:54:33 +01:00
Thibaut GIRKA e5062f77ea [Jingle] User can send DTMF tones using the /dtmf command 2009-11-13 22:58:02 +01:00
Yann Leboulanger 44ab50d080 blacklist jingle in caps. TYhis mean that if clientr don't support caps, we assume it doesn't support jingle 2009-11-13 20:01:44 +01:00
Yann Leboulanger 1ee2e72a02 fix renaming an account 2009-11-13 19:22:36 +01:00
Stephan Erb 3696e5296d Merge local changes. 2009-11-13 08:58:00 +01:00
Stephan Erb 36fb5def4b Shrink public interface of the MetacontactManager. 2009-11-12 22:58:45 +01:00
Stephan Erb ee5eb8b546 Try to handle incomplete HTTP. See #5401. Please test.
Approach: Keep filling the receive buffer until we have found enough data to extract the first HTTP header and body
2009-11-12 21:23:10 +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
Stephan Erb af3af5bec8 Remove caps which have not been seen for three months from the db.
Thanks Asterix for the initial version of this patch!
2009-11-11 23:14:51 +01:00
Stephan Erb 8203211e74 Inject account object instead of account string into contact instances.
Each contact has now access to the account object instead of the account string.
2009-11-11 21:38:39 +01:00
Stephan Erb ae9376ff63 Split the 'account sensitive' parts of the Contacts class and move them to an intermediate Contacts_New class.
The Contact class remains the public interface for contact handling. This is only a single step of a longer refactoring to empower the Account class.
2009-11-10 22:56:10 +01:00
red-agent f457497bd1 Fixed the /audio and /video commands 2009-11-10 23:33:39 +02:00
red-agent 8a464786f4 Added /audio /video commands 2009-11-10 23:06:59 +02:00
Yann Leboulanger e617b134b2 Alt-a -> Alt-d to open advanced action menu in (group)chat control. Fixes #5387 2009-11-10 21:50:11 +01:00
Stephan Erb b4285302db Make the GC_Contacts class 'account insensitive'. Instead, create an Account class which holds a GC_Contacts object.
The API has been preserved. For now the old Contacts() API has not been changed.
2009-11-10 21:08:25 +01:00
Stephan Erb 3ddc5ce78e Use implicit delegation with __getattr__ instead of explicit delegation via method calls 2009-11-10 19:26:17 +01:00
Stephan Erb 2c296f3fe0 Create a GC_Contacts() class and move groupchat related behavior to it.
This is similar to what has been done with the MetacontactManager
2009-11-10 19:05:47 +01:00
Stephan Erb ba9ef8301b Remove superfluous clear_contacts method 2009-11-09 23:03:16 +01:00
Stephan Erb 004619f99e Work around a reported NoneType exception. 2009-11-09 22:03:14 +01:00
Stephan Erb d5ac527f84 Filter duplicate groups centrally. 2009-11-09 21:51:43 +01:00
Stephan Erb cec93b6135 Push method to check if a specific ClientCaps supports a feature down to the caps module.
Public interfaces stay the same.
2009-11-09 21:26:56 +01:00
Yann Leboulanger d70b74e6b6 [Gotham48] add nice icons to toggle audio / video 2009-11-08 10:08:15 +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
Yann Leboulanger e7a6dffe7b no need of the jid parameter when we look for self contact iter 2009-11-07 09:34:23 +01:00
Yann Leboulanger 4bf3be4665 don't remove a _control when we try to rename it to the same name. Fixes #5346 2009-11-06 20:51:16 +01:00
Yann Leboulanger 11f01f1c1c fix traceback when disconnecting from BOSH. 2009-11-06 17:58:39 +01:00
Yann Leboulanger 697d2a7324 fix BOSH connection with ejabberd. Fixes #5401 2009-11-06 17:58:14 +01:00
Yann Leboulanger 2061dd2118 fix receiving long messages in several parts with BOSH. see #5401 2009-11-12 22:13:11 +01:00
Yann Leboulanger ae9f7ca410 prevent a traceback when we disconnect a zeroconf socket wil a message attribute. Fixes #5049 2009-11-12 21:42:20 +01:00
Yann Leboulanger bf46c5dd12 use correct color for links in received XHTML messages. Fixes #5411 2009-11-06 08:19:32 +01:00
Yann Leboulanger ea5429b248 fix XEP-202 implementation, child element must be <time>, not <query>. Fixes #5412 2009-11-06 08:11:07 +01:00
Yann Leboulanger dec49976c4 Use a separate label in RIE dialog instead of a stock button. This way we can change label easily. 2009-11-05 22:20:45 +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 f297aa0a11 Make methods of MetacontactManager private if those are only used internally 2009-11-05 20:09:26 +01:00
Yann Leboulanger 4743d224fd fix sending message to several contacts (in this case we cannot get a contact instance as there are several jids in one. Fixes #5408 2009-11-05 19:44:01 +01:00
Stephan Erb 0abb1dfd20 Extract class: MetacontactManager from Contacts
For easy migration, interface is still preserved.
2009-11-05 19:43:25 +01:00
Yann Leboulanger eb32680a91 fix caps query verification. 2009-11-05 19:24:27 +01:00
Yann Leboulanger c8cc5be366 don't print libasyncns warning on stdout. Fixes #5407 2009-11-05 19:14:19 +01:00
Yann Leboulanger 32309d2a30 [marcin.bachry] disconnect once proxy has been tested. Fixes #5409 2009-11-05 19:11:31 +01:00
Stephan Erb 7829e7d40c Removed unused module 'meta.py' 2009-11-05 17:05:13 +01:00
Stephan Erb 8a127b4e4d Several small bugfixes: Add missing accout parameter to constructors. 2009-11-05 16:53:30 +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 dec25246df Missing bits of the last commit (add account parameter to contact constructor) 2009-11-05 16:22:21 +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 dce2ea58b3 Merge local changes with default. 2009-11-05 09:11:15 +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
Yann Leboulanger 1a76b72b58 fix bosh url parsing (wrong regex replaced by urlparse.urlsplit() funxtion) 2009-11-05 08:50:21 +01:00
Stephan Erb addaaa9242 Fix regex used in urisplit. It failed to split the host:port part. 2009-11-04 23:46:16 +01:00
Stephan Erb c1cbc07645 Check for empty caps values and not just for None. See #5399
This prevents our caps cache from getting filled with invalid caps values. Furtheremore, NullClientCaps has been saveguarded so that it won't fail for people with already tainted caches.
2009-11-04 23:05:20 +01:00
Yann Leboulanger b2a4c92e7a better error handling 2009-11-04 22:06:45 +01:00
Yann Leboulanger 2aef55ad2a better URI splitting code. see #5400, #5401 2009-11-04 21:56:33 +01:00
Yann Leboulanger 4343d706a0 use default port for bosh proxy when none is provided. Fixes #5400, #5401 2009-11-04 21:17:57 +01:00
Yann Leboulanger 124483ea49 prevent traceback. Fixes #5402 2009-11-04 20:37:22 +01:00
Stephan Erb e1ccec089c Add missing file 2009-11-03 23:37:11 +01:00
Stephan Erb 3a98a4170c Move Interface() god class from gajim.py to gui_interface.py. 2009-11-03 22:14:19 +01:00
red-agent 0e38897445 Minor refactoring 2009-11-03 10:14:23 +02:00
red-agent aae1dd6c38 Fixed an issue with the bare command prefix 2009-11-02 17:42:00 +02:00
Yann Leboulanger d19df32c16 reorder imports in history_manager so that it can bu run. Fixes #5391 2009-11-02 06:59:56 +01:00
Yann Leboulanger cb1fcc8cf8 update ft proxies list 2009-11-01 16:50:27 +01:00
Yann Leboulanger ea973ddc2e fix exception handling in command system 2009-11-01 13:50:34 +01:00
Yann Leboulanger a75fba495b better error message 2009-11-01 12:40:29 +01:00
Yann Leboulanger 6914546f2b merge backout branch 2009-11-01 12:15:41 +01:00
Yann Leboulanger 21ffce890c Backed out changeset f169c518cd8d
sqlite with ? doesn't work as expected
2009-11-01 12:14:42 +01:00
Yann Leboulanger e9264abb8a fix variable name 2009-11-01 09:52:33 +01:00
Yann Leboulanger b0712e1774 replace all %d / %s things in SQL queries by ? for security reasons 2009-10-31 23:57:14 +01:00
Yann Leboulanger d5351f6328 ignore unknown show types when we receive strange stanza. 2009-10-31 23:22:12 +01:00
Yann Leboulanger 48c82ae7fa [Mattj] improve join groupchat behaviour. Fixes #5383 2009-10-31 19:35:46 +01:00
Yann Leboulanger e10ff2c907 fix typo in a string 2009-10-31 19:15:18 +01:00
Yann Leboulanger 4ae64ff6e6 ability to configure out/inmsgtxt color in preference window. Fixes #5372 2009-10-31 19:03:03 +01:00
Stephan Erb a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Stephan Erb 47700e67da Rename CacheItem.update to CacheItem.set_and_store as this seems more intense giving. 2009-10-31 09:14:55 +01:00
Stephan Erb 99e8487db9 Move compute_caps_hash from helpers to caps module. 2009-10-30 23:55:03 +01:00
Stephan Erb 47f875a4bc Move CapsCache global from gajim.capscache to caps.capscache. 2009-10-30 23:01:25 +01:00
Yann Leboulanger 66deb15bad fix variable name. Fixes #5379 2009-10-30 20:04:20 +01:00
Yann Leboulanger c91da54c9c remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375 2009-10-30 09:51:16 +01:00
Yann Leboulanger bf9c6fb6a1 prevent traceback when changing resource of a control when there is no event for the account at all. Fixes #5375 2009-10-30 09:44:40 +01:00
Yann Leboulanger 5962494a9e connect some missing handlers in chat control context menu. Fixes #5369 2009-10-29 16:46:36 +01:00
Yann Leboulanger b682cc1791 use correct function for plural forms translation 2009-10-29 15:00:48 +01:00
Yann Leboulanger fcafab60a7 merge jingle branch to default branche 2009-10-29 11:55:05 +01:00
Yann Leboulanger f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Thibaut GIRKA 1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Thibaut GIRKA 7ae959dbba Avoid insane recursion 2009-10-29 10:08:22 +01:00
Stephan Erb bd714f66fc Move common part of Contact and GC_Contact into a new CommonContact class.
The CommonClass helps to spot easily where GC_Contacts and Contacts differ. This is just the first step a potential refactoring in this area.
2009-10-28 23:37:40 +01:00
Yann Leboulanger 8e98b3954b fix traceback with bash completion 2009-10-28 22:15:46 +01:00
Yann Leboulanger d6f4241102 prevent a traceback which happen with obscure reasons. Fixes #5366 2009-10-28 20:03:45 +01:00
Yann Leboulanger 8ddd6a298b [MattJ] re-fix /join command. already done in [8116020da28c] 2009-10-28 15:43:05 +01:00
Yann Leboulanger 7ae146e0e8 don't try to add an id to all outgoing messages. It's useless. Fixes #5355 2009-10-28 13:54:58 +01:00
Stephan Erb 6f71efdc47 Add missing local variable in resource submenu builder 2009-10-28 13:46:41 +01:00
Yann Leboulanger 5716ba5fd5 remove some deprecated iconsets. Fixes #5284 2009-10-28 13:20:27 +01:00
Yann Leboulanger 3f629341f6 call some upgrade config function that were not in 0.12.5 and are needed for 0.13 2009-10-28 12:38:22 +01:00
Yann Leboulanger 90fd7f6e68 [louizatakk] better bash completion. Fixes #5353 2009-10-28 12:19:20 +01:00
Yann Leboulanger 31d2bcbe7d remove the possibility to configure systray if module is not available. Fixes #5345 2009-10-28 11:11:55 +01:00
Yann Leboulanger 52c788795a we can now drop in the middle of a metacontact. Fixes #4804 2009-10-28 10:58:43 +01:00
Stephan Erb 976175e04c Work around potential NoneType in obscure function _is_buggy_gajim()' 2009-10-27 23:30:08 +01:00
Stephan Erb 5894ce5341 Merge changes from default branch into refactoring branch 2009-10-27 23:18:21 +01:00
Stephan Erb 213fd5a8ed Update a few outdated comments. 2009-10-27 22:48:47 +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
Stephan Erb c7ff97703f Redistribute responsibility: Let contact instances check if features are supported 2009-10-27 20:31:09 +01:00
Yann Leboulanger 5698327831 [Stepan Kasal] fix italic detection with //. Fixes #4217 2009-10-27 19:36:36 +01:00
Yann Leboulanger 3bf4420ce3 rename roster_contact_context_menu.glade to contact_context_menu.glade 2009-10-27 19:02:14 +01:00
Yann Leboulanger 5a51f09491 merge roster_contact_context_menu.glade, chat_control_popup_menu.glade and zeroconf_contact_context_menu.glade 2009-10-27 18:58:27 +01:00
Yann Leboulanger 134eb7f83a move and refactore some menu function from roster_window.py to gui_menu_builder.py 2009-10-27 10:39:40 +01:00
Yann Leboulanger fea5e09200 fix name of variable (window -> dialog) Fixes #5360 2009-10-26 19:56:42 +01:00
Stephan Erb 3295b08b26 Two small caps enhancements.
* Rename EntityCapabilities to ClientCaps as this seems more intense giving.
 * Add ability to blacklist features where we cannot savely assume that a client, which did not advertise caps, supports them
2009-10-26 19:20:16 +01:00
Stephan Erb 346953fd93 Duplicate 'supports' feature for GC_CONTACTS. TODO: Unify Contacts and GC_Contacts 2009-10-25 23:58:02 +01:00
Stephan Erb 700665151c Implement 'supports' on contact instances.
Usage:

	if contact.supports(NS_E2E):
		....
2009-10-25 23:56:14 +01:00
Stephan Erb 396a2c603d Implement and test a supports_feature() method to directly test for supported featues on EntityCapabilites 2009-10-25 22:46:45 +01:00
Stephan Erb ca03f88fc3 Write tests and fix the caps preload alternative on the EntityCapabilities. 2009-10-25 22:32:18 +01:00
Stephan Erb 499f3dff61 First bits of a basic EntityCapabilities layer above of CapsCache. 2009-10-25 21:57:20 +01:00
Stephan Erb 0440aec980 Improve common/caps.py test coverage. 2009-10-25 21:17:32 +01:00
Stephan Erb 39c3afb518 Remove unused import and apply naming convention. 2009-10-24 20:49:16 +02:00
Stephan Erb fc01d32abd Remove commented code. We have have version control for this 2009-10-24 14:22:10 +02:00
Stephan Erb 07cb0c48a6 Merge heads. 2009-10-24 09:47:22 +02:00
Stephan Erb 76b1f54738 Backed out changeset 2ceb94d0630d
This commit does not improve overall structure in gajim in a logical way.
It seems untested (is broken) and is therefore rejected.
2009-10-24 09:46:08 +02:00
Yann Leboulanger 4305882303 [Florob] handel remote-server-not-found MUC error. Fixes #5309 2009-10-23 16:49:33 +02:00
Yann Leboulanger 503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger f6136a7058 [henning] fix german translation. Fixes #5356 2009-10-23 09:55:50 +02:00
Yann Leboulanger 5b5e8780d8 [Frederique W. Piccart] menuitem -> menu item. Fixes #5348 2009-10-21 20:31:23 +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 0aa8856b6c new TimeoutDialog class: to be derivated for dialogs that need a timeout.
Resource conflict dialog has now a timeout. Fixes #4590
2009-10-20 11:20:11 +02:00
Yann Leboulanger 7e137adfd1 Backed out changeset e1fd1ca926b4
This kind of work will come after 0.13
2009-10-18 23:56:04 +02:00
Stephan Erb d79f73a610 Move the Interface god class from gajim.py into a separate module.
This is the first commit of a long serious of cleanup commits.
Simple testcase included to test the slightly enhanced Interface dispatcher.
2009-10-18 23:25:03 +02:00
Stephan Erb 3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +02:00
Stephan Erb 57ed1ea8d8 Merge local changes 2009-10-18 19:47:04 +02:00
Yann Leboulanger ad02f1636f prevent traceback 2009-10-18 10:56:23 +02:00
Stephan Erb 2ccaf5b2b4 Rename advanced.py to advanced_configuration_window.py 2009-10-17 20:28:38 +02:00
Stephan Erb d0f1b0e746 Depend on Python 2.5. Remove workaround for older versions. 2009-10-17 20:21:32 +02:00
Yann Leboulanger c4365f7a97 [louizatakk] fix bash completion patch. Fixes #5328 2009-10-17 10:18:11 +02:00
Yann Leboulanger 760e0fb48f refactor jingle functions in chat_control.py 2009-10-16 21:48:28 +02:00
Thibaut GIRKA 313f002958 Fixes an indentation error aswell as the previous commit 2009-10-16 20:21:42 +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 d495deaa02 Some rewriting in set_audio_state/set_video_state 2009-10-16 19:36:55 +02:00
Thibaut GIRKA bc90bc1157 Destroy session when remote signs off 2009-10-16 19:04:04 +02:00
Thibaut GIRKA ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Yann Leboulanger f8654b95b4 stop countdown in change status dialog when we past something. Fixes #5324 2009-10-16 16:20:58 +02:00
Yann Leboulanger 2472a9556d support XEP-0016 (privacy lists) "block all" feature. Fixes #4552 2009-10-16 15:58:21 +02:00
Yann Leboulanger 43f87899f8 [louizatakk] shell-like completion 2009-10-16 15:20:12 +02:00
Yann Leboulanger da955fd4da [hildjj] go away under windows too when screensaver is active. Fixes #4178 2009-10-15 19:51:49 +02:00
Yann Leboulanger 384283d2a4 find_library('c') return None under Windows 2009-10-15 19:43:10 +02:00
Yann Leboulanger 50aac85e88 remove our outgoing nickname color and status message color from gc_nicknames_colors 2009-10-14 16:31:42 +02:00
Stephan Erb 8bffd77a05 Merge local changes 2009-10-14 09:39:18 +02:00
Yann Leboulanger c59f4f7d73 show incoming and outgoing style in history window too. Fixes #5321 2009-10-14 08:40:28 +02:00
Yann Leboulanger bf298d4568 prevent traceback in upgrade function 2009-10-13 21:44:14 +02:00
Yann Leboulanger 1ae8339222 typo 2009-10-13 20:27:12 +02:00
Yann Leboulanger 166a70b48e update some colors. Fixes #5321 2009-10-13 20:05:45 +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 2f1412050c [Xytovl] ability to configure font and colors of incoming / outgoing messages. Fixes #5311 2009-10-13 13:42:44 +02: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
Stephan Erb 8aaee30f23 Merge with 5b124dac82e5ce6b3be2a3659bcbab12799e2220 2009-10-12 19:55:42 +02:00
Yann Leboulanger 8faf6d23c3 fix group renaming. Fixes #5316, see #4212 2009-10-11 21:54:40 +02:00
red-agent 86d0ad3cc3 Fix for the command argument constraints 2009-10-09 16:16:59 +03:00
Stephan Erb 5cea6334ef Move and rename xmpp_stringprep.py
It is more consistent to have this code closer to the xmpp protocol handling.
2009-10-08 18:24:21 +02:00
Yann Leboulanger ad0bb43793 [Dicson] Fix call to history manager 2009-10-08 17:51:49 +02:00
Stephan Erb 3fc9c10caa Remove old workarounds for Python 2.3. 2009-10-08 17:19:36 +02:00
red-agent 90c653b83a Fixed resource extraction from jid. Fixes #5310 2009-10-08 15:21:18 +03:00
red-agent 3ef8557a8e Tiny style fixes 2009-10-06 23:26:22 +03:00
Yann Leboulanger 416d2caf05 [waldteufel] stop generating zombies when playing sound. Fixes #5308 2009-10-06 21:35:48 +02:00
Yann Leboulanger 3a13f91162 prevent traceback 2009-10-06 21:27:40 +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 07277df1e2 [gotham] update default colors to be tangoified. see #5307 2009-10-06 11:41:32 +02:00
Yann Leboulanger 95047d3e50 add an enable checkbutton in accounts window for normal accounts too. Fixes #4489 2009-10-06 11:23:31 +02:00
red-agent 8d663c31c5 Yet another fix for the proccess renaming 2009-10-05 19:19:03 +03:00
red-agent 60bb2d0bdd Process name should correspond to the binary name 2009-10-05 17:33:50 +03:00
red-agent 563a2453ba Improved proccess renaming 2009-10-05 17:13:12 +03:00
Yann Leboulanger a6a9a647b2 add a checkbutton in join groupchat dialog to decide if we want to bookmark the room. Fixes #5245 2009-10-05 15:29:37 +02:00
Yann Leboulanger 4723194bca show message subject in chat history. Fixes #5185 2009-10-05 14:25:47 +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
red-agent e0dac306f7 Modified @documentation to not depend on order 2009-10-05 12:55:34 +03:00
red-agent b7ed152624 Added ignore/unignore aliases for block/unblock 2009-10-04 22:11:19 +03:00
red-agent d7e4ab3eb7 A workaround to make commands documentation easily translatable
Though I consider this a major regression, as using doc-strings is a much
cleaner and better solution. It requires not that big scaffolding to support it,
but some of Gajim developers think otherwise.
2009-10-04 20:43:51 +03:00
red-agent aea0508221 Code style fix 2009-10-04 19:56:07 +03:00
Yann Leboulanger c6dd2d6666 really check if we press control when we check for Ctrl+h or Ctrl+i in roster 2009-10-04 18:12:04 +02:00
Yann Leboulanger 616125d95e [praveen & I] ability to Ctrl+ H / I in roster to show history or information dialog of a contact. Fixes #5301 2009-10-04 11:28:20 +02:00
Yann Leboulanger c9d702b5cd [Vasily] fix indicator usage. Fixes #5271 2009-10-03 23:29:11 +02:00
Thibaut GIRKA b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40:12 +02:00
Yann Leboulanger b6d7cb992f remove some useless len() call 2009-10-03 09:38:13 +02:00
Yann Leboulanger 202d7861dd restore some commented code 2009-10-03 09:32:11 +02:00
red-agent 247a92b527 Fixed the build system for the reworked version of the command system 2009-10-03 00:10:30 +03:00
red-agent 958d937d5c Dropped in the reworked version of the new command system
The reworked version has refactored and simplified architecture, which also
involves simplified dispatching.
2009-10-02 23:57:11 +03:00
Yann Leboulanger ca127b8d31 fix printing HTML messages. Fixes #5298 2009-10-02 17:57:17 +02:00
Yann Leboulanger b954492bc2 fix typo 2009-10-02 17:18:36 +02:00
Yann Leboulanger 93e9d72dd5 don't show RIE dialog when we already have all proposed contacts. Fixes #5299 2009-10-02 17:05:04 +02:00
Yann Leboulanger 7e79f710e8 acknoledge rosterx messages 2009-10-02 16:54:33 +02:00
Yann Leboulanger 5406f8b49c improve connection time to muc. 2009-10-02 16:47:42 +02:00
Yann Leboulanger 6781600942 add a graphics optio nto all print text function to not display emoticons and latex formulas in nicks. Fixes #4651 2009-10-02 16:28:51 +02:00
Yann Leboulanger 887b8d31b2 don't show empty RIE requests. Fixes #5299 2009-10-02 14:58:47 +02:00
Thibaut GIRKA 01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +02:00
Yann Leboulanger da398aa418 coding standards 2009-09-29 16:31:36 +02:00
Yann Leboulanger 4cfd56a69b add a workarround for backward compatibility about esession. see #4396 2009-10-01 22:17:19 +02:00
Yann Leboulanger 678e3807e9 [Mattj & Florob] fix canonicalize function to prevent having twice xmlns in the attributes. Fixes #4396 2009-10-01 19:13:52 +02:00
Yann Leboulanger c5b60e8df5 don't allow to check "enable e2e encryption" when enable_esessions is False. Fixes #5295 2009-10-01 09:51:10 +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 3802e01bba [Florob] fix module name for sha256. Fixes #5297 2009-10-01 08:26:08 +02:00
Yann Leboulanger a3e80d2c76 [Florob] handle new error code in groupchat. Fixes #5285 2009-09-30 17:21:58 +02:00
Yann Leboulanger 3afea608e2 use python sha and hmac built-in modules rather than those in python-crypto. Fixes #5294 2009-09-30 17:02:51 +02:00
Yann Leboulanger a9c7731cbb don't use same var for different things in the same function! Fixes #5235 2009-09-29 14:52:25 +02:00
Yann Leboulanger c2e15ae9d2 prevent traceback when closing single message window. Fixes #5292 2009-09-29 13:51:20 +02:00
Yann Leboulanger 4d8454a242 request bookmarks via XML if server announce it supports pubsub but doesn't answer in the next 30 seconds. Fixes #5198 2009-09-29 11:08:42 +02:00
Thibaut GIRKA 10a6b0683c Second typo corrected... I need to sleep... 2009-09-28 22:31:28 +02:00
Thibaut GIRKA b4d2227662 Fixed a typo ; Prepared tie breaking and content-info handling 2009-09-28 22:23:48 +02:00
red-agent c5b63d948d Fixed a bug with a raw commands 2009-09-28 08:20:24 +03:00
Thibaut GIRKA 85195e99ad workaround for psi, little fixes... 2009-09-27 22:56:09 +02:00
Yann Leboulanger a8cd67706b merge bug 4212 branch 2009-09-27 11:52:51 +02:00
red-agent 4112dcd538 Fixed the duplication of input history 2009-09-27 12:32:57 +03:00
Thibaut GIRKA e141d7875a Don't send audio/video data before session acceptance. 2009-09-26 23:07:09 +02:00
Thibaut GIRKA 5a1a36e348 Fix somes issues with content-add/content-accept/session-accept, and other things. 2009-09-26 21:55:43 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Thibaut GIRKA b5c7519740 A little fix with content acceptance ; modified a bit JINGLE_DISCONNECTED 2009-09-26 14:14:58 +02:00
Yann Leboulanger db4f73f058 fix indentation 2009-09-26 13:16:48 +02:00
red-agent 36a3db5e29 Tiny code style corrections 2009-09-26 13:44:08 +03:00
Thibaut GIRKA 08b7f18f50 Fix content reject 2009-09-26 12:31:56 +02:00
Thibaut GIRKA 62d6f408c2 Merge the commits I've made yesterday with asterik's ones 2009-09-26 12:25:36 +02:00
Thibaut GIRKA 193f2613a9 Rewritten contentAddCB in order to ask the user about new contents 2009-09-26 12:22:41 +02:00
Yann Leboulanger a8eedfc781 ability to accept contents and not only session 2009-09-26 10:29:08 +02:00
Thibaut GIRKA 011f4fe142 Auto-accept contents we have created (it would make no sense to refuse it...) 2009-09-25 23:52:39 +02:00
Thibaut GIRKA a8bccebfb7 Added approve_content and decline_content methods.
A content has now to be accepted (user-side) before {content,session}-accept
2009-09-25 23:05:14 +02:00
Yann Leboulanger 5f70d6b78e use a str instance instead of a xmpp.JID instance 2009-09-25 20:41:22 +02:00
Yann Leboulanger 20755acedc fix typo 2009-09-25 20:40:53 +02:00
Thibaut GIRKA 77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Benjamin Richter 568e1edd1e Improved handling of RTL nicknames in roster. Fixes #4293
If the number of connected resources is appended in parentheses,
the appropriate ltr or rtl mark is inserted before, so that the
writing direction at the end of the nickname matches the writing
direction of the whole displayed string as determined by
http://www.unicode.org/reports/tr9/#The_Paragraph_Level
2009-09-25 17:11:38 +02:00
Yann Leboulanger a051d1ec95 initialize var before they are used 2009-09-25 15:47:43 +02:00
Yann Leboulanger a57448d083 fix some missing things in video GUI 2009-09-25 15:29:22 +02:00
Yann Leboulanger 32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
red-agent cca6cfe17b Keep the code consistent 2009-09-24 01:28:35 +03:00
Yann Leboulanger 245c3f12d4 don't remove a file before renaming under windows because os.remove('test') will remove 'TEST' under window. Fixes #5279 2009-09-23 22:27:52 +02:00
Yann Leboulanger cb1fccca7c fix /join command to use the same account as the one we're connected in the current room. 2009-09-23 21:35:27 +02:00
Yann Leboulanger 70e145a827 fix traceback preventing showing ALT text of an image. Fixes #5247 2009-09-23 19:07:58 +02:00
Yann Leboulanger 4db1d2738c process links and latex in HTML messages. Fixes #5053, #4539 2009-09-23 19:04:12 +02:00
Yann Leboulanger e8e2b219ba add a interface.run() function to really start Interface 2009-09-23 18:54:35 +02:00
Yann Leboulanger 17f17267ea call gtk.gdk.window.focus() with current timestamp rather than 0. This fixes some WM issues. 2009-09-23 17:35:42 +02:00
Yann Leboulanger abba30b439 Totem now uses MPRIS API. Fixes #4705 2009-09-23 16:43:31 +02:00
Thibaut GIRKA d7560ed764 My last commit was useless... now terminate the session if the connection fails 2009-09-22 22:33:00 +02:00
Yann Leboulanger 40160ecdc2 ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058 2009-09-22 08:21:01 +02:00
Yann Leboulanger 80e4d0a36d disable Ubuntu indicator support. see #4942, Fixes #5271 2009-09-21 21:36:04 +02:00
Yann Leboulanger 086469a594 [g.livid] fix xfce4 notifd usage with git version of notifyd. Fixes #5280 2009-09-21 21:31:40 +02:00
Yann Leboulanger 6124a60b8f don't fail when we get chat / normal messages from a room_jid. Fixes #5276 2009-09-21 21:22:57 +02:00
Thibaut GIRKA a4e019ee7e Last time, I removed something I shouldn't have... 2009-09-20 22:41:17 +02:00
Yann Leboulanger 40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Yann Leboulanger d89abc9195 prevent traceback when enabling Tune. Fixes #5277 2009-09-20 20:19:31 +02:00
Thibaut GIRKA c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA 6b99db8980 merge default branch to jingle 2009-09-19 16:35:47 +02:00
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
red-agent 89bfa782dc Gajim's build system is a little bit funky. Fixes 5274 2009-09-18 18:45:08 +03:00
red-agent 8ae6679fe8 Added the new command system to the build system 2009-09-18 17:32:27 +03:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00
red-agent 030738db2d Merge the new command system in 2009-09-17 23:22:48 +03:00
Yann Leboulanger f5b1c2dca7 improve GUI for jnigle 2009-09-17 22:21:06 +02:00
red-agent e0e4dd6c31 A bunch of fixes for the command completion 2009-09-17 19:06:38 +03:00
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
Yann Leboulanger b6481d54ea [Jonathan Michalon] Make latex images theme aware. 2009-09-17 13:54:20 +02:00
red-agent 39eef45bca Command auto-completion along with some fixes 2009-09-17 13:25:25 +03:00
red-agent 90d378941b Fixed arguments check in raw commands 2009-09-17 11:36:47 +03:00
red-agent 91e28d0ed9 Removed the command that was accidently commited 2009-09-17 11:24:58 +03:00
red-agent 684662c15d Few fixes for the command system 2009-09-17 09:03:57 +03:00
red-agent 1a327414ca Moderate refactoring and parser/adapter enhancements 2009-09-17 04:38:39 +03:00
Thibaut GIRKA 163b01e113 New class for video sessions, added an end_session method, and minor changes 2009-09-16 22:35:11 +02:00
Thibaut GIRKA 8b4cd1b368 Fixed two more or less fatal mistakes from my last commit 2009-09-16 21:21:08 +02:00
Yann Leboulanger 11c7de6c34 coding standards 2009-09-16 20:41:12 +02:00
Yann Leboulanger 4e4a91dbe1 prevent traceback. Fixes #5269 2009-09-16 16:14:03 +02:00
Thibaut GIRKA af44ee0840 Moved things to JingleRTPContent, start pipeline earlier
Some methods of JingleVoIPContent have been moved to JingleRTPContent, in prevision of a video content class.

The pipeline now starts in setupStream, and the stream's direction is changed when the stream is ready.
2009-09-16 13:55:54 +02:00
red-agent 4dae0bde44 Removed unused code 2009-09-15 23:40:29 +03:00
Yann Leboulanger 709dba715a global option alwaysauth become a per-account autoauth option. Fixes #5264 2009-09-15 22:26:42 +02:00
red-agent 6630d88c08 Fixed a bug in the nick command 2009-09-15 22:59:48 +03:00
red-agent 10a0867e59 Enhanced command arguments parser/adapter 2009-09-15 22:57:01 +03:00
Yann Leboulanger ebe93d25ff fix memory leak with gtkspell. Fixed #2025 2009-09-15 21:19:38 +02:00
Yann Leboulanger da29844342 [Dicson] fix typo. Fixes #5267 2009-09-15 19:49:56 +02:00
Yann Leboulanger 651e801334 correctly change the resource of a control. Fixes #5261 2009-09-15 17:41:47 +02:00
red-agent 8a72870a6d More code refactoring 2009-09-15 17:46:02 +03:00
red-agent c194b92136 Made command options refactoring along with some fixes 2009-09-15 03:33:02 +03:00
red-agent a264608b29 Slighlty changed command arguments parser/adapter internal logic
Made parser to preserve the order of options, so I can use it later to provide
some enhancments for the adapter.
2009-09-15 01:20:49 +03:00
red-agent 7bec311cfb Made some cosmetic API changes to the command system 2009-09-14 22:04:49 +03:00
red-agent 0a1ef72c0d Removed unused code from the Dispatcher 2009-09-13 22:11:40 +03:00
red-agent 620d102ac5 Fixed a typo 2009-09-13 21:19:10 +03:00
red-agent 6a20a33b70 Dropped in an implementation of standard commands 2009-09-13 17:43:44 +03:00
red-agent 880952b5c3 Few more fixes for the command system 2009-09-13 16:40:33 +03:00
Yann Leboulanger 949dbe6e38 better focus behavior when adding/removing a new proxy profile. Fixes #4017 2009-09-13 11:21:23 +02:00
Thibaut GIRKA 32ad59aa42 jingle: move from the old farsight to farsight2,
better compliance to the last version of XEP 0166, 0167 and 0176
2009-09-13 11:02:49 +02:00
red-agent cae86299e4 Rolled in a bunch of fixes for the command system 2009-09-13 00:22:17 +03:00
red-agent 981572f79d Improved error handling in the command system 2009-09-12 23:22:50 +03:00
red-agent ae0f32d922 Dropped in the brand new and shiny command system 2009-09-12 16:51:21 +03:00
red-agent c38e7050f5 Swept everything related to commands 2009-09-11 04:54:26 +03:00
Yann Leboulanger faf3a1fe6f add a reconnect menuitem in groupchat context menu when it's doconnected. Fixes #4004 2009-09-11 00:12:36 +02:00
Yann Leboulanger a7c3451e1d Show a confirmation dialog first time we block a contact. Fixes #3646 2009-09-11 00:01:56 +02:00
Yann Leboulanger 17e03edfd7 show confirmation dialog first time we send custom status. see #3646 2009-09-10 22:12:52 +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 7d7ca4d4ae always expand lines in disco window, increase default disco window width. Fixes #3877 2009-09-10 13:54:44 +02:00
Yann Leboulanger 8b528e512f move change_awn_icon_status from roster_window.py to gajim.py. see #3643 2009-09-09 13:51:33 +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 377a777823 always reply to incoming resource. see #5227 2009-09-09 10:38:26 +02:00
Yann Leboulanger bad4297952 when unregistering an account, wait server answer before closing connection. 2009-09-09 10:13:03 +02:00
Yann Leboulanger 94f3db54ec merge fix from trunk 2009-09-08 21:45:18 +02:00
Yann Leboulanger ff49ce0f0d fix typo. Fixes #5259 2009-09-08 20:07:29 +02:00
Yann Leboulanger 1f7b19180d merge default branch to jingle 2009-09-08 12:01:09 +02:00
Yann Leboulanger e4d06f4035 [red-agent] don't reconnect to groupchat when we are disconnected. Fixes #5257 2009-09-08 07:13:49 +02:00
Benjamin Richter c3d5c8cca2 Make fuzzyclock code more concise.
Also use % formatting instead of string replace.
Translation files updated accordingly.
2009-09-07 20:23:35 +02:00
Yann Leboulanger 378cdaeaf0 [red-agent] autoreconnect to MUC automatically. Fixes #5257 2009-09-07 22:27:13 +02:00
Yann Leboulanger 815255d317 show Activated in ACE only for boolean options 2009-09-07 21:07:12 +02:00
Yann Leboulanger b8f0732de7 get correctly parent node when browsing pubsub. Fixes #3438 2009-09-06 20:59:42 +02:00
Yann Leboulanger 3f366db009 fix log in pubsub.py 2009-09-05 21:35:14 +02:00
Yann Leboulanger bb2637b95c prevent a traceback when upgrading 2009-09-05 18:19:19 +02:00
Yann Leboulanger 08fe28ce20 when changing hpaned position in a groupchat, move all hapned in all groupchats. see #5252 2009-09-04 22:34:35 +02:00
Yann Leboulanger bbb75bcdf1 clean spell languages list only once. Fixes #5228 2009-09-04 21:02:55 +02:00
Yann Leboulanger c5e447fab8 ability to set priority via gajim-remote. see #3345 2009-09-03 23:18:49 +02:00
Yann Leboulanger 91b7004dc9 BaseException.message has been deprecated as of Python 2.6 2009-09-03 22:38:40 +02:00
Yann Leboulanger 682d6f838a add account combobox to join groupchat dialog when we try to join a groupchat from another chat / groupchat. Fixes #3344 2009-09-02 23:45:16 +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 b3704d37c5 show list-multi in a treeview when there are too much options. Fixes #3046 2009-08-31 21:45:52 +02:00
Yann Leboulanger 3392e493ab reset shown unread message after database has been updated 2009-08-31 00:11:57 +02:00
Yann Leboulanger 6390fe9872 fix error when inserting unread message 2009-08-30 23:36:36 +02:00
Yann Leboulanger 893e6bcfd6 Don't show errors as status change in history viewer. Fixes #2881 2009-08-30 23:20:13 +02:00
Yann Leboulanger 23dbb00d2d show only once unread messages at startup when we have twice the same contact in 2 accounts. Fixes #2921 2009-08-30 22:48:45 +02:00
Yann Leboulanger 306fe18521 fix typo. fix #5233 2009-08-30 12:03:29 +02:00
Yann Leboulanger cac215909b disable RST generator only for GPG encrypted messages, not E2E 2009-08-30 11:58:41 +02:00
Yann Leboulanger da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger 1e76981322 prevent traceback when showing a warning before roster is built 2009-08-28 20:42:48 +02:00
Yann Leboulanger 3d6ac046f2 don't prevent removing a sevret key when none in available. Fixes #1210 2009-08-28 15:27:25 +02:00
Yann Leboulanger 56e5629877 always disable autoaway when we go offline. Fixes #5218 2009-08-28 15:06:35 +02:00
Yann Leboulanger abe9eb8b7d [Kanor] Fix typo. Fixes #5243 2009-08-28 13:44:03 +02:00
Yann Leboulanger 54fa89af23 correctly detect vcard support of server. Fixes #5233 2009-08-28 13:41:36 +02:00
Yann Leboulanger 3a09185cb9 [avm] limit the number of emoticons / latex formulas to 100 per message. Fixes #5129 2009-08-28 13:32:47 +02:00
Yann Leboulanger d0da7cb14e don't move selection when new text arrives and selection goes until the end of conversation textview. Fixes #5223 2009-08-28 13:23:12 +02:00
Yann Leboulanger f71335be9a correctly catch not working D-Bus. Fixes #4740 2009-08-28 12:09:18 +02:00
Yann Leboulanger de938ee841 fix various problems when changing our nick while we have encrypted pm. Fixes #5234 2009-08-28 11:08:51 +02:00
Yann Leboulanger 4438154eb0 prevent traceback when changing nick 2009-08-27 20:15:54 +02:00
Yann Leboulanger 88fe4f8e36 prevent traceback when there are unread message on startup 2009-08-27 20:09:57 +02:00
Yann Leboulanger 9ada82a3eb prevent GTK warning 2009-08-27 19:56:11 +02:00
Yann Leboulanger 91018930ee [avm] fix decode error in latex errors. Fixes #4744 2009-08-27 19:23:19 +02:00
Yann Leboulanger 982db9636c add 2 advanced option to configure how many log lines we want when entering a room. Fixes #5237 2009-08-27 18:08:14 +02:00
Yann Leboulanger 062add136e prevent traceback (fix missing import) 2009-08-26 21:57:54 +02:00
Yann Leboulanger 59384fa689 don't depend on GTK2.14. Fixes #5213 2009-08-07 23:43:19 +02:00
Yann Leboulanger 3c8e88b0b5 [Waldteufel] fix translation comment about fuzzyclock and fix translations 2009-08-07 22:26:55 +02:00
Yann Leboulanger 43a4ebc583 make atom pubsub widget translated 2009-08-06 19:20:06 +02:00
Yann Leboulanger 8536e99738 fix closing of AtomPubsub window. Fixes #5210 2009-08-06 19:17:31 +02:00
Yann Leboulanger b9d4611fda remove 3 duplicated lines 2009-08-06 18:35:52 +02:00
Yann Leboulanger ca0b16f62b don't take into account style of not realized widgets. Fixes #5211 2009-08-06 18:34:53 +02:00
Yann Leboulanger 1f760de1ff prevent traceback. Fixes #5202 2009-08-06 00:07:23 +02:00
Yann Leboulanger a79efe5af0 strip JID in add contact dialog. Fixes #5200 2009-08-06 00:01:07 +02:00
Yann Leboulanger b83f9ae5d6 [Dicson] add support for key 'body' in the Message Action, and add jid via roster command. Fixes #5195 2009-08-05 23:58:25 +02:00
Yann Leboulanger 770b21fa60 handle strange notification daemon version values. Fixes #5209 2009-08-05 23:13:47 +02:00
Yann Leboulanger 5c9e35cd0e select chat window once we open a new one 2009-08-05 21:03:50 +02:00
Yann Leboulanger 8fcaa914e1 ability to use anonymous authentication 2009-08-05 20:53:58 +02:00
Yann Leboulanger 23e0ea755f [mcepl] Fix typo. Fixes #5205 2009-08-05 17:35:27 +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 c740177956 better pygtk failure code 2009-07-30 19:21:23 +02:00
Yann Leboulanger 228f6dc6be catch a databased malformed exception to warn user. Fixes #5191 2009-07-30 18:06:52 +02:00
Yann Leboulanger 968a44dbaf stringprep nick and room jid in manage bookmark dialog. 2009-07-29 12:56:59 +02:00
Yann Leboulanger e273fa4ab8 remove old FIXME, don't crash when we receive badly encoded char via zeroconf. Fixes #5178 2009-07-29 12:09:02 +02:00
Yann Leboulanger 1c7b265c9c better file transfer error handling. Fixes #5064 2009-07-28 23:13:34 +02:00
Yann Leboulanger 492abfb407 always build emoticons menu with 16x16 images. Fixes #3125 2009-07-28 17:04:57 +02:00
Yann Leboulanger f748e893fb prevent traceback 2009-07-24 16:17:49 +02:00
Yann Leboulanger 02e24ab120 don't show many accepted window when we add many contacts through RIE 2009-07-23 22:57:33 +02:00
Yann Leboulanger a6a5e4de4e fix /ban command 2009-07-23 15:05:33 +02:00
Yann Leboulanger 58be783ba5 some coding standards 2009-07-22 10:58:49 +02:00
Yann Leboulanger f207b114a6 fix roster item exchange remove suggestion 2009-07-22 10:48:41 +02:00
Yann Leboulanger 8622a3cca7 prevent traceback when we get an empty roster item exchange message 2009-07-22 10:48:28 +02:00
Yann Leboulanger 7966126c3b correct log for zeroconf_avahi.py 2009-07-22 09:49:56 +02:00
Yann Leboulanger 61bdb67859 coding standards 2009-07-22 09:30:24 +02:00
Yann Leboulanger b7fa1a152f fix saving _last_SHOW activity / mood when we unset them. 2009-07-22 08:55:25 +02:00
Jonathan Schleifer ce71f40f7d [Florian Zeitz] More compatibility for MPRIS. 2009-07-22 00:13:28 +02:00
Yann Leboulanger 779dcbd38b fix using change nick button in groupchats 2009-07-21 00:30:43 +02:00
Yann Leboulanger d408610425 copy list before iterating on it in case we modify it. 2009-07-21 00:13:55 +02:00
Yann Leboulanger cd9eed6277 stupid me, calling .keys() on a dict ... 2009-07-20 23:51:17 +02:00
Yann Leboulanger e40a3b6272 prevent traceback when we remove contacts in iter_contacts() loop. 2009-07-20 23:47:59 +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
Jonathan Schleifer 40dac41852 Fix traceback in MPRIS. 2009-07-19 22:09:09 +02:00
Yann Leboulanger 010e02e329 handle reson when we ban a jid. 2009-07-17 19:12:11 +02:00
Yann Leboulanger 19e302b918 bosh port must now be included in bosh URI 2009-07-17 11:20:28 +02:00
Yann Leboulanger 235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger 425ae28713 redraw correctly accountsWindow after we removed an account 2009-07-16 17:54:43 +02:00
Yann Leboulanger 5649552298 import things differently in xmpp so it works with python26. Fixes #5168 2009-07-16 17:44:45 +02:00
Yann Leboulanger a478cf863b prevent sending several times the same message in zeroconf. 2009-07-16 17:25:47 +02:00
Yann Leboulanger d51102112d fix sending message to zeroconf from XML console. Fixes #5050 2009-07-16 17:23:05 +02:00
Yann Leboulanger ba697a583f fix missing var in zeroconf 2009-07-16 17:22:34 +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
Yann Leboulanger cc154c2bf2 prevent traceback when kwalletcli is not available. see #5153 2009-07-16 12:27:53 +02:00
Yann Leboulanger cfc0c2fe5c [mirabilos] save password in kwallet is available. Fixes #5153 2009-07-15 21:02:47 +02:00
Anaël Verrier 0497a1bedf * do not stock anymore groupchat presence into NonBlockingRoster. Fixes #5160 2009-07-14 18:48:24 +02:00
Yann Leboulanger 5f55a54e76 don't send a new presence when we only want to change pep info 2009-07-14 16:41:25 +02:00
Yann Leboulanger b8e80c2245 fix error with bosh 2009-07-13 22:23:14 +02:00
Yann Leboulanger 4a469d2ae6 add another way to get errno from exception 2009-07-13 22:14:24 +02:00
Yann Leboulanger 53c31a53b6 session packet are not mendatory during login. Send it only when requested by server. Fixes #5088 2009-07-13 18:32:16 +02:00
Yann Leboulanger c4a720aa89 handle ZeroReturnError raised by PyOpenSSL 2009-07-13 17:47:20 +02:00