Yann Leboulanger
8c5b3f3a92
process all incoming and outgoing queues even if we receive big things (a file). Fixes #3380
2007-09-03 20:54:28 +00:00
Yann Leboulanger
465b2f20c3
"iSocket is already connected" error has a different number under OpenBSD. fixes #3396
2007-08-26 20:45:07 +00:00
Yann Leboulanger
c9a407ca52
[Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544
2007-08-25 22:42:35 +00:00
Yann Leboulanger
78f2c8c021
[roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408 . TODO: DND
2007-08-21 23:13:03 +00:00
Brendan Taylor
eb93f9a172
advertise xep-0116 support via disco
2007-08-20 19:02:58 +00:00
Yann Leboulanger
c71eed99b8
set xml:lang attribute on opening XML stream. fixes #2772
2007-07-27 20:00:44 +00:00
Julien Pivotto
0314f23aa4
Add notification of Configuration Changes in MUC. See #3270 .
...
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Julien Pivotto
015ee132ae
XEP-0045: Multi-User Chat
...
* Handle Multiple status code in MUC.
* Warn the user if room logging is enabled (
http://www.xmpp.org/extensions/xep-0045.html#enter-logging ). Fix #3270 .
2007-07-19 09:27:33 +00:00
Julien Pivotto
9994643247
Added my own copyright :-P
2007-07-11 21:39:27 +00:00
Tomasz Melcer
744d445c55
Caps: querying caps disco node (no checking result yet)
2007-06-27 22:32:35 +00:00
Brendan Taylor
8b7b368922
support libraries for esessions
2007-06-17 10:37:59 +00:00
Brendan Taylor
62cf72910f
functioning XEP-0200 implementation (hardcoded keys and counters)
2007-06-11 22:42:29 +00:00
Tomasz Melcer
401a9b4c02
Some comments added.
2007-06-07 22:49:47 +00:00
Yann Leboulanger
044feb0e1f
Do not use xmpppy DataForm class
2007-06-06 21:40:56 +00:00
Yann Leboulanger
ecd995fda3
[omega] Don't check the fingerprint of the SSL certificats with a fixed list, but use OpenSSL to check if the certificat is valid.
2007-06-03 14:15:50 +00:00
Yann Leboulanger
5d1a78f176
[elghinn] xmpppy typo
2007-06-03 14:07:54 +00:00
Yann Leboulanger
3d4c7bf547
[elghinn] fix entity time support (xep 90 and 202)
2007-06-03 14:00:09 +00:00
Yann Leboulanger
0e3c634ff2
new account registration wizard that follow XEP 77 better. fixes #2700 too (advanced options available while creation an account)
2007-05-31 21:49:49 +00:00
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
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
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
Yann Leboulanger
f450c0eb65
[misc] XEP-0199 (Xmp ping) support.fixes #2947
2007-01-27 10:19:53 +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
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
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
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
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
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
junglecow
c16642c838
Catch socket.gaierror. Fixes #2840 .
2006-12-27 22:45:23 +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
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
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
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
c09e6e0b93
[PyOpenSSL]
...
- Improved data extraction from exceptions
- Clearer error messages
- Reduced exception spam
2006-12-13 20:15:22 +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
4a58bc4797
[pyopenssl] Yet more exception fixes
2006-12-01 22:23:45 +00:00
junglecow
236ed0463a
[pyopenssl] More exception fixes
2006-11-28 22:12:03 +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
Yann Leboulanger
a37b946098
[sgala] IPV6 support for connection fith server. see #1969
2006-11-25 11:50:31 +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
Jean-Marie Traissard
6775c3a43d
Some errors spoted by file source checkers
2006-11-20 19:11:31 +00:00