junglecow
e1ad5b15d0
- Removed unnecessary import
...
- Fixed name of transport_nb's logger
2006-12-28 11:15:44 +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
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
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
a4655276fe
[Trunk]
...
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
- Attempt at fixing traceback when getting user's home directory in Windows. See #2812 . (c/configpaths.py)
- Show 'error' icon next to account while waiting for reconnect. Fixes #2786 . (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
- Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
- Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
- Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
- this → self (c/x/transports_nb.py)
- Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
junglecow
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
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
f89ccfe441
detect error while encrypting message, block sending it, and display error message. fixes #2712
2006-12-06 16:19:47 +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
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
4251bb6d2b
[stlman] fix invisible code. fixes #2695 . Thanks
2006-11-22 23:27:57 +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
0de0f31d91
coding stds
2006-11-20 00:09:18 +00:00
junglecow
c3e24dfa76
[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
Yann Leboulanger
1620ff8471
transform no_log_for to a list before looking in it. fixes #2613
2006-11-15 20:46:18 +00:00
Yann Leboulanger
e9755daa9d
retry indefinitly is back. fixes #2411 . please test that
2006-11-15 08:24:35 +00:00
Yann Leboulanger
38fd89a378
shorter string to fit popup window. fixes #2640
2006-11-10 19:33:34 +00:00
Yann Leboulanger
a4c29cd6c2
[misc] XEP-145 (annotations) support. Thanks fixes #776
2006-11-09 19:13:53 +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
Stefan Bethge
1dbb2a891f
merge zeroconf branch to trunk
2006-10-11 02:12:56 +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
0d0ac51fa8
merge with trunk
2006-10-09 00:27:03 +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
8eb1c7ce75
move rst_xhtml_generator.py to common/ where it belongs
2006-10-06 12:33:10 +00:00
Nikos Kouremenos
ebd6f65460
[Gustavo Carneiro] add GnomeKeyring support. see #2493
2006-10-05 23:06:54 +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
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
Nikos Kouremenos
7ce1fa4e46
self.name not self [in connection.py]
2006-10-02 11:42:26 +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
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
9002b3d293
put my email (and jid), not one of my JIDs
2006-09-28 11:31:25 +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
Stefan Bethge
2b3120244f
merged trunk r6780
...
removed i18n imports from zeroconf/connection files
2006-09-14 16:48:03 +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
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
23396f8f59
do not add a default subscription message.
2006-08-31 15:35:38 +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
2428298bda
new add_contact window with a combobox. Fixes #872
2006-08-03 19:13:42 +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
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
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
65d57253c9
we can now invite to new room
2006-07-25 22:26:07 +00:00
Yann Leboulanger
96b21bbc6f
[roidelapluie & asterix] Privacy lists. Fixes #253
2006-07-03 20:49:20 +00:00
Yann Leboulanger
bc26593974
use gettext.install. Fixes #497
2006-06-15 06:49:04 +00:00
Jean-Marie Traissard
576f4eef56
Delete now unused sync param
2006-06-12 17:34:08 +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
77e53f7488
trying to show contacts on the roster
2006-05-29 19:57:39 +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
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
Dimitur Kirov
f9e874a1a3
make sure NBClientCommon, dispatcher and
...
NodeBuilder are callected when we close the
connection
2006-05-03 16:12:10 +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
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
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
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
19b7e6b0fc
disconnect without reconnect, when we notify
...
user about connection errors
2006-04-12 20:56:25 +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
4e2f02c725
fix import (add missing, remove useless)
2006-04-11 18:36:09 +00:00
Dimitur Kirov
f1f385f7c3
disconnect account on unregister from server
2006-04-10 15:47:31 +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
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
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
Yann Leboulanger
4849c2f815
we go offline in rooms when we go invisible
2006-03-29 21:06:01 +00:00
Yann Leboulanger
bfe1e8c631
Never join a room when invisible
2006-03-29 14:32:45 +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
bdda6d1555
show correct error message when we fail to create an account. See #1725
2006-03-26 23:42:36 +00:00
Yann Leboulanger
7d3cee66ca
handle connection failure when we create a new account. Fixes #1725
2006-03-26 12:30:29 +00:00
Yann Leboulanger
ac0f22887e
fix GC logs: when we create a new room, we call get_last_date_that_has_logs(), which call get_jid_jid, which create a new id for the room, but with type = JID_NORMAL_TYPE instead of JID_ROOM_TYPE. It's now fixed
2006-03-24 18:46:48 +00:00
Yann Leboulanger
f8db75e255
New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly
2006-03-24 12:55:56 +00:00
Dimitur Kirov
3f0ac6b3d9
fix imports
2006-03-21 15:57:44 +00:00
Dimitur Kirov
c16167025c
disconnect pending proxy resolve actions when
...
account is disconnected from server
2006-03-20 22:09:16 +00:00
Dimitur Kirov
8d15ac84be
restored send_stanza, needed by xml console
2006-03-19 16:53:17 +00:00
Dimitur Kirov
540103f381
arranged some methods from connection.py in
...
classes defeined in connection_handlers.py
2006-03-19 14:54:00 +00:00
Dimitur Kirov
d33055c3bc
don't try to connect, when we are in state
...
'connecting'
2006-03-15 21:06:22 +00:00
Dimitur Kirov
7afb58426a
property last_connection, used to prevend
...
double connections
2006-03-15 20:10:52 +00:00
Yann Leboulanger
4cbc0666ff
show an error dialog when a transport answers wrongly to register request. Fixes #1702
2006-03-15 08:56:36 +00:00
Yann Leboulanger
f355cb043a
replace / in gc nicks by _ before we save vcard / avatars
2006-03-14 18:09:09 +00:00
Yann Leboulanger
b1ce1107de
we can now talk to a specific resource
2006-03-14 13:10:09 +00:00
Yann Leboulanger
dce057d29e
avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121
2006-03-13 13:25:51 +00:00
Yann Leboulanger
3d61688111
typo. Fixes #1684
2006-03-10 22:06:21 +00:00
Yann Leboulanger
adb62eb628
jids are now punycoded before we store avatars on HD. Fixes #1030
2006-03-10 18:58:28 +00:00
Yann Leboulanger
f9d0421d33
jids and nicks are now punycoded before we store on HD. See #1030
2006-03-10 18:48:14 +00:00
Yann Leboulanger
3355cf4ea3
room_contacts vcards are now saved in room_jid folder. Fixes #1105
2006-03-09 18:41:57 +00:00