Commit Graph

5640 Commits

Author SHA1 Message Date
Yann Leboulanger d7f5885778 change click on systray behaviour. left click always toggle roster appearance, middle lcick to open pending events. fixes #2932 2007-02-15 22:15:37 +00:00
Yann Leboulanger 4a1a99a220 revert [7980]: remove useless command /slap 2007-02-15 15:59:55 +00:00
Yann Leboulanger 4d864fe2aa fix instructions code in dataforms.py 2007-02-15 09:33:30 +00:00
Yann Leboulanger 5b63c41c41 use new dataform widget in register agent window. Remove no more used old DataFormWindow. 2007-02-15 09:18:24 +00:00
Jean-Marie Traissard 78f7ac7886 [bb] /slap 2007-02-15 00:17:05 +00:00
Yann Leboulanger 3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Yann Leboulanger b1c350f35c we keep node in self.subscriptions, not name, so when we look in this dict, look for node. 2007-02-14 10:13:27 +00:00
Yann Leboulanger ec80b7dc82 fix number of argument of _add_item() function in pubsub browser. fixes #2990 2007-02-14 09:10:50 +00:00
Yann Leboulanger efad862700 share space in pref window in status tab between default status message expander and preset status message frame when expander is expander. see #2918 2007-02-13 20:35:41 +00:00
Yann Leboulanger 6484e67d36 if gajim is quit while roster was hidden, start gajim with roster minimized next time. fixes #2986 2007-02-13 20:12:52 +00:00
Yann Leboulanger b55a0c097e fixes [7955]: don't set sleeper state to off when we send a presence while autoaway. 2007-02-12 21:51:12 +00:00
Yann Leboulanger 0f91b1cdad catch correct exception when we try to use set_restart_command() 2007-02-12 19:59:40 +00:00
Yann Leboulanger a5b0e51dcb since 2006-11-29 we don't require a status message to sign a presence. 2007-02-12 19:37:09 +00:00
Yann Leboulanger db6a9787f2 [Branko Kokanovic] Serbian translation 2007-02-12 18:33:33 +00:00
Jean-Marie Traissard bb0a985432 If we can't find gajim-remote, stop checking everytime if we are default client 2007-02-12 16:53:59 +00:00
Jean-Marie Traissard 05f306115e Delete change_nick() func, use join_gc() instead. Fixes #2903. 2007-02-11 03:22:40 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Jean-Marie Traissard 9611d4f945 oups, forgot that one 2007-02-08 23:48:52 +00:00
Jean-Marie Traissard 60cccbbd3d Use one var less and works better (we could lost first typing message previously)
See Yann, was possible, even if it's only one bit gain :D
2007-02-08 23:36:17 +00:00
Jean-Marie Traissard 578fd59361 Use one focus_out_line pixbuf for all conv_textview instances 2007-02-08 23:00:27 +00:00
Jean-Marie Traissard 2d55775f85 Do NOT save muc_cmds list for every gc_control instance 2007-02-08 19:08:44 +00:00
Jean-Marie Traissard 5e15b7c5f5 Small indent fix 2007-02-08 18:33:42 +00:00
Jean-Marie Traissard e6b3c40e97 Deleting control.display_names, useless var now 2007-02-08 18:32:10 +00:00
Yann Leboulanger 71293a38e6 don't set sleeper state to off when we send a presence while not online 2007-02-08 16:21:28 +00:00
Yann Leboulanger cba44a43a1 handle proxy errors. fixes #799 (socks5 proxies should now be supported. tests needed) 2007-02-07 22:05:52 +00:00
Yann Leboulanger 56bcc2e1fa missing commit 2007-02-07 12:13:41 +00:00
Yann Leboulanger 0a10659b07 [B.Steinbrink & me] improve perfrmences when using animated emoticons. see #2933 2007-02-07 08:59:40 +00:00
Yann Leboulanger 6d30138e80 fix call to self 2007-02-07 08:49:13 +00:00
Yann Leboulanger 0ec4aa3676 [smoku] fix SASL auth. fixes #1911 2007-02-06 08:57:59 +00:00
Jean-Marie Traissard 68619a5597 No space in indentation, /src/common/ part 2007-02-04 18:57:25 +00:00
Jean-Marie Traissard 20835ad104 Removing useless global vars (finally found a good debugger :) 2007-02-04 14:09:38 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Jean-Marie Traissard e4fca50eb7 If we got sha from disk and don't ask for new avatar, store sha in mem 2007-02-04 00:45:14 +00:00
Jean-Marie Traissard 3f16220afb Group chat avatars fixs :
- Stop saving avatars of participants without their resource.
- Complement of [7927], don't save sha before avatar. Really fix #2956
- Don't save sha if avatar not readable.
2007-02-03 23:56:40 +00:00
Yann Leboulanger 736007f704 let's freeze even less 2007-02-03 18:06:47 +00:00
Yann Leboulanger 5d2257f4a6 [bb & me] don't block when we get an image 2007-02-03 17:28:36 +00:00
Jean-Marie Traissard b8f40f78cf typo in [7921] 2007-02-01 16:26:52 +00:00
Jean-Marie Traissard f6a0fe4724 Don't store avatar sha until we really have avatar. Fixes #2956. 2007-02-01 14:51:14 +00:00
Yann Leboulanger a794812ea5 stringprep nickname when we want to change nick in a room. fixes #2605 2007-01-31 21:31:10 +00:00
Yann Leboulanger f079604c15 reset status_before_autoaway var when we come back online 2007-01-31 20:39:44 +00:00
Yann Leboulanger b02cdd378d when we are disconnected while autoaway, don't loose previous status. fixes #2934 2007-01-31 20:38:49 +00:00
Yann Leboulanger 8f50d04ea8 we can now remove a contact from not in roster group which has unread events. there are just removed. fixes #2888 2007-01-31 19:45:13 +00:00
Yann Leboulanger b45b27697a create statusicon only when needed 2007-01-31 16:38:04 +00:00
Yann Leboulanger 5fc442b6f5 better indentation 2007-01-31 11:31:07 +00:00
Jean-Marie Traissard e62a01d6d9 utf problem ? 2007-01-30 18:32:15 +00:00
Jean-Marie Traissard f4d43979ed Verify avatars'sha on hdd in muc too, don't send sha when disconnecting from muc 2007-01-29 22:04:22 +00:00
Yann Leboulanger b971afec24 always use contact chatstate when none is given 2007-01-29 18:29:51 +00:00
Yann Leboulanger 1bccdb48fd migration func for ft_add_hosts_to_send option. see #2953 2007-01-28 19:16:38 +00:00
Yann Leboulanger 8a0c47e4a0 [Michal Vaner] add ability to send several ip when we do file transfers, and send all local IPs. fixes #2953 2007-01-28 19:11:39 +00:00
Yann Leboulanger b22db5c331 [tristil] we now detect banshee track changement. fixes #2940 2007-01-28 18:41:51 +00:00
Yann Leboulanger d85eb8b95f fix english words breton ans basque 2007-01-28 16:11:21 +00:00
Yann Leboulanger 7d8f7e2a6e don't scroll to end each time we press a key in message textview, but only when scrollbar appear. fixes #2944 2007-01-28 14:20:37 +00:00
Yann Leboulanger d83d744a27 reset tab color when contact goes offline. fixes #2951 2007-01-28 13:31:30 +00:00
Yann Leboulanger 57e9eadff8 fix version of notification-daemon detection 2007-01-28 12:53:14 +00:00
Yann Leboulanger b4b2ecb41d Do not remove resource from jid when using Actions -> Start chat. fixes #2942 2007-01-27 18:43:28 +00:00
Yann Leboulanger f450c0eb65 [misc] XEP-0199 (Xmp ping) support.fixes #2947 2007-01-27 10:19:53 +00:00
Yann Leboulanger 27ffd437a9 [misc] advertise we support XEP 85, 50 and 30. fixes #2948 2007-01-27 10:16:46 +00:00
Yann Leboulanger bbab7a3d94 disable and redraw pm when we leave a groupchat or when we are disconnected. fixes #2935 2007-01-26 22:11:28 +00:00
Yann Leboulanger 852974efa7 ability to set and receive an empty subject. fixes #2938 2007-01-26 18:30:45 +00:00
Yann Leboulanger 9a6b090506 begining of socks5 proxy support. error handling is missing. see #799 2007-01-24 21:50:59 +00:00
Yann Leboulanger 0014e6e597 prevent TB. fixes #2936 2007-01-24 20:57:41 +00:00
Yann Leboulanger d7b9b50a67 prevent TB. fixes 2nd traceback of #2936. see #2936 2007-01-24 20:54:22 +00:00
Yann Leboulanger 0f43fa9840 fix call to self 2007-01-24 10:01:25 +00:00
Yann Leboulanger 9a3505a9e3 fix online / total transport count 2007-01-24 10:00:17 +00:00
Yann Leboulanger be81dbcc40 negate timezone so it's positive east of Greenwitch. fixes #2927 2007-01-23 20:31:25 +00:00
junglecow 37ffd5585b Removed an old-style logging command, as _owner may not always exist. Partial attempt at #2928 2007-01-23 20:06:07 +00:00
Yann Leboulanger 20a146dabf use 2 buttons in profile windows because some GTK themes don't show images in buttons when there is text. gtk-button-images option in gtkrc file. 2007-01-23 12:34:07 +00:00
Yann Leboulanger cac2832701 revert bad change from [7807]. focus_out_line in gc are now not moved on each message. 2007-01-22 21:08:54 +00:00
Yann Leboulanger b30e454848 Gnomekeyring -> Gnoem Keyring. see #2916 (2.) 2007-01-22 18:21:13 +00:00
Yann Leboulanger 290154189f prevent other client's bug. fixes #2910 2007-01-22 18:05:59 +00:00
Jean-Marie Traissard bcbcc98b06 Close the pixbufloader in all cases. Fixes gtk warnings in console. 2007-01-21 20:16:29 +00:00
Yann Leboulanger 5f797834ae fix signatures in remote control. fixes #2865 2007-01-21 18:13:23 +00:00
Yann Leboulanger 34da018faf don't try to read ACE option before configure file is read. import gnome keyring after config file is read. fixes #2917 2007-01-21 15:13:57 +00:00
Yann Leboulanger 605924b2b8 [Jeff] fix some strings. 2007-01-21 14:13:39 +00:00
Jean-Marie Traissard a8eeb56cb4 Add some correction to ([7838]remove timestamp and before/after_nickname from GUI).
Fixes #2913.
2007-01-20 16:49:32 +00:00
Yann Leboulanger ac58d394e9 add ability to execute adhoc commands in disco window 2007-01-18 09:12:03 +00:00
Yann Leboulanger ba2b1a0f58 change function name. see #2898 2007-01-17 11:40:59 +00:00
Yann Leboulanger 24a4ee24ba don't automatically add transport to roster. some transport aren't added to roster (rss one) 2007-01-17 08:44:57 +00:00
Yann Leboulanger ec8a294053 prevent TB 2007-01-17 08:04:51 +00:00
Nikos Kouremenos 76354c9677 fix typos 2007-01-16 23:29:07 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger abcb9a35f1 handle correltly SRV and registration on IDN servers. fixes #2898 2007-01-16 22:36:41 +00:00
Jean-Marie Traissard 37bd1142f9 Coding standards, include real date of 0.11 release in Changelog 2007-01-16 17:30:40 +00:00
Jean-Marie Traissard 9178c9cb13 Add link for rst in ACE 2007-01-15 22:28:26 +00:00
Jean-Marie Traissard 9ab2800fd0 XHTML Image size limit : 10mo->2mo 2007-01-15 20:56:30 +00:00
Yann Leboulanger 2403239695 use get_time_to_show in conversation_textview that print "yesterday" or "X days ago". fixes #2797 2007-01-15 18:37:19 +00:00
Yann Leboulanger 3c9170cb61 add missing arguments. see #2797 2007-01-15 13:07:24 +00:00
Yann Leboulanger 08a90159dc remove timestamp and before/after_nickname from GUI. and add comment in ACE. fixes #2797 2007-01-15 12:54:54 +00:00
Yann Leboulanger 363c5b45b0 show nickname in invitation dialog. fixes #2899 2007-01-15 10:34:53 +00:00
Yann Leboulanger 50c1fcb7a7 fix translation 2007-01-15 10:15:27 +00:00
Jean-Marie Traissard 6f9889bc4d Fuck dev language False -> Deactivated, True -> Activated 2007-01-14 23:11:16 +00:00
Jean-Marie Traissard 14f432fcd7 Make 'True', 'False' and Types translatables in ACE 2007-01-14 23:04:29 +00:00
Yann Leboulanger 8301700501 typo 2007-01-14 21:45:43 +00:00
Yann Leboulanger b21e2882c8 [misc & I] add adhoc command: ability to leave a room. see #1910 2007-01-14 21:38:34 +00:00
Jean-Marie Traissard bb306163a6 Implement choice of resource (when more than one) for "Invite to -> room"
Fix "Invite to -> room" on other-resource-of-us-line
2007-01-14 20:43:42 +00:00
Yann Leboulanger 9b336bceed fix TB 2007-01-13 21:42:28 +00:00
Yann Leboulanger 8919febc5d typo. see #2797 2007-01-13 19:28:42 +00:00
Yann Leboulanger c5d5facdcf remove temp file once we don't need it anymore. fixes #2894 2007-01-13 01:01:49 +00:00
Yann Leboulanger 99b08744ed fix TB when python-notify is installed but not notification-daemon. fixes #2893 2007-01-13 00:52:47 +00:00
Yann Leboulanger dc4f4922af [Brice Maron & I] add option to configure the way time is printed. fixes #2797 2007-01-12 19:27:00 +00:00
Yann Leboulanger 476908a54b ignore unparsable vcards. fixes #2826 2007-01-12 10:10:01 +00:00
Jean-Marie Traissard 775b85a83e Var name, removed unused import, thanks pyflakes 2007-01-11 22:41:00 +00:00
Yann Leboulanger 9cbdad9df5 select iter when we add a bookmark. fixes #2889 2007-01-11 22:26:56 +00:00
Yann Leboulanger 17fa45890e select row when we add a new status message 2007-01-11 22:23:36 +00:00
Yann Leboulanger 85ed580b6d fix indentation 2007-01-11 22:22:48 +00:00
Yann Leboulanger f69fef3cbe fix indentation. fixes #2891 2007-01-11 22:14:37 +00:00
Jean-Marie Traissard 1e8aba9d83 Fix indent 2007-01-11 22:05:28 +00:00
Yann Leboulanger 0b035ee6cc indent with tabs, and prevent TB when ctypes modules is not found. 2007-01-11 21:27:05 +00:00
Yann Leboulanger 3567a8c20f remove privacy list from dialog only when server return the result, else show an error dialog. fixes #2853 2007-01-11 20:21:53 +00:00
Yann Leboulanger 2f857047d3 check if connection is active before sending something. 2007-01-11 19:58:51 +00:00
Yann Leboulanger 99f8a9cbb9 add context to None translation. fixes #2726 2007-01-11 18:26:35 +00:00
Yann Leboulanger 74c447f46b unassign GPG key in contact instances when we unassign it, and redraw chat control. fixes #2590 2007-01-11 18:19:24 +00:00
Yann Leboulanger 5f7ad6fea1 always give the same number of arguments to dbus methods, use signatures. fixes #2784
simon, could you have a look to this patch ? does it seems correct ?
2007-01-11 17:58:44 +00:00
Yann Leboulanger 1b45a78584 fix indentation 2007-01-10 16:18:04 +00:00
Yann Leboulanger 4d5790e8cb restore correctly error messages. fixes #2880 2007-01-10 12:51:15 +00:00
Yann Leboulanger 1599dfdfbb fix HTMLTextView tooltips 2007-01-09 23:31:41 +00:00
Jean-Marie Traissard 6b0edad24d Memory usage : Don't store some vars in self when not necessary 2007-01-09 23:09:14 +00:00
Jean-Marie Traissard 5da41204ef memory usage : Do not save gc_refer_to_nick_char for each gc control 2007-01-09 22:36:26 +00:00
Jean-Marie Traissard 712b39bba7 Skip self in nick completion 2007-01-09 22:24:41 +00:00
Jean-Marie Traissard 0b3af95972 I deleted this var, was always None, but when does this happen ? 2007-01-09 22:05:27 +00:00
Yann Leboulanger f5986fec43 don't reassign control.contact to a control when not needed 2007-01-09 20:01:30 +00:00
Yann Leboulanger daa064a657 [Simon Mcvittie] fix gajim-remote list_contacts. fixes #2865 2007-01-09 19:09:21 +00:00
Jean-Marie Traissard 86fbcece1f use the GOOD syntax for the get_last_date_that_has_logs() SQL request :)
(Open gc win three times faster, and even more when time cached !
Also opens history wins two times faster)
2007-01-09 17:30:03 +00:00
Jean-Marie Traissard a57d59edaf Don't redraw gc banner text when gc comes online, useless 2007-01-09 15:29:23 +00:00
Jean-Marie Traissard 57355708f4 typo 2007-01-09 14:35:31 +00:00
Jean-Marie Traissard 88a358f297 add some comments to previous changeset 2007-01-09 14:29:20 +00:00
Jean-Marie Traissard eea2e1c881 Remove a LOT of useless draw_banner()
(stop drawing it 5 times when joining muc, stop reloading banner state icon on ALL
notifications, ...)
roster.py one seems useless because ctrl.update_ui() did it already
2007-01-09 14:23:28 +00:00
Yann Leboulanger 0ac904c6be remove unread events from systray when we leave a room. Fixes #2867 2007-01-06 20:41:03 +00:00
Yann Leboulanger 8ede60ebb0 add --use-agent to GPG so that we work with gnupg-agent 2007-01-06 20:19:47 +00:00
Yann Leboulanger a1349f9c3d add a space between account name and (. fixes #2873 2007-01-06 19:48:18 +00:00
Tomasz Melcer dea9879dfa Commands: dataforms sent have type="submit"; commands' window show form title 2007-01-06 19:05:45 +00:00
junglecow 3be5a9df3b In debug mode, log exception. 2007-01-06 15:31:30 +00:00
Yann Leboulanger 2082034e85 root under win9X is . instead of '' 2007-01-06 15:29:09 +00:00
Yann Leboulanger 4bd6253192 don't show empty lines in XML console. fixes #2857 2007-01-06 14:57:18 +00:00
junglecow f060342b5e Catch only what you expect. We don't want to catch things like unknown variables (and other programming errors) and SystemExit. 2007-01-06 14:15:49 +00:00
Nikos Kouremenos 239d2308c8 fix logic allover 2007-01-06 10:20:13 +00:00
Nikos Kouremenos 5099ae35bb fix logic 2007-01-06 10:17:55 +00:00
Nikos Kouremenos 67c1816d01 do not create anonymous tag. use special name for span with no id tag 2007-01-06 10:15:13 +00:00
Nikos Kouremenos 978068378d if span with no id, we have an anonymous tag. make sure we do not TB. fix #2856 2007-01-06 10:14:05 +00:00
Yann Leboulanger 02285f0a84 [misc] more robust KDE integration. fixes #2872, #2871 2007-01-06 09:45:12 +00:00
Yann Leboulanger 72a632c76e fix indentation 2007-01-06 00:40:46 +00:00
Yann Leboulanger 7433835994 add an option to override incoming message type. fixes #2804 2007-01-05 20:38:36 +00:00
Yann Leboulanger bf35cab4fc create ~/.kde/share/services/xmpp.protocol if it does not exist. 2007-01-05 19:44:53 +00:00
Yann Leboulanger a581391c03 typo in a comment 2007-01-05 19:26:10 +00:00
Yann Leboulanger 148c216c58 handle correctly xmpp:// registration under KDE. fixes #2869 2007-01-05 19:19:29 +00:00
Yann Leboulanger d84b63b172 windows require to remove old_file before doing os.rename(new_file, old_file) 2007-01-05 18:05:51 +00:00
Yann Leboulanger 759ddff650 don't handle xmpp:// uri, correct uri are xmpp: 2007-01-05 17:38:43 +00:00
Yann Leboulanger 959687c262 check at startup if gajim is the default xmp:// handler and prompt user if it's not. fixes #2861 2007-01-05 17:20:58 +00:00
Yann Leboulanger 6076bd1028 ignore wrong incomming jid from gajim-remote open_chat. see #2861 2007-01-05 12:32:59 +00:00
Yann Leboulanger 558a57802c handle correctly non ascii chars in path under win. fixes #2812 2007-01-02 17:56:26 +00:00
Yann Leboulanger f5108c745f change var name. type is a reserved word 2007-01-02 17:43:32 +00:00
Yann Leboulanger 4a58db0fca hide progressbar in profile window when not used. fixes #2852 2007-01-02 17:01:33 +00:00
Yann Leboulanger 77f8e66ff4 use $0 and $1 in fuzzyclick not to confuse intltools 2007-01-02 14:02:31 +00:00
Yann Leboulanger a08267b759 add belarussion in speller list 2007-01-02 13:50:32 +00:00
Yann Leboulanger 47f9461584 [Jeff Bailes] improved english strings 2007-01-02 13:36:54 +00:00
Yann Leboulanger f82f07d2f6 gajim -> Gajim 2007-01-02 12:49:18 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger 483481c586 ask transport contact avatars only when transport is connected. fixes #2832 2007-01-02 11:43:57 +00:00
Yann Leboulanger cafef3c1c5 [misc] handle uri like room_jid?join. see #2133 2007-01-02 02:45:43 +00:00
Yann Leboulanger 7945ceac83 add auto join checkbutton in join room dialog. fixes #2056 2007-01-02 01:38:58 +00:00
Yann Leboulanger 08f21700ad update message_control contact correctly to show correct status message. fixes #2851 2007-01-02 00:04:31 +00:00
junglecow 9814451e07 - [dcraven] Fixed spelling error. Fixes #2580.
- Demoted some error messages from error to debug level.
2007-01-01 02:11:15 +00:00
Nikos Kouremenos ae40ef13ae make idle detection work in Windows without C compilation stuff (use ctypes and do the call to user32.dll via python [py25 includes ctypes else get it externally]. an Xmas gift from to Yann for .11 wonderful release! 2006-12-30 00:54:20 +00:00
Nikos Kouremenos db4cacf239 fix typo 2006-12-30 00:53:02 +00:00
Yann Leboulanger ae16d8956d add missins var initialization. 2006-12-29 21:23:24 +00:00
Yann Leboulanger 0ac37a3b6c add an ACE option to show or not number of online / total contacts. fixes #2811 2006-12-29 18:39:33 +00:00
Yann Leboulanger 77d9f89eee add an ACE option to disable the use of Gnome Keyring. fixes #2835 2006-12-29 18:30:18 +00:00
Yann Leboulanger 9284e84f3e don't change selection while Drag and Droping. fixes #2532 2006-12-29 17:41:13 +00:00
Yann Leboulanger 4684c573a0 remove publish / retrieve button in profile window. fixes #2471 2006-12-29 07:32:18 +00:00
junglecow 5529852ded - Fix TB on fingerprint mismatch
- Add debug message on import failure of PyOpenSSL
 - Update gajim.org digest after migration to new server
2006-12-29 01:46:46 +00:00
Yann Leboulanger d027597bf8 prevent TB. fixes #2843 2006-12-28 19:03:55 +00:00
Yann Leboulanger 70bf104cfc [misc] XEP-0202 (Entity Time) support. fixes #2830 2006-12-28 16:27:41 +00:00
junglecow e1ad5b15d0 - Removed unnecessary import
- Fixed name of transport_nb's logger
2006-12-28 11:15:44 +00:00
Yann Leboulanger d1c01945be show a message to user when gnomekeyring is installed but not well started. fixes #2834 2006-12-28 10:01:15 +00:00
junglecow 8707d511c1 - More accurate description of None outcome of _check_fingerprint
- Check for presence of PyOpenSSL in fingerprint check. Fixes #2841.
2006-12-27 23:28:47 +00:00
junglecow cf291c3c2f Move fingerprint check into its own function. 2006-12-27 23:25:32 +00:00
junglecow c16642c838 Catch socket.gaierror. Fixes #2840. 2006-12-27 22:45:23 +00:00
Yann Leboulanger 447ec9ecd6 [gjc] ask password when gnomekeyring isn't available. fixes #2834 2006-12-27 21:13:42 +00:00
junglecow e816b38a0f Check if self._sock exists before trying to close it. Fixes #2839. 2006-12-27 20:44:21 +00:00
junglecow 5f16eb633b Re-deleted exc_clear. Reason:
- It's unnecessary
 - It confuses people

See [7433] and #1575. This is an old workaround for psyco braindeadness, which
we don't use anymore. If there's a reason this should stay in code, please
document clearly, and re-add. Thanks.
2006-12-27 18:57:30 +00:00
junglecow 847d9fe6e9 - Enhanced parsing of -l/--loglevel option
- Demote one message w/exception to debug
 - Hopefully improved user error message when fingerprint is bad
2006-12-27 18:38:50 +00:00
Yann Leboulanger 45341476db don't show empty () when a pm contact changes his status. fixes #2832 2006-12-27 11:32:01 +00:00
Yann Leboulanger 81fb64f6b2 don't add empty group when we add a contact. fixes #2833 2006-12-27 10:39:03 +00:00
Nikos Kouremenos 64dec82bb6 readd something, unless there is a reason it got removed in [7706] 2006-12-27 06:09:15 +00:00
Yann Leboulanger 6dde2b44ce reconnect only previously connected account when connection manager detect the reconnection, and with correct status message. fixes #2813 2006-12-26 14:56:28 +00:00
Yann Leboulanger 7e11bf1172 do not count transport in global online / total users. fixes #2801 2006-12-26 13:40:01 +00:00
Yann Leboulanger e8657b4fdb do not count not in roster contacts in online / total users. see #2801 2006-12-26 13:33:09 +00:00
Yann Leboulanger badf46a852 redraw account row when we remove a group and when an observer removes us. see #2801 2006-12-26 13:30:35 +00:00
Yann Leboulanger 3e1c3ef811 make gajim-remote work with python-dbus 0.80+. see #2784 2006-12-26 12:04:22 +00:00
junglecow 9deb76a8ad - Started new way of logging, with configurable level for each subsystem
- Added -q, --quiet (speaks for itself)
   - Added -l, --loglevel subsystem=LEVEL,subsystem2=LEVEL2,...
 - Quell winsock 10035 error. (Equivalent of EINPROGRESS, but winsock likes to have its own error numbers.)
 - Hide SSL certificate debug stuff unless gajim.c.x.transports loglevel is DEBUG or lower
 - Avoid unicode problems if we set a profile
 - Move fingerprint checks from _register_handlers to _connect_success
 - Some enhancements to fpr checking code
2006-12-23 21:18:07 +00:00
junglecow 44674f7e75 - Implement matching of fingerprints against servers.xml
- Add support for fingerprints to servers.xml parser.
 - Add support for 'hidden' servers to servers.xml parser.
 - Add some fingerprints to servers.xml, for testing and as example for the new format.
 - Force asynchronous (nonblocking) SSL handshake in all case
 - Add logging to c/connection.py

Known issues:
 - Checking of fingerprints doesn't work on in-band SSL (Typically port 5222) because of stuff happening out of sequence. Workaround: use immediate SSL mode ("Legacy SSL" option in server config). Because there is as of yet no other way to /force/ SSL, this is also the most secure setting.
 - A lot of code is still looking for a better place to live.
2006-12-22 23:30:23 +00:00
junglecow 7f44b60267 - Use bytestrings instead of unicode for filesystem paths. See #2812 and close if fix works. 2006-12-22 13:49:38 +00:00
junglecow 35ecad1188 - Switch back to TLSv1 method
- Remove debug prints in stdlib ssl compatibility code
2006-12-21 18:08:17 +00:00
junglecow 62350adb36 - PyOpenSSL branch merged to trunk
Welcome to the world of PyOpenSSL! Please install PyOpenSSL, thanks!

svn merge -r 7426:HEAD svn://svn.gajim.org/gajim/branches/pyopenssl
2006-12-20 21:52:40 +00:00
junglecow fddb000a89 [Trunk]
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
 - Attempt at fixing traceback when getting user's home directory in Windows. See #2812. (c/configpaths.py)
 - Show 'error' icon next to account while waiting for reconnect. Fixes #2786. (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
 - Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
 - Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
 - Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
 - this → self (c/x/transports_nb.py)
 - Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
junglecow a4655276fe [Trunk]
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
 - Attempt at fixing traceback when getting user's home directory in Windows. See #2812. (c/configpaths.py)
 - Show 'error' icon next to account while waiting for reconnect. Fixes #2786. (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
 - Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
 - Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
 - Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
 - this → self (c/x/transports_nb.py)
 - Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
Jean-Marie Traissard 30b1c838dd Prevent TB 2006-12-19 22:50:53 +00:00
Yann Leboulanger 0e95430ac8 prepare 0.11 release 2006-12-19 09:12:54 +00:00
Yann Leboulanger 8e0def0a0d translate correctly song status. ♪ was badly understood by msgfmt, so moved out from translated string. 2006-12-18 09:32:23 +00:00
Yann Leboulanger 6bd518cb4a make music_track_listener work with older python-dbus than 0.80. see #2784 2006-12-18 09:13:12 +00:00
Yann Leboulanger e6a4d088a9 partially revert [7673]. see #2784 2006-12-17 23:00:44 +00:00
Jean-Marie Traissard 235950e2af Pyflakes spoted undefined name, 80 chars 2006-12-17 22:56:16 +00:00
Yann Leboulanger 724f702320 fix typo. 2006-12-17 22:37:21 +00:00
Nikos Kouremenos 5c4e2efb6e another patch so we work in python dbus 0.80; see #2784 2006-12-17 11:56:01 +00:00
Nikos Kouremenos 6faf04a056 make sure we use dbus public api so we work for python dbus 0.80; see #2784 2006-12-17 11:43:34 +00:00
Tomasz Melcer 2e16b3a590 Commands: Fix TB when someone executes an unknown command. 2006-12-16 23:30:07 +00:00
Yann Leboulanger b902d06eaa redraw account row too. see #2801 2006-12-16 23:07:18 +00:00
Yann Leboulanger de6dcc57bd redraw group row when we remove a contact. fixes #2801 2006-12-16 22:49:17 +00:00
Yann Leboulanger 3289f8fdd1 update gc roster instantly when we change theme. fixes #2766 2006-12-16 20:12:16 +00:00
Tomasz Melcer 257b1b7eeb Data forms: labels are aligned with top of widgets, default instructions gone,
borders removed.
2006-12-16 20:05:06 +00:00
Nikos Kouremenos 708977f0c0 HIG to adhod glade file; TODO-> FIXME and better header for the corresponding py 2006-12-16 17:44:59 +00:00
Tomasz Melcer 23fe716527 Dataforms: field descriptions in tooltips. 2006-12-16 12:58:58 +00:00
Yann Leboulanger 867abb8677 updated buttons in FT window when selected row status changes. fixes #2785 2006-12-15 18:59:24 +00:00
junglecow 8c78a14c3c - In [7647], reading of PID file was moved out of try..except block. Fixed.
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
junglecow 230a77ba94 - In [7647], reading of PID file was moved out of try..except block. Fixed.
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
Yann Leboulanger 2287625fdf encrypt must return 2 values. 2006-12-14 10:56:14 +00:00
junglecow c09e6e0b93 [PyOpenSSL]
- Improved data extraction from exceptions
 - Clearer error messages
 - Reduced exception spam
2006-12-13 20:15:22 +00:00
Yann Leboulanger 96417e6592 [mdt] better pid file behaviour for windows. fixes #2165 2006-12-13 14:41:57 +00:00
Yann Leboulanger 8af6e19a1f select active theme when we re-open gajim theme window. fixes #2778 2006-12-13 13:15:06 +00:00
Yann Leboulanger 9a8862099e redraw gc window title when we open a pm. fixes #2777 2006-12-13 12:52:59 +00:00
Yann Leboulanger 0fb837f74f detect when gpg is not installed and print a warning. fixes #2760 2006-12-13 12:29:24 +00:00
Jean-Marie Traissard fd13baefc4 Use good font settings for gc_roster nicks. See #2766. 2006-12-12 22:43:44 +00:00
Jean-Marie Traissard bf99ab82f7 Ask for status message for invisible status if ask_offline_status is True 2006-12-12 22:26:31 +00:00
Jean-Marie Traissard c54dfb4ffd Restore gc_banner tooltip (was broken when icon was added). See #2766. 2006-12-12 22:06:24 +00:00
Jean-Marie Traissard 3d844c0e29 Redraw correctly gc banners when we change theme. See #2766. 2006-12-12 19:10:52 +00:00
Yann Leboulanger d3970e70ea better detection of transport jid in add contact dialog. fixes #2750 2006-12-12 14:16:29 +00:00
Jean-Marie Traissard 3f80800f4a disco: Don't clean cache for account when browser still have a parent. Fixes #2742. 2006-12-10 23:01:37 +00:00
junglecow 7fbb4279ac - Reset retrycount if we auth successfully, so we can start retrying at 10 seconds instead of 15 minutes. This is an old bug, but wasn't noticable with 10 vs 20 seconds. 2006-12-10 20:22:02 +00:00
Yann Leboulanger bd2f62ab0d keep nickname and group when we re-ask auth. fixes #2741 2006-12-10 14:18:31 +00:00
junglecow 7c0696093a - Trying to connect to server every 20 seconds forever is extremely rude to its owner. Let's be polite and do exponential back-off. (See #2411)
- [PyOpenSSL] Ported [7443] to pyopenssl branch.
2006-12-08 21:19:01 +00:00
junglecow 9353c13d65 - Trying to connect to server every 20 seconds forever is extremely rude to its owner. Let's be polite and do exponential back-off. (See #2411)
- [PyOpenSSL] Ported [7443] to pyopenssl branch.
2006-12-08 21:19:01 +00:00
Yann Leboulanger c6e5bbf222 empty password is saved as '', not None (gnomeKeyring crashes when we set None). fixes #2748 2006-12-08 19:26:22 +00:00
Yann Leboulanger 90cda75734 make ask_new_gc_nick asynchronous. should fix #2746 2006-12-08 19:10:28 +00:00
Yann Leboulanger 8d3e9e62fb fix htmltextview bug. fixes #2730 2006-12-08 18:01:01 +00:00
Yann Leboulanger 26b0e1bc0a rendre role rows in muc the same way we render groups in roster. fixes #2765 2006-12-07 21:32:53 +00:00
Yann Leboulanger cebcb74c9b recognize x-tlen type from tlen transports. fixes #2756 2006-12-07 07:10:33 +00:00
Yann Leboulanger f89ccfe441 detect error while encrypting message, block sending it, and display error message. fixes #2712 2006-12-06 16:19:47 +00:00
Nikos Kouremenos 330ebb9c09 use the blinking when systray holds pending events [only new api/only in windows atm] 2006-12-05 18:45:02 +00:00
Yann Leboulanger 46cb1d9f92 hide advanced notification control button. fixes #2738 2006-12-05 09:54:18 +00:00
Yann Leboulanger 1732f00412 hide non-implemened option in advanced notificaton window. fixes #2738 2006-12-04 07:49:02 +00:00
Nikos Kouremenos a41388a8c7 add Josef Vybíral [cornelius] as artist in about dialog and in THANKS 2006-12-03 18:15:41 +00:00
Yann Leboulanger df58c1f309 play gmail_received sound only if it is enabled. fixes #2697 2006-12-03 13:49:16 +00:00
Yann Leboulanger dc88124dcf handle correctly strange behaviour of GTK 2006-12-03 12:54:34 +00:00
Yann Leboulanger 2bbebe11c6 update URL and Mail colors in chat windows instantly. 2006-12-03 12:23:44 +00:00
Yann Leboulanger 658629dbcc answer correctly to disco#info when it contains node. We are now complient with XEP115. fixes #2713 2006-12-02 17:02:53 +00:00
Yann Leboulanger f1e5984909 send in caps (XEP-0115) that we support XHTML-IM 2006-12-02 12:06:14 +00:00
Nikos Kouremenos 053c5c0776 we now fail if no pywin32 is there. REFIX 2006-12-02 01:26:45 +00:00
junglecow 4a58bc4797 [pyopenssl] Yet more exception fixes 2006-12-01 22:23:45 +00:00
Yann Leboulanger d5b62294ab remove useless test in get_cached_vcard func. fixes #2717 2006-12-01 21:23:24 +00:00
Yann Leboulanger 24d6c7ccaa add DEFAULT_ICONSET in Config class. fixes #2731 2006-12-01 20:01:37 +00:00