Stephan Erb
fca6bdbbc4
[Florob] Improved URL matching.
...
We don't match all valid URIs like blub:blaa but include common used (non)-urls like www.google.de
2008-07-08 18:49:51 +00:00
Stephan Erb
0bb1f1d656
Correctly readd a metacontact family after removing a single brother.
...
* Coding standards
* remove useless key-list creation
2008-07-06 22:24:58 +00:00
Yann Leboulanger
74c53da32a
fix arguments order in contacts.py, some coding standards. should fix #4081
2008-07-05 19:04:27 +00:00
Yann Leboulanger
1e636e7824
warn before connecting without PyOpenSSL. fixes #4065
2008-07-05 18:07:32 +00:00
Brendan Taylor
17844361bb
sesison-related TB fixes
2008-07-03 23:19:44 +00:00
tomk
952e4a1569
moved bosh code from client_nb.py to bosh.py, replaced debug logging with debug.py by logging in whole xmpppy (debug.py is now unused)
2008-07-02 23:29:10 +00:00
js
6b3414552a
Leopard's X11 is started automagically - we don't need this anymore.
2008-06-28 23:05:14 +00:00
Yann Leboulanger
db3ddc71ff
prevent TB when reading pending events. Fixes #4035
2008-06-27 15:56:09 +00:00
Jean-Marie Traissard
a9877f14dd
[erlehmann] Fixed regular URL matching expressions for "-".
2008-06-27 10:50:09 +00:00
Brendan Taylor
5a772a046c
teeny-tiny fix
2008-06-26 23:37:24 +00:00
Brendan Taylor
b21a1e2489
win.get_controls() isn't needed anymore
2008-06-26 23:37:12 +00:00
Brendan Taylor
e3613be1fa
first pass at stripping out the one-tab-per-session code
2008-06-26 23:36:58 +00:00
Stephan Erb
59b9e86fbb
[erlehmann] Improved regular URL matching expressions. Fixes #3715 .
...
URLs like (http://myFoobar.org ) and http://en.wikipedia.org/wiki/Mornington_Crescent_(game) are now correctly detected.
2008-06-26 22:24:27 +00:00
Brendan Taylor
d6be46be84
hopefully fix some has_window bugs
2008-06-21 19:12:58 +00:00
Brendan Taylor
8b4627049b
moved session negotiation handling from gajim.py to session.py
2008-06-21 19:12:47 +00:00
Brendan Taylor
7721abb2b1
fix handle_event() for pms and new_chat_from_jid() for existing chat controls
2008-06-18 04:11:11 +00:00
Stephan Erb
b1f13ca040
Remove Non-ASCII character.
2008-06-17 19:27:32 +00:00
Stephan Erb
473e2cdbd8
Handle remote roster changes.
...
* Don't traceback when another resource of us is moving contacts to new/different groups.
* Always refilter all involved groups.
* It is now possible to not update contacts severside when using add/remove_from_groups
2008-06-17 19:25:17 +00:00
Yann Leboulanger
5e5733e40a
fix traceback when no control is opened. fixes #4024 , #4028
2008-06-17 05:39:20 +00:00
Brendan Taylor
16c7dfca91
fix undefined variables in handle_event()
2008-06-17 03:27:54 +00:00
Jean-Marie Traissard
ca457a7ac2
groups :
...
-Use a method to get_shown_groups (possibly more work to do (special group attribute))
-Show contact only if contact.ask, not according to modified xep 0162 logic. (I don't get neither the xep
meaning, neither this modified logic, can you explain steve-e ?)
-Remove contact before we modify it req_sub(). Else we can't remove it because iter is not found.
-When removing a contact and we let him in see us (observer), manually set show to offline, so he is not set as
visible.
-Remove observer from observer group if we asked him auth (I mean before he answer). Xep 0162 say he is not an
observer then. Fix contact staying in observer group when we get auth later.
-Renaming groups seems fixed (it's an accident :p )
More work on group to follow
2008-06-15 21:48:13 +00:00
Brendan Taylor
2b074aed41
pass the ChatControl around with printed_chat events
2008-06-14 16:49:48 +00:00
Brendan Taylor
964cb10163
hopefully fix the last of the get_control calls ( fixes #4018 )
2008-06-14 08:43:20 +00:00
Stephan Erb
d5bbc403c9
Various roster fixes.
...
* don't traceback when selfcontact is disconnecting
* make more use of "remove contact after last event removed" mechanism
* correctly redraw bigbrothers after status change
* handle situation where we receive a message, go offline without reading it and reconnect after another resource has moved the sending contact to another group.
know bugs: newly added transports added to "not in roster group"
2008-06-10 21:18:55 +00:00
Brendan Taylor
399233f293
detach sessions from controls when the highest priority contact changes.
...
this way we don't get multiple tabs when the remote user moves to another resource.
2008-06-10 02:58:17 +00:00
tomk
6a15c9b9c9
initial cleanup of xmpppy perfomed, see #3260
2008-06-09 00:32:02 +00:00
Jean-Marie Traissard
f9c981df5d
-Set General and Observer group directly in contact instance, instead of calculating it each time
...
-When creating self-contact contact instance, store it with group 'self_contact', so it never goes in General
-Make general group not be seen visible because of self contact even if self.regroup
-Remove the self contact instance itself too when WE deconnect or when IT deconnect, so we will
not see it as offline if refilling roster (regroup account for example)
2008-06-08 21:27:31 +00:00
js
c2eb4b5a9f
Completely remove OTR.
...
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.
Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr
I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.
Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
js
1eeee2d531
We really need a way to start X11 without an xterm on OS X. Any idea?
2008-06-08 10:29:06 +00:00
js
03d68c0d26
Be more specific on excepts.
2008-06-08 10:19:26 +00:00
js
0551c9ddac
* Start X11 automatically on OS X if not running.
...
* Moved one import in osx/__init__.py. If that import fails, we still
got the few functions defined we need, even if the rest of that file
doesn't work due to missing deps.
2008-06-07 21:12:27 +00:00
js
8def8de5c7
Make Gajim work on OS X again.
...
Someone completely broke it by trying to port it to native GTK.
However, that person didn't only break it with X11 GTK, with
native GTK it wasn't working correctly either.
Fixed it by adding lots of try/except blocks. Someone definitely
deserves to be slaughtered for completely breaking it on OS X…
2008-06-07 20:42:15 +00:00
Jean-Marie Traissard
7fbfa0547d
Regroup window.present() calls. See #3908 .
2008-06-05 15:09:17 +00:00
Yann Leboulanger
d1762dd9a0
improve new gmail e-mail popup window. Fixes #3252
2008-06-03 14:15:57 +00:00
Brendan Taylor
dc89b61d37
fix lazy session binding to reuse sessions and pick them up from pending events
2008-06-02 23:26:40 +00:00
Brendan Taylor
d19cb43ee0
don't assign a session to a control until it's needed
2008-06-02 23:26:32 +00:00
Yann Leboulanger
03cbc6e2d5
ability to rename zeroconf account. Fixes #3945
2008-06-02 21:22:35 +00:00
Yann Leboulanger
5a459104d5
fix traceback when joining a room without a nick. Fixes #3979
2008-06-01 08:44:03 +00:00
Yann Leboulanger
533e955cf1
make pep work, move config options per account, make publish_tune configurable in account context menu. fixes #3954
2008-05-30 21:43:53 +00:00
Stephan Erb
4b6fabadd9
Don't remove contacts from roster when they have pending events.
...
* update documentation and fix indentation
* don't remove offline contacts from roster when we open the last pending, non chat message event
* store account and jid per event
2008-05-30 17:42:53 +00:00
Yann Leboulanger
8973b91070
auto_join_bookmarks only join non-opened groupchats. Opened one are already auto-joined on re-connection. Fixes #3891
2008-05-30 10:26:33 +00:00
Yann Leboulanger
c127493e58
remove pep options from pref window, store them per account, store caps_hash per account. see #3954
2008-05-27 10:24:29 +00:00
Brendan Taylor
f7874d29c7
reuse chat controls after session termination
...
fixes #3950
2008-05-23 23:27:08 +00:00
Stephan Erb
a06468b846
Always remove contacts from GUI when we receive a roster via xmppy.
...
This fixes a bug with metacontacts over different groups and should stop contact duplication in most cases.
2008-05-19 21:17:43 +00:00
js
f1c333410e
Revert r9682, it was a bad idea. The solution is not to send the
...
thread id, but to even remove the lock symbol when OTR was ended
and we don't have a thread id.
2008-05-19 20:13:24 +00:00
Stephan Erb
abe75901d4
Remove some extra model refiltering.
...
Whenever we write to the underlying child_model gtk will call the _visible_func on itself.
2008-05-19 20:08:32 +00:00
js
f92f5f5c64
Send thread ID on ending OTR session so that self.session is defined
...
when that event is received and the lock icon updated.
2008-05-19 20:04:48 +00:00
Stephan Erb
ea00e4d933
Improve select_contact method.
...
* use correct API in session.py
* only filter when really needed
2008-05-19 20:00:41 +00:00
js
2586c999fe
Fix automatic start of OTR session.
2008-05-19 13:52:45 +00:00
js
12014b40b6
* If found, automatically use included gtk on win32.
...
* Don't include docutils stuff in win32 builds.
2008-05-19 10:58:03 +00:00
Brendan Taylor
fad6d2ef7e
pass session when dispatching MSGNOTSENT
2008-05-19 00:17:39 +00:00
js
2be8792fd3
Coding style.
2008-05-18 19:44:43 +00:00
js
8a6615a5d0
Renable OTR. I found a way no messages will get lost, but it's more
...
or less a workaround. We never let libotr handle unencrypted messages
now and handle notifying the user about the message not being encrypted
ourself.
2008-05-18 19:11:13 +00:00
Julien Pivotto
79678de341
make continued conversations unbrowsable. fix #3783
2008-05-17 16:23:44 +00:00
js
aaf3ca3161
Disable OTR until the libotr devs fix their very broken API.
2008-05-16 15:29:23 +00:00
Brendan Taylor
b7863b0316
fix tb when closing chat control after e2e ended
2008-05-15 04:03:19 +00:00
Brendan Taylor
58478b032d
fixed opening chat with multiple resources
2008-05-14 02:20:31 +00:00
Brendan Taylor
d511b5afc4
merged in session-centric branch, with fixes for OTR compatibility
2008-05-13 01:59:10 +00:00
js
7d02042f6d
Make logging of OTR status changes a bit nicer.
...
Still not ideal. Maybe add a new log type for encryption? ESessions
could also use this…
2008-05-11 18:18:34 +00:00
js
0378ed821d
Don't log the OTR initiation request (?OTR?).
2008-05-11 17:40:22 +00:00
js
2a51c443e5
D'oh.
2008-05-11 17:19:54 +00:00
js
fc762157c0
* Disable OTRv1 by default.
...
* Don't send our JID on OTR request! It might reveal our JID in MUC!
2008-05-11 17:18:44 +00:00
js
4958b28e1d
Sorry, last commit missed one hunk.
2008-05-11 13:41:23 +00:00
js
d2731268d7
[Kjell Braden] Fix OTR for chat and GC queries for real now.
2008-05-11 13:20:22 +00:00
js
573568f9ac
Reverted r9614 and r9615.
...
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor
2162c3730a
merged in session_centric branch
2008-05-11 01:19:59 +00:00
js
d69d5266b5
Fix a OTR related crash on exit.
2008-05-11 01:07:38 +00:00
js
b5a9edc6b4
Fix crash in GC query when OTR is active.
2008-05-11 00:45:15 +00:00
js
4eeb96368b
Store otr_userstates at the right place and create it the right way.
...
This fixes the crash when creating a new account, which made Gajim
unusable on systems where it never ran before.
2008-05-10 21:29:47 +00:00
js
435042968e
Added OTR support.
...
Work done by Kjell Braden <fnord@pentabarf.de>.
Some fixes done by me.
2008-05-09 12:35:25 +00:00
Jean-Marie Traissard
75ffe12157
Change very bad var names
2008-05-05 03:18:09 +00:00
Jean-Marie Traissard
5689daf66b
In configure room, works even if we receive an affiliation list with more than one affiliation inside.
...
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Brendan Taylor
1962b231e6
pm bugfix
2008-05-04 00:24:27 +00:00
Brendan Taylor
99f2997d27
pm fixes
2008-05-03 00:10:17 +00:00
Brendan Taylor
20beea4b49
fixed groupchat
2008-05-02 02:32:28 +00:00
Yann Leboulanger
a9e25aa98a
fix arguments of on_open_chat_window functions. It is called from callbacks, so first argument is widget.
2008-04-26 23:36:03 +00:00
Yann Leboulanger
613753f308
[elghinn] codding standards
2008-04-24 13:47:37 +00:00
Stephan Erb
29d2e00803
Small roster API cleanups.
2008-04-23 22:34:10 +00:00
Yann Leboulanger
a3827fe5d0
new XEP-0115 implementation (version 1.5)
2008-04-20 22:58:47 +00:00
Jean-Marie Traissard
47bc1d61b4
Added one unique function to src/gajim.py to add a GC bookmark.
...
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Jean-Marie Traissard
8b8f139f79
Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643 .
...
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Yann Leboulanger
e54d749eec
add a new dbus signal when a contact changes his status. fixes #3655
2008-04-20 14:39:08 +00:00
Stephan Erb
4e6bd4ee8f
Port roster_window to gtk.TreeModelFilter.
...
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.
See #1201
2008-04-20 14:01:04 +00:00
Jean-Marie Traissard
0374e72b28
Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
...
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +00:00
Jean-Marie Traissard
a095a3249e
[elghinn] Set default icon before creating roster so it's done for roster too
2008-04-18 09:43:26 +00:00
Jean-Marie Traissard
968b2acc4f
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
5dd0d4fce8
move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873
2008-04-17 14:17:14 +00:00
Yann Leboulanger
2d04fc6ae6
don't hide roster on startup if no systray module is available
2008-04-17 06:34:32 +00:00
Yann Leboulanger
b7fcb776b9
try to auto-convert emoticons.py files to the new format. Fixes #3696
2008-04-15 22:04:39 +00:00
Yann Leboulanger
6d8dd51db0
show/hide ipython window instead of create/destroy
2008-04-15 18:09:04 +00:00
Jean-Marie Traissard
88f7abd795
Fix "You are already in this GC" bugging at reconnection. Happened if we receive
...
bookmarks after we already reconnected to opened GC
2008-04-15 17:25:59 +00:00
Jean-Marie Traissard
edb5910c1d
prevent traceback when ping reply arrives after we close the control; without
...
error too. Fixes #3859 .
2008-04-15 12:36:10 +00:00
Yann Leboulanger
5348c3a37f
add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004
2008-04-15 09:35:36 +00:00
Yann Leboulanger
e7f88e6dd6
prevent traceback when ping reply arrives after we close the control. fixes #3859
2008-04-15 09:02:36 +00:00
Yann Leboulanger
29dd9d2576
added ipython for SVN users only.
2008-04-14 15:19:09 +00:00
Yann Leboulanger
bdac12d789
don't go autoaway when screensaver is activated is user disabled the autoaway option. Fixes #3824
2008-04-10 14:47:12 +00:00
Yann Leboulanger
e341548d25
really ignore GTK warnings under windows
2008-04-04 21:31:27 +00:00
Yann Leboulanger
61be183c8e
don't stop autoconnect after first account
2008-03-30 12:05:04 +00:00
Yann Leboulanger
a6e06b3bca
add autoconnect_as feature to autoconnect as away or invisible
2008-03-30 11:50:59 +00:00
Yann Leboulanger
1c313ed242
update string printed when running gajim -h to show --config-path option
2008-03-27 13:59:03 +00:00
Yann Leboulanger
d1a685c4a7
typo in a string
2008-03-22 08:52:46 +00:00
Yann Leboulanger
1008d162f4
show invitation from anonymous room in roster from a groupchat rather than from a normal Contact. fixes #3448
2008-03-21 12:30:23 +00:00
Yann Leboulanger
0d427eff3b
Warn user when database is corrupted and unreadable. Fixes #3761
2008-03-17 07:22:43 +00:00
Stephan Erb
8d4a0dd203
Indentation error. Fixes #3768
2008-03-14 12:37:02 +00:00
Yann Leboulanger
e572a0cd65
warn user when emoticon theme can't be loaded. fixed #3696
2008-03-14 08:46:10 +00:00
Jean-Marie Traissard
67f69fe688
History log checkbutton cleanings :
...
* Fix a bug when accessing by nickname
* Restore usability for rooms (opened ones) and offlines contacts (but if in roster)
* Don't search account of contact if we already have it
* Disable checkbutton if we don't log for the whole account
2008-03-13 01:15:57 +00:00
Yann Leboulanger
64c2fb1667
fix some strings
2008-03-11 16:50:35 +00:00
Yann Leboulanger
d17b5b7bad
new way to create emoticons.py file. fixes #3696
2008-03-10 23:26:04 +00:00
Jean-Marie Traissard
6e84de1fbe
Fix indentation error in [9348].
2008-03-10 22:40:46 +00:00
Yann Leboulanger
1b90552446
ability to remove a PEP node
2008-03-02 23:56:39 +00:00
Yann Leboulanger
d0aa21eb24
commit back MSN transport workaround
2008-03-01 09:56:00 +00:00
Yann Leboulanger
e0a4ab05b4
remove useless else
2008-02-26 09:46:27 +00:00
Yann Leboulanger
cb51401903
[shivan] don't trat emoticons created with parenthesis arround status message. fixes #3368
2008-02-26 08:31:48 +00:00
Yann Leboulanger
62f8937fae
no need to draw muc in roster each time we get a presence or each time we get a message.
2008-02-25 20:41:41 +00:00
Yann Leboulanger
c8b25f37a5
[shtrom] $S and $T in autoaway status message. fixes $3741
2008-02-25 14:09:47 +00:00
Yann Leboulanger
13541c0425
ability to configure pubsub nodes. see #3053
2008-02-15 22:55:21 +00:00
Yann Leboulanger
494ae444b6
ability to ignore SSL errors until certificate changes. Fixes #3710
2008-02-15 10:11:17 +00:00
Yann Leboulanger
7c49600135
use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734 , #3736
2008-02-14 19:18:07 +00:00
Brendan Taylor
c8cae71099
merged trunk
2008-02-14 02:20:07 +00:00
Jean-Marie Traissard
894e752292
Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
...
Reverting [9324]. Reopen #3734 .
2008-02-13 18:03:29 +00:00
Yann Leboulanger
ad3935d9e9
[Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734
2008-02-13 07:14:06 +00:00
Stephan Erb
4974773895
Remove workaround old, non xep-complient MSN transports.
2008-02-08 22:15:03 +00:00
Brendan Taylor
0b574d2360
move message handling into ChatControlSession
2008-02-06 01:40:51 +00:00
Yann Leboulanger
e8b7778521
detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711
2008-02-05 14:50:21 +00:00
Brendan Taylor
0b48b05218
merged trunk into session_centric branch
2008-02-05 03:09:31 +00:00
Yann Leboulanger
848c492926
add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923
2008-02-04 21:38:36 +00:00
Yann Leboulanger
e695dddf24
better text when fingerprint change. fixes #3712
2008-02-01 16:22:32 +00:00
Yann Leboulanger
dbaac78ef5
the on_yes handler of YesNoDialog don't take any argument. fixes #3712
2008-02-01 07:56:16 +00:00
Yann Leboulanger
7d5602c4b1
add a new event to allow not playing sound when chat window is focused. fixes #2907
2008-01-27 20:15:17 +00:00
Stephan Erb
4bb29675a8
padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts.
2008-01-23 16:10:28 +00:00
Yann Leboulanger
d27f9a9c85
* YesNo dialog now destroy itself when we click on a button
...
* yes YesNo dialog when a contact removes us to as if user wants to remove it too
* fix some coding standards
2008-01-22 16:06:16 +00:00
Stephan Erb
6fdd7c0f88
Rework GPG behaviour:
...
Only encrypt when the receiver is trusted. You have to sign its key or it has to be signed by someone you trust. Fixes #109
Make checkbox insensitive when GPG is disabled on an account (or no passphrase given).
Auto assign trusted keys on received presence. Deny encryption on missmatch of assigned key and signing key. Fixes #3376
Do not disable encrypted when receiving an unencrypted message. Print whether a received message was encrypted or not.
TODO: Remove togglebutton, its useless now
2007-12-29 23:28:27 +00:00
Yann Leboulanger
d846f28a0e
fix argument type. statusCode is a list, cannot be None
2007-12-29 00:24:56 +00:00
Yann Leboulanger
ec91275255
ask GPG passphrases one by one for each account. fix #3644
2007-12-28 10:20:41 +00:00
Jean-Marie Traissard
14bf5ed62c
pyflakes checks, remove unused imports, mainly
2007-12-27 21:52:45 +00:00
Travis Shirk
7539d5b70e
Since KeyboardInterrupt is "common" then catch the exception, print to stderr, and exit. No traceback, which says "error" to me...
2007-12-27 01:30:40 +00:00
Yann Leboulanger
6247de33da
don't propose to add certificate to cacerts.pem file if it's useless, and don't add it if it is already in. fixes #720
2007-12-26 23:59:54 +00:00
Yann Leboulanger
9d068dc322
[shprotx] save config when gnome sessions ends. fixes #3618
2007-12-15 09:04:10 +00:00
Yann Leboulanger
a645006bf8
merge diff from trunk
2007-12-12 08:44:46 +00:00
Brendan Taylor
b8882ba48e
merged realtime cancellation patch
2007-12-08 09:09:06 +00:00
Brendan Taylor
88f017a20d
realtime notification of esession begin/end
2007-12-08 05:49:38 +00:00
Yann Leboulanger
00ad2846c0
import release diff from 0.11.4, svn version is now 0.11.4.0-svn
2007-12-06 20:38:41 +00:00
Yann Leboulanger
002556db7e
[mgol] better latex detection regex. fixes #3598
2007-12-04 09:45:51 +00:00
Yann Leboulanger
46aac301c8
SSL certificate verification, certificate fingerprint verification. fixes #720 , #2499
2007-12-04 09:38:39 +00:00
Yann Leboulanger
f409450998
re-create gpg instance in connection.py at each connection son use_gpg_agent current value of use_gpg_agent option is used
...
warn user when he configured gajim to use gpg-agent but it returns a wrong passphrase. see #3592
2007-12-01 13:22:39 +00:00
Brendan Taylor
1cd5b3da39
fixed use of common.xmpp namespace in a place it wasn't imported
2007-11-28 19:26:40 +00:00
Yann Leboulanger
3ee18c20c8
handle unicode chars in emoticons. fixes #3227
2007-11-26 12:03:09 +00:00
Yann Leboulanger
034999989d
remove useless spaces and tabulations
2007-11-26 10:27:51 +00:00
Yann Leboulanger
08e577c637
fix GPG behaviour
2007-11-22 13:53:12 +00:00
Yann Leboulanger
0ceb41f650
request GPG password only when connected to server, before sending presence. fixes #3483 , #3375 , #3115
2007-11-22 10:41:57 +00:00
James Newton
f1d3f85037
Fixed a bug with forcing autodetection of browser/mail during startup when the
...
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
James Newton
c2b901dfe9
Adjusted the menu code in an attempt to make it work better on leopard. Removed
...
the idle_add wrapper for on_quit and moved the idle_add wrapping into the
sync-menu code instead.
2007-11-16 23:11:35 +00:00
James Newton
c6c31a17c3
Removed path adjustment from gajim.py and moved it outside of gajim proper.
2007-11-16 14:04:18 +00:00
Yann Leboulanger
1f7a462788
[James Newton] osx port for Gajim. a GREAT thanks!!!
2007-11-14 19:47:52 +00:00
Yann Leboulanger
605caae2b8
My name has changed
2007-10-22 11:33:50 +00:00
Yann Leboulanger
22c1aeda29
next release will be GPL v3. fixes #3290
2007-10-22 11:13:13 +00:00
Yann Leboulanger
d6aa63cd1c
fix check of presence of X server. Fixes #3481
2007-10-21 09:40:09 +00:00
Yann Leboulanger
0869ce362c
Follow nick change in private message. fixes #3455
2007-10-13 14:37:22 +00:00
Brendan Taylor
bd8ececb46
encrypted secret storage and an improved SAS verification dialog
2007-09-29 20:51:01 +00:00
Yann Leboulanger
530cc9e62f
[asac] support jabber ❌ data in message elements. fixes #2225
2007-09-27 20:39:42 +00:00
Yann Leboulanger
b79170cc70
add account name to XEP-70 dialog when several are connected
2007-09-17 18:03:44 +00:00
Yann Leboulanger
bf6c87b888
don't TB when dbus is not present. fixes #3328
2007-09-14 20:50:19 +00:00
Yann Leboulanger
81c65ccac8
[steve-e] Ability to select a jid in history window. fixes #3410 , #3308 , #1925
2007-09-14 20:18:06 +00:00
Yann Leboulanger
8ec061f5f6
prevent the user before sending a file to a groupchat contact that doesn't know his real jid.
2007-09-12 23:12:29 +00:00
Yann Leboulanger
b05579dc13
accept file transfert request from contact not in our roster
2007-09-12 22:06:07 +00:00
Yann Leboulanger
767975d4c7
don't try to get extension of an image if type is unknown. fixes #3436
2007-09-11 09:59:10 +00:00
Yann Leboulanger
7827e3cb9a
revert unwanted commit from [8749]
2007-09-09 14:35:46 +00:00
Yann Leboulanger
bc53dbbef7
run the browser auto-detection forst time we run Gajim
2007-09-07 21:03:55 +00:00
Stephan Erb
2fdeabc012
Add my copyright :-)
2007-08-31 23:19:23 +00:00
Yann Leboulanger
62edcc71de
make python-crypto an optional dependency
2007-08-27 13:36:24 +00:00
Stephan Erb
b1136a6959
Generalize save_avatar_files() and generate notif and bw version for local avatars.
2007-08-26 10:23:39 +00:00
Yann Leboulanger
c9a407ca52
[Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544
2007-08-25 22:42:35 +00:00
Tomasz Melcer
da072e7b5f
Jingle: notifications
2007-08-24 14:45:24 +00:00
Tomasz Melcer
2838907e97
Jingle: systray
2007-08-24 14:36:53 +00:00
Tomasz Melcer
2a7f1a654a
Jingle: dialog for accepting voice calls
2007-08-23 23:42:31 +00:00
Yann Leboulanger
e982404d58
allow participants to invite contacts in continued groupchats. see #2095
2007-08-22 11:46: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
88e49ffa46
don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms
2007-08-20 17:33:12 +00:00
Brendan Taylor
59b7e83fd5
removed buggy anti-presence-leak test
2007-08-20 08:19:29 +00:00
Brendan Taylor
0230c91e4c
esession bugfixes
2007-08-20 08:16:48 +00:00
Brendan Taylor
8675731f8d
refactored identity verification
...
public key authentication
2007-08-17 08:39:47 +00:00
Tomasz Melcer
b8087cdb53
Jingle: removing hacks, rising the priority for io_add_watch callbacks.
2007-08-15 09:28:32 +00:00
Tomasz Melcer
e2182686bf
Jingle: another ugly fix
2007-08-13 16:17:22 +00:00
Tomasz Melcer
a0af6f7fb8
Spelling fix
2007-08-12 21:13:05 +00:00
Yann Leboulanger
ea24ee82e5
merge diff from trunk to pep branch
2007-08-09 15:39:18 +00:00
Yann Leboulanger
3cf16a5a4a
handle gnome-screensaver events. fixes #663
2007-08-09 12:18:59 +00:00
Yann Leboulanger
c4b34800da
call process_connection faster under win. it processes incoming stanza under windows only.
2007-08-09 10:41:59 +00:00
Brendan Taylor
4bfe14d3cf
prompt with SAS during 3 message negotiation
2007-08-07 07:42:31 +00:00
Yann Leboulanger
3b9966960d
add --config-path option so that we can specify the root folder of config files. see #2149
2007-07-25 23:04:15 +00:00
Julien Pivotto
3a1b83228d
Beter handling of status code in MUC. see #3270 .
2007-07-19 13:12:11 +00:00
Julien Pivotto
97d5ffdb7d
Beter handling of status codes. See #3270 .
...
http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-init
2007-07-19 11:54:15 +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
Brendan Taylor
8adbac7997
don't prompt to negotiate if we have mutual subscription
2007-07-17 08:26:14 +00:00
Brendan Taylor
fdef1c3d72
shared retained secrets
2007-07-17 08:08:27 +00:00
Brendan Taylor
8af883e852
refactored and corrected identity testing, prompt user when a session is initiated by an unsubscribed jid
2007-07-12 06:25:05 +00:00
Julien Pivotto
9994643247
Added my own copyright :-P
2007-07-11 21:39:27 +00:00
Yann Leboulanger
3f5327dc6f
[mrk] handle Google Apps For Your Domain. fixes #3163
2007-07-11 16:32:18 +00:00
Yann Leboulanger
952e6d96e3
catch disk full errors. fixes #2937
2007-07-09 16:01:19 +00:00
Yann Leboulanger
2828e47a24
don't always minimize bookmarked groupchats
2007-07-08 11:28:23 +00:00
Brendan Taylor
ccac0b4299
fixed presence leaks
2007-07-05 21:30:09 +00:00
Brendan Taylor
29c44d8a5e
interface for SAS
2007-07-04 18:55:53 +00:00
Yann Leboulanger
1656ea452b
rename gt+ theme to default. fixes #2794
2007-07-04 16:50:54 +00:00
Yann Leboulanger
039bf1e10e
use get_contact() when we give the resource. see #3275
2007-07-04 16:33:40 +00:00
Yann Leboulanger
8abd062365
[Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275
2007-07-04 13:23:16 +00:00
Brendan Taylor
2bed6a522a
fixed a traceback
2007-07-03 18:00:09 +00:00
Yann Leboulanger
33946aeeef
remove useless function get_contcats_from_jid (same as get_contact). see #3275
2007-07-03 10:22:41 +00:00
Brendan Taylor
c3b81346d9
human-readable feature negotiation dialogs
2007-07-02 16:53:19 +00:00
Yann Leboulanger
fd2be16f24
make the ask password for groupchat window async and entry visibility to False. fixes #3265
2007-06-29 08:19:13 +00:00
Brendan Taylor
6fe668d863
disable logs in encrypted sessions.
2007-06-29 04:12:08 +00:00
Yann Leboulanger
c8d808d956
fix TB when we remove an account. Fixes #3268
2007-06-28 21:22:27 +00:00
Yann Leboulanger
a1bf7363c7
better network_manager detection
2007-06-26 20:59:30 +00:00
Brendan Taylor
39bea5fd40
tidying things up.
2007-06-26 20:55:49 +00:00
Yann Leboulanger
519bfa9352
remove private messges from unread_messages table in logs.db
2007-06-25 19:34:23 +00:00
Yann Leboulanger
fc153017ec
ask password to user when we try to connect to a password protected room. fixes #2890
2007-06-24 21:19:41 +00:00
Brendan Taylor
abd773b52e
can respond to an esession request
2007-06-20 20:44:33 +00:00
Yann Leboulanger
2c6b7494cc
check network events every 2 seconds is enough. fixes #3250
2007-06-19 16:19:57 +00:00
Julien Pivotto
2885e3dbda
[misc] Update own vcard when requested. Fix #3237 .
2007-06-17 16:10:00 +00:00
Brendan Taylor
d1fe7b41f3
functioning XEP-0217 implementation! (initiation only)
2007-06-17 10:39:19 +00:00
Julien Pivotto
c92145c3b9
[misc] repare sending composing chatstates using xep instead of xep.
...
Fix #3241 .
2007-06-16 21:31:19 +00:00
Julien Pivotto
ed3db807d9
Fix a bug with minimization and new accounts
2007-06-14 20:57:25 +00:00
Yann Leboulanger
d2914f642b
add minimize button to manage_bookmarks window. see #3034
2007-06-13 20:24:04 +00:00
Julien Pivotto
6338f63f03
Fix some bugs with minimized groupchats.
2007-06-11 10:13:16 +00:00
Yann Leboulanger
5ca32ba606
[sgala] check autoaway state only every 10 seconds, so that gajim allows for processors to sleep longer for power saving (see linuxpowertop.org)
2007-06-06 09:57:33 +00:00
Brendan Taylor
7898686680
reverted back to per-JID windows, pass around sessions instead of thread_ids
2007-06-05 23:19:34 +00:00
Brendan Taylor
17c5bf5e52
massive everything-breaking overhaul for per-session windows
2007-06-05 21:26:45 +00:00
Julien Pivotto
85c6c4b63c
* Use self instead of gajjim.interface in gajim.py
...
* Improve coding of [8220]
2007-06-04 12:22:51 +00:00
Julien Pivotto
6269150711
Fix a bug with (systray, drag and drop) and minimized groucpchat
2007-06-04 12:18:34 +00:00
Julien Pivotto
99f36260f9
Change also context menu 'send status' icon in roster.
2007-06-03 16:42:43 +00:00
Julien Pivotto
24f42e7549
Add sent status icon to contact's context menu. Fix #342 .
2007-06-03 15:46:05 +00:00
Yann Leboulanger
274f8742bb
use the new new_private_chat function
2007-06-03 13:45:32 +00:00
Yann Leboulanger
75eb345ff9
prevent TB when we click on a popup notification of an already handled event
2007-06-03 13:42:51 +00:00
Yann Leboulanger
52c6c6cbb7
[roidelapluie] better groupchat support in roster and systray. Better nick support
2007-06-03 13:40:14 +00:00
Yann Leboulanger
07b324ced4
ability to see pep nodes and their access model. TODO: ability to change it
2007-06-03 10:30:34 +00:00
Piotr Gaczkowski
e3ef0821b3
Merge with trunk
2007-06-03 10:04:20 +00:00
Brendan Taylor
d696f79c55
can now accept a session negotiation
2007-06-01 22:08:23 +00:00
Brendan Taylor
32804eed1c
reject a session negotiation request
2007-06-01 18:19:19 +00:00
Brendan Taylor
46bc373cc3
pop up a (useless) DataFormWidget when someone initiates a session negotiation
2007-06-01 17:09:56 +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
Brendan Taylor
ec37a97ed6
add <thread/> to replies to single message that contain a <thread/>
2007-05-30 15:31:41 +00:00
Yann Leboulanger
94186d6d16
fix missing argument to handle_event_gc_notify function. Thanks sgala
2007-05-21 17:41:31 +00:00
Yann Leboulanger
a45a14546a
handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172 , #3173
2007-05-20 15:41:20 +00:00
Julien Pivotto
91edfcfbdd
Fix a bug with highlighing in groupchats
2007-05-17 15:50:55 +00:00
Julien Pivotto
993d72a8c1
Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received.
2007-05-17 12:55:44 +00:00
Jean-Marie Traissard
b10981bd03
Use only one (up to date) error dialog for aspell dictionary error. See #3165 .
2007-05-14 03:59:57 +00:00
Yann Leboulanger
1674110503
show transport nickname if there is one and user hasn't set a nickname. fixes #3094
2007-05-12 20:30:26 +00:00
Yann Leboulanger
31101e5049
when we're disconnected because of a resource conflict, ask the user another resource. Fixes #3044
2007-05-09 20:59:29 +00:00
Julien Pivotto
ced8d45a5f
Fix a bug with status in PM window on status change.
2007-05-08 18:32:44 +00:00
Julien Pivotto
1ee858e606
Fix a bug with notifs in systray.
2007-05-08 15:38:23 +00:00
Julien Pivotto
19df2a0f9e
Fix some bugs and improve coding of minimized groupchats.
2007-05-07 21:02:48 +00:00
Julien Pivotto
253c7e6cfc
( Fix #3034 ) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch.
2007-05-03 21:02:50 +00:00
Yann Leboulanger
9c67eb961c
[Peritus] handle confirmation requests sent via messages for XEP-0070. fixes #2995
2007-04-30 20:27:11 +00:00
Yann Leboulanger
3545dd3b90
[TheCurse] single-clicking ability. fixes #2072
2007-04-26 16:44:00 +00:00
Yann Leboulanger
798fd0e25a
[thecurse] add latex support (run dvips and convert externaly) through use_latex ACE option. fixes #2796
2007-04-25 21:51:08 +00:00
Yann Leboulanger
776c4614d5
[roidelapluie] add ability to block / unblock a contact / group directly from roster. see #253
2007-04-24 19:56:24 +00:00
Yann Leboulanger
9ed8a292f2
support JEP-0055 (search) for non-dataform services. TODO: improve GUI
2007-04-19 20:54:42 +00:00
Yann Leboulanger
f3676520c4
really take nick from FN field
2007-04-19 19:55:50 +00:00
Yann Leboulanger
cac46db66c
if no NICKNAME is present in our vcard, use FN fiield as our default nickname.
2007-04-19 19:02:56 +00:00
Yann Leboulanger
41bdb0c7f6
begining of XEP-0055 (search) implmentation. For the moment, works only with dataforms. see #1922
2007-04-19 13:31:28 +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
Jean-Marie Traissard
bf05bec320
re-add r'
2007-03-31 12:22:38 +00:00
Jean-Marie Traissard
e0b88bb53c
[bb]Better string manipulation
2007-03-31 12:07:40 +00:00
Yann Leboulanger
ada5753cb9
detect correctly running instances under win with built version. fixes #3050
2007-03-22 18:37:23 +00:00
Yann Leboulanger
738da72f5a
[andreas] don't change status message when we go auto away and no autoaway status message is defined. Same thing for autoXA. fixes #2994
2007-03-07 16:52:08 +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
0f91b1cdad
catch correct exception when we try to use set_restart_command()
2007-02-12 19:59:40 +00:00
Jean-Marie Traissard
039fbb7953
better var name, use int instead of float
2007-02-11 02:35:02 +00:00
Yann Leboulanger
56bcc2e1fa
missing commit
2007-02-07 12:13:41 +00:00
Yann Leboulanger
6d30138e80
fix call to self
2007-02-07 08:49:13 +00:00
Jean-Marie Traissard
20835ad104
Removing useless global vars (finally found a good debugger :)
2007-02-04 14:09:38 +00:00
Jean-Marie Traissard
d37e7d8e3e
No space in indentation, checked by drpython (editor). /src part
2007-02-04 13:01:04 +00:00
Yann Leboulanger
f079604c15
reset status_before_autoaway var when we come back online
2007-01-31 20:39:44 +00:00
Yann Leboulanger
d7b9b50a67
prevent TB. fixes 2nd traceback of #2936 . see #2936
2007-01-24 20:54:22 +00:00
Nikos Kouremenos
e9afe36ff3
clean code and update to using GTK/PyGTK 2.8; see #2248
2007-01-16 23:26:38 +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
959687c262
check at startup if gajim is the default xmp:// handler and prompt user if it's not. fixes #2861
2007-01-05 17:20:58 +00:00
Yann Leboulanger
53b901cf4e
[Yavor Doganov] some typoe in strings and comments
2007-01-02 12:17:51 +00:00
Yann Leboulanger
483481c586
ask transport contact avatars only when transport is connected. fixes #2832
2007-01-02 11:43:57 +00:00
junglecow
847d9fe6e9
- Enhanced parsing of -l/--loglevel option
...
- Demote one message w/exception to debug
- Hopefully improved user error message when fingerprint is bad
2006-12-27 18:38:50 +00:00
Yann Leboulanger
45341476db
don't show empty () when a pm contact changes his status. fixes #2832
2006-12-27 11:32:01 +00:00
Yann Leboulanger
badf46a852
redraw account row when we remove a group and when an observer removes us. see #2801
2006-12-26 13:30:35 +00:00
junglecow
9deb76a8ad
- Started new way of logging, with configurable level for each subsystem
...
- Added -q, --quiet (speaks for itself)
- Added -l, --loglevel subsystem=LEVEL,subsystem2=LEVEL2,...
- Quell winsock 10035 error. (Equivalent of EINPROGRESS, but winsock likes to have its own error numbers.)
- Hide SSL certificate debug stuff unless gajim.c.x.transports loglevel is DEBUG or lower
- Avoid unicode problems if we set a profile
- Move fingerprint checks from _register_handlers to _connect_success
- Some enhancements to fpr checking code
2006-12-23 21:18:07 +00:00
junglecow
a4655276fe
[Trunk]
...
- In verbose mode, print encodings. (Especially for Windows users who don't have Python) (gajim.py)
- Attempt at fixing traceback when getting user's home directory in Windows. See #2812 . (c/configpaths.py)
- Show 'error' icon next to account while waiting for reconnect. Fixes #2786 . (c/connection_handlers.py, c/gajim.py, c/connection.py)
[PyOpenSSL]
- Fix 100% CPU usage and hanging connection when server closes connection on us. (c/x/transports_nb.py)
- Fix 'hanging' connection when server closes the connection on us before we can open the XML stream. (Disconnect handler didn't get called.) (c/x/client_nb.py)
- Change prints to logger calls, various enhancements to debug printing, reduce spam (c/x/transports_nb.py)
- this → self (c/x/transports_nb.py)
- Call _do_receive() once to collect error message from socket, when error flag is raised in scheduler. (c/x/transports_nb.py)
2006-12-20 20:40:08 +00:00
junglecow
230a77ba94
- In [7647], reading of PID file was moved out of try..except block. Fixed.
...
- [PyOpenSSL] Small fix to error handling.
2006-12-15 10:57:25 +00:00
Yann Leboulanger
96417e6592
[mdt] better pid file behaviour for windows. fixes #2165
2006-12-13 14:41:57 +00:00
Yann Leboulanger
f89ccfe441
detect error while encrypting message, block sending it, and display error message. fixes #2712
2006-12-06 16:19:47 +00:00
Yann Leboulanger
df58c1f309
play gmail_received sound only if it is enabled. fixes #2697
2006-12-03 13:49:16 +00:00
Nikos Kouremenos
053c5c0776
we now fail if no pywin32 is there. REFIX
2006-12-02 01:26:45 +00:00
Yann Leboulanger
ac4fab231c
remove gc contact avatar when he removes his avatar. see #2718
2006-11-28 16:41:31 +00:00
Yann Leboulanger
e9db205110
remove avatar files when we publish a vcard without an avatar. see #2718
2006-11-28 15:40:08 +00:00
Jean-Marie Traissard
6b0664fa83
Cache xep85 support but continue to violate xep85 5.1.2 for release. See #2637 .
2006-11-26 22:00:53 +00:00
Yann Leboulanger
ef8553031b
[elrodeo] add a sound option when receiving gmail notifications. fixes #2697
2006-11-26 09:28:12 +00:00
junglecow
8f4f4e5a0d
Ack! Typo!
2006-11-22 23:36:37 +00:00
junglecow
67d9e4d409
Forgot to close pidfile when /proc doesn't exist. Fixed.
2006-11-22 23:27:54 +00:00
junglecow
9694f931bf
- More conservative PID file handling:
...
- Assume Gajim is running if pid's commandline contains 'gajim' anywhere. (The chance that it's some other process is very small, better safe than sorry.) (Linux only)
- On non-Windows OS without /proc, assume Gajim is running if pid file exists.
2006-11-22 20:56:25 +00:00
Yann Leboulanger
4d9e58a580
better pid behaviour. we now in process list if pid contained in gajim.pid is still gajim. fixes #2165 . (Linux only)
2006-11-22 16:15:16 +00:00
Yann Leboulanger
4236845608
prevent TB
2006-11-21 21:30:15 +00:00
Yann Leboulanger
953a9c1086
prevent a TB. fixes #2687
2006-11-21 20:55:56 +00:00
Yann Leboulanger
43c2f2f0ab
change resource of incoming event when a resource disconected between the moment we get the message and the moment we read it. see #2657
2006-11-21 20:26:44 +00:00