Yann Leboulanger
b415df15cc
add multiple data form support (XEP-0004)
2007-04-19 13:27:14 +00:00
Yann Leboulanger
2c8116d5e6
re-read resource from config file when we reconnect to server so that if we modified it in maccount modification window it's tacken into account
2007-04-18 22:41:05 +00:00
Yann Leboulanger
36d3c07676
[misc] add to and from attribut on the zeroconf stream opening. see #3057
2007-04-18 18:04:52 +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
Yann Leboulanger
c78a8b4380
[michael] fix bug when searching text containing a ' in history window. fixes #3091
2007-04-16 20:48:38 +00:00
Piotr Gaczkowski
19c5c70f80
Initial User Tune support
2007-04-01 09:02:04 +00:00
Piotr Gaczkowski
6917ab7ff5
Activity setting from a dialog once again
2007-03-31 09:09:16 +00:00
Piotr Gaczkowski
4f68782ec7
Activity and Mood in tooltips now bug-free (:P)
2007-03-30 23:24:12 +00:00
Piotr Gaczkowski
ab26867fb2
Setting mood now supported (crappy).
2007-03-30 22:52:11 +00:00
Yann Leboulanger
c02eb73bd0
add pep_supported var to pep branch too
2007-03-30 19:16:44 +00:00
Yann Leboulanger
8169960480
add pep_supported var to zeroconf too (always False there)
2007-03-30 19:14:07 +00:00
Yann Leboulanger
287a80e0c7
add a pep_supported variable to Connection class.
2007-03-30 19:12:46 +00:00
Yann Leboulanger
007d46364a
zeroconf has no resource. Fake an empty one. fix a TB as Roster class access it.
2007-03-30 18:42:58 +00:00
Piotr Gaczkowski
39f161fa6d
Version changed
2007-03-29 20:24:30 +00:00
Piotr Gaczkowski
06f43c1e2a
Mood and Activity shown in tooltips. Caps set properly
2007-03-29 19:40:50 +00:00
Piotr Gaczkowski
149b0fcdef
Buggy. Don\'t touch
2007-03-29 19:04:14 +00:00
Piotr Gaczkowski
512db7618b
Lame Mood and Activity support. Announcing caps.
2007-03-28 21:18:16 +00:00
Yann Leboulanger
6ffe910185
use templte on resource only if a resource is set. fix a TB
2007-03-28 19:59:51 +00:00
Yann Leboulanger
c9f9c12c2c
re-add missing variable
2007-03-28 14:28:03 +00:00
Yann Leboulanger
113586a0db
substitute $hostname in resource by hostname of the machine. fixes #3060
2007-03-28 14:25:47 +00:00
Yann Leboulanger
090218e780
cleanup connection.connect(). fixes #3061
2007-03-28 14:20:50 +00:00
Piotr Gaczkowski
e0c9b6309f
Third buggy commit
2007-03-25 22:47:04 +00:00
Piotr Gaczkowski
d7ea3283b9
Second buggy commit
2007-03-25 22:27:43 +00:00
Piotr Gaczkowski
5f9eab3c62
First buggy commit
2007-03-25 22:16:48 +00:00
Yann Leboulanger
3bf528d988
add now argument to send funtions in zeroconf connection. fixes #3045
2007-03-20 07:13:25 +00:00
Yann Leboulanger
f7799dfbec
add an ACE option to disable the fact that gajim auto-expand and selects the contact who sent last message. fixes #2911
2007-03-17 08:14:25 +00:00
Yann Leboulanger
efaa1a18e7
add a now argument to the send function, so that stanza is sent instantly instead of added to queue. Use it to send answer to adhoc command when we disconnect. fixes #3008 and #2808
2007-03-15 12:53:29 +00:00
Yann Leboulanger
5920d03aee
ability to destroy a room when we are owner, give a reason and alternative room
...
jid. fixes #3031
2007-03-11 20:14:53 +00:00
Yann Leboulanger
81c0b528ae
give list of removed event to fire_event_removed func so that it transmits it to listeners
2007-03-11 08:58:08 +00:00
Yann Leboulanger
a7ce2b28c3
[Mikhail Gusarov and me] Use listeners when an event is added / removed to the events class and use them to update systray.
2007-03-10 11:30:23 +00:00
Yann Leboulanger
019f43fa38
when we compare 2 offline contacts, the one which has a status messages is shown above the one without. fixes #3010
2007-03-09 19:17:19 +00:00
Yann Leboulanger
0bacc77364
[misc] fix entity caps behaviour. fixes #3001
2007-03-08 08:57:20 +00:00
junglecow
bbed22a410
- Workaround for #2846 : Make the error silent. Fixes #2846 .
...
- Workaround for #2838 : Use synchronous (blocking) SSL handshake. Fixes #2838 .
2007-03-03 20:13:43 +00:00
Yann Leboulanger
e268cd7708
svn version is now 0.11.1.0
2007-02-20 08:08:42 +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
Yann Leboulanger
3534bb30cd
use new dataform widget in groupchat config window
2007-02-14 16:48:25 +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
Jean-Marie Traissard
05f306115e
Delete change_nick() func, use join_gc() instead. Fixes #2903 .
2007-02-11 03:22:40 +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
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
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
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
b02cdd378d
when we are disconnected while autoaway, don't loose previous status. fixes #2934
2007-01-31 20:38:49 +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
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
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
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
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
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
ba2b1a0f58
change function name. see #2898
2007-01-17 11:40:59 +00:00
Yann Leboulanger
ec8a294053
prevent TB
2007-01-17 08:04:51 +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
9178c9cb13
Add link for rst in ACE
2007-01-15 22:28:26 +00:00
Yann Leboulanger
3c9170cb61
add missing arguments. see #2797
2007-01-15 13:07:24 +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
Yann Leboulanger
8919febc5d
typo. see #2797
2007-01-13 19:28:42 +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
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
4d5790e8cb
restore correctly error messages. fixes #2880
2007-01-10 12:51:15 +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
Yann Leboulanger
8ede60ebb0
add --use-agent to GPG so that we work with gnupg-agent
2007-01-06 20:19:47 +00:00
Tomasz Melcer
dea9879dfa
Commands: dataforms sent have type="submit"; commands' window show form title
2007-01-06 19:05:45 +00:00
Yann Leboulanger
2082034e85
root under win9X is . instead of ''
2007-01-06 15:29:09 +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
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
558a57802c
handle correctly non ascii chars in path under win. fixes #2812
2007-01-02 17:56:26 +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
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
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
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
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
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
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
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
Yann Leboulanger
0e95430ac8
prepare 0.11 release
2006-12-19 09:12:54 +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
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
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
0fb837f74f
detect when gpg is not installed and print a warning. fixes #2760
2006-12-13 12:29:24 +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
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
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
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
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
Stefan Bethge
cc09dae0fe
call missing init for zeroconf vcard dummy
2006-11-29 22:57:37 +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
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
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
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
Yann Leboulanger
a37b946098
[sgala] IPV6 support for connection fith server. see #1969
2006-11-25 11:50:31 +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
Stefan Bethge
1e6bbfe48f
fix #2699 (readd vcard dummies)
2006-11-23 15:17:24 +00:00
Yann Leboulanger
4251bb6d2b
[stlman] fix invisible code. fixes #2695 . Thanks
2006-11-22 23:27:57 +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
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
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
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
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
Tomasz Melcer
b9f5755ad6
Use iterators, better for memory usage.
2006-11-20 16:51:35 +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
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
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
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
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
Stefan Bethge
27849fc3d7
fix #2586 , cleanup
2006-11-10 20:43:23 +00:00
Yann Leboulanger
38fd89a378
shorter string to fit popup window. fixes #2640
2006-11-10 19:33:34 +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
a4c29cd6c2
[misc] XEP-145 (annotations) support. Thanks fixes #776
2006-11-09 19:13:53 +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
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
Stefan Bethge
7c433c7c85
display error messages only when there is an error (hopefully), see #2586
2006-11-07 23:25:24 +00:00
Stefan Bethge
bf69759900
fix #2649
2006-11-06 22:47:25 +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
Tomasz Melcer
289928050c
Reworked dataforms, not finished yet.
2006-11-06 12:23:39 +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
7db777868e
Revert [7334]
2006-11-04 00: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
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
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
6466c45d74
[gjc] workaround gnome-keyring-daemon bug. see #2595
2006-11-01 16:49:49 +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
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
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
b37bf4ec0a
common/helpers also does exo-open
2006-10-20 09:25:14 +00:00
Stefan Bethge
bc98a0756e
fix tb when renaming offline local contacts (dkirov)
2006-10-18 21:15:54 +00:00
Yann Leboulanger
06609bcb89
add GUI option to ignore incoming XHTML tag. fixes #2522
2006-10-18 08:20:49 +00:00
Jean-Marie Traissard
27812fe3b0
Better description of chat_merge_consecutive_nickname option
2006-10-17 22:26:25 +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
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
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
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
Stefan Bethge
39688db977
patch from dkirov to fix TB with gaim presences
2006-10-16 19:43:02 +00:00
Stefan Bethge
b5d4bb4a1c
fix #2574 (allow 0x5f in hostnames)
2006-10-16 13:24:09 +00:00
Nikos Kouremenos
5b600300fd
room -> group chat
2006-10-15 17:29:22 +00:00
Nikos Kouremenos
a1820a4ed5
fix logic for observers to work as XEP 0162 says
2006-10-15 13:23:05 +00:00
Dimitur Kirov
1fcea90561
enable utf-8 strings in txt records
2006-10-15 02:09:23 +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
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
62fcc8eb76
move defs.py.in in data/ dir
2006-10-13 08:15:20 +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
Stefan Bethge
a8c0bbe7c1
fix #2555
2006-10-12 03:22:57 +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
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
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
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
a1102880b9
intro is_hidden_from_roster and is_observer
2006-10-10 15:57:20 +00:00
Nikos Kouremenos
a25b63bcc3
remove a fixme. close #2493
2006-10-10 15:26:52 +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
5f9e24a776
fix TB on receiving message after merge from trunk
2006-10-09 14:27:20 +00:00
Yann Leboulanger
4af1f56136
really save passphrase when we check "save password" checkbutton
2006-10-09 10:17:53 +00:00
Yann Leboulanger
6b0bf2b2a0
do not log gc invitation. Fixes #2525
2006-10-09 09:00:23 +00:00
Stefan Bethge
0d0ac51fa8
merge with trunk
2006-10-09 00:27:03 +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
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
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
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
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
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
Yann Leboulanger
eb0edc36fd
fix wrong var name
2006-10-06 07:03:08 +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
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
Nikos Kouremenos
4fda072f0f
make tooltip work for the new api too
2006-10-05 00:06:57 +00:00
Nikos Kouremenos
f97cdf1f4e
help the user about rst_formatting possible dep [be more clear]
2006-10-04 23:05:13 +00:00
Nikos Kouremenos
4b6d37c27b
help the user about rst_formatting possible dep
2006-10-04 23:04:45 +00:00
Dimitur Kirov
1a68b63302
add --enable-gtkspell check.
...
check xscrnsaver's libs only when xscrnsaver.pc
is not installed
fix DESTDIR
add explicit AC_SUBST for PYTHON_INCLUDES
2006-10-04 12:22:37 +00:00
Yann Leboulanger
53f8b119bc
[sgala]Do not depend on docutils if we don't use rst xhtml generator. See #316
2006-10-04 11:53:03 +00:00
Dimitur Kirov
59b6ae468a
merge from trunk
...
automake based instalation
2006-10-04 00:10:49 +00:00
Yann Leboulanger
9afa39174d
missing :
2006-10-03 15:34:25 +00:00
Yann Leboulanger
725325eb7e
priority is now by default set from status. online: 50, away: 40...
...
priorities are configurable with autopriority_* ACE options.
Fixes #1999 , #1439 , #1885 , #1076
2006-10-03 14:57:19 +00:00
Yann Leboulanger
1345afa86c
[Santiago Gala] We can now generate HTML thanks to rst. see #316
2006-10-03 14:22:49 +00:00
Yann Leboulanger
6b40b5ad32
[Santiago Gala] we can now see XHTML (JEP 0071). See #316
2006-10-03 14:12:42 +00:00
Yann Leboulanger
f34c41c93b
Di not ask "are you sure you want to leave room X" when we remove an account. We already replied to "you have opend chat windows". Fixes #2462
2006-10-03 08:54:14 +00:00
Dimitur Kirov
163cfef3b8
disconnect when avahi-daemon stop responding
...
fix reference in connection_handlers
2006-10-02 22:41:48 +00:00
Dimitur Kirov
b7ceb9ddf7
bind to next available port
...
updating port also publishes the new port
keep 1st, last as unicode
2006-10-02 20:45:49 +00:00
Dimitur Kirov
ac53b4537c
ignore messages with no type attribute
2006-10-02 18:03:35 +00:00
Stefan Bethge
e1dadf48c1
only restart listener or reconnect upon changing preferences if necessary
2006-10-02 14:15:51 +00:00
Stefan Bethge
d557725810
add missing import
2006-10-02 14:13:43 +00:00
Stefan Bethge
42cf836b7a
add copyright line
2006-10-02 12:14:56 +00:00
Nikos Kouremenos
7ce1fa4e46
self.name not self [in connection.py]
2006-10-02 11:42:26 +00:00
Nikos Kouremenos
6bab3917b1
make more helper functions out of accounts code found mainly in roster
2006-10-02 11:28:28 +00:00
Nikos Kouremenos
28b0487ffa
comment
2006-10-02 11:00:19 +00:00
Nikos Kouremenos
962c571adb
move > 1 < 2 jargon about connected acct to where it belogs [common/gajim] try to use that from now one please.
2006-10-02 10:42:59 +00:00
Stefan Bethge
227cdb742b
proper handling of normal accounts with the name 'Local',
...
don't use account's name but is_zeroconf flag for checks
2006-09-30 18:23:47 +00:00
Stefan Bethge
6ec6ec4396
fix typo
2006-09-30 01:50:10 +00:00
Nikos Kouremenos
0744b9ed83
fix strings
2006-09-30 00:01:29 +00:00
Jean-Marie Traissard
ba83ec833e
Disable privacy list menuitem when disconnecting
...
Fix TB about wrong widget name. Hope that works, can't test as only server I found that claims to support
it says I'm sending bad requests...
2006-09-29 22:22:46 +00:00
Nikos Kouremenos
1f6e5bcd7e
move dbus_support to common; try to do exceptions for D-Bus [Dimitur please have a look]
2006-09-29 20:49:15 +00:00
Stefan Bethge
2a0bce4e04
don't attempt to do zeroconf things if avahi is not found,
...
display notification
2006-09-29 17:52:21 +00:00
Stefan Bethge
d07dc39830
check if avahi is available and we're not on windows,
...
otherwise checkbutton is not sensitive
2006-09-29 17:40:11 +00:00
Nikos Kouremenos
c118ce3ad6
add code for [] show transports menuitem to work
2006-09-29 15:37:46 +00:00
Stefan Bethge
6a38879014
add new zeroconf 'vcard' window, shows the information from the txt record
2006-09-29 14:39:29 +00:00
Nikos Kouremenos
ca7a1e60e9
do not use from foo import bar
2006-09-29 10:23:20 +00:00
Travis Shirk
1b0f153e42
Fixed JEP-70 (HTTP auth) error protocol. ( #2124 )
2006-09-29 01:38:46 +00:00
Stefan Bethge
48af9872f5
ignore Timeout reached errors, otherwise connection breaks,
...
fix dragging of files to local contacts
2006-09-29 00:14:04 +00:00
Stefan Bethge
f787d2c1ad
fix file transfer,
...
add log messages for zeroconf,
refresh name changes of roster items (on resolve)
2006-09-28 23:38:55 +00:00
Stefan Bethge
341e88864c
remove ssl/tls button from zeroconf props,
...
don't publish empty txt fields
2006-09-28 22:23:53 +00:00
Yann Leboulanger
87fa2c0a5d
no need of GTK to build idle.so
...
put LDFLAGS at the end of command (better this way). Fixes #1930
2006-09-28 20:53:27 +00:00
Nikos Kouremenos
9dbc502b54
fix identation
2006-09-28 14:47:18 +00:00
Nikos Kouremenos
b19b73d4cc
use better varname; put a comment or two; try to make it better understandable; rm two unneeded lines
2006-09-28 13:35:53 +00:00
Nikos Kouremenos
9002b3d293
put my email (and jid), not one of my JIDs
2006-09-28 11:31:25 +00:00
Jean-Marie Traissard
19dbb37f80
Fix var name
2006-09-28 10:56:03 +00:00
Nikos Kouremenos
72e8da7130
intro helpers.build_command and fix helpers.exec_command(). fixes #2464 [now all is okay if path has spaces]
2006-09-28 10:44:16 +00:00
Jean-Marie Traissard
c9d27e163e
Do not show seconds in roster tooltips (if today)
...
Better description of option print_fuzzy
2006-09-26 17:44:29 +00:00
Dimitur Kirov
3de26f73ec
set privacy_rules_supported to False for
...
zeroconf connection
2006-09-26 16:05:53 +00:00
Dimitur Kirov
5fc8cf20f3
merge from trunk
2006-09-26 15:57:47 +00:00
Dimitur Kirov
d4663922c7
fix reconnect after name collision
2006-09-26 15:55:49 +00:00
Yann Leboulanger
382b245062
don't allow privacy rules window if server doesn't support it. Fixes #253
2006-09-26 11:54:03 +00:00
Jean-Marie Traissard
84b9e2af34
+gc-tooltip:Create get_uf_affiliation(); show SHOW in the place of status message if and
...
only if there is no status message, else don't show SHOW
+roster-tooltip:Show subscription only if it is different from 'both'; integrate SHOW to
last_status_time (status message alone in second line); name is now title, jid is after;
status message and show are italic everywhere; last_status_time is not showed anymore when
more than one ressource, takes too muck place(was broken anyway).
Fixes #2110 if no comment.
2006-09-26 02:41:47 +00:00
Dimitur Kirov
709896b576
show connection lost notification/dialog
...
set properties, when account is initially
created
2006-09-25 20:36:59 +00:00
Stefan Bethge
5cf072a9c7
properly disconnect from dbus when calling disconnect()
2006-09-25 20:26:20 +00:00
Stefan Bethge
f5e00e916c
reconnect using reannounce and check if port has changed,
...
change global account variable
2006-09-25 20:14:17 +00:00
Dimitur Kirov
29160807eb
set username from system user everytime on
...
startup
2006-09-25 18:57:39 +00:00
Stefan Bethge
7dfdefcdcf
fix service callbacks
2006-09-25 18:47:21 +00:00
Dimitur Kirov
9c570f9588
show input dialog when username is in conflict
2006-09-25 17:52:33 +00:00
Jean-Marie Traissard
921274b6c4
Remove "state_active_color" option. Get fg color from gtk.
2006-09-25 04:23:31 +00:00
Stefan Bethge
354b4f17e9
changed zeroconf account name to local,
...
properties window fixes,
use all fields from it in txt record,
saving prefs automatically reconnects
2006-09-23 17:05:20 +00:00
Nikos Kouremenos
5851230084
make sure we do not fail if path to iconset no longer exists. fixes #2444
2006-09-23 13:58:46 +00:00
Nikos Kouremenos
65fc27e573
Improve in style, varnames, docstrings [make it readable after months have passed], a great patch by Gustavo Carneiro with which we can get currently playing music track from Rhythmbox and Muine to be shown in our status message. fixes #564
2006-09-23 13:49:33 +00:00
Stefan Bethge
7227ea0550
moved enable link-local messaging to accounts window
...
added tooltip to it
2006-09-22 16:47:31 +00:00
Stefan Bethge
af6450bcfc
add context menu for zeroconf account
2006-09-20 23:30:00 +00:00
Dimitur Kirov
d45aaa8557
FT for zeroconf
2006-09-20 23:24:07 +00:00
Stefan Bethge
109ae1a3b5
update properties window, config saving
2006-09-20 22:58:43 +00:00
Dimitur Kirov
4696c84fbc
set activity tiemout only to connections,
...
established by us
2006-09-20 21:49:11 +00:00
Jean-Marie Traissard
8c07a06622
Don't allow notifs when we are away/xa/dnd and autopopupaway is False.
...
(Undo second part of [6735])
2006-09-20 17:40:42 +00:00
Dimitur Kirov
57779a6ad3
drop connection after certain time of
...
inactivity
set timout on connect attempts
transleted russian comment
2006-09-20 11:01:47 +00:00
Stefan Bethge
a393f121be
added initial properties dialog for zeroconf
2006-09-19 23:07:54 +00:00
Dimitur Kirov
12d125a4be
try to reuse existing connection
2006-09-19 20:49:34 +00:00
Dimitur Kirov
5af232513b
we can disconnect, before plugin
2006-09-19 20:07:44 +00:00
Dimitur Kirov
6c03358b27
remove unused functions
2006-09-19 19:59:34 +00:00
Dimitur Kirov
9c60d30351
send_messages uses NonBlocking P2PConnection
2006-09-19 19:56:04 +00:00
Dimitur Kirov
81b46bb37f
fix sending stream headers order
2006-09-19 18:18:03 +00:00
Dimitur Kirov
1f836cae67
debug xml data
2006-09-19 17:58:29 +00:00
Dimitur Kirov
884e66e5d7
some bugs fixed
2006-09-19 17:10:28 +00:00
Dimitur Kirov
da309569e3
add possibility to overide StremInit by _owner
2006-09-19 15:14:53 +00:00
Dimitur Kirov
d21c07d8d7
add sender capabilities
2006-09-19 15:10:06 +00:00
Dimitur Kirov
8b8af31aae
typo
2006-09-19 15:09:37 +00:00
Dimitur Kirov
1463ca8289
merge from zeroconf branch
...
(fixed bug: xml error when we get CDATA after
initial stream header)
2006-09-19 12:50:33 +00:00
Dimitur Kirov
e9a855007b
better xmmpppy plugin integration.
...
fixed xml error with iChats
2006-09-19 12:46:09 +00:00
Dimitur Kirov
44e2bd0247
fix TB opn application exit
2006-09-19 08:58:14 +00:00
Yann Leboulanger
af68b178a1
add progressbar in vcard window and hide it when we get vcard and os info. For #1840
2006-09-19 08:17:36 +00:00
Dimitur Kirov
cc5719c89d
stop listener when we go offline
2006-09-18 08:39:04 +00:00
Dimitur Kirov
1a325833c3
add listening server for incomming messages
2006-09-17 22:57:41 +00:00
Stefan Bethge
7707c5e824
enable/disable zeroconf on the fly
2006-09-17 22:19:10 +00:00
Stefan Bethge
5d1410d17a
better handling of multiple gajim instances on one machine
2006-09-17 20:54:32 +00:00
Dimitur Kirov
25b5b85aaa
fix parse error
2006-09-17 16:18:15 +00:00
Stefan Bethge
41c552ad42
removed zerocony.py:check_jid and calls to it
2006-09-17 16:01:12 +00:00
Stefan Bethge
5116cb0205
add checkbutton to preferences window to toggle zeroconf
2006-09-17 15:49:47 +00:00
Dimitur Kirov
fd7eead5dd
add property bare_name in zeroconf.contacts[..]
...
property list. Using it, instead of bad-client
2006-09-17 15:07:35 +00:00
Dimitur Kirov
99265c0430
add fake store_metacontacts method
2006-09-17 14:45:58 +00:00
Jean-Marie Traissard
2897130af8
Descrition for ACE option skip_taskbar
2006-09-15 23:39:00 +00:00
Yann Leboulanger
1a2bea6637
[sgala] fix wrong tag name. See #316
2006-09-15 16:08:36 +00:00
Dimitur Kirov
470e668ea2
This remove unused keyword
...
--line, and those below, will be ignored--
M socks5.py
M connection_handlers.py
2006-09-15 11:57:03 +00:00
Tomasz Melcer
f91d9192e5
Initial support for multiple-records dataforms - displaying data.
2006-09-15 08:38:01 +00:00
Stefan Bethge
6a21dfb6b8
fix some post-merge problems, prevent key error
2006-09-15 03:30:52 +00:00
Stefan Bethge
a039917951
filter own service again, users should not see themselves in the roster
2006-09-14 23:41:18 +00:00
Yann Leboulanger
3541253596
[sgala] add some xmpp functions for xhtml-im support. see #316
2006-09-14 19:44:13 +00:00
Dimitur Kirov
d83dde79ab
prevent TB for invalid keyword in send_message
...
add SystemBus initialisation in try:
to catch cases when system bus is not present
2006-09-14 17:16:01 +00:00
Stefan Bethge
2b3120244f
merged trunk r6780
...
removed i18n imports from zeroconf/connection files
2006-09-14 16:48:03 +00:00
Yann Leboulanger
15b44f5eec
detect and print old gc messages as restored messages. Fixes #2253
2006-09-14 13:31:14 +00:00
Yann Leboulanger
e18e1079a9
send correct error message when we decline a FT, and print error message when we get it. Fixes #2330
2006-09-14 12:19:40 +00:00
Dimitur Kirov
5764374e5d
set proxy as invalid if hostname cannot be
...
resolved
2006-09-14 08:40:09 +00:00
Stefan Bethge
61dab0d59a
client code uses common.xmpp.Message to build xml
2006-09-13 18:49:34 +00:00
Tomasz Melcer
9b29c4c8b8
Merging changes from trunk (6561:6774)
2006-09-13 16:47:58 +00:00
Tomasz Melcer
5824d3b873
Dataforms widget moved to another file, some ui tweaks.
2006-09-13 16:07:51 +00:00
Yann Leboulanger
97420e6a7a
prevent TB when / in gc nicknames
2006-09-13 07:46:35 +00:00
Nikos Kouremenos
ab9b5a3210
fix strings
2006-09-12 11:53:28 +00:00
Nikos Kouremenos
0da3cc6820
fix strings
2006-09-12 11:49:45 +00:00
Yann Leboulanger
7759dd9289
save speller_language per room. Fixes #2387
2006-09-12 07:30:19 +00:00
Yann Leboulanger
be90361641
we now save speller_language per contact. For #2387
2006-09-12 07:18:43 +00:00
Yann Leboulanger
746a0bf98e
show connection lost error in popups instead of error dialogs. Fixes #2138
2006-09-10 10:22:16 +00:00
Yann Leboulanger
152093e42e
[bronger] translate correclt strings during runtime. Fixes #2394
2006-09-08 22:27:04 +00:00
Yann Leboulanger
a678c35b3f
vcard window now uses label instead of entry
...
new profile_window to edit our vcard. For #2381
2006-09-08 17:35:28 +00:00
Nikos Kouremenos
56f248c287
Make default status messages feature release-ready
2006-09-08 12:48:46 +00:00
Yann Leboulanger
411aaa1f7b
typo
2006-09-07 21:16:50 +00:00
Yann Leboulanger
2352ddfd02
use updated JEP172
2006-09-07 21:11:50 +00:00
Yann Leboulanger
dfead3a31c
disco our transports when we connect if we ca't determine the type (not in db). Fixes #2273
2006-09-07 20:39:09 +00:00
Yann Leboulanger
b1d32661fc
fix logic for showing notification window
2006-09-06 20:15:06 +00:00
Nikos Kouremenos
bd01e5719b
INTRODUCING ensure_utf8_string, use it to fix BLOCKER bug for Gajim/Windows ( #2392 )
2006-09-06 13:28:38 +00:00
Nikos Kouremenos
9bd4442784
since we demand python 2.4 remove 2.3 legacy support code
2006-09-06 13:15:32 +00:00
Yann Leboulanger
7a89f716e4
handle correctly notification window in ANC, particulary le tab_opened condition.
2006-09-05 15:43:07 +00:00
Yann Leboulanger
9a7ed9488a
take into account the case when no systray is available. Fixes #2384 and #2389
2006-09-04 18:58:58 +00:00
Dimitur Kirov
7f6ec376dc
print a debug message for invalid xml stanza
2006-09-04 07:19:31 +00:00
Yann Leboulanger
a67eaba727
events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work.
2006-09-02 21:01:11 +00:00
Yann Leboulanger
23396f8f59
do not add a default subscription message.
2006-08-31 15:35:38 +00:00
Yann Leboulanger
8f5dbaa1d1
wrong type for restored_messages_small option. Fixed #2336
2006-08-29 18:56:15 +00:00
Yann Leboulanger
419925689b
missing commit: add restored_messages_small option to ACE dict
2006-08-29 09:58:04 +00:00
Yann Leboulanger
2b0fc207ef
detect unsubscribe / unsubscribed loop too
2006-08-29 07:28:52 +00:00
Yann Leboulanger
75fe384da4
handle advanced notification for new_message event only (without systray / roster / urgency hint that require a event refactorizatin)
...
use subprocess module as we depend on python2.4
2006-08-26 22:51:33 +00:00
Yann Leboulanger
d4710d87b4
don't override LDFLAGS / CFLAGS in Makefiles so that we can use them externaly
2006-08-24 12:38:42 +00:00
Yann Leboulanger
07f5b39e58
default status message are now used (if enabled) instead of asking status message. Fixes #2069
2006-08-22 14:40:19 +00:00
Dimitur Kirov
3b447544de
don't force tls on ports 5223 and 443
2006-08-22 08:13:23 +00:00
Yann Leboulanger
bbe93c5b86
do not traceback when ft_override_host_to_send is not valid, just ignor and print an error message. Fixes #2231
2006-08-22 08:02:55 +00:00
Yann Leboulanger
3175c9113a
don't ask os info when we are invisible. For #1964
2006-08-21 19:54:09 +00:00
Yann Leboulanger
213e7f095b
[Vasily Chekalkin] JEP 90 support (Entity Time). Fixes #2239
2006-08-21 11:21:59 +00:00
Tomasz Melcer
8f4b972a62
PubSub support: browse, subscribe and unsubscribe; posting atom entries to groups.
2006-08-20 10:18:20 +00:00
Dimitur Kirov
78863765e8
create transports_cache on first startup, fixes
...
#2223
2006-08-10 06:57:10 +00:00
Yann Leboulanger
900e3a51dc
fix bug in connection_handlers: correctly get namespace
2006-08-07 09:49:06 +00:00
Yann Leboulanger
2428298bda
new add_contact window with a combobox. Fixes #872
2006-08-03 19:13:42 +00:00
Yann Leboulanger
8f449a4704
[geobert] add a ACE option so that ctrl+tab can or cannot go to next composing tab
2006-08-02 20:38:09 +00:00
Stefan Bethge
9ac7e753f1
make sending compatible with ichat and adium
2006-08-02 00:04:47 +00:00
Yann Leboulanger
f3297666b7
allow to invite contact only to room of the same type (jabber contact to jabber rooms, MSN contacts to MSN rooms). Fixes #2199
2006-08-01 18:03:52 +00:00
Tomasz Melcer
75227bb835
Small bug in common/dataforms.py.
2006-08-01 16:01:26 +00:00
Stefan Bethge
da06dfb6ca
Improve behaviour when no avahi-daemon is present or being stopped while running
2006-08-01 00:44:51 +00:00
Yann Leboulanger
4adf2c4f6d
when we get an error (when we asked meta contact) don't except the server to include the sent request as it's only a SHOULD in RFC3390 9.2.3.7. detect the answer by iq id instead.
2006-07-31 20:27:06 +00:00
Yann Leboulanger
57aeb0d0ef
we can now register to a transport in add contact window is server has such a transport. Fixes #1944
2006-07-31 17:08:21 +00:00
Yann Leboulanger
dc9bf86184
we can now the language we want for speller. Just use speller_language advanced
...
option to define it.
2006-07-31 13:55:21 +00:00
Yann Leboulanger
1f72608d20
re-connect to DB after upgrades (upgrade can modify DB structure)
2006-07-31 07:45:29 +00:00
Yann Leboulanger
6db26bf444
gadu gadu dsco type is gadu-gadu, not gadugadu
2006-07-30 20:06:42 +00:00
Yann Leboulanger
32b18d9237
we now get transport type from disco info and save that in DB. Fixes #1990 and #1938
2006-07-29 22:29:59 +00:00
Yann Leboulanger
ccc942fcbb
prevent a TB and print an error message to the user when he/she tries to et a non valid nickname in a room
2006-07-29 17:57:12 +00:00
Yann Leboulanger
90dc135539
remove old code (when we modified unread_message table structure)
2006-07-28 16:15:18 +00:00
Stefan Bethge
d7719e73b3
display full name on roster if available
2006-07-27 20:36:21 +00:00
Dimitur Kirov
873bedd221
escape from sslerror due to broken protocol
2006-07-26 12:49:11 +00:00
Yann Leboulanger
e3ba73be74
if server doesn't support vcard, don't allow user to modify it. Fixes #2182
2006-07-26 12:01:14 +00:00
Yann Leboulanger
394381a78a
we now detect loop when server isn't RFC complient and handle badly subscription acknoledgment. Fixes #1864
2006-07-26 11:13:07 +00:00
Yann Leboulanger
65d57253c9
we can now invite to new room
2006-07-25 22:26:07 +00:00
Yann Leboulanger
550e12af8c
missing diff to allow verify signed presence without status message
2006-07-24 16:43:30 +00:00
Yann Leboulanger
8d10ac3bfe
allow to verify signed presences even without a status message
2006-07-24 16:40:11 +00:00
Yann Leboulanger
ea82b1dcc1
print real jid in gc status and in logs when we know it. Fixes #1940
2006-07-24 13:42:35 +00:00
Tomasz Melcer
fa6ae3b4be
Simple support for pubsub.com notifications.
2006-07-21 13:52:36 +00:00
Tomasz Melcer
585ab90e92
Merging changes from trunk (6496:6561)
2006-07-17 19:30:53 +00:00
Tomasz Melcer
5740d226e6
Commands work.
2006-07-17 17:52:37 +00:00
Tomasz Melcer
de23ba2a15
Moved some code to ease maintenance.
2006-07-17 13:40:25 +00:00
Yann Leboulanger
0614f534bb
code for advanced_notifications_window: config is now saved in config file
2006-07-17 10:07:26 +00:00
Yann Leboulanger
a54ee0229d
introduce play_sound_file function in helpers
2006-07-17 10:04:43 +00:00
Tomasz Melcer
477f33b6b9
Generic support for exposing commands (untested).
2006-07-15 13:27:57 +00:00
Dimitur Kirov
335870646d
take on account priorities, which are <= 0
2006-07-14 07:13:59 +00:00
Tomasz Melcer
db089f103d
Jid-multi almost works.
2006-07-12 14:19:58 +00:00
Dimitur Kirov
dbbf1b6b77
prepare useless methos for removal
2006-07-11 18:17:25 +00:00
Dimitur Kirov
e1ae03d32e
better var names
2006-07-11 18:03:50 +00:00
Dimitur Kirov
56cd8ba43b
config option 'zeroconf_enabled' indicates
...
that zeroconf connection should be used.
Create the neccessary config values if zeroconf
account is not present
2006-07-11 15:22:59 +00:00
Tomasz Melcer
aed92d21b7
Some fixes in common/dataforms, new field types...
...
Now only jid-multi isn't handled.
2006-07-09 17:55:56 +00:00
Tomasz Melcer
c75bdcb63c
Ad-Hoc commands window now uses new dataform wrapper. /me dances
2006-07-07 15:49:44 +00:00
Dimitur Kirov
f2f911c91e
don't update roster, on each getRoster request
2006-07-06 14:26:44 +00:00
Tomasz Melcer
8c9711d7ea
New data forms wrapper. Not tested for now.
2006-07-05 16:35:22 +00:00
Yann Leboulanger
96b21bbc6f
[roidelapluie & asterix] Privacy lists. Fixes #253
2006-07-03 20:49:20 +00:00
Yann Leboulanger
88cf8b5c84
[bluegray] extra gmail info (from field) in popup notification. Fixes #1982
2006-07-02 18:39:43 +00:00
Stefan Bethge
661d0d6550
__init__.py was missing
2006-06-27 23:12:14 +00:00
Stefan Bethge
b43d9ffd5e
fix module imports (woops :)
2006-06-27 23:09:21 +00:00
Stefan Bethge
22c02ee2d3
move everything zeroconf to src/zeroconf
2006-06-27 22:51:07 +00:00
Stefan Bethge
9921ce24f4
simple (hackish) sending of messages, needs improvement
...
removed some debug messages
2006-06-27 22:28:49 +00:00
Jean-Marie Traissard
1a9d4690b0
[ roidelapluie ] Use differents colors for nickname in gc for each occupiant. Fixes #2084 .
2006-06-22 14:44:06 +00:00
Jean-Marie Traissard
48b89a8cc8
Get gajim version from config
2006-06-21 15:03:53 +00:00
Jean-Marie Traissard
10ba862ed4
We want beep per event, reverting [6494]. Sorry, thought it was a bug.
...
Note that if works only if beep enabled in kernel conf
2006-06-19 15:38:41 +00:00
Jean-Marie Traissard
e66a8a3430
Fix beep for event notification
2006-06-19 14:58:41 +00:00
Yann Leboulanger
b28f22ac05
fix header in fuzzyclock.py
2006-06-15 07:18:55 +00:00
Yann Leboulanger
7ec7acbb27
[delmonico] fuzzyclock
2006-06-15 07:14:39 +00:00
Yann Leboulanger
bc26593974
use gettext.install. Fixes #497
2006-06-15 06:49:04 +00:00
Yann Leboulanger
0e03f023ea
show_ascii_formatting_chars is now True by default
2006-06-14 08:54:41 +00:00
Stefan Bethge
908a4782d4
add bookmarks variable again (for right click account menu)
2006-06-13 22:50:18 +00:00
Stefan Bethge
d69327630c
updating the roster with status changes
2006-06-13 22:42:37 +00:00
Stefan Bethge
7da0b4c220
added timeout for resolving
...
added proper dispatch signals so contacts get shown
fixed some errors with roster data
2006-06-13 21:19:39 +00:00
Jean-Marie Traissard
576f4eef56
Delete now unused sync param
2006-06-12 17:34:08 +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
Dimitur Kirov
668b98e403
prevent TB for missing option
2006-06-12 07:37:17 +00:00
Jean-Marie Traissard
3a71c72244
Do not fail with keyError in some cases due to 0.10.0.1 version change to 0.10.1.1 (failed from 0.10.1 to
...
svn)
2006-06-11 13:01:54 +00:00
Jean-Marie Traissard
28691db92b
Relate to changeset
2006-06-10 18:23:19 +00:00
Jean-Marie Traissard
cfceab7d44
Really use translated word for 'Disabled', about emoticones
...
Updated version to 0.10.1.2 for optparser because all non-english users have 'Disabled' instead of '' for
their emot
2006-06-10 18:18:46 +00:00
Jean-Marie Traissard
5252ec2d3f
Set all strings translatable in about dialog, use AUTHORS file
...
logger->Typo
2006-06-10 17:23:58 +00:00
Jean-Marie Traissard
9ed43cf6d1
Show a real error box when unable to bind to port
...
Fixes #1941 .
2006-06-05 17:07:48 +00:00
Yann Leboulanger
226b923a17
always set version to latest even there is no update func for config file
2006-06-05 10:52:35 +00:00
Dimitur Kirov
6dcb8f7f20
update template with current strings, added tr
...
comment for one_message_window ACE option
2006-06-05 09:03:44 +00:00
Jean-Marie Traissard
739aaf22c2
[roger]add missing ()
2006-06-04 18:10:23 +00:00
Jean-Marie Traissard
efd73e04bf
Also merge metacontacts logs in restore_lines()
2006-06-04 17:21:14 +00:00
Jean-Marie Traissard
21105add82
Modified default width for gc, fixes #1992 .
2006-06-04 11:02:25 +00:00
Jean-Marie Traissard
001b1c0f20
[roger]Merge metacontacts logs on the fly, fix #1891
...
[jim]Clean patch, move duplicate code.
Added condition missing in [5779], can you confirm Yann ?
2006-06-04 09:54:11 +00:00
Stefan Bethge
40fc5202a5
more methods in roster_zeroconf, on_new_service when service is resolved
2006-06-02 18:46:52 +00:00
Yann Leboulanger
8ed37983e6
print_status_in_muc changement won't be in 0.10.1
2006-06-02 11:21:05 +00:00
Yann Leboulanger
59c3b7b3c8
JEP 172 support (user nickname) Fixes #464 and #884
2006-06-01 15:23:38 +00:00
Dimitur Kirov
25e6d9f4aa
send our real show, when we connect to a
...
transport
2006-05-31 21:12:03 +00:00
Stefan Bethge
cf5ad66259
added callback that put a jid in _data of Roster
...
(though something is wrong with it)
2006-05-30 23:13:36 +00:00
Stefan Bethge
e88186d669
changed published service name to name@hostname as in jep-0174
...
changed contact index to name@hostname
2006-05-29 23:03:20 +00:00
Stefan Bethge
43e44b51dd
fix zeroconf.resolve_all()
2006-05-29 22:17:13 +00:00
Stefan Bethge
77e53f7488
trying to show contacts on the roster
2006-05-29 19:57:39 +00:00
Stefan Bethge
589abe37f7
Added publishing of status and status changes for account with name 'zeroconf'
2006-05-29 15:36:18 +00:00
Dimitur Kirov
b51ba152ea
nkour: fix slack version
2006-05-29 14:19:18 +00:00
Stefan Bethge
e324eb4f32
comment out most things, add some connection/disconnection and status updating
2006-05-27 23:57:43 +00:00
Stefan Bethge
0d195c1516
some little name changes
2006-05-26 19:18:13 +00:00
Stefan Bethge
a9fc3c54cb
move zeroconf to common as it is generic
2006-05-26 14:46:13 +00:00
Stefan Bethge
99e8bf1da8
copy classes for zeroconf
2006-05-26 14:27:42 +00:00
Jean-Marie Traissard
a5b7301cd8
[nicfit] Better description of option tabs_border.
2006-05-15 16:35:49 +00:00
Dimitur Kirov
7db9216442
make sure we are disconnected after connection
...
is lost ??? #1955 by j@bootlab.org
2006-05-11 20:51:39 +00:00
Yann Leboulanger
d7d0e25d25
print_status_in_muc is not a string which can be 'all', 'none' or 'in_and_out'(default one). version is 0.10.0.1 to update this variable.
...
show_status becomes print_status in server (show_status is still read for transition)
2006-05-10 16:25:57 +00:00
Dimitur Kirov
d008b51b64
updated connect error checks
2006-05-10 11:22:47 +00:00
Dimitur Kirov
d8bf9f69a8
add two more possible statuses - #1945
2006-05-09 19:56:29 +00:00
Dimitur Kirov
b145e59b41
moved completion dict creation in helpers.py
2006-05-08 22:44:47 +00:00
Jean-Marie Traissard
019dd18e2f
Added various ACE descriptions.
2006-05-08 14:50:38 +00:00
Yann Leboulanger
5942399214
[Geobert] ability to remove nickname in chat when consecutive message from same person. Fixes #1942
2006-05-08 08:19:20 +00:00
Yann Leboulanger
9abd27fbf8
we can now configure if we want to see all status or only enter/leave in bookmarked rooms.
2006-05-07 21:44:57 +00:00
Yann Leboulanger
032786bf47
build idle with corre3ct python version
2006-05-06 16:27:45 +00:00
Dimitur Kirov
f9e874a1a3
make sure NBClientCommon, dispatcher and
...
NodeBuilder are callected when we close the
connection
2006-05-03 16:12:10 +00:00
Dimitur Kirov
4013818599
always del active connection
2006-05-03 15:31:08 +00:00
Yann Leboulanger
1e7c9e350d
fix some ACE option description. Fixes #1877
2006-05-03 13:34:58 +00:00
Yann Leboulanger
2e06ec6d7e
new ACE option: print_status_in_muc. Fixes #1502
2006-05-03 13:22:05 +00:00
Yann Leboulanger
064b7a234c
correct list of not allowed chars under windows. Fixes #1913
2006-05-02 06:36:49 +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
Dimitur Kirov
36426778f0
add gajim caps, fixes #608
2006-05-01 14:15:28 +00:00
Yann Leboulanger
5a9625ff90
nothing
2006-05-01 13:26:07 +00:00
Dimitur Kirov
9c37887ea0
handle challenge response multiple qops: #1907
2006-04-30 17:33:10 +00:00
Dimitur Kirov
fcda778746
converted line end to <LF>
2006-04-29 09:44:47 +00:00
Dimitur Kirov
c4dc648637
old opt value of 'always_compact_view_chat'
...
is string, not boolean
2006-04-28 19:41:35 +00:00
Dimitur Kirov
87253c461a
reset on_purpose var, when we manually change
...
our status to !offline
2006-04-28 18:42:18 +00:00
Dimitur Kirov
173c81ad8c
remove failure handler, after we call it
2006-04-28 16:20:24 +00:00
Yann Leboulanger
98f9525a43
prevent TB when we get a conference vcard. Fixes #1887
2006-04-26 08:11:16 +00:00
Dimitur Kirov
42118e7423
reverted [6216] because of #1889
2006-04-24 18:58:58 +00:00
Yann Leboulanger
0c0e28b78f
GnuPGInterface can't work under windows.
2006-04-23 17:12:14 +00:00
Dimitur Kirov
029668bf20
unsupported locale error is skipped and
...
we use en for wiki search (better to search
in english wikipedia than not having gajim at
all)
2006-04-22 08:53:01 +00:00
Yann Leboulanger
d040cc13fc
be sure chat_control.contact is never None, even when server connection is brocken. Fixes #1878
2006-04-20 16:57:43 +00:00
Yann Leboulanger
228b841e6f
no_log_for is a space separated list. Fixes #1876
2006-04-20 12:46:51 +00:00
Yann Leboulanger
e42fc1ac46
ask vcard of contact when we don't have it and we receive his avatar sha
2006-04-19 15:16:51 +00:00
Dimitur Kirov
7f369eb127
drop may fail, we still have to create the
...
table
2006-04-19 10:47:29 +00:00
Dimitur Kirov
f4a203d5bc
better pass of args
2006-04-19 10:36:45 +00:00
Yann Leboulanger
7e69364f60
re-create unread_messages_table if there is a missing column (this can happen to svn users only)
2006-04-19 10:28:42 +00:00
Yann Leboulanger
9fa62c5529
nothing: remove ^M from win
2006-04-19 10:06:59 +00:00
Dimitur Kirov
70da8ae011
fix db creation
2006-04-19 08:53:27 +00:00
Yann Leboulanger
1a3a987556
auto-authorize transport contacts when we add a transport. fixes #326
2006-04-18 14:30:00 +00:00
Yann Leboulanger
ae054b413e
nothing
2006-04-17 22:42:23 +00:00
Yann Leboulanger
0b9868b82a
typo. Fixes #1862
2006-04-17 09:07:58 +00:00
Yann Leboulanger
2d7b41ecb9
enable GPG by default if I assigned a GPG key
2006-04-15 12:02:19 +00:00
Dimitur Kirov
9768940b3a
show connect failure dialog when Unhandled data
...
is received (wrong protocol)
2006-04-15 09:43:15 +00:00
Yann Leboulanger
c4a3262488
[sol] save GPG status
2006-04-15 08:10:24 +00:00
Dimitur Kirov
e6981f6f2b
show error dialog for lost connection, after
...
10 reconnect attempts has failed.
No need of po update.
2006-04-14 09:01:24 +00:00
Dimitur Kirov
a7fe49be20
on_connect_failure is None after we auth
2006-04-14 05:23:19 +00:00
Dimitur Kirov
927b6d09bc
destroy dialogs on delete event
...
don't send streamhosts if they have been
already sent
2006-04-13 18:00:04 +00:00
Dimitur Kirov
19b7e6b0fc
disconnect without reconnect, when we notify
...
user about connection errors
2006-04-12 20:56:25 +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
ba558c03e7
typo
2006-04-12 10:08:59 +00:00
Dimitur Kirov
9d3976c2d7
restored proxy.jabber.cd.chalmers.se in the
...
list of default proxies
2006-04-12 09:13:38 +00:00
Yann Leboulanger
ad04559cbf
try to create unread_messages table only once when we update config file.
2006-04-12 08:38:51 +00:00
Dimitur Kirov
c45426b18f
register resultCB for testing proxy activation
...
results
2006-04-11 22:23:51 +00:00
Yann Leboulanger
1252786642
remove useless code. old metacontact stuff is removed for everyone
2006-04-11 20:18:33 +00:00
Yann Leboulanger
fe2ec40ad7
new metacontacts JEP (not yet published) uses order instead of priority.
2006-04-11 20:16:33 +00:00
Yann Leboulanger
4e2f02c725
fix import (add missing, remove useless)
2006-04-11 18:36:09 +00:00
Yann Leboulanger
be246e984d
update avatar files when we update our vcard
2006-04-11 18:28:31 +00:00
Dimitur Kirov
a9199bf921
commit after each query
2006-04-11 11:52:42 +00:00
Yann Leboulanger
84f0307085
update unread_messages table for those who already have it
2006-04-11 11:31:16 +00:00
Yann Leboulanger
145db1a107
save jid_id in unread_messages table too to increase speed (it was definitively too slow)
2006-04-11 11:28:36 +00:00
Dimitur Kirov
fbb2ab6a4c
put executescript in try block
2006-04-11 08:16:22 +00:00
Yann Leboulanger
01f5effcef
fall back to a working (but not optimal) table creation until better is done. see #1844
2006-04-11 07:29:43 +00:00
Nikos Kouremenos
213dcd32bb
put back IF NOT as currently we always try to create and TB. first we wait for info in ticket. then if needed we ask db to list table and perhaps parse it or find a way to test table is there (rather than everything catching
2006-04-10 23:28:53 +00:00
Nikos Kouremenos
5fcf9dca06
fix um again; fix coding standrads (crazy tabbing, bad spacing before comma)
2006-04-10 23:18:28 +00:00
Dimitur Kirov
e75425a660
IF NOT EXISTS is not present in some sqlite
...
versions
2006-04-10 23:13:33 +00:00
Nikos Kouremenos
58f7a20e91
because we also limit and offset
2006-04-10 23:07:25 +00:00
Nikos Kouremenos
86326d849d
get_um_for_contact => get_unread_msgs_for_jid because um is too vague and for_contact lies about expecting contact instance
2006-04-10 23:06:11 +00:00
Dimitur Kirov
5c3b2ff2e8
temp disable assert_um_exists
2006-04-10 22:51:25 +00:00
Dimitur Kirov
94b194966f
show unread messages on roster load
2006-04-10 22:36:55 +00:00
Dimitur Kirov
97dc7215df
keep reference to unread messages untill they
...
are printed in tv
2006-04-10 22:08:02 +00:00
Dimitur Kirov
f1f385f7c3
disconnect account on unregister from server
2006-04-10 15:47:31 +00:00
Yann Leboulanger
eb8cc5b7ea
show correctly error message and log them in DB. fixes #1802
2006-04-10 14:00:04 +00:00
Nikos Kouremenos
87eae99e1a
improve ace comment
2006-04-10 12:16:29 +00:00
Nikos Kouremenos
f0f054af6b
[Geobert] new compact view so important info are not hidden (f.e. chatstates) for maximum adjustment, see hide_* in ACE. fixes #1276
2006-04-10 12:09:05 +00:00
Yann Leboulanger
a174f3e1c3
plain has ben renamed to gtk+
...
emoticons are no more in config file. Fixes #1838
2006-04-10 11:46:53 +00:00
Yann Leboulanger
f6aaac5e57
add bannerfont and bannerfontattrs to config.themes_default variable. Fixes #1838
2006-04-10 11:44:27 +00:00
Yann Leboulanger
1d496233f8
update comment
2006-04-10 09:04:14 +00:00
Yann Leboulanger
cb242e2bbd
remove contact from server list if it's useless (sub=ask=name=groups=None). Fixes #1821
2006-04-10 08:24:55 +00:00
Nikos Kouremenos
47a8ddccd5
make sure that when we log, msg is not None
2006-04-09 19:46:11 +00:00
Nikos Kouremenos
645af4e7b7
show nickname/subj cols only when needed
2006-04-09 19:08:57 +00:00
Yann Leboulanger
0793c64053
contacts.get_contact() now always returns a list (empty if needed) when no resource is given. Should fix #1821
2006-04-09 09:39:02 +00:00
Dimitur Kirov
29852a931f
don't try to send if connection is down
...
(this check should be done in all functions
that may come from user response to dialogs)
2006-04-08 16:40:43 +00:00
Dimitur Kirov
a49e89c6b5
don't try to do a nasty connect
2006-04-08 16:29:16 +00:00
Dimitur Kirov
2fa30b7e1e
use realm from first challenge response
2006-04-08 15:58:50 +00:00
Dimitur Kirov
6556d01cbe
change(s) from xmpppy
2006-04-08 15:39:37 +00:00
Nikos Kouremenos
40f41bf81d
typo
2006-04-08 11:38:16 +00:00
Nikos Kouremenos
9e35ac7aeb
improve function name; move it to where we keep those
2006-04-08 10:28:53 +00:00
Dimitur Kirov
71314f2b08
don't try to reconnect if socket was never
...
connected
2006-04-08 00:30:33 +00:00
Nikos Kouremenos
eb4aa3b9c9
take commit comment to actual code comment so readability is increased and comment is on-line help
2006-04-07 23:47:24 +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
Dimitur Kirov
1273e35617
typo: wrong ticket number, should be #1629
2006-04-07 21:05:16 +00:00
Dimitur Kirov
047ebf27ef
try reconnect if connection has failed befor
...
auth to server (#1663 )
2006-04-07 21:01:37 +00:00
Jean-Marie Traissard
f2355f9e6c
print submenus only when more than one account is connected, not when more than one is configured, sort
...
some menus in systray->chat
2006-04-06 18:37:24 +00:00
Yann Leboulanger
2c552d2b85
remove no more used func
2006-04-06 17:27:33 +00:00
Yann Leboulanger
1bc78a3818
we remove agent even if it doesn't reply. Fixes #1756
2006-04-06 16:58:20 +00:00
Dimitur Kirov
14c5213a58
Jim: typo
2006-04-06 10:58:19 +00:00
Nikos Kouremenos
e703218466
coding standards. rm too much identation
2006-04-05 14:54:17 +00:00
Yann Leboulanger
0828f88e29
fix logic. Fixes #1798
2006-04-04 19:32:12 +00:00
Nikos Kouremenos
9fecec7edd
fix copyright stuff
2006-04-04 17:10:12 +00:00
Nikos Kouremenos
b4465083ce
fix copyright stuff
2006-04-04 17:09:29 +00:00
Nikos Kouremenos
7ad5bf4580
improve comment
2006-04-04 11:44:17 +00:00
Dimitur Kirov
cd8a5dca72
file tag is needed only when restoring previous
...
transfers
2006-04-04 08:31:36 +00:00
Dimitur Kirov
2c41c831b9
no file tag for stream initiation result
...
(#1796 )
2006-04-04 08:27:27 +00:00
Nikos Kouremenos
bed7a29414
fix a typo
2006-04-02 15:11:27 +00:00
Yann Leboulanger
90e5561860
JEP 0091 support: timestamp in presences. Fixes #1675
2006-04-01 18:16:06 +00:00
Yann Leboulanger
117acf702c
contact.show can be not in roster. Fixes #1792
2006-04-01 10:23:40 +00:00
Nikos Kouremenos
fcf31413dc
fix hawke patch
2006-03-31 18:40:10 +00:00
Yann Leboulanger
d0f7758647
clean common.contacts._contacts when we remove a contact. Fixes #1788
2006-03-31 17:54:52 +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
ba7ef979b7
common/gajim can't contain _()O so move it to helpers
...
prevent renaming of special groups
2006-03-30 21:35:43 +00:00
Yann Leboulanger
66a4f406fa
Observersa in also a special group than can't be renamed / can't reveive contacts with DND
2006-03-30 21:25:38 +00:00
Nikos Kouremenos
62951fb718
coding standards; convert a TODO to more like testing stuff
2006-03-30 16:10:50 +00:00
Nikos Kouremenos
1dc069f237
overkill to use sre for just replace
2006-03-30 16:08:54 +00:00
Dimitur Kirov
114264ca13
stop if Process has return 0, meaning that it
...
closed the connection
2006-03-29 23:33:17 +00:00
Yann Leboulanger
4849c2f815
we go offline in rooms when we go invisible
2006-03-29 21:06:01 +00:00
Yann Leboulanger
3b46d08e5d
prevent a useless stanza
2006-03-29 20:04:48 +00:00
Yann Leboulanger
bfe1e8c631
Never join a room when invisible
2006-03-29 14:32:45 +00:00
Yann Leboulanger
65edabfb6c
some cleanup
2006-03-28 14:50:19 +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
Nikos Kouremenos
1ef1888cbe
typo. better break for setence in comment
2006-03-27 23:35:46 +00:00
Nikos Kouremenos
6caf013f52
use much better varname and comment the heck out of it
2006-03-27 23:32:39 +00:00
Nikos Kouremenos
0190ac90a4
[jim] fix logic bug
2006-03-27 23:15:19 +00:00
Nikos Kouremenos
d1bb5cbc74
again fix logic after cut-paste
2006-03-27 23:10:41 +00:00
Nikos Kouremenos
0bd9e77fc9
fix logic. thanks Jim for report
2006-03-27 22:42:42 +00:00
Nikos Kouremenos
5528e739b0
helpers that do not relate with xmpp, belong to helpers.py not to common/gajim.py. if they have gtk they belong to gtkgui_helpers. also use those allover
2006-03-27 22:31:14 +00:00
Nikos Kouremenos
b4d8f99d58
nothing
2006-03-27 22:30:02 +00:00
Dimitur Kirov
b42bd75a25
EISCONN error is raised in FreeBSD to indicate
...
that connection is already established
2006-03-27 15:28:29 +00:00
Dimitur Kirov
a9622c9a09
EISCONN shows that connection is already
...
established
2006-03-27 15:19:17 +00:00
Yann Leboulanger
ff7eb2356a
handle correctly when server return answer to register request when we create a new account. Fixes #1725
2006-03-27 09:53:47 +00:00
Yann Leboulanger
88730b1ea1
add an ui option to disable the use of FT proxies. Fixes #1751
2006-03-27 08:28:05 +00:00
Yann Leboulanger
bdda6d1555
show correct error message when we fail to create an account. See #1725
2006-03-26 23:42:36 +00:00
Nikos Kouremenos
6a44733d69
commented code, beautiful code
2006-03-26 19:35:29 +00:00
Nikos Kouremenos
21bba13bc6
are we python or what? :D
2006-03-26 19:34:31 +00:00
Nikos Kouremenos
66029d652e
rm debug prints from optparser
2006-03-26 19:26:25 +00:00
Yann Leboulanger
a5d95b4792
when we change combobox, only look in global synced accounts if one is connected. Fixes #1724
2006-03-26 13:07:11 +00:00