Yann Leboulanger
58ab395501
<status> is not a must (except when using GPG)
2005-05-20 15:32:05 +00:00
Nikos Kouremenos
4b6e527fdf
asking the user about removing an account that he's connected
2005-05-20 15:05:22 +00:00
Yann Leboulanger
0e7e396289
these lines cause an error
2005-05-20 14:46:27 +00:00
Yann Leboulanger
715fde5a87
fix idle problems
2005-05-20 14:03:02 +00:00
Yann Leboulanger
b5ed8ee163
apply Alexey patch for TLS error. Now buffer is 1M, so this workaround should prevent TLS crash
2005-05-20 13:27:39 +00:00
Yann Leboulanger
2377437112
do not print empty message ( fix #301 )
2005-05-20 11:23:08 +00:00
Yann Leboulanger
894e38cc7f
client.DisconnectHandler is no more called, so no TB will be raised when disconected
...
so no need to embrace every "send" call in try: except: block
2005-05-20 10:49:46 +00:00
Nikos Kouremenos
e7e88cd701
bugfix
2005-05-20 00:12:15 +00:00
Nikos Kouremenos
19235f6f68
win32: path is even better now .gajim ==> Gajim
2005-05-20 00:09:18 +00:00
Nikos Kouremenos
d2e0782121
win32 fix: save logs in the correct place and issue correct messages not only POSIX
2005-05-20 00:05:18 +00:00
Nikos Kouremenos
148fe12a2d
removing () from ifs and foo==0 becomes not foo in an if
2005-05-19 17:50:19 +00:00
Nikos Kouremenos
781261b99d
dialogs.py: removing \ where appropriate
2005-05-19 17:47:40 +00:00
Nikos Kouremenos
12d3888526
removing two lines that were hiding links_open_with_combobox under POSIX [sorry for that]
2005-05-19 16:50:58 +00:00
Yann Leboulanger
739021ec02
print error messages when we get Process() exception
2005-05-18 18:57:54 +00:00
Nikos Kouremenos
120fb4b3a0
suse is lsb compliant, but doesnot put lsb_release by default until 9.3 so readding scanning for suse file [now it is tested too]
2005-05-18 17:02:46 +00:00
Nikos Kouremenos
9a70ab0218
Some distros put to optional LSB vars n/a, so detect that and remove it.
...
SUSE uses lsb_release for quite a lot of versions I've been told so depend only on lsb for SuSE [the files things was untested in SUSE anyways]
2005-05-18 16:42:28 +00:00
Nikos Kouremenos
79c5b5d0e2
hidden_rows ==> collapsed_rows
2005-05-18 16:30:59 +00:00
Nikos Kouremenos
c0e8557f52
userfriendly status string used in tabbed_chat window too
2005-05-18 15:40:42 +00:00
Yann Leboulanger
f92cdf02cb
set self.connected to 0 before dispatching the status to the GUI so the connectiing icon should disapear if connection failed
2005-05-18 14:05:54 +00:00
Yann Leboulanger
bb424fecf1
put xmpp.Process() in a try/except (see ticket #291 )
2005-05-18 13:42:12 +00:00
Nikos Kouremenos
86b7862d2c
better strings complete
2005-05-18 13:28:51 +00:00
Yann Leboulanger
338cb7dd7d
re-add event in make_menu function in systray so we can rightclick on it
2005-05-18 12:51:01 +00:00
Nikos Kouremenos
7eb8a879b5
better strings
2005-05-18 12:34:20 +00:00
Yann Leboulanger
a730ab8e90
missing import
2005-05-18 12:28:29 +00:00
Yann Leboulanger
6a10743ce5
add strings to translate in advanced configuration editor
2005-05-18 12:02:57 +00:00
Yann Leboulanger
d479973e2c
do not translate debug messages
2005-05-18 12:02:27 +00:00
Yann Leboulanger
35e6ac3de8
we can now join password protected groupchats
2005-05-18 09:18:29 +00:00
Yann Leboulanger
5a775c8214
little bugfix with namespaces
2005-05-18 09:17:41 +00:00
Yann Leboulanger
5d8ea9d3bc
we can now ask vcard when we recieve a subscription request
2005-05-18 08:47:38 +00:00
Yann Leboulanger
19a1f45159
set the log level after the config file has been parsed
2005-05-18 07:38:47 +00:00
Nikos Kouremenos
277616adf2
adding /clear in GC
2005-05-18 01:01:49 +00:00
Nikos Kouremenos
41e9deceff
typo
2005-05-18 01:00:13 +00:00
Nikos Kouremenos
1c25e7a930
fixing #170
2005-05-18 00:44:39 +00:00
Yann Leboulanger
bf05e29ebb
do not print debubg if verbose = False
2005-05-17 21:33:41 +00:00
Yann Leboulanger
9fcb9f1d70
no need of global things in systray.py
2005-05-17 20:31:43 +00:00
Nikos Kouremenos
0393a34a65
removing unnecessary arg in make_menu
2005-05-17 19:23:55 +00:00
Yann Leboulanger
99401f2abb
add a DATA_DIR in gajim
2005-05-17 17:37:50 +00:00
Nikos Kouremenos
36bf675fd3
when in windows open links/mailtos with default application. arnaud njoy
2005-05-17 15:04:54 +00:00
Nikos Kouremenos
7aaffae0dc
better strings
2005-05-17 11:55:30 +00:00
Yann Leboulanger
7e7bceea97
if sound is not available under windows, don't crash
2005-05-17 08:01:49 +00:00
Yann Leboulanger
9aa5b02fc5
minimum width for left widget in gc hpaned
2005-05-16 20:17:53 +00:00
Nikos Kouremenos
8a6132d929
clean up in vcard.py
2005-05-16 14:15:13 +00:00
Nikos Kouremenos
375b56401b
subscription_request_window ==> Subscription_request_window
2005-05-16 13:56:46 +00:00
Yann Leboulanger
c2481dc949
use
...
keyval == keysyms.Tab or keyval == keysyms.ISO_Left_Tab
instead of:
hardware_keycode == 23
so it works under win too.
2005-05-15 20:58:04 +00:00
Yann Leboulanger
5555d6e317
hide tls option in gui until it is fixed in xmpppy
2005-05-15 20:17:44 +00:00
Nikos Kouremenos
67dd479d35
making previous commit a bit more clear
2005-05-15 19:23:44 +00:00
Nikos Kouremenos
9dcf2d0e79
removing colors from DEBUG when in windows
2005-05-15 19:19:00 +00:00
Yann Leboulanger
9a36ba4063
we can now print tabulations in gc
2005-05-15 17:49:40 +00:00
Yann Leboulanger
9cd8304502
contacts are alphabetically sorted in gc
2005-05-15 17:36:43 +00:00
Yann Leboulanger
44bf5e7422
reset allow_notification when we go offline
2005-05-15 16:54:04 +00:00
Nikos Kouremenos
c9b791e5a2
delay popup notif back to 30 seconds
...
with high net load 15 secs is not enough. it is important not to give the idea to the user that those contacts that popup in 17 second just signed in cause that is simply not true. So it is better to lose one possible contact logging in the first 30 seconds after we logged in, that to show 3 or 4 contacts just logged in at once
2005-05-15 15:42:57 +00:00
Nikos Kouremenos
4ef68bb7e5
important bug in xmpppy does not allow us to default to tls True. In fact big stanzas result in disconnection. So until it fixed, TLS is *highly* discouraged [maybe we should disable it via GUI] cause I was even able to get disconnection when sending huge text [so not only disco related but allover]
2005-05-15 13:17:05 +00:00
Nikos Kouremenos
7b191bc2c4
adding resizability in cols in disco window
2005-05-15 12:02:50 +00:00
Nikos Kouremenos
f4d8ff0944
use isdigit() instead of excepting ValueError
2005-05-15 11:52:35 +00:00
Nikos Kouremenos
9152f128e7
fixing a traceback with disco menuitem
...
see http://nkour.blogspot.com/2005/05/pythons-init-return-none-doesnt-return.html for more
2005-05-15 11:47:15 +00:00
Nikos Kouremenos
0d4084ead7
hiddenlines or hidden_lines ==> hidden_rows
2005-05-15 11:37:00 +00:00
Nikos Kouremenos
a7bf88e8f1
removing string module it is deprecated
2005-05-15 11:35:42 +00:00
Nikos Kouremenos
6174a6cb51
removing colors when in windows
2005-05-15 11:34:48 +00:00
Nikos Kouremenos
9b88055b54
disco menuitem under Chat which is now Actions [now it is even better]
2005-05-15 11:27:32 +00:00
Nikos Kouremenos
e7c8ac4dbe
disco menuitem under Chat which is now Actions
2005-05-15 11:24:23 +00:00
Yann Leboulanger
c649ef9272
set default role to visitor instead of None
2005-05-15 09:29:45 +00:00
Nikos Kouremenos
42d0164532
failing is bad. some of the modules we depend may mix tabs and spaces [in olders versions fact they do] and still work. issue a warning that is for devs anyways
2005-05-15 00:00:09 +00:00
Nikos Kouremenos
afe2de643c
if text is given for input_entry select it by default [so user can just type and replace it
2005-05-14 23:31:27 +00:00
Nikos Kouremenos
9de8bdf86d
profile argument scanning: it is better like that
2005-05-14 23:08:38 +00:00
Nikos Kouremenos
1a5927afb2
at last a way to always scroll to end. thanks muntyan from #gtk+ :)
2005-05-14 22:24:14 +00:00
Nikos Kouremenos
d8e0b91ee8
Input dialog to accept entry text as optional argument and to display it if given [using that in change subject
2005-05-14 16:34:07 +00:00
Yann Leboulanger
ec5effc66b
destroy the window when we want to quit gc window
2005-05-14 11:46:15 +00:00
Yann Leboulanger
c3437d2d14
upgrade the self.account var when we change the name of the account ( fix #279 )
2005-05-14 11:01:09 +00:00
Nikos Kouremenos
288b68dd53
adding resizing ability in treeview cols in advanced finding a gtk bug [I reported it]
2005-05-14 02:09:28 +00:00
Nikos Kouremenos
961ded4882
Advanced_window ==> Advanced_configuration_window
2005-05-14 01:42:10 +00:00
Nikos Kouremenos
786b3984bc
HIGing some more strings
2005-05-14 01:37:42 +00:00
Nikos Kouremenos
460fa3e532
groupchat window major UI changes. now is more UserFriendly and looks like every other IM clients that do groupchat
2005-05-14 01:29:53 +00:00
Nikos Kouremenos
facc7a5fef
./gajim.py --profile foo will create and use ~/.gajim/config.foo. Thanks for writing and emailing in gajim devel ml the patch, tab
2005-05-13 22:38:48 +00:00
Yann Leboulanger
156c81846b
look if we have unread / recent messages AFTER we get the status message (we can also do it before AND after ... comments ?)
2005-05-13 20:50:49 +00:00
Nikos Kouremenos
e2012ca370
clear menuitem to use stock [have image]
2005-05-13 19:58:03 +00:00
Yann Leboulanger
324e8b25bf
save status in Connection class
...
send our show / status when we join a gc
2005-05-13 18:54:44 +00:00
Yann Leboulanger
e1020b288f
the delayed timestamp in before time.time() !
2005-05-13 18:23:08 +00:00
Nikos Kouremenos
229863bc0b
glade fixes in advanced window and applying patch to make filter work [thanks Vincent Hanquez]
2005-05-13 18:05:15 +00:00
Nikos Kouremenos
526430c9b2
ichat style in time fix
2005-05-13 18:03:10 +00:00
Nikos Kouremenos
0a0cd669eb
last_msg ==> last_status_msg and change_title ==> change_roster_title
2005-05-13 18:00:13 +00:00
Nikos Kouremenos
e5d0ea8b87
higing some menuitem strings
2005-05-13 17:58:54 +00:00
Yann Leboulanger
5ebc240eeb
tell xmpppy that stanza is treated when we send the version
2005-05-13 17:20:13 +00:00
Nikos Kouremenos
97aef098bc
fixes/cleanups allover:
...
Basically a traceback a traceback with present()
replace some menuitem strings to be more HIG
introducing /clear and that is all I think
2005-05-13 16:53:30 +00:00
Yann Leboulanger
2737236f48
30 sec -> 15 sec of delay before showing notification windows
2005-05-12 21:46:44 +00:00
Yann Leboulanger
834d16654f
fix #216 (Ctrl+V works when we open the chat window)
2005-05-12 21:39:20 +00:00
Yann Leboulanger
f9a26dce55
remove unneeded commented line
2005-05-12 18:55:01 +00:00
Nikos Kouremenos
0408a86d7b
conversation history window now has better title (mentions with whom)
2005-05-12 18:52:37 +00:00
Nikos Kouremenos
9be572c32d
more common [gedit, gossip, ..] to prepend a custom menuitem (Clear) and also adding _ to it
2005-05-12 18:40:42 +00:00
Yann Leboulanger
bbe1c02fc2
finish changing config option names ...
2005-05-12 17:46:17 +00:00
Nikos Kouremenos
00cd5dd0dc
fixed #264
2005-05-12 17:17:20 +00:00
Nikos Kouremenos
c4dfadff09
vpaned4 ==> vpaned for groupchat window [so we can hack border width]
2005-05-12 17:02:26 +00:00
Nikos Kouremenos
ee5b444470
use present() for groupchat vcard window
2005-05-12 16:59:51 +00:00
Nikos Kouremenos
4ad7c30f47
use present if already open for conversation history window
2005-05-12 16:55:48 +00:00
Nikos Kouremenos
27723d1279
fixing #256
2005-05-12 13:52:09 +00:00
Nikos Kouremenos
33b125f42e
contact information for vcard window title and better spacing and removing a border for history window
2005-05-12 13:49:36 +00:00
Nikos Kouremenos
47eb596780
do not fail if ~/.gajim is file or ~/.gajim/logs is file. also use os.path.join() for / to become \ for 9x until now I think we have been failing
2005-05-12 13:43:17 +00:00
Yann Leboulanger
e98a0d8846
finish removing the thread thing about autoconnect
2005-05-12 10:29:47 +00:00
Nikos Kouremenos
052cd2740b
make get_ui_status func which converts dnd xa to human understandble strings and use that func in Status change dialog
2005-05-12 09:14:31 +00:00
Nikos Kouremenos
d4d667690e
applying patch by Alexey to allow Gajim to exit after disconnection.
2005-05-12 09:13:35 +00:00
Nikos Kouremenos
44c5e2f2b9
removing legacy code from the threads epoch
2005-05-12 00:22:36 +00:00
Nikos Kouremenos
bc4cc346b1
fix for Join_gc action see http://nkour.blogspot.com/2005/05/pythons-init-return-none-doesnt-return.html for more.
...
Also adding a FIXME: in case yann has not reply from Alexey and wants to hack sth in Gajim :)
2005-05-12 00:00:40 +00:00
Nikos Kouremenos
69b279d240
avoid possible keyerror
2005-05-11 22:00:48 +00:00
Nikos Kouremenos
1353525bf2
fixing a gui bug with sensitivity for proxy table (thanks owen from #gtk+ irc room
2005-05-11 21:02:22 +00:00
Yann Leboulanger
e9abca09fc
we now have clear in the conversation textview in gc and chat window ( close #220 )
2005-05-11 19:40:37 +00:00
Yann Leboulanger
9967408dd6
temporary fix to fix #265 .
...
when we'll have a user instance for each contact in gc we won't need that, we'll use real informatino window with the first tab
2005-05-11 18:47:09 +00:00
Yann Leboulanger
6ab10d5fe5
logger.py do the replacements, not history_windows.py
2005-05-11 17:48:30 +00:00
Nikos Kouremenos
a88696772a
closing #259
2005-05-11 17:14:10 +00:00
Yann Leboulanger
88f4449fbb
we now catch the errors when we connect and when we authentificat to the server
2005-05-11 16:37:01 +00:00
Yann Leboulanger
1e50542793
proxyport is an int, we have to print strings
2005-05-11 16:32:34 +00:00
Yann Leboulanger
00cc513d49
update the register and join buttons in disco as soon as we receive the info (ne need to change the line)
2005-05-11 16:19:55 +00:00
Yann Leboulanger
a472b4a321
we can have popup notification even if we don't have sound enabled when a contact disconnect
2005-05-11 15:21:13 +00:00
Yann Leboulanger
c22e2c5f7a
bugfix: when we have an error, we sane an error to the GUI, not a notify
2005-05-11 15:14:43 +00:00
Nikos Kouremenos
d98a451764
send and show N/A if client or os is empty
2005-05-11 11:09:53 +00:00
Yann Leboulanger
225ca870f1
we now catch all errors and send them to the gc if it's open
2005-05-11 10:05:43 +00:00
Yann Leboulanger
fa183bae5d
when we remove an agent we need to remove it with its resource (especially when we are not really registererd {wrong password})
2005-05-11 09:12:18 +00:00
Yann Leboulanger
b5244d8a9c
according to JEP-0100, no need to get the key of an agent to remove it
2005-05-11 09:08:06 +00:00
Yann Leboulanger
1926369859
don't send an error iq after we process the roster iq (thx Alexey) close #251
2005-05-11 07:55:17 +00:00
Yann Leboulanger
2f35fade71
bugfix when keepalive package doen't come back
2005-05-10 17:45:10 +00:00
Yann Leboulanger
87f19fb638
print all errors in gc
2005-05-10 16:53:28 +00:00
Yann Leboulanger
1d63886ef8
default for GUI via glade and not via code for sync_with_global_status too
2005-05-10 15:57:49 +00:00
Nikos Kouremenos
1c9e02e2f5
for account_modification_window default for GUI via glade and not via code [cleaner & better]
2005-05-10 15:51:48 +00:00
Nikos Kouremenos
c847d8c2e2
glade fix for giving focus to write widgets in proxy table
2005-05-10 15:45:06 +00:00
Nikos Kouremenos
30cd93c245
fixing a typo
2005-05-10 15:41:55 +00:00
Nikos Kouremenos
aa386389cb
gui to default to use_tls by default
2005-05-10 15:39:35 +00:00
Yann Leboulanger
6610bd5373
missing glade diff for proxy
2005-05-10 15:38:49 +00:00
Yann Leboulanger
6fa84c0dfe
we now support user and password for proxy
2005-05-10 15:38:16 +00:00
Nikos Kouremenos
8175a92f7d
proxy user/pass gui rdy
2005-05-10 15:08:31 +00:00
Yann Leboulanger
b6648278e1
bugfix in account modification
2005-05-10 14:35:21 +00:00
Nikos Kouremenos
8e530045aa
fixed #200
2005-05-10 12:19:24 +00:00
Yann Leboulanger
aa9de25923
Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
...
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger
61558b8942
we write the new account option in the config file only when the account has been successfully registered
2005-05-10 09:20:35 +00:00
Nikos Kouremenos
dc1a13ff8e
adding some tooltips
2005-05-09 23:24:57 +00:00
Nikos Kouremenos
a23ed9704c
bye bye jabber.py [I like it, it rhymes :P]
2005-05-09 22:19:01 +00:00
Nikos Kouremenos
adccebd4f3
removed unneeded lines
2005-05-09 22:18:44 +00:00
Yann Leboulanger
3fd078dd0b
we can now disable the use of TLS
2005-05-09 19:52:43 +00:00
Nikos Kouremenos
df6b4b75b9
it's better like that. after 0.7 I hopefully will pass the socket to main()
2005-05-09 17:00:02 +00:00
Nikos Kouremenos
33056b778b
border width 4 (as everywhere)
2005-05-09 13:59:28 +00:00
Nikos Kouremenos
39fdf223c1
fixing expands in register agent window (thanks gjc)
2005-05-09 13:21:29 +00:00
Nikos Kouremenos
2475d4728d
\t is only possible via copy pasting and we shouldn't touch clipboard text where we can
2005-05-09 10:46:40 +00:00
Yann Leboulanger
b9406c24d6
/me\n or /me't also works !
2005-05-09 10:36:44 +00:00
Yann Leboulanger
0f66868a70
revert latest commit I did (sorry)
2005-05-09 10:34:47 +00:00
Yann Leboulanger
0c8b0bbde2
/me\n or /me /t is also valid !
2005-05-09 10:30:34 +00:00
Nikos Kouremenos
5bb1df8a19
for /mebalbla u want a space after /me right? :)
2005-05-09 10:20:08 +00:00
Yann Leboulanger
0f8de69f57
/meblabla is not a /me
2005-05-09 08:17:42 +00:00
Nikos Kouremenos
c707636421
tls gui hack ready [this has to be rdy before 0.7 coz we use by default tls now and that may break idiotic servers that say tls is there but is not
2005-05-08 22:08:28 +00:00
Yann Leboulanger
c741fbef11
remove unneeded lines
2005-05-08 21:03:42 +00:00
Yann Leboulanger
f4b05e51fa
request_register_agent_info is now async
2005-05-08 20:56:11 +00:00
Yann Leboulanger
4985612036
remove unneeded line
2005-05-08 17:47:52 +00:00
Yann Leboulanger
1753a316e4
the removal of an agent is now async
2005-05-08 17:33:08 +00:00
Yann Leboulanger
2171def073
we get the roster asynchronously now
2005-05-08 17:00:41 +00:00