Commit Graph

882 Commits

Author SHA1 Message Date
Jean-Marie Traissard 14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Travis Shirk 7539d5b70e Since KeyboardInterrupt is "common" then catch the exception, print to stderr, and exit. No traceback, which says "error" to me... 2007-12-27 01:30:40 +00:00
Yann Leboulanger 6247de33da don't propose to add certificate to cacerts.pem file if it's useless, and don't add it if it is already in. fixes #720 2007-12-26 23:59:54 +00:00
Yann Leboulanger 9d068dc322 [shprotx] save config when gnome sessions ends. fixes #3618 2007-12-15 09:04:10 +00:00
Yann Leboulanger a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Brendan Taylor b8882ba48e merged realtime cancellation patch 2007-12-08 09:09:06 +00:00
Brendan Taylor 88f017a20d realtime notification of esession begin/end 2007-12-08 05:49:38 +00:00
Yann Leboulanger 00ad2846c0 import release diff from 0.11.4, svn version is now 0.11.4.0-svn 2007-12-06 20:38:41 +00:00
Yann Leboulanger 002556db7e [mgol] better latex detection regex. fixes #3598 2007-12-04 09:45:51 +00:00
Yann Leboulanger 46aac301c8 SSL certificate verification, certificate fingerprint verification. fixes #720, #2499 2007-12-04 09:38:39 +00:00
Yann Leboulanger f409450998 re-create gpg instance in connection.py at each connection son use_gpg_agent current value of use_gpg_agent option is used
warn user when he configured gajim to use gpg-agent but it returns a wrong passphrase. see #3592
2007-12-01 13:22:39 +00:00
Brendan Taylor 1cd5b3da39 fixed use of common.xmpp namespace in a place it wasn't imported 2007-11-28 19:26:40 +00:00
Yann Leboulanger 3ee18c20c8 handle unicode chars in emoticons. fixes #3227 2007-11-26 12:03:09 +00:00
Yann Leboulanger 034999989d remove useless spaces and tabulations 2007-11-26 10:27:51 +00:00
Yann Leboulanger 08e577c637 fix GPG behaviour 2007-11-22 13:53:12 +00:00
Yann Leboulanger 0ceb41f650 request GPG password only when connected to server, before sending presence. fixes #3483, #3375, #3115 2007-11-22 10:41:57 +00:00
James Newton f1d3f85037 Fixed a bug with forcing autodetection of browser/mail during startup when the
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
James Newton c2b901dfe9 Adjusted the menu code in an attempt to make it work better on leopard. Removed
the idle_add wrapper for on_quit and moved the idle_add wrapping into the
sync-menu code instead.
2007-11-16 23:11:35 +00:00
James Newton c6c31a17c3 Removed path adjustment from gajim.py and moved it outside of gajim proper. 2007-11-16 14:04:18 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger d6aa63cd1c fix check of presence of X server. Fixes #3481 2007-10-21 09:40:09 +00:00
Yann Leboulanger 0869ce362c Follow nick change in private message. fixes #3455 2007-10-13 14:37:22 +00:00
Brendan Taylor bd8ececb46 encrypted secret storage and an improved SAS verification dialog 2007-09-29 20:51:01 +00:00
Yann Leboulanger 530cc9e62f [asac] support jabberdata in message elements. fixes #2225 2007-09-27 20:39:42 +00:00
Yann Leboulanger b79170cc70 add account name to XEP-70 dialog when several are connected 2007-09-17 18:03:44 +00:00
Yann Leboulanger bf6c87b888 don't TB when dbus is not present. fixes #3328 2007-09-14 20:50:19 +00:00
Yann Leboulanger 81c65ccac8 [steve-e] Ability to select a jid in history window. fixes #3410, #3308, #1925 2007-09-14 20:18:06 +00:00
Yann Leboulanger 8ec061f5f6 prevent the user before sending a file to a groupchat contact that doesn't know his real jid. 2007-09-12 23:12:29 +00:00
Yann Leboulanger b05579dc13 accept file transfert request from contact not in our roster 2007-09-12 22:06:07 +00:00
Yann Leboulanger 767975d4c7 don't try to get extension of an image if type is unknown. fixes #3436 2007-09-11 09:59:10 +00:00
Yann Leboulanger 7827e3cb9a revert unwanted commit from [8749] 2007-09-09 14:35:46 +00:00
Yann Leboulanger bc53dbbef7 run the browser auto-detection forst time we run Gajim 2007-09-07 21:03:55 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 62edcc71de make python-crypto an optional dependency 2007-08-27 13:36:24 +00:00
Stephan Erb b1136a6959 Generalize save_avatar_files() and generate notif and bw version for local avatars. 2007-08-26 10:23:39 +00:00
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger e982404d58 allow participants to invite contacts in continued groupchats. see #2095 2007-08-22 11:46:35 +00:00
Yann Leboulanger 78f2c8c021 [roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408. TODO: DND 2007-08-21 23:13:03 +00:00
Brendan Taylor 88e49ffa46 don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms 2007-08-20 17:33:12 +00:00
Brendan Taylor 59b7e83fd5 removed buggy anti-presence-leak test 2007-08-20 08:19:29 +00:00
Brendan Taylor 0230c91e4c esession bugfixes 2007-08-20 08:16:48 +00:00
Brendan Taylor 8675731f8d refactored identity verification
public key authentication
2007-08-17 08:39:47 +00:00
Yann Leboulanger ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Yann Leboulanger 3cf16a5a4a handle gnome-screensaver events. fixes #663 2007-08-09 12:18:59 +00:00
Yann Leboulanger c4b34800da call process_connection faster under win. it processes incoming stanza under windows only. 2007-08-09 10:41:59 +00:00
Brendan Taylor 4bfe14d3cf prompt with SAS during 3 message negotiation 2007-08-07 07:42:31 +00:00
Yann Leboulanger 3b9966960d add --config-path option so that we can specify the root folder of config files. see #2149 2007-07-25 23:04:15 +00:00
Julien Pivotto 3a1b83228d Beter handling of status code in MUC. see #3270. 2007-07-19 13:12:11 +00:00
Julien Pivotto 97d5ffdb7d Beter handling of status codes. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-init
2007-07-19 11:54:15 +00:00
Julien Pivotto 0314f23aa4 Add notification of Configuration Changes in MUC. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Brendan Taylor 8adbac7997 don't prompt to negotiate if we have mutual subscription 2007-07-17 08:26:14 +00:00
Brendan Taylor fdef1c3d72 shared retained secrets 2007-07-17 08:08:27 +00:00
Brendan Taylor 8af883e852 refactored and corrected identity testing, prompt user when a session is initiated by an unsubscribed jid 2007-07-12 06:25:05 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Yann Leboulanger 3f5327dc6f [mrk] handle Google Apps For Your Domain. fixes #3163 2007-07-11 16:32:18 +00:00
Yann Leboulanger 952e6d96e3 catch disk full errors. fixes #2937 2007-07-09 16:01:19 +00:00
Yann Leboulanger 2828e47a24 don't always minimize bookmarked groupchats 2007-07-08 11:28:23 +00:00
Brendan Taylor ccac0b4299 fixed presence leaks 2007-07-05 21:30:09 +00:00
Brendan Taylor 29c44d8a5e interface for SAS 2007-07-04 18:55:53 +00:00
Yann Leboulanger 1656ea452b rename gt+ theme to default. fixes #2794 2007-07-04 16:50:54 +00:00
Yann Leboulanger 039bf1e10e use get_contact() when we give the resource. see #3275 2007-07-04 16:33:40 +00:00
Yann Leboulanger 8abd062365 [Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275 2007-07-04 13:23:16 +00:00
Brendan Taylor 2bed6a522a fixed a traceback 2007-07-03 18:00:09 +00:00
Yann Leboulanger 33946aeeef remove useless function get_contcats_from_jid (same as get_contact). see #3275 2007-07-03 10:22:41 +00:00
Brendan Taylor c3b81346d9 human-readable feature negotiation dialogs 2007-07-02 16:53:19 +00:00
Yann Leboulanger fd2be16f24 make the ask password for groupchat window async and entry visibility to False. fixes #3265 2007-06-29 08:19:13 +00:00
Brendan Taylor 6fe668d863 disable logs in encrypted sessions. 2007-06-29 04:12:08 +00:00
Yann Leboulanger c8d808d956 fix TB when we remove an account. Fixes #3268 2007-06-28 21:22:27 +00:00
Yann Leboulanger a1bf7363c7 better network_manager detection 2007-06-26 20:59:30 +00:00
Brendan Taylor 39bea5fd40 tidying things up. 2007-06-26 20:55:49 +00:00
Yann Leboulanger 519bfa9352 remove private messges from unread_messages table in logs.db 2007-06-25 19:34:23 +00:00
Yann Leboulanger fc153017ec ask password to user when we try to connect to a password protected room. fixes #2890 2007-06-24 21:19:41 +00:00
Brendan Taylor abd773b52e can respond to an esession request 2007-06-20 20:44:33 +00:00
Yann Leboulanger 2c6b7494cc check network events every 2 seconds is enough. fixes #3250 2007-06-19 16:19:57 +00:00
Julien Pivotto 2885e3dbda [misc] Update own vcard when requested. Fix #3237. 2007-06-17 16:10:00 +00:00
Brendan Taylor d1fe7b41f3 functioning XEP-0217 implementation! (initiation only) 2007-06-17 10:39:19 +00:00
Julien Pivotto c92145c3b9 [misc] repare sending composing chatstates using xep instead of xep.
Fix #3241.
2007-06-16 21:31:19 +00:00
Julien Pivotto ed3db807d9 Fix a bug with minimization and new accounts 2007-06-14 20:57:25 +00:00
Yann Leboulanger d2914f642b add minimize button to manage_bookmarks window. see #3034 2007-06-13 20:24:04 +00:00
Julien Pivotto 6338f63f03 Fix some bugs with minimized groupchats. 2007-06-11 10:13:16 +00:00
Yann Leboulanger 5ca32ba606 [sgala] check autoaway state only every 10 seconds, so that gajim allows for processors to sleep longer for power saving (see linuxpowertop.org) 2007-06-06 09:57:33 +00:00
Brendan Taylor 7898686680 reverted back to per-JID windows, pass around sessions instead of thread_ids 2007-06-05 23:19:34 +00:00
Brendan Taylor 17c5bf5e52 massive everything-breaking overhaul for per-session windows 2007-06-05 21:26:45 +00:00
Julien Pivotto 85c6c4b63c * Use self instead of gajjim.interface in gajim.py
* Improve coding of [8220]
2007-06-04 12:22:51 +00:00
Julien Pivotto 6269150711 Fix a bug with (systray, drag and drop) and minimized groucpchat 2007-06-04 12:18:34 +00:00
Julien Pivotto 99f36260f9 Change also context menu 'send status' icon in roster. 2007-06-03 16:42:43 +00:00
Julien Pivotto 24f42e7549 Add sent status icon to contact's context menu. Fix #342. 2007-06-03 15:46:05 +00:00
Yann Leboulanger 274f8742bb use the new new_private_chat function 2007-06-03 13:45:32 +00:00
Yann Leboulanger 75eb345ff9 prevent TB when we click on a popup notification of an already handled event 2007-06-03 13:42:51 +00:00
Yann Leboulanger 52c6c6cbb7 [roidelapluie] better groupchat support in roster and systray. Better nick support 2007-06-03 13:40:14 +00:00
Yann Leboulanger 07b324ced4 ability to see pep nodes and their access model. TODO: ability to change it 2007-06-03 10:30:34 +00:00
Piotr Gaczkowski e3ef0821b3 Merge with trunk 2007-06-03 10:04:20 +00:00
Brendan Taylor d696f79c55 can now accept a session negotiation 2007-06-01 22:08:23 +00:00
Brendan Taylor 32804eed1c reject a session negotiation request 2007-06-01 18:19:19 +00:00
Brendan Taylor 46bc373cc3 pop up a (useless) DataFormWidget when someone initiates a session negotiation 2007-06-01 17:09:56 +00:00
Yann Leboulanger 0e3c634ff2 new account registration wizard that follow XEP 77 better. fixes #2700 too (advanced options available while creation an account) 2007-05-31 21:49:49 +00:00
Brendan Taylor ec37a97ed6 add <thread/> to replies to single message that contain a <thread/> 2007-05-30 15:31:41 +00:00
Yann Leboulanger 94186d6d16 fix missing argument to handle_event_gc_notify function. Thanks sgala 2007-05-21 17:41:31 +00:00
Yann Leboulanger a45a14546a handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172, #3173 2007-05-20 15:41:20 +00:00
Julien Pivotto 91edfcfbdd Fix a bug with highlighing in groupchats 2007-05-17 15:50:55 +00:00
Julien Pivotto 993d72a8c1 Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received. 2007-05-17 12:55:44 +00:00
Jean-Marie Traissard b10981bd03 Use only one (up to date) error dialog for aspell dictionary error. See #3165. 2007-05-14 03:59:57 +00:00
Yann Leboulanger 1674110503 show transport nickname if there is one and user hasn't set a nickname. fixes #3094 2007-05-12 20:30:26 +00:00
Yann Leboulanger 31101e5049 when we're disconnected because of a resource conflict, ask the user another resource. Fixes #3044 2007-05-09 20:59:29 +00:00
Julien Pivotto ced8d45a5f Fix a bug with status in PM window on status change. 2007-05-08 18:32:44 +00:00
Julien Pivotto 1ee858e606 Fix a bug with notifs in systray. 2007-05-08 15:38:23 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 9c67eb961c [Peritus] handle confirmation requests sent via messages for XEP-0070. fixes #2995 2007-04-30 20:27:11 +00:00
Yann Leboulanger 3545dd3b90 [TheCurse] single-clicking ability. fixes #2072 2007-04-26 16:44:00 +00:00
Yann Leboulanger 798fd0e25a [thecurse] add latex support (run dvips and convert externaly) through use_latex ACE option. fixes #2796 2007-04-25 21:51:08 +00:00
Yann Leboulanger 776c4614d5 [roidelapluie] add ability to block / unblock a contact / group directly from roster. see #253 2007-04-24 19:56:24 +00:00
Yann Leboulanger 9ed8a292f2 support JEP-0055 (search) for non-dataform services. TODO: improve GUI 2007-04-19 20:54:42 +00:00
Yann Leboulanger f3676520c4 really take nick from FN field 2007-04-19 19:55:50 +00:00
Yann Leboulanger cac46db66c if no NICKNAME is present in our vcard, use FN fiield as our default nickname. 2007-04-19 19:02:56 +00:00
Yann Leboulanger 41bdb0c7f6 begining of XEP-0055 (search) implmentation. For the moment, works only with dataforms. see #1922 2007-04-19 13:31:28 +00:00
Yann Leboulanger 38b48d0134 [roidelapluie] add /ping command and ping menuitem in chat window. fixes #2947 2007-04-18 16:40:48 +00:00
Jean-Marie Traissard bf05bec320 re-add r' 2007-03-31 12:22:38 +00:00
Jean-Marie Traissard e0b88bb53c [bb]Better string manipulation 2007-03-31 12:07:40 +00:00
Yann Leboulanger ada5753cb9 detect correctly running instances under win with built version. fixes #3050 2007-03-22 18:37:23 +00:00
Yann Leboulanger 738da72f5a [andreas] don't change status message when we go auto away and no autoaway status message is defined. Same thing for autoXA. fixes #2994 2007-03-07 16:52:08 +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
Yann Leboulanger 3534bb30cd use new dataform widget in groupchat config window 2007-02-14 16:48:25 +00:00
Yann Leboulanger 0f91b1cdad catch correct exception when we try to use set_restart_command() 2007-02-12 19:59:40 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Yann Leboulanger 56bcc2e1fa missing commit 2007-02-07 12:13:41 +00:00
Yann Leboulanger 6d30138e80 fix call to self 2007-02-07 08:49:13 +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
Yann Leboulanger f079604c15 reset status_before_autoaway var when we come back online 2007-01-31 20:39:44 +00:00
Yann Leboulanger d7b9b50a67 prevent TB. fixes 2nd traceback of #2936. see #2936 2007-01-24 20:54:22 +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 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 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 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
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 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
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 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
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 96417e6592 [mdt] better pid file behaviour for windows. fixes #2165 2006-12-13 14:41:57 +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
Yann Leboulanger df58c1f309 play gmail_received sound only if it is enabled. fixes #2697 2006-12-03 13:49:16 +00:00
Nikos Kouremenos 053c5c0776 we now fail if no pywin32 is there. REFIX 2006-12-02 01:26:45 +00:00
Yann Leboulanger ac4fab231c remove gc contact avatar when he removes his avatar. see #2718 2006-11-28 16:41:31 +00:00
Yann Leboulanger e9db205110 remove avatar files when we publish a vcard without an avatar. see #2718 2006-11-28 15:40:08 +00:00