Commit Graph

8200 Commits

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