Jean-Marie Traissard
7fbfa0547d
Regroup window.present() calls. See #3908 .
2008-06-05 15:09:17 +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
Brendan Taylor
1796a6006b
fix on_vadjustment TB
2008-05-31 00:54:57 +00:00
Yann Leboulanger
685707e2e0
check active tab with control variable, not jid. fixes #3876
2008-05-30 10:07:01 +00:00
Brendan Taylor
f7874d29c7
reuse chat controls after session termination
...
fixes #3950
2008-05-23 23:27:08 +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
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
js
303a09d7c8
update_ui() doesn't call update_otr(). We want update_otr() here.
2008-05-19 18:57:14 +00:00
js
ad5248f3dc
Coding style.
2008-05-18 21:15:58 +00:00
js
0cc5b4c377
Lock icon didn't show authenticated correctly. Fixed.
2008-05-18 21:14:59 +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
js
edf8738a39
Don't show events from buttons in advanced menu, only show them when
...
triggered via the banner right-click menu.
2008-05-17 13:14:34 +00:00
Brendan Taylor
ade56853fe
moved session.remove_events. fixes #3942
2008-05-14 00:34:02 +00:00
Brendan Taylor
371e75ef40
fixed tab/space consistency
2008-05-13 02:03:26 +00:00
Brendan Taylor
d511b5afc4
merged in session-centric branch, with fixes for OTR compatibility
2008-05-13 01:59:10 +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
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
c4b2cdc31f
* Add button for new chat window GUI.
...
* Buttons get disabled as needed now [we still need something to update
this while the window is open (it might change, for example, the
contact was added)].
* Remove the new accelerators in destroy_menu().
* Move some OTR stuff.
* Don't hide OTR from the user if not available, but set unsensitive.
2008-05-10 11:39:25 +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
js
b04250cf9f
Added bookmarks for *EVERY* button in chat window and GC window.
2008-05-09 09:34:38 +00:00
js
dbdf6a135e
Improve the last commit, popup is shown under the button now.
2008-05-07 16:36:45 +00:00
js
4c29f03d6c
Make Alt-A work again.
2008-05-07 16:24:15 +00:00
js
99a8c05bb8
* Converted GC to new GUI as well.
...
* Moved some code so we can get rid of a few ifs.
What still needs to be done for the GUI redesign to be complete:
Don't show entries in the actions menu that have buttons.
2008-05-07 15:34:00 +00:00
js
b42a89d269
Why enforce /say if we can just imply /say when it's a not implemented
...
command? This is far more userfriendly. If you have any objections,
feel free to revert and I'll think of something else that's not as
annoying as /say.
2008-05-05 18:37:15 +00:00
js
eb468c5d4a
Redesign the chat window GUI. Should be more userfriendly now.
2008-05-04 20:47:51 +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
Brendan Taylor
d4a766963f
multiple chat session windows per contact. groupchat and pms broken.
2008-04-30 02:55:13 +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
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
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
Jean-Marie Traissard
a0d8aea90b
chat_control : fix possible var name confusion
...
roster : Fix resource problem, gajim.contacts.get_contact() can return first contact instead of specified resource. Fixes #3789 .
2008-03-23 17:44:47 +00:00
Jean-Marie Traissard
ff32d0ccb3
roster.on_quit_request() cleanups :
...
-Check if there are pending events and send offline even if we don't ask a status message (was a indentation
mistake I think)
- Really make unread and recent working according to 'notify_on_all_muc_messages' value
- be faster, hopefully
2008-03-20 20:26:58 +00:00
Jean-Marie Traissard
9e15e4bcab
do not redraw_tab too much if not needed
2008-03-20 19:37:20 +00:00
Yann Leboulanger
0d427eff3b
Warn user when database is corrupted and unreadable. Fixes #3761
2008-03-17 07:22:43 +00:00
Jean-Marie Traissard
801c31e537
Correctly remove highlighted messages events when scrolling at end of textview.
...
Fixes #3717 .
2008-03-12 01:34:41 +00:00
Jean-Marie Traissard
4199789612
Fix sent history (ctrl+up) browse. There was a bug when history was full and we browsed history.
2008-03-11 23:05:56 +00:00
Yann Leboulanger
f0b2ee4027
stop automatic scroll when user manually scroll conversation textview. Fixes #3716
2008-03-10 16:21:26 +00:00
Yann Leboulanger
102ff630fb
highlight us when we are mentioned in a /me sentence. fixes #3753
2008-03-02 14:23:52 +00:00
Yann Leboulanger
b3f3a812a9
don't always show events in systray when notify_on_all_muc_mesages is False
2008-02-27 21:33:50 +00:00
Yann Leboulanger
b5c19e0884
don't always show events in systray when notify_on_all_muc_messages is on and trayicon_notification_on_event is off
2008-02-27 18:25:42 +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
0f4aa21587
don't grab focus on message textview when we select a tab. fixes #3740
2008-02-25 14:42:53 +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
Brendan Taylor
867955155f
groupchat sessions fix
2008-02-09 06:57:07 +00:00
Nikos Kouremenos
15acf57f5f
cosmetic changes
2008-02-06 14:59:28 +00:00
Brendan Taylor
381ba838b9
post-refactor traceback fixing
2008-02-06 05:24:07 +00:00
Brendan Taylor
0b48b05218
merged trunk into session_centric branch
2008-02-05 03:09:31 +00:00
Stephan Erb
623aba4f94
Do not log gpg encrypted chats when log_encrypted_session is false. See #3095 .
2008-01-25 21:16:22 +00:00
Stephan Erb
79fb241153
Replace the broken gpg-togglebutton by an insensitve status image. See #3196
2008-01-11 17:45:20 +00:00
Stephan Erb
30ad68a26c
Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
...
Be more verbose when there is a key missmatch.
Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Stephan Erb
282bc3346e
Do not allow enabling GPG if E2E is active and vice versa. Lazily fixes #3633 .
...
Do not try to send encrypted messages when we don't use GPG, though it is enabled per user.
2007-12-30 16:30:37 +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
Travis Shirk
4bedeec964
MessageWindow reconfig bug fixes for deleted roster
2007-12-20 03:40:27 +00:00
Yann Leboulanger
4e18462d78
[hÄh] improve URL regex. fixes #3350
2007-12-09 10:33:36 +00:00
Brendan Taylor
b8882ba48e
merged realtime cancellation patch
2007-12-08 09:09:06 +00:00
Brendan Taylor
015d3221e1
corrected realtime notification of session cancellation
2007-12-08 08:51:10 +00:00
Brendan Taylor
88f017a20d
realtime notification of esession begin/end
2007-12-08 05:49:38 +00:00
Stephan Erb
5c92566a1d
Hide status/topic label when there is nothing to show.
...
Disable empty tooltips.
2007-11-29 20:33:10 +00:00
Yann Leboulanger
62f17bdd44
empty status message label in chat window when there is no more status message
2007-10-22 12:02:27 +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
f2e5d85b9d
don't send key_pressed signal twice if GTK < 2.12. behaviour seems to have changed in GTK.
2007-10-14 18:14:20 +00:00
Yann Leboulanger
88cd5c3a50
[Davidov] use gtk.AccelGroup to handle key press. Fixes #1503 . also fixes #3466
2007-10-10 16:13:16 +00:00
Yann Leboulanger
aff3697f06
use python-sexy if available to have clickable links in chat window banner. fixes #2962
2007-10-09 17:48:22 +00:00
Yann Leboulanger
1951dd4f3d
fix tabulation and 80 char width
2007-10-07 20:36:43 +00:00
Stephan Erb
3f06402f3d
Cleanup for chat_control_popup. Rename 'Show Frieds' to 'Show Contacts'. Show icon and disable invite functionality for zeroconf contacts.
2007-10-07 20:09:13 +00:00
Yann Leboulanger
5fe9126101
gtk.gdk.WINDOW_TYPE_HINT_TOOLTIP only exists in gtk >= 2.10. fixes #3484
2007-10-07 14:26:25 +00:00
Yann Leboulanger
9d38ef3a35
[anonymous] Make tooltips real tooltips. Fixes #3478
2007-10-03 20:50:28 +00:00
Stephan Erb
5f3c377921
Do not send command as message when no option is passed to /me
2007-10-01 19:00:56 +00:00
Yann Leboulanger
f9a7a5c373
move accelerators tom (group)chat_control to message_window. fixes traceback with minimized groupchats
2007-09-16 09:02:04 +00:00
Yann Leboulanger
29cc2d0939
add key shortcut to open history and information window. fixes #3233
2007-09-15 10:11:46 +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
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
Yann Leboulanger
c9a407ca52
[Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544
2007-08-25 22:42:35 +00:00
Yann Leboulanger
7bd952d691
[Geobert] Smooth scrolling of conversation textview. see #3358
2007-08-22 22:08:04 +00:00
Stephan Erb
b60036af8f
Transform Chat2MUC via DND. Fixes #1408 . See #2095
2007-08-22 17:20:44 +00:00
Stephan Erb
99be1b14f2
chat2muc: See #2095
...
Remove ancient menuitem.
Do not allow to invite transports and groupchats.
Include contacts from all accounts.
2007-08-22 00:50:48 +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
0230c91e4c
esession bugfixes
2007-08-20 08:16:48 +00:00
Brendan Taylor
4bfe14d3cf
prompt with SAS during 3 message negotiation
2007-08-07 07:42:31 +00:00
Yann Leboulanger
260464706e
fix /say command. fixes #3336
2007-08-06 11:45:29 +00:00
Stephan Erb
8bbc23dfd6
* Use same height for all banners. Fixes #2770
...
* Show only one status line in chatwindows, indicate when it is shortened
2007-07-30 12:17:04 +00:00
Stephan Erb
cd4a620d94
Prevent possible traceback
2007-07-25 17:30:43 +00:00
Stephan Erb
07a3393b72
DnD of contact on a MUC window to invite
2007-07-23 21:20:33 +00:00
Yann Leboulanger
6033b20051
send file only once when we drop it on message textview
2007-07-23 15:29:53 +00:00
Stephan Erb
e308b8f15a
Gerneralize DND on chat windows and enable it for msg_textview. ToDo: Invite to groupchat via DND
2007-07-23 13:07:04 +00:00
Stephan Erb
98d81e3894
DnD filetransfer on whole message window. Fixes #2562 . See http://bugzilla.gnome.org/show_bug.cgi?id=459022
2007-07-22 23:12:16 +00:00
Julien Pivotto
5c36dd8e78
[Lukas and I] use 'event' instead of 'message' as icons names ans
...
states. Fix #2755 .
2007-07-13 10:11:49 +00:00
Julien Pivotto
9994643247
Added my own copyright :-P
2007-07-11 21:39:27 +00:00
Yann Leboulanger
e53a47ebad
[misc] fix /say command in chat. Fixes #3284
2007-07-05 08:59:47 +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
Brendan Taylor
6fe668d863
disable logs in encrypted sessions.
2007-06-29 04:12:08 +00:00
Brendan Taylor
39bea5fd40
tidying things up.
2007-06-26 20:55:49 +00:00
Stephan Erb
7be506e3f5
Compact View:
...
* Move checkbox to preferences. Fixes #2662
* Merge option for muc and chat
2007-06-25 23:51:44 +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
Yann Leboulanger
0a165c813b
improve minimize on close code
2007-06-15 18:30:48 +00:00
Yann Leboulanger
0758be7c14
ability to send a file to a groupchat occupant if we know his real JID
2007-06-15 17:38:14 +00:00
Yann Leboulanger
b6eb2f94c9
minimize menuitem -> minimize on close checkbutton. see #3034
2007-06-14 17:44:24 +00:00
Yann Leboulanger
6c8de6b1da
/me is also a command in normal chat
2007-06-13 21:14:03 +00:00
Stephan Erb
7b05adc678
Do not handle unknow commands as messages.
2007-06-13 19:16:57 +00:00
Yann Leboulanger
2aeeeaa896
fix substitution in some strings
2007-06-13 19:07:25 +00:00
Brendan Taylor
62cf72910f
functioning XEP-0200 implementation (hardcoded keys and counters)
2007-06-11 22:42:29 +00:00
Julien Pivotto
6338f63f03
Fix some bugs with minimized groupchats.
2007-06-11 10:13:16 +00:00
Brendan Taylor
4f2cd0a0fc
stubs for XEP-0116
2007-06-08 19:42:02 +00:00
Julien Pivotto
2f6c9f0d19
Open private messages in minimized rooms by middle-clicking on systray icon.
2007-06-07 11:58:56 +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
Brendan Taylor
00209abaf9
support for one 'chat' session per Contact
2007-05-31 01:47:08 +00:00
Julien Pivotto
47319e62f5
Fix a bug with highlighing in groupchats.
2007-05-20 16:31:09 +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
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
Julien Pivotto
93dbdd3dd8
( Fix #3174 ) Groupchats in roster: Open groupchats with middleclick, fix notifications in systray and print number of unread marked messages in roster.
2007-05-17 08:39:21 +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
Julien Pivotto
1ee858e606
Fix a bug with notifs in systray.
2007-05-08 15:38:23 +00:00
Julien Pivotto
c72d4cfb35
Call self.account directly instead of using an 'account = self.account' in chat_control.py.
2007-05-07 21:07:50 +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
36f4bb14bd
remove ping menuitem and add /help command to chat_window. fixes #2947
2007-04-19 21:23:50 +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
230eadd010
scroll to the end when we shrink conversation window. fixes #3078
2007-04-17 09:41:22 +00:00
Jean-Marie Traissard
8500cbcda7
Stop asking for xep85 (chat notifs) many times, xep says ask only one. Can
...
break notifs with gajim 0.10.1 or less. Fixes #2711 .
2007-03-31 12:21:53 +00:00
Yann Leboulanger
db6a9787f2
[Branko Kokanovic] Serbian translation
2007-02-12 18:33:33 +00:00
Jean-Marie Traissard
039fbb7953
better var name, use int instead of float
2007-02-11 02:35:02 +00:00
Jean-Marie Traissard
9611d4f945
oups, forgot that one
2007-02-08 23:48:52 +00:00
Jean-Marie Traissard
60cccbbd3d
Use one var less and works better (we could lost first typing message previously)
...
See Yann, was possible, even if it's only one bit gain :D
2007-02-08 23:36:17 +00:00
Jean-Marie Traissard
e6b3c40e97
Deleting control.display_names, useless var now
2007-02-08 18:32:10 +00:00
Yann Leboulanger
b971afec24
always use contact chatstate when none is given
2007-01-29 18:29:51 +00:00
Yann Leboulanger
d85eb8b95f
fix english words breton ans basque
2007-01-28 16:11:21 +00:00
Yann Leboulanger
7d8f7e2a6e
don't scroll to end each time we press a key in message textview, but only when scrollbar appear. fixes #2944
2007-01-28 14:20:37 +00:00
Yann Leboulanger
d83d744a27
reset tab color when contact goes offline. fixes #2951
2007-01-28 13:31:30 +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
9b336bceed
fix TB
2007-01-13 21:42:28 +00:00
Yann Leboulanger
4d5790e8cb
restore correctly error messages. fixes #2880
2007-01-10 12:51:15 +00:00
Jean-Marie Traissard
6b0edad24d
Memory usage : Don't store some vars in self when not necessary
2007-01-09 23:09:14 +00:00
Jean-Marie Traissard
0b3af95972
I deleted this var, was always None, but when does this happen ?
2007-01-09 22:05:27 +00:00
Jean-Marie Traissard
eea2e1c881
Remove a LOT of useless draw_banner()
...
(stop drawing it 5 times when joining muc, stop reloading banner state icon on ALL
notifications, ...)
roster.py one seems useless because ctrl.update_ui() did it already
2007-01-09 14:23:28 +00:00
Yann Leboulanger
a08267b759
add belarussion in speller list
2007-01-02 13:50:32 +00:00
Yann Leboulanger
53b901cf4e
[Yavor Doganov] some typoe in strings and comments
2007-01-02 12:17:51 +00:00
Yann Leboulanger
9a8862099e
redraw gc window title when we open a pm. fixes #2777
2006-12-13 12:52:59 +00:00
Yann Leboulanger
f89ccfe441
detect error while encrypting message, block sending it, and display error message. fixes #2712
2006-12-06 16:19:47 +00:00