Commit Graph

5682 Commits

Author SHA1 Message Date
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
Yann Leboulanger 8a8de540a0 redraw banner when we are connected or disconencted. see #2702 2006-11-30 15:12:25 +00:00
Yann Leboulanger e927ccdfc2 show muc_inactive image when gc is not connected. see #2702 2006-11-30 11:32:49 +00:00
Yann Leboulanger ff7c612f97 show groupchat icon in groupchat window banner. see #2702. TODO find muc_active.svg to create 32x32 icons 2006-11-30 09:05:59 +00:00
Stefan Bethge cc09dae0fe call missing init for zeroconf vcard dummy 2006-11-29 22:57:37 +00:00
Yann Leboulanger 8b8bb86c8e [kiddo] fix wrong gaim xhtml HREF tag. fixes #2644 2006-11-29 21:57:35 +00:00
Yann Leboulanger 65f0738de7 use Q_() to translate strings with a context. fixes #2726 2006-11-29 18:06:06 +00:00
Nikos Kouremenos e3dd735831 yeah it is official. Gajim runs on Windows Vista. Now it even detects it and sends it as OS [previously was just saying Windows]. Long Live Ballmer! [hahaha]: http://img86.imageshack.us/img86/7944/myvistadesktopow7.jpg 2006-11-29 02:34:07 +00:00
junglecow 236ed0463a [pyopenssl] More exception fixes 2006-11-28 22:12:03 +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
Yann Leboulanger adff04903c handle correctly save of multi-line status messages. fixes #2719 2006-11-28 14:41:14 +00:00
Yann Leboulanger ec66722faa revert [7551]. fixes #2722. see #2720 2006-11-28 12:49:36 +00:00
Yann Leboulanger 7dbccecd6f redraw gc tab when we open pm. fixes #2716 2006-11-28 10:15:44 +00:00
Yann Leboulanger 9097f9d311 [dsh] use same python version to launch history manager than the one used to launch gajim itself. fixes #2720 2006-11-28 08:14:19 +00:00
junglecow 5cb241b8c0 [trunk]
- Typo
[pyopenssl]
- Better exception handling
- Prevent 100% cpu usage when ssl handshake is slow
2006-11-28 01:02:31 +00:00
junglecow b191b3f472 [trunk]
- Typo
[pyopenssl]
- Better exception handling
- Prevent 100% cpu usage when ssl handshake is slow
2006-11-28 01:02:31 +00:00
Tomasz Melcer 35a7f7bc32 Show general error desc if the stanza doesn't have error code. 2006-11-27 20:28:24 +00:00
Jean-Marie Traissard 7646e94ff5 gc_nicknames_colors contained two green colors and status messages are green too.
Moved one to grey and one to dark green, differentiation seems ok now
2006-11-27 16:39:17 +00:00
Jean-Marie Traissard 689372d9ae Use new groupchat icon in conv_textview too.
Remove some evil dup code
2006-11-27 13:14:29 +00:00
Nikos Kouremenos f33ff3a74d remove utf8 data in file that does not declare it uses utf8 [make Gajim boot] 2006-11-27 11:33:21 +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 04b6d6a8f0 reduce number of if / elif 2006-11-26 12:56:44 +00:00
Yann Leboulanger ef8553031b [elrodeo] add a sound option when receiving gmail notifications. fixes #2697 2006-11-26 09:28:12 +00:00
Yann Leboulanger 5e6f9d0118 add an option to define the chatstate we want to show in char window. fixes #2706 2006-11-26 09:06:47 +00:00
Nikos Kouremenos eed1a0c75e show time correctly [it was failing at least in Windows]. see #2514 2006-11-25 14:34:53 +00:00
Yann Leboulanger a37b946098 [sgala] IPV6 support for connection fith server. see #1969 2006-11-25 11:50:31 +00:00
Yann Leboulanger e8145b8b31 fix indentation. Fixes #2704. thanks Fab 2006-11-25 10:31:01 +00:00
Stefan Bethge a6e2610038 call proper info win for zeroconf accounts. fix: #2703 2006-11-24 17:38:12 +00:00
junglecow fc88ae004a When registering a new account, instead of using on_connect_success handler, register disconnect handler with the connection as soon as we create it. Hacky, but works. Fixes #2671. 2006-11-24 14:48:04 +00:00
Yann Leboulanger e0f2ec0915 show new MUC icon in account context menu. fixes #2701. 2006-11-24 14:30:29 +00:00
Stefan Bethge 1e6bbfe48f fix #2699 (readd vcard dummies) 2006-11-23 15:17:24 +00:00
Yann Leboulanger e2c86d5c2e [avm] improve strings for translation and update ru.po. fixes #2698 2006-11-23 06:49:22 +00:00
junglecow 8f4f4e5a0d Ack! Typo! 2006-11-22 23:36:37 +00:00
Yann Leboulanger 4251bb6d2b [stlman] fix invisible code. fixes #2695. Thanks 2006-11-22 23:27:57 +00:00
junglecow 67d9e4d409 Forgot to close pidfile when /proc doesn't exist. Fixed. 2006-11-22 23:27:54 +00:00
Yann Leboulanger c69061b41c do not allow to join a malformed room (abc/def@server.org). fixes #2520. 2006-11-22 23:21:33 +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 7cdb177558 show error message when we try to register to an unavailable transport. fixes #1574 2006-11-22 19:49:41 +00:00
Tomasz Melcer ac9220116e text-single fields in read-only forms are gtk.Labels 2006-11-22 18:52:21 +00:00
Jean-Marie Traissard 8f9643b3bc Update gajim-remote new command name, delete unused local var 2006-11-22 17:19:50 +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 38fea2a389 add and ACE option to enable negative priority. fixes #617 2006-11-21 22:38:18 +00:00
Yann Leboulanger e4a6d895ee do not count priority and if contact is a transport when computing metacontact score when contact is offline. fixes #2691 2006-11-21 22:27:35 +00:00
Yann Leboulanger 4236845608 prevent TB 2006-11-21 21:30:15 +00:00
Yann Leboulanger 568b1a7193 typo in gajim-remote.py, command is send_chat_message. fixes #2692 2006-11-21 21:04:28 +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
Yann Leboulanger 1377aa875c count events from other resources to decide if we must remove contact from roster or not. see #2657 2006-11-21 20:07:18 +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 6ece819abd 'JID'->'Jabber ID' 2006-11-21 00:26:51 +00:00
Tomasz Melcer 4c55eda67b Do not destroy a form twice. 2006-11-20 23:22:31 +00:00
Tomasz Melcer b7261d397b Further changes to commands' dialog. 2006-11-20 23:10:12 +00:00
Tomasz Melcer 0412f97eda Read-only forms are read-only now. 2006-11-20 22:49:28 +00:00
Tomasz Melcer 73461bdb21 Cancel and close buttons merged into one. 2006-11-20 22:33:08 +00:00
Jean-Marie Traissard 2ca94a530a Fix send message to group.
Delete duplicate code
2006-11-20 22:22:30 +00:00
Yann Leboulanger 9259d870d5 get group name from jid column, not name column (it contains number of online / total contacts) 2006-11-20 22:02:08 +00:00
Tomasz Melcer 66893b1a52 Align field descriptions to left in new dataforms. 2006-11-20 21:23:55 +00:00
Stefan Bethge 720b190db8 fix some small things. Thanks, pyflakes. Fix #2684 2006-11-20 21:02:15 +00:00
Tomasz Melcer fc7bd37634 Another fix due to pyflakes. 2006-11-20 19:59:07 +00:00
Tomasz Melcer c52b9ea662 Small fixes thanks to `pyflakes`. 2006-11-20 19:34:11 +00:00
Jean-Marie Traissard 6775c3a43d Some errors spoted by file source checkers 2006-11-20 19:11:31 +00:00
Jean-Marie Traissard 20ea31ac9e Fixed indentation. Fixes #2683. 2006-11-20 18:50:25 +00:00
Jean-Marie Traissard 173ab72b46 var name 2006-11-20 17:24:52 +00:00
Tomasz Melcer b9f5755ad6 Use iterators, better for memory usage. 2006-11-20 16:51:35 +00:00
Nikos Kouremenos 73157a4c65 present() may or may not deiconify. and in Windows Window Manager it does not, so force that 2006-11-20 13:41:53 +00:00
Nikos Kouremenos ee390174d2 add hide this menuitem for systray menu in windows. GTK/win32 SUCKS. do not ever use it for your own project unless it is something trivial 2006-11-20 13:12:52 +00:00
Yann Leboulanger 1c09951eb2 put just_connected_bg_color and just_disconnected_bg_color in ACE. fixes #2677 2006-11-20 08:03:05 +00:00
Yann Leboulanger a6c6d6a27f 80 margin 2006-11-20 07:53:58 +00:00
Yann Leboulanger 0de0f31d91 coding stds 2006-11-20 00:09:18 +00:00
Yann Leboulanger 2ebf1309de fix logic for #2680 2006-11-19 23:58:14 +00:00
Yann Leboulanger 483ccdf35a use isinstance instead of type. fixes #2680 2006-11-19 23:55:06 +00:00
Yann Leboulanger 27a6a1d7f1 redraw group row after we rename it. fixes #1728 2006-11-19 23:29:45 +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
Tomasz Melcer a6b38b6010 Oops, forget to remove testing code. 2006-11-19 18:38:03 +00:00
Tomasz Melcer 07bd24c2e8 Name clash in dataforms. 2006-11-19 18:30:58 +00:00
Jean-Marie Traissard 917f7e8db6 Fix ad_hoc menu for transports. Fixes #2678. 2006-11-19 17:53:04 +00:00
Nikos Kouremenos 0c5a736d0e fix bad logic 2006-11-18 23:48:31 +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 03fdd6d3a6 Specified the root element of glade file in config.DataFormWindow, so that
it doesn't load new dataforms ui.
2006-11-18 22:01:02 +00:00
Tomasz Melcer 8744030d9c Removed some prints, iterTags->getTags. 2006-11-18 21:25:55 +00:00
Tomasz Melcer d9d5f5a841 Fixed last fix. 2006-11-18 21:04:24 +00:00
Tomasz Melcer 4b97eddee4 Comparing types: type(x)==type(self) => isinstance(x, self.__class__) 2006-11-18 21:01:41 +00:00
Tomasz Melcer 175a792cfe Merging changes from trunk (6774:7465) 2006-11-18 20:52:28 +00:00
Tomasz Melcer 755964c3f1 Invoking commands works... at least those from psi 0.11. 2006-11-18 20:10:37 +00:00
Tomasz Melcer 68703a1d5d 'Server' part switched to use new forms. 2006-11-18 18:39:02 +00:00
junglecow 3c77ffd406 [PyOpenSSL branch]
- Close connection after creating account. Fixes #2676
- Handle normal connection close by server. Fixes #2671
- Do not disconnect if we haven't received starttag yet. Fixes #2668. Fixes unticketed bug causing account creation not to work with PyOpenSSL and asynchronous handshake (see also #2671). Behaviour of #2634 is also improved but now results in deadlock.
2006-11-18 15:09:40 +00:00
junglecow 321020751d Bugfix 2006-11-14 06:39:08 +00:00
junglecow be1b58aa79 Handle OpenSSL.SSL.SysCallError 2006-11-13 22:17:16 +00:00
junglecow 4617618463 Removing all calls to sys.exc_clear(). This is only necessary in very rare circumstances, and if there is such a circumstance, it should be clearly documented in code. 2006-11-13 15:07:47 +00:00
junglecow 9e3e14dd78 Fixed a bug in compatibility code 2006-11-13 14:44:17 +00:00
junglecow c5ffc7bf5d - Added support for PyOpenSSL (with fallback to old library if not found)
- Also added a wrapper for cleaner compatibility handling of old SSL library
- Changed exception handling to be more precise. (Catching Exception. Ish.)
- Added lots of debug printing

You will need to install pyopenssl (Debian unstable: python-pyopenssl) to try this.
2006-11-13 14:24:41 +00:00
Yann Leboulanger 0f53cbb3f6 in choose GPG key dialog, search on name column instead of keyid. fixes #2655 2006-11-13 07:10:54 +00:00
Yann Leboulanger 786d3e9fb8 remove useless test. fixes #2167 2006-11-13 06:58:41 +00:00
Yann Leboulanger 1a2cb6a071 redraw account row when we add the first child. fixes #2576 2006-11-13 06:41:43 +00:00
Yann Leboulanger 9ea82566d5 don't hide contact when other offline resource have pending events. fixes #2657 2006-11-12 11:32:43 +00:00
Yann Leboulanger ed5930a1b1 count as pending events message from other resources too. see #2657 2006-11-11 14:47:08 +00:00
Yann Leboulanger 2f354b464d show correct status icon in chat banner when we open a chat for a specific resource. see #2657 2006-11-11 14:40:26 +00:00
Yann Leboulanger 1abf5865d6 remove an old debug print 2006-11-11 14:03:59 +00:00
Yann Leboulanger 0e092980fd show unread pm in tab and in chat window title. fixes #2645 2006-11-10 23:17:52 +00:00
Stefan Bethge 27849fc3d7 fix #2586, cleanup 2006-11-10 20:43:23 +00:00
Yann Leboulanger da58aeaf88 [Petteri] topic autocompletion. fixes #2654 2006-11-10 20:06:57 +00:00
Yann Leboulanger 38fd89a378 shorter string to fit popup window. fixes #2640 2006-11-10 19:33:34 +00:00
Yann Leboulanger 3fd64392c4 make homepage selectable 2006-11-10 19:18:40 +00:00
Yann Leboulanger 28dee0867f [misc] ability to send messages to a group or to several contacts. fixes #1823 2006-11-10 18:41:08 +00:00
Yann Leboulanger 1add317cc9 use PRAGMA synchronous = OFF in sqlite to avoid hard drive spin up. fixes #2183 2006-11-10 18:32:38 +00:00
Tomasz Melcer fafc555b6b Some changes in new dataforms, they're almost usable now. 2006-11-10 13:17:59 +00:00
Yann Leboulanger d701c1ef3d show status changement of contact without a resource only once. fixes #2542 2006-11-10 08:59:14 +00:00
Yann Leboulanger a6201bff11 number of tab in vcard.py has changed 2006-11-10 08:24:36 +00:00
Yann Leboulanger a4c29cd6c2 [misc] XEP-145 (annotations) support. Thanks fixes #776 2006-11-09 19:13:53 +00:00
Yann Leboulanger bac3b8f2f2 always show change status message window to current desktop when we change status. fixes #2615 2006-11-09 18:21:25 +00:00
Stefan Bethge 0cc8a9fad2 fix #2656 2006-11-09 17:06:28 +00:00
Stefan Bethge 1d8dab4b22 read password from account config window using get_password, not from config 2006-11-09 15:42:27 +00:00
Jean-Marie Traissard 20dc155f65 Reset pending messages count in message_win even in more than one tab stay, delete
banners redraw when control whith same nick is present, it's related to accounts
now.
2006-11-09 00:06:03 +00:00
Jean-Marie Traissard 587a4d4e73 Don't count first messages in roster title when we auto open 2006-11-08 21:28:28 +00:00
Yann Leboulanger 5b9a784b68 don't copy contact when the only one has no resource. it means it's the first message we got. fixes #2652 2006-11-08 17:23:57 +00:00
Yann Leboulanger f39fd2a861 redraw transport when we read it's queue 2006-11-08 16:47:07 +00:00
Yann Leboulanger 038c4e4c77 use good filename when saving avatar of a contact from info window. Fixes #2650 2006-11-08 14:31:40 +00:00
Yann Leboulanger c897263ed0 [dkirov] When .so modules are loaded from module path there is no need to do extra checks. 2006-11-08 13:23:38 +00:00
Yann Leboulanger b288264135 [dkirov] idle module is not correctly build (linked to xss lib) and loaded from .libs folder for svn users. fixes #2611 2006-11-08 13:16:35 +00:00
Yann Leboulanger 2034948d2a fjid must always be set. 2006-11-08 13:04:31 +00:00
Yann Leboulanger 3e18b3b7fc don't ensure_utf8_string() when prefferedencoding is not 'UTF-8'. fixes #2514 2006-11-08 08:09:42 +00:00
Yann Leboulanger a9624838ef overwrite contact instance when the one that remain is offline. fixes #2569 2006-11-08 07:36:52 +00:00
Yann Leboulanger 17d17ae50f fix TB when we get a message from a not in roster contact 2006-11-08 07:23:30 +00:00
Jean-Marie Traissard bb072aafb8 agh, re typo 2006-11-08 02:34:12 +00:00
Jean-Marie Traissard 72ae44ec0c Typo 2006-11-08 02:32:49 +00:00
Jean-Marie Traissard 2e1e5ab218 Use good filename when saving avatar of a contact without a renamed nick. Fixes #2650. 2006-11-08 02:28:03 +00:00
Jean-Marie Traissard 943338b00b We NEVER want to count gc_messages in roster title. Good catch hawke 2006-11-07 23:36:48 +00:00
Stefan Bethge 7c433c7c85 display error messages only when there is an error (hopefully), see #2586 2006-11-07 23:25:24 +00:00
Yann Leboulanger ae8c6e309e handle correctly messages from invisible resources 2006-11-07 23:13:11 +00:00
Yann Leboulanger b2d4177962 use correct jid (not always jid_with_resource) in popup. fixes #2569 2006-11-07 21:58:33 +00:00
Jean-Marie Traissard cdd9618635 Fix roster not refreshed in on_conversation_vadjustment_value_changed() by merging duplicate code 2006-11-07 21:29:59 +00:00
Stefan Bethge bf69759900 fix #2649 2006-11-06 22:47:25 +00:00
Yann Leboulanger 636342bc30 take into events from fill jid when deciding if we should remove it from roster. fixes #2646 2006-11-06 22:15:33 +00:00
Stefan Bethge 745434fdab give error messages when local message could not be sent, see #2586 2006-11-06 21:30:39 +00:00
Yann Leboulanger f5fedaf737 prevent TB. fixes #2534 2006-11-06 21:21:04 +00:00
Tomasz Melcer 289928050c Reworked dataforms, not finished yet. 2006-11-06 12:23:39 +00:00
Jean-Marie Traissard e8d2bfe1ce [elghinn/jim]Correctly reload emoticons set :). Fixes #2445 2006-11-06 05:37:29 +00:00
Jean-Marie Traissard dcbde70325 View my_emoticones sets in prefs (regression in [7355]) 2006-11-06 00:06:35 +00:00
Yann Leboulanger 291666a5e3 show gc topic changements with timestamp as old conversations (grey) 2006-11-05 23:46:06 +00:00
Jean-Marie Traissard 57e4c75a83 [junglecow] Bookmarked groupchat rooms to follow global print_status_in_muc setting
if print_status unspecified by user. Fixes #2641.
2006-11-05 22:09:19 +00:00
Yann Leboulanger e96edbb7a6 - add a confirmation dialog when we create a metacontact for the forst time. fixes #2259
- for server that doesn't support storinx privacy XML, add a warning dialog
2006-11-05 00:47:25 +00:00
Yann Leboulanger 83a5014b14 [junglecow] refactor paths and directories in a single file. fixes #2629 2006-11-04 18:15:38 +00:00
Jean-Marie Traissard 1ea1be854b Fix bug with accounts NOT merged, use get_global_show() and simplify [7354] 2006-11-04 04:06:50 +00:00
Yann Leboulanger fefbc29079 show only folders in iconsets and emoticons combobox. fixes #2638 2006-11-04 02:39:11 +00:00
Yann Leboulanger 43ddd31399 how correct status iconin merged account row. fixes #2620 2006-11-04 02:29:16 +00:00
Yann Leboulanger eeb4dfc61b show change status message window in current workspace. fixes #2615 2006-11-04 01:47:30 +00:00
Yann Leboulanger 354b6fd1c5 [elrodeo] add must sounds in systray context menu. fixes #2626 2006-11-04 01:42:29 +00:00
Jean-Marie Traissard 7db777868e Revert [7334] 2006-11-04 00:27:56 +00:00
Jean-Marie Traissard e2929d12bf Fix notify_on_all_muc_messages I just broke, remove useless and unclear function 2006-11-03 21:27:56 +00:00
Jean-Marie Traissard a8354e1132 Fixed totally broken trayicon_notification_on_new_messages behaviour, change name to
trayicon_notification_on_events and do what's expected
2006-11-03 19:52:39 +00:00
Jean-Marie Traissard b50d3b86ba Show good count of awaiting messages in message_window title 2006-11-03 18:03:59 +00:00
Jean-Marie Traissard aff110a047 Use psi bug workaround less often, so we never see "/me changed topic" anymore, clarify comment
about why we do that. Fixes #2636.
2006-11-03 17:10:55 +00:00
Nikos Kouremenos 213cfba438 gajim-remote get_unread_msgs_number now works ok. fix #2622 2006-11-03 12:55:05 +00:00
Nikos Kouremenos ee4e96c4ad [elrodeo] font button for roster font in prefs window. see #2633 2006-11-03 12:43:27 +00:00
Jean-Marie Traissard ea496bdace More logical meaning of first message for a single message (if no single already in queue for this jid)
Fixed possible bad value of first for pm
Slaped bad bad comments
2006-11-03 07:58:44 +00:00
Jean-Marie Traissard b978097c42 Removed import sys, useless since [7326] 2006-11-03 06:41:34 +00:00
Jean-Marie Traissard 1a12bcc831 Do not print unwanted notifications for file_* events 2006-11-03 05:41:11 +00:00
Jean-Marie Traissard dd0173cb1f When some event for a jid arrive and we want show in roster, always show, even if contact is not in the
roster
Generalize selection of incomming event in the roster
separate add_to_not_in_the_roster() in a func
Deleted a Redraw of parent that seems useless (done in draw_contact())
Fixes #2247.
2006-11-03 05:11:43 +00:00
Yann Leboulanger 77df1f0986 fixe default value to a variable. 2006-11-02 21:13:36 +00:00
Jean-Marie Traissard 3acfe5f359 Do not clear when Xclear or whatever is not /clear in a chat_control, thanks b4d for report 2006-11-02 20:30:14 +00:00
Yann Leboulanger fdb0a9b099 focus on close button in vcard.py when we open it. fixes #2537 2006-11-02 16:13:39 +00:00
Nikos Kouremenos fa20b21507 use locale.getpreferredencoding() instead of sys.getfsencoding in decode_string 2006-11-02 13:42:51 +00:00
Nikos Kouremenos c494b7f5b9 if it is alreayd unicode instance, do not decode 2006-11-02 13:40:57 +00:00
Yann Leboulanger 18207be244 update contact instance in chat control when a resource comes back online (a new contact instance is created). fixes #2619 2006-11-02 00:07:15 +00:00
Yann Leboulanger 4c64eb6cce don't show contact in roster if account is offline and no pending events and show_offline is False. fixes #2618 2006-11-01 20:12:08 +00:00
Yann Leboulanger f0f5243e32 don't show pm event twice when we restore conversation. fixes #2621 2006-11-01 17:09:10 +00:00
Yann Leboulanger 6466c45d74 [gjc] workaround gnome-keyring-daemon bug. see #2595 2006-11-01 16:49:49 +00:00
Yann Leboulanger dba0a34a74 follow global status for merged account line. fixes #2620 2006-11-01 14:50:07 +00:00
Yann Leboulanger bf09d27040 don't fail to auto-detect mailer and browser under win 2006-11-01 14:46:57 +00:00
Jean-Marie Traissard e6ccbf517a It's ok, contact.last_status_time is always local time, remove comment. 2006-10-30 17:40:34 +00:00
Nikos Kouremenos 72e26a5137 noone does ./gajim.py anymore. so remove forcing call to python -OOt via shell 2006-10-30 10:25:52 +00:00
Nikos Kouremenos c841e3b744 [psy_il] do python 25 compatible import for pysqlite in common/logger.py too 2006-10-24 16:04:21 +00:00
Nikos Kouremenos 42621a44be enrich comment about nm support more 2006-10-21 10:25:39 +00:00
Nikos Kouremenos 897190031e fix and enrich comment about nm support 2006-10-21 10:15:19 +00:00
Nikos Kouremenos cf5666043c again fix Gajim so it runs if NM is not there. Stefan please have a look from time to time in the timeline to see other ppl fixes [f.e. this was done by Yann b4] 2006-10-21 10:10:34 +00:00
Stefan Bethge 4f85656bb0 fix previous commit, don't do nm stuff if account is not synchronized to global status 2006-10-21 00:54:21 +00:00
Stefan Bethge 0465e3dcdb fix #860, add patch from <jeff at ocjtech.us>, add per account options,
(options are in ACE only)
2006-10-21 00:49:30 +00:00
Stefan Bethge 2875fbda4b add fixme notice to workaround for #2585 2006-10-20 23:19:57 +00:00
Nikos Kouremenos f02d7e446e missing logic on prefs window for exo-open stuff. fixes #2606. thanks baze for ur attention to detail 2006-10-20 21:25:47 +00:00
Stefan Bethge 18ef6edb74 don't allow sending messages via local account when offline or invisible 2006-10-20 17:02:38 +00:00
Nikos Kouremenos d98263c5e8 do not do gnomekeyring.is_available check eveyrytime (only once); remove an assert 2006-10-20 10:14:15 +00:00
Nikos Kouremenos 78e56c56e8 rm the print 2006-10-20 10:08:08 +00:00
Nikos Kouremenos cdb7fb67e6 add print to assist baze. see #2600 2006-10-20 09:43:40 +00:00
Nikos Kouremenos 0580e69f1c damn typo 2006-10-20 09:42:33 +00:00
Nikos Kouremenos 946d180054 some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say 2006-10-20 09:37:24 +00:00
Nikos Kouremenos b37bf4ec0a common/helpers also does exo-open 2006-10-20 09:25:14 +00:00
Nikos Kouremenos d63d78be66 if user is xfce4 user [startxfce4 or xfce4-session in running procs] then use exo-open (needs libexo) to open urls using the xfce defined default apps 2006-10-20 09:22:17 +00:00
Nikos Kouremenos 62051dd998 use single quotes. Manager with capital in net manager 2006-10-20 09:06:36 +00:00
Jean-Marie Traissard bffc81eec1 Better description 2006-10-20 00:52:34 +00:00
Jean-Marie Traissard cb7f63f0f4 var name 2006-10-19 23:45:43 +00:00
Stefan Bethge bc98a0756e fix tb when renaming offline local contacts (dkirov) 2006-10-18 21:15:54 +00:00
Yann Leboulanger 8caa122a64 [misc & asterix] improve privacy_list and privacy_lists window 2006-10-18 08:37:44 +00:00
Yann Leboulanger 06609bcb89 add GUI option to ignore incoming XHTML tag. fixes #2522 2006-10-18 08:20:49 +00:00
Yann Leboulanger ac0682e991 catch network manager not present error. fixes #2597, #2599 2006-10-18 07:41:09 +00:00
Jean-Marie Traissard 27812fe3b0 Better description of chat_merge_consecutive_nickname option 2006-10-17 22:26:25 +00:00
Stefan Bethge 8cf6f4c7c2 add simple implementation of network manager awareness
(should find a better place) - see #860
2006-10-17 22:15:20 +00:00
Yann Leboulanger f3b6fa94e9 ignor wrong mail from gmail. fixes #2587 2006-10-17 21:56:59 +00:00
Yann Leboulanger edf0ea9f4d [Gustavo] make gnomekeyring code more robust. 2006-10-17 21:48:10 +00:00
Yann Leboulanger e2430062f1 add missing () in a test. fices #2589 2006-10-17 21:40:48 +00:00
Stefan Bethge 8bfbb62aac complete [7275] - remove send file for offline users (dkirov) 2006-10-17 19:38:43 +00:00
Stefan Bethge 4aeb92e52f temporarily replace unicode txt data from local contacts with a dot until we get info from avahi 2006-10-17 19:18:25 +00:00
Stefan Bethge e5806104ce patch from dkirov: fix problem with chat window jid != roster contact jid (local contacts) 2006-10-17 19:13:36 +00:00
Stefan Bethge ff735c4d36 don't allow vcard window for offline local contacts 2006-10-17 16:35:56 +00:00
Yann Leboulanger 2d4f689891 remove unneeded import 2006-10-17 16:03:12 +00:00
Yann Leboulanger fafa2d0c0a show our server in roster when we get a message from it, and hide it if show_transports_group is False. Fixes #2568 2006-10-17 12:31:16 +00:00
Yann Leboulanger 4500643eaf catch only invalid format error. see #2574 2006-10-17 10:50:14 +00:00
Yann Leboulanger 0c0c81ca03 ignore transports with wrong jid. fixes #2574 2006-10-17 10:09:11 +00:00
Stefan Bethge 6ca90b0a9f revert [7259] 2006-10-16 22:40:52 +00:00
Yann Leboulanger 2ee4333b0b escape filename before adding them to filetransfert window. fixes #2582 2006-10-16 21:48:20 +00:00
Yann Leboulanger 8a45a73226 show in roster not in roster contacts. also fixes a TB when receiving messages from not in roster contacts. 2006-10-16 21:37:32 +00:00
Yann Leboulanger 0909fae3cf do not remove contact from roster when we remove a events from a contact and it is not offline. fixes #2583 2006-10-16 21:01:07 +00:00
Yann Leboulanger 21e3f8a6a7 don't show subject tooltip if there is no subject. fixes #2572 2006-10-16 20:28:18 +00:00
Yann Leboulanger fa1be18664 show transport if they have awaiting events, even if show_transport is off. fixes #2568 2006-10-16 20:05:09 +00:00
Stefan Bethge 39688db977 patch from dkirov to fix TB with gaim presences 2006-10-16 19:43:02 +00:00
Yann Leboulanger 96f19e9c10 [sgala] fix dubble emoticon in htmltextview when receiving xhtml message. see #316 2006-10-16 19:18:36 +00:00
Yann Leboulanger 92f579aa79 use correct account name when DND'ing contacts. fixes #2531 2006-10-16 19:02:49 +00:00
Nikos Kouremenos ae108fb633 make homepage label in vcard selectable. see #2579 2006-10-16 13:53:35 +00:00
Stefan Bethge c456312e86 fix #2575 (thanks for the patch) 2006-10-16 13:37:49 +00:00
Stefan Bethge b5d4bb4a1c fix #2574 (allow 0x5f in hostnames) 2006-10-16 13:24:09 +00:00
Stefan Bethge 0464ac380f fix TB on remove account 2006-10-16 02:00:13 +00:00
Yann Leboulanger b3d405b616 handle correctly messages from offline resources 2006-10-15 21:51:34 +00:00
Yann Leboulanger fe5407907a do not take into account offline resources in vcard / roster and tooltips. They may stay here if they are awaiting events. 2006-10-15 21:47:35 +00:00
Nikos Kouremenos 5b600300fd room -> group chat 2006-10-15 17:29:22 +00:00
Nikos Kouremenos 7bcc6dd246 no need for [7252]. it is already done by GTK. we do not hide, nobody hides. std context menu with 2 or menuitems is baaaad. user eyes are used to finding paste under cut copy etc 2006-10-15 17:13:55 +00:00
Nikos Kouremenos 06ef2a1a24 Cut Paste and Delete menuitem from conversation popupmenu become INSENSITIVE (not removed!) 2006-10-15 16:40:42 +00:00
Nikos Kouremenos a1820a4ed5 fix logic for observers to work as XEP 0162 says 2006-10-15 13:23:05 +00:00
Nikos Kouremenos 467f4d8aa1 actions for string can be max 2 lines 2006-10-15 12:59:23 +00:00
Yann Leboulanger f1dce33515 remove duplicate code 2006-10-15 10:51:26 +00:00
Dimitur Kirov 1fcea90561 enable utf-8 strings in txt records 2006-10-15 02:09:23 +00:00
Yann Leboulanger e8151ed1d2 remove Cut Paste and Delete menuitem from conversation popupmenu. fixes #2567 2006-10-14 14:54:54 +00:00
Nikos Kouremenos ca65a1a097 commit something to complete [7176] 2006-10-14 13:22:37 +00:00
Yann Leboulanger dc1b4951b2 save gpg_enabled pref for jid, not full_jid. Fixes #2448 2006-10-14 13:13:00 +00:00
Nikos Kouremenos aa238c8a0b use single quotes 2006-10-14 11:42:36 +00:00
Nikos Kouremenos d96933601a do not use plural in ace comment 2006-10-14 11:32:10 +00:00
Yann Leboulanger 15fc024d7c do not allow to join a room with the jid of an opened chat window. fixes #2558 2006-10-14 10:31:26 +00:00
Stefan Bethge 7ad0a850d6 only show corresponding lines in actions/advanced menu 2006-10-14 06:15:43 +00:00
Stefan Bethge 18ba4ec4e7 fix #2551 2006-10-14 05:33:08 +00:00
Dimitur Kirov d1b2d21ba1 same as [7234] 2006-10-13 08:18:54 +00:00
Dimitur Kirov f0258f0f0d don't dist defs.py.in from common 2006-10-13 08:17:43 +00:00
Dimitur Kirov 62fcc8eb76 move defs.py.in in data/ dir 2006-10-13 08:15:20 +00:00
Yann Leboulanger bce21faeab update instantly privacy_lists window when we add or remove a privacy list in privacy_list window 2006-10-13 07:47:21 +00:00
Yann Leboulanger ce10327b19 remove unneeded self variable 2006-10-13 07:22:26 +00:00
Yann Leboulanger 1a5a4817b3 do not allow to create a privacy lists with an empty name. fixes #2541 2006-10-13 07:09:43 +00:00
Yann Leboulanger b69d736c94 prevent TB, call set_active() with jid without resource if we open window without resource 2006-10-12 16:37:08 +00:00
Yann Leboulanger f6565b5703 add a defs.py to svn for windows users
take version number from defs.py, so now when we upgrade it we have to upgrade in configure.ac AND defs.py (for win users)
2006-10-12 15:10:17 +00:00
Yann Leboulanger dff640fc6a fixes behaviour when contact with sevral resources sends us messages and we click in systray or popup window. fixes #2443 and #2498 2006-10-12 14:08:28 +00:00
Yann Leboulanger 010eb2c9f3 do not align jid to bottom in roster tooltips 2006-10-12 08:28:16 +00:00
Stefan Bethge a8c0bbe7c1 fix #2555 2006-10-12 03:22:57 +00:00
Jean-Marie Traissard 345ab7846d Correct tooltips after zeroconf merge. Fixes #2554. 2006-10-12 02:44:15 +00:00
Stefan Bethge 41594ac4e8 fix #2545, pop up error message when publishing fails 2006-10-12 02:21:23 +00:00
Jean-Marie Traissard ccf2b261c7 Use "group chat" instead of "room" in all strings. Fixes #2523. 2006-10-12 02:12:10 +00:00
Jean-Marie Traissard 483b3ac149 Keep precedent config about playing muc_received_sound or not 2006-10-12 01:28:09 +00:00
Stefan Bethge 150073da23 fix problems when local account is deleted in config file 2006-10-12 00:58:01 +00:00
Dimitur Kirov 76d6649d66 mention new build system in ChangeLog and
README.html
downgrade build dependencies to automake 1.8
2006-10-11 23:55:03 +00:00
Dimitur Kirov c24351d58f split error for unable to bind to port 2006-10-11 23:11:54 +00:00
Stefan Bethge 6621657ccc include patch from misc@zarb.org to only show lock on tls
fixes #2556
2006-10-11 23:03:18 +00:00
Nikos Kouremenos 47d557fc1b import once sqlite and logger and exceptsion in optparser.py 2006-10-11 22:45:33 +00:00
Dimitur Kirov 28aee13699 add more descriptive note for svn users about
the new setup requirements
2006-10-11 22:41:03 +00:00
Nikos Kouremenos 3535249ba1 py25 comes with pysqlite module in the stdlib 2006-10-11 22:31:51 +00:00
Nikos Kouremenos 307abbc384 put a comment 2006-10-11 22:08:30 +00:00
Dimitur Kirov b3ab116a38 patch from 2553 2006-10-11 21:26:58 +00:00
Yann Leboulanger e0e503472a [gjc] handle the case when gnomekeyring is present, but daemon is not running 2006-10-11 20:38:23 +00:00
Dimitur Kirov 6d1097f1e2 add a note to svn users 2006-10-11 18:27:55 +00:00
Dimitur Kirov 2a2c358cf9 remove unneeded file 2006-10-11 18:07:36 +00:00
Dimitur Kirov 1d40d71182 keep defs in defs.py.in
switch autogen order
dist defs.py.in
2006-10-11 17:40:56 +00:00
Yann Leboulanger 8194bd0480 use 'muc_message_received' sound if it is enable without checking notify_on_all_muc_messages option. Fixes #2494 2006-10-11 17:03:25 +00:00
Yann Leboulanger c600364342 temporary defs.py until defs.py.in arrives (ppl are so responsive !). fixes #2548 2006-10-11 16:57:11 +00:00
Yann Leboulanger c0ca8027af use defs file to look for COPYING, AUTHORS and THANKS files. 2006-10-11 15:51:42 +00:00
Dimitur Kirov c9b6b043de removing dist files. 2006-10-11 12:42:31 +00:00
Dimitur Kirov 595f4bbf4b adding Stefan to AUTHORS file
cleaning Makefile.in-s in make maintainer-clean
skip noisy message in autogen.sh
2006-10-11 12:37:08 +00:00
Dimitur Kirov 2aee5a93e8 patch form #2546 2006-10-11 09:27:47 +00:00
Stefan Bethge b15387f37a merge autoconf additions to trunk 2006-10-11 02:17:53 +00:00
Stefan Bethge 1dbb2a891f merge zeroconf branch to trunk 2006-10-11 02:12:56 +00:00
Yann Leboulanger ff8ba1f56e print error message instead of raising a TB when Dbus is not present and we try to use gajim-remote. Fixes #2539 2006-10-10 18:20:09 +00:00
Yann Leboulanger 78f27533b6 remove a test that breaks Gajim, Nikos, look at what you wanted to do.
And fix a func name too
2006-10-10 17:33:53 +00:00
Yann Leboulanger 713d523344 fix wrong var name. fixes TBs 2006-10-10 17:25:26 +00:00
Jean-Marie Traissard 9f417b7396 syntax 2006-10-10 16:34:09 +00:00
Nikos Kouremenos d2261775c1 ask os_info for observers. fixes #2476. the same happens (and cannot be fixed) for invisible, but how often we ask os info on invisible people? (and also that can betray their invisibility eventhough it is their client that hsould not reply if they are invisible. anyways..) 2006-10-10 16:01:15 +00:00
Nikos Kouremenos 9448a325c7 use introduced functions 2006-10-10 15:58:48 +00:00
Nikos Kouremenos a1102880b9 intro is_hidden_from_roster and is_observer 2006-10-10 15:57:20 +00:00
Yann Leboulanger aae7e7e99c allow shutdown func now get the method we used to close the tab. So that we check if a row is selected in gc control only if we close tab by pressing Esc key. fixes #2528 2006-10-10 15:53:42 +00:00
Nikos Kouremenos f6ba23bf13 if not dbus, music track synching cannot happen no matter if user is not windows user. fixes #2526 2006-10-10 15:33:08 +00:00
Nikos Kouremenos 627469e5e0 from common.exceptions import GajimGeneralException as GajimGeneralException -> from common.exceptions import GajimGeneralException 2006-10-10 15:29:10 +00:00
Nikos Kouremenos a25b63bcc3 remove a fixme. close #2493 2006-10-10 15:26:52 +00:00
Jean-Marie Traissard 6ab1780bdc typo 2006-10-10 08:05:02 +00:00
Stefan Bethge 6ea11dc7ad fix avatars not showing with zeroconf enabled 2006-10-10 00:59:31 +00:00
Stefan Bethge f405de3fc1 fix update_details (wrong indent) 2006-10-09 17:48:32 +00:00
Yann Leboulanger 80c2f297d6 reconnect time is now random ([5-15] if retrycount <= 5, else [15, 25])
reconnect infinitly when autoreconnect option is True. fixes #2411
2006-10-09 15:53:30 +00:00
Stefan Bethge 2bd74a3937 don't allow delete key for local accounts 2006-10-09 14:58:57 +00:00
Stefan Bethge 5f9e24a776 fix TB on receiving message after merge from trunk 2006-10-09 14:27:20 +00:00
Yann Leboulanger 835643da91 do not ask confirmation window nor check if a row is selected when we close muc with /leave (or others) command. fixes #2528 2006-10-09 11:09:17 +00:00
Yann Leboulanger 4af1f56136 really save passphrase when we check "save password" checkbutton 2006-10-09 10:17:53 +00:00
Yann Leboulanger b821d23f70 get real jid of contact we want to ban from a room. Fixes #2521 2006-10-09 10:15:14 +00:00
Yann Leboulanger 0a572cf822 check if contact is still in room when we want to draw his avatar 2006-10-09 09:59:08 +00:00
Yann Leboulanger c3062d493b PrivateChatControl now hold room name so that we can draw banner of pm even if room control has been closed. Fixes #2527 2006-10-09 09:40:04 +00:00
Yann Leboulanger feb9ba709a put xhtml event in queue for pm too. fixes #2524 2006-10-09 09:10:32 +00:00
Yann Leboulanger 6b0bf2b2a0 do not log gc invitation. Fixes #2525 2006-10-09 09:00:23 +00:00
Stefan Bethge bbeab47dc7 add 7146 2006-10-09 00:32:02 +00:00
Stefan Bethge 0d0ac51fa8 merge with trunk 2006-10-09 00:27:03 +00:00
Jean-Marie Traissard 0f7e244623 Do not reload full UI when opening prefs. I see no reason. Introduced in [5586]. 2006-10-09 00:01:18 +00:00
Jean-Marie Traissard ca238eb828 lower jid/email in right click in conv_textview 2006-10-08 21:43:07 +00:00
Jean-Marie Traissard 47536d3158 Do not show [u'bad_jid'] but bad_jid 2006-10-08 20:44:05 +00:00
Jean-Marie Traissard 2315eb8907 it's only room_jid now, was missing in [7112], [7142] was not enough 2006-10-08 19:14:01 +00:00
Jean-Marie Traissard b8b7aa8ab1 Fix var name 2006-10-08 15:22:23 +00:00
Nikos Kouremenos ff513d850a close cursor before close connection 2006-10-08 13:54:22 +00:00
Nikos Kouremenos ddeb9dfe8e execute not executescript 2006-10-08 13:18:32 +00:00
Nikos Kouremenos 7ab63bed0f rm a print 2006-10-08 12:09:57 +00:00
Nikos Kouremenos 8d74950f42 use GajimGeneralException instead of RuntimeError everywhere we meant to use that 2006-10-08 12:07:33 +00:00
Nikos Kouremenos 54265a93bd sort accounts in gc_sub_menu everywhere [both in roster and in tray] 2006-10-08 12:03:32 +00:00
Yann Leboulanger f8b647c473 fix var name 2006-10-08 10:08:16 +00:00
Yann Leboulanger e0fc5d3b7f [sgala]show correct status changements in history manager. Fixes #2511 2006-10-08 10:04:32 +00:00
Yann Leboulanger 5c615f53b5 clean logs table so that show field contains only 0, 1, 2, 3, 4, 5 values 2006-10-08 09:57:23 +00:00
Yann Leboulanger 182963242b fix adjust_priority_with_status option: save when we change this option and correctly get autopriority_* values 2006-10-08 09:01:32 +00:00
Jean-Marie Traissard 884f5cfe83 Typo 2006-10-08 02:33:34 +00:00
Nikos Kouremenos d21d194d2e use Gtalk terminology. email becomes mail conversation 2006-10-08 00:48:14 +00:00
Nikos Kouremenos 075eeef1ba make sure before_/after_time/name possible newlines are taken into account in history window too 2006-10-08 00:31:05 +00:00
Nikos Kouremenos ac225d4954 do not do utf-8 twice; make sure before_/after_time/name possible newlines are taken into account in history window too 2006-10-08 00:28:33 +00:00
Nikos Kouremenos 313091a771 fix what we expect 2006-10-08 00:16:22 +00:00
Jean-Marie Traissard 7568098412 Missing var 2006-10-07 20:20:33 +00:00
Nikos Kouremenos fe586078c9 hig 2006-10-07 15:05:22 +00:00
Nikos Kouremenos b4ab022956 IF NOT EXISTS does not work for all systems [some sqlite pysqlite stuff]. avoid it 2006-10-07 14:48:01 +00:00
Nikos Kouremenos 10ae874cb6 We now use one term "group chat" in the place of sometimes used room 2006-10-07 14:36:08 +00:00
Nikos Kouremenos b0d7c4ff81 do not sort accts in join gc submenu so they align to roster menu and roster listing of accts 2006-10-07 13:31:42 +00:00
Nikos Kouremenos f27453ca6e fix a tb [now I can see them!] preventing joining room 2006-10-07 13:24:41 +00:00
Nikos Kouremenos 607f473cc8 do not show Clear menuitem in TextView in History Window 2006-10-07 13:23:20 +00:00
Nikos Kouremenos 799a372d18 no need to call shell 2006-10-07 13:22:01 +00:00
Nikos Kouremenos abae457e44 at last fix the damn thing so I can see my TraceBacks! 2006-10-07 13:21:37 +00:00
Nikos Kouremenos 7d525a35f4 no need to import 2 modules in gajim.py 2006-10-07 12:56:21 +00:00
Nikos Kouremenos db177b7f8f right click on selected phrase now also has Open as link 2006-10-07 12:50:34 +00:00
Nikos Kouremenos 01e3fc1199 introduce GajimGeneralException and use that instead of RunTimeError when raising so instances are not created. This is better because python can also raise RunTimeError, which we will catch by accident and we do not want that to happen 2006-10-07 12:41:19 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Nikos Kouremenos 4797fcce88 do not fail if password is None and we use GnomeKeyring 2006-10-07 11:35:44 +00:00
Nikos Kouremenos 16d062c9b7 fix typo. thanks Fox 2006-10-07 11:28:38 +00:00
Nikos Kouremenos e5c61095f9 migrate in the correct place 2006-10-07 10:19:25 +00:00
Nikos Kouremenos 5ba54a5811 IF NOT EXISTS missing 2006-10-07 10:12:53 +00:00
Nikos Kouremenos a270813221 [patrys & me] logs db now uses indeces that makes the UI XP faster 2006-10-07 10:08:38 +00:00
Nikos Kouremenos 665bc28759 fix stuff in statusicon.py 2006-10-07 08:54:41 +00:00
Yann Leboulanger f346cf76bf fix search in gc roster treeview. Fixes #2470 2006-10-06 22:57:23 +00:00
Yann Leboulanger 56df70242e do not call gtkgui_helpers functions in common folder. Also fix a traceback when trying to view systray tooltip 2006-10-06 14:58:01 +00:00
Yann Leboulanger 9b83c74487 move gtkgui_helpers.reduce_chars_newlines to common/helpers.py. It's not GTK related. 2006-10-06 14:52:25 +00:00
Yann Leboulanger 1ee6cbc8cf in vcard window, print role and affiliation when it's a gc vcard. Fixes #2457 2006-10-06 14:29:15 +00:00
Yann Leboulanger b06c56a3fc prevent a traceback when saving vcard on HD. 2006-10-06 13:00:50 +00:00
Nikos Kouremenos 8eb1c7ce75 move rst_xhtml_generator.py to common/ where it belongs 2006-10-06 12:33:10 +00:00
Nikos Kouremenos d592fbdf05 fix identation [rm spaces too] 2006-10-06 12:30:57 +00:00
Yann Leboulanger eb0edc36fd fix wrong var name 2006-10-06 07:03:08 +00:00
Nikos Kouremenos b1bb085e55 fix header 2006-10-06 00:08:46 +00:00
Nikos Kouremenos cc4bdf92e2 put a comment 2006-10-06 00:04:07 +00:00
Nikos Kouremenos e620b4bff3 remove print, do 80char and use _() 2006-10-05 23:54:37 +00:00
Nikos Kouremenos 09dbf12bef commit Gustavo's src/common/passwords.py 2006-10-05 23:48:54 +00:00
Nikos Kouremenos ebd6f65460 [Gustavo Carneiro] add GnomeKeyring support. see #2493 2006-10-05 23:06:54 +00:00
Nikos Kouremenos 005224518b split autodetect_browser_mailer to user_runs_kde user_runs_gnome and get_running_processes 2006-10-05 23:00:08 +00:00
Nikos Kouremenos 702eb60e46 autodetect_browser_mailer() is already called in gajim.py [on init] 2006-10-05 22:53:52 +00:00
Nikos Kouremenos bf6c018c75 fix header 2006-10-05 22:50:52 +00:00
Nikos Kouremenos 322f1b5582 make a good helper for logs db func [does not make sense to move it to helpers] 2006-10-05 22:49:28 +00:00
Yann Leboulanger 817bbad971 [sgala] tell other client that ask us that we support xhtml-im. 2006-10-05 21:31:18 +00:00
Dimitur Kirov 9df65fe303 clean .rpath from gettextize 2006-10-05 15:26:26 +00:00
Dimitur Kirov f56897745d adding some enable options.
using $(srcdir) for files refered by wildcars
2006-10-05 15:08:07 +00:00
Jean-Marie Traissard 04777639c2 comments, use self.regroup 2006-10-05 13:14:15 +00:00