Commit Graph

698 Commits

Author SHA1 Message Date
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
Jean-Marie Traissard 6b0664fa83 Cache xep85 support but continue to violate xep85 5.1.2 for release. See #2637. 2006-11-26 22:00:53 +00:00
Yann Leboulanger ef8553031b [elrodeo] add a sound option when receiving gmail notifications. fixes #2697 2006-11-26 09:28:12 +00:00
junglecow 8f4f4e5a0d Ack! Typo! 2006-11-22 23:36:37 +00:00
junglecow 67d9e4d409 Forgot to close pidfile when /proc doesn't exist. Fixed. 2006-11-22 23:27:54 +00:00
junglecow 9694f931bf - More conservative PID file handling:
- Assume Gajim is running if pid's commandline contains 'gajim' anywhere. (The chance that it's some other process is very small, better safe than sorry.) (Linux only)
  - On non-Windows OS without /proc, assume Gajim is running if pid file exists.
2006-11-22 20:56:25 +00:00
Yann Leboulanger 4d9e58a580 better pid behaviour. we now in process list if pid contained in gajim.pid is still gajim. fixes #2165. (Linux only) 2006-11-22 16:15:16 +00:00
Yann Leboulanger 4236845608 prevent TB 2006-11-21 21:30:15 +00:00
Yann Leboulanger 953a9c1086 prevent a TB. fixes #2687 2006-11-21 20:55:56 +00:00
Yann Leboulanger 43c2f2f0ab change resource of incoming event when a resource disconected between the moment we get the message and the moment we read it. see #2657 2006-11-21 20:26:44 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 31c3deb86e Merge back [7466], [7467] and [7472] that were overwritten by ad_hoc merge. Fixes
#2200.
2006-11-19 19:45:43 +00:00
Nikos Kouremenos 49f1cd3bcf calling the module SRE is deprecated [in py25] in favor of RE. so use RE 2006-11-18 23:21:59 +00:00
Tomasz Melcer 175a792cfe Merging changes from trunk (6774:7465) 2006-11-18 20:52:28 +00:00
Tomasz Melcer 9b29c4c8b8 Merging changes from trunk (6561:6774) 2006-09-13 16:47:58 +00:00
Tomasz Melcer fa6ae3b4be Simple support for pubsub.com notifications. 2006-07-21 13:52:36 +00:00
Yann Leboulanger 1f93e36844 add a self contact row when another resource is connected. we can now use ad_hoc commands in gajim 2006-07-19 11:01:09 +00:00
Tomasz Melcer 585ab90e92 Merging changes from trunk (6496:6561) 2006-07-17 19:30:53 +00:00
Dimitur Kirov 8e4131fc93 create .gajim dir if it doesn't exist 2006-06-15 09:49:44 +00:00
Dimitur Kirov fff37fe869 check if pid file is already removed 2006-06-15 09:43:08 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 0b0e32ca32 [Anton Shmigirilov] Confirmation dialog,
instead of Error dialog for pid file
2006-06-14 08:45:30 +00:00
Dimitur Kirov 900d6d01b1 var name is 'account' 2006-06-13 06:41:33 +00:00
Yann Leboulanger d10d8f7815 don't show signed in/out popup notification for 30 seconds for transport contacts when we log in/out this transport. Fixes #2041 2006-06-12 15:24:58 +00:00
Yann Leboulanger 59c3b7b3c8 JEP 172 support (user nickname) Fixes #464 and #884 2006-06-01 15:23:38 +00:00
Dimitur Kirov 880253f9d3 say where is the pid file, which must be
deleted
2006-05-27 07:46:06 +00:00
Yann Leboulanger fe7f50cab3 gajim now create a pid file (~/.gajim/gajim[.profile].pid so that one profile cannot be launched twice) Fixes #1480 2006-05-26 13:32:52 +00:00
Jean-Marie Traissard e96724224d #1005 preparation : move popups and sound code for incomming new messages to notify.py 2006-05-22 20:14:54 +00:00
Jean-Marie Traissard 6d0e6b5289 Do not play incoming message sound when message from unknown contact and ignore_unknown_contacts
Fixes #1970.
2006-05-21 19:46:36 +00:00
Jean-Marie Traissard d7c5230573 Do not try to remove item from roster if contact is not in roster. Fixes #1967. 2006-05-19 02:42:54 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Yann Leboulanger 956ae9c34b [francois] notifies dbus when a new gmail message arrives. Fixes #1961 2006-05-15 17:27:48 +00:00
Jean-Marie Traissard de3af10b75 For GC, draw banner AFTER we change status of control 2006-05-11 21:46:55 +00:00
Jean-Marie Traissard af3500a225 #1005 preparation : Begin to move notifications to notify.py :
-moved popup and sound for contact in/out
-added popup for status change (always disable for the moment, will be advanced only)
Note : removed "if not gajim.awaiting_events[account].has_key(jid)" from condition for an in/out popup to be showed
2006-05-10 20:25:51 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Yann Leboulanger d25d056677 be sure that transport is really removed before we start to remove its contacts. 2006-05-01 18:29:12 +00:00
Yann Leboulanger 5a20109e05 don't definitively remove a contact when it has unread events 2006-04-26 21:43:58 +00:00
Yann Leboulanger 5655449d08 escape password when we create gmail URL 2006-04-25 19:56:27 +00:00
Yann Leboulanger 7e190cd107 don't unsensitive change_status_message menuitem in status ocmbobox when there are connected accounts. 2006-04-23 17:36:33 +00:00
Yann Leboulanger 922eeb5b4d activate autostatus also for free for chat status 2006-04-21 17:31:24 +00:00
Yann Leboulanger 5f48392890 don't activate auto away if we connect as away or invisible or anything else than online 2006-04-21 17:27:28 +00:00
Yann Leboulanger 70282f0bd5 set sleeper_state to off when we manualy go away so that we desactivate auto away 2006-04-20 21:53:41 +00:00
Jean-Marie Traissard a560e6c7c8 Fix indentation 2006-04-20 17:12:15 +00:00
Yann Leboulanger d42bba202b idle autostatus is activated only when we sign in. Fixes #1874 2006-04-20 17:06:05 +00:00
Yann Leboulanger dafb182a0f when a contact change his sub (from -> both) redraw it in correct group 2006-04-19 10:07:47 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Dimitur Kirov 14588f5e0f win32: check against 2,8 for gtk too 2006-04-14 11:16:00 +00:00
Yann Leboulanger 2a5e41e06a update groupchat contacts avatar when they change it, and send our presence to groupchat when we change our vcard 2006-04-12 12:55:06 +00:00
Yann Leboulanger 4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Yann Leboulanger d5d2f3c055 call got_[dis]connected() for all controls. Fixes #1845 2006-04-11 12:35:50 +00:00
Yann Leboulanger 4b43cda815 call fire_up_unread_messages_events when needed 2006-04-11 10:32:16 +00:00
Dimitur Kirov 97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger eb8cc5b7ea show correctly error message and log them in DB. fixes #1802 2006-04-10 14:00:04 +00:00
Yann Leboulanger 36fd551c10 "Set avatar when I connect" -> "Set my profile when I connect". Fixes #1837 2006-04-10 11:13:18 +00:00
Yann Leboulanger 9427fdaed1 don't compute bw avatar if no avatar. Fixes #1839 2006-04-10 10:50:32 +00:00
Yann Leboulanger aacf9dd950 fix TB when message from unknown contact 2006-04-10 09:04:52 +00:00
Jean-Marie Traissard b72e3aa100 Re-add nk's 'Profile, Avatar' menu, make it working 2006-04-08 22:47:57 +00:00
Dimitur Kirov 481c08560f removed useless methods 2006-04-08 16:51:56 +00:00
Dimitur Kirov e95cd81587 show roster when there are no old and new logs 2006-04-08 01:11:11 +00:00
Dimitur Kirov 077e3e1084 take care for winners 2006-04-07 23:49:49 +00:00
Dimitur Kirov 52d01323ce mirate logs by spawing a child python process
No progress text, only pulsebar
2006-04-07 22:57:27 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Yann Leboulanger 1bc78a3818 we remove agent even if it doesn't reply. Fixes #1756 2006-04-06 16:58:20 +00:00
Yann Leboulanger 29f41b223a we can now disable avatars by setting width or height to 0. Partially fixes #1816 2006-04-06 16:20:59 +00:00
Yann Leboulanger 37fd51363a remove contact from roster when we read latest event (including non-message event) if showOffline is False. Fixes #1812 2006-04-05 18:53:21 +00:00
Yann Leboulanger a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Nikos Kouremenos 1a3696a026 we no longer keep xml_console_window forever in me. we allocate on demand 2006-04-05 12:01:21 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Yann Leboulanger 7b102e4813 fix TB when getting chatstate from contact not in roster of offline storaged chatstate 2006-04-04 17:51:52 +00:00
Yann Leboulanger fe9bdf1737 nothing: remove useless line 2006-04-04 15:19:33 +00:00
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger 31e54bc2ed remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message. 2006-04-02 16:11:21 +00:00
Yann Leboulanger a803ba2758 take into account notify_on_new_message option for pm 2006-04-01 20:56:34 +00:00
Yann Leboulanger 9541b75559 prevent TB 2006-04-01 20:30:37 +00:00
Yann Leboulanger c23a517a20 typo 2006-04-01 20:21:21 +00:00
Yann Leboulanger becf3c4c3a handle correctly pm 2006-04-01 18:55:53 +00:00
Yann Leboulanger 90e5561860 JEP 0091 support: timestamp in presences. Fixes #1675 2006-04-01 18:16:06 +00:00
Yann Leboulanger 81d3d38455 fix logic in handle_event_msg so messages from lower resource doesn't behaves incorrectly. Fixes #1785 2006-04-01 17:03:36 +00:00
Nikos Kouremenos bd4a18b861 if we have status message for contact that signs in/out and we have such notifications, include the status message information in those windows 2006-04-01 09:35:07 +00:00
Nikos Kouremenos befc5ac529 in notifications say the message and do not dup info that new msg is in. fixes #1790 2006-04-01 09:17:15 +00:00
Nikos Kouremenos fcf31413dc fix hawke patch 2006-03-31 18:40:10 +00:00
Alex Mauer ff5fd60861 * Add option 'dont_ack_s10n' to prevent the infinite loop with jabberd2 subscription acknowledgements. 2006-03-31 17:35:05 +00:00
Yann Leboulanger b7e4465ed5 add contact to roster when he becomes observer (and was none before) 2006-03-30 18:48:24 +00:00
Yann Leboulanger 0690a35eea don't join already opened rooms when we come back invisible. Fixes #1777 2006-03-29 14:31:05 +00:00
Nikos Kouremenos 73905ec169 merge to logics about jid being a transport into one. use the superior one 2006-03-28 11:32:53 +00:00