Commit Graph

509 Commits

Author SHA1 Message Date
Dimitur Kirov d56ba58149 added debug messages 2005-08-04 08:59:03 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Dimitur Kirov 9aae8dadbb file transfer port is kept inthe config 2005-08-03 21:10:59 +00:00
Dimitur Kirov fb512e63be bind to any 2005-08-03 16:53:29 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Dimitur Kirov e9daf09fe5 send file is now functional 2005-08-03 14:04:54 +00:00
Nikos Kouremenos 053cbdcaeb introducing gajim.get_number_of_accounts() 2005-08-03 13:46:48 +00:00
Nikos Kouremenos 4054ed3384 remove in_buffer patch from xmppp because it was slowing parsing because of timeout being too high? anyways we should reelase 0.8 someday 2005-08-03 10:28:21 +00:00
Yann Leboulanger 4e203be8bc we now know when we are connected in a room or not (fix #570) 2005-08-03 09:23:36 +00:00
Nikos Kouremenos 6aefa6ae86 use plural forms (ngettext) in a string. please convert your strings that way 2005-08-02 23:03:21 +00:00
Dimitur Kirov 3c59acddc2 print of exception not needed 2005-08-02 22:29:25 +00:00
Dimitur Kirov a502d8d28c this should fix the bug on windows 2005-08-02 20:33:44 +00:00
Dimitur Kirov e9bcc20556 check if self.Connetion is instantiated 2005-08-02 14:25:21 +00:00
Dimitur Kirov 760453870f moved socks5 module outside xmpp 2005-08-01 22:58:14 +00:00
Dimitur Kirov b936f2db52 moved file outside xmpp 2005-08-01 22:50:46 +00:00
Nikos Kouremenos dd821ac164 use better strings (adhere to HIG, try to describe better what is going on), make code by dkirov adhere to our coding standards, fix comments and FIXME in comments 2005-08-01 22:48:58 +00:00
Dimitur Kirov 8ede65961f moved socks5queue to gajim.py 2005-08-01 22:45:29 +00:00
Dimitur Kirov c204880ce5 moved socks5queu to gajim.py in order to have
only one queue
2005-08-01 22:43:33 +00:00
Yann Leboulanger 0c51e2fd09 remove unneede line 2005-08-01 20:54:26 +00:00
Dimitur Kirov 9183b73766 status message was not set in some other cases 2005-08-01 18:19:36 +00:00
Dimitur Kirov 79d2459d9f missing ':' 2005-08-01 16:17:32 +00:00
Dimitur Kirov 3c46c13d8d ':' spacing. always set a status message 2005-08-01 16:14:35 +00:00
Dimitur Kirov f4c6c41e5b not showing status in tray tooltip 2005-08-01 15:50:43 +00:00
Dimitur Kirov c84973327d property 'notify_on_file_complete' 2005-08-01 15:00:47 +00:00
Dimitur Kirov 0cd682f2ce file transfer progress notification 2005-08-01 15:00:27 +00:00
Yann Leboulanger ce6b470967 no need to translate glade strings in optparser 2005-08-01 09:42:30 +00:00
Dimitur Kirov d57c420112 show notification if there is no space on the
device
2005-08-01 09:37:41 +00:00
Nikos Kouremenos f51c2b0f95 initial patch: do not throw all xml at once to parser because that freezes UI until process is finished. TODO: a better way to seperate what is left to seperate and send by smaller chunks to parser 2005-07-31 17:18:27 +00:00
Dimitur Kirov a9a2b483cb fcntl not present in windows 2005-07-31 11:29:18 +00:00
Dimitur Kirov 4e9942a5b1 typo 2005-07-30 15:30:38 +00:00
Dimitur Kirov 151844315a add disco info 2005-07-30 15:06:35 +00:00
Dimitur Kirov 35c8487325 file transfer don;t block GUI 2005-07-30 14:13:45 +00:00
Dimitur Kirov 8cb824adc5 moved to xmpp 2005-07-30 10:59:31 +00:00
Dimitur Kirov 46fbda6caa import socks5 from xmpp 2005-07-30 10:59:15 +00:00
Dimitur Kirov e9f10feac1 moved from common 2005-07-30 10:58:46 +00:00
Dimitur Kirov 651acf5797 removed useless prints, __main__ and added
license
2005-07-30 10:58:11 +00:00
Dimitur Kirov 5dd434c249 socks5 connection classes 2005-07-30 10:33:20 +00:00
Dimitur Kirov f1481ab4ff new jep-0096 handlers for FT 2005-07-30 10:19:52 +00:00
Dimitur Kirov 06c4568133 added few ns 2005-07-30 10:19:21 +00:00
Dimitur Kirov c43b72434e bug 461 - comfirm for close MUC dialog 2005-07-29 17:18:51 +00:00
Dimitur Kirov a43aae3a26 fixes TB, that causes bug #613 and #612 2005-07-26 07:22:08 +00:00
Nikos Kouremenos 22cf4b7433 fix a traceback 2005-07-25 22:24:58 +00:00
Yann Leboulanger a3cbad7ad7 move groupchat.contacts to gajim.gc_contacts 2005-07-25 20:04:24 +00:00
Yann Leboulanger 3ec2d68304 add missing _ 2005-07-25 07:52:04 +00:00
Nikos Kouremenos e7952867d2 55 seconds for keepalive [some web proxies disconnect at 60] and try to connect for 1 minute and not 2 2005-07-25 00:32:02 +00:00
Nikos Kouremenos 72729a1fd9 <plato> becomes plato: 2005-07-24 20:34:39 +00:00
Nikos Kouremenos ec7fd8af99 we now have "print_ichat_every_foo_minutes" in expert. 2005-07-24 20:29:32 +00:00
Nikos Kouremenos 26b5bee4d1 mark some strings for translation 2005-07-24 20:00:38 +00:00
Nikos Kouremenos 287902c9ec fix a var name 2005-07-24 19:56:47 +00:00
Nikos Kouremenos d4f0994f77 commit a missing file; revert one that hsould be commited [sorry] 2005-07-24 19:04:29 +00:00
Nikos Kouremenos 59050d4134 get_nb_line becomes get_no_of_lines; marked for translation title in history window 2005-07-24 19:01:44 +00:00
Yann Leboulanger a037ca8369 fix a TB 2005-07-23 11:54:01 +00:00
Nikos Kouremenos 4e31156bbd a is None is faster than a == None IIRC [it is for sure nicer :$] 2005-07-23 11:44:54 +00:00
Nikos Kouremenos 04e5547681 autoconnect True for first account, 2nd and up autoconnect to False 2005-07-22 21:51:56 +00:00
Yann Leboulanger 0274905793 when we go autoaway, we save our status message so we restore it when we come back online 2005-07-22 21:27:04 +00:00
Yann Leboulanger 3f9a52a177 we now don't log shat state 2005-07-22 20:27:24 +00:00
Nikos Kouremenos 9fb9894092 add a FIXME 2005-07-22 18:10:55 +00:00
Yann Leboulanger ff15366b2c nothing important 2005-07-22 17:28:45 +00:00
Yann Leboulanger 4dd4de8dfc file -> f 2005-07-22 17:27:03 +00:00
Yann Leboulanger dfb3a7081a no need of status fd 2005-07-22 17:26:05 +00:00
Yann Leboulanger 2862d63438 begin of the JEP 126 implementation, but it is disabled because it the JEP is wrong 2005-07-22 16:36:20 +00:00
Nikos Kouremenos 01acc1cf87 put a has 2005-07-22 14:35:34 +00:00
Nikos Kouremenos 77627bd433 remove a commented line 2005-07-22 14:33:26 +00:00
Nikos Kouremenos b5fe60112d nick was utf8, room_jid was unicode so we had a problem. it is fixed [stills Tracebacks because of TODO: use gc_contacts in common/gaim.py] 2005-07-22 14:30:35 +00:00
Nikos Kouremenos 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos 549b10369e moving contacts-related functions to common/gajim.py 2005-07-22 00:01:05 +00:00
Nikos Kouremenos f6d16b1db0 sleeper_state now holds string instead of 0 1 2 3 2005-07-21 23:47:27 +00:00
Nikos Kouremenos 688fb66979 gtkgui_helpers have func to escape pango markup 2005-07-21 21:39:47 +00:00
Nikos Kouremenos 3aa0363a2a prefix with roster_ 2005-07-21 21:19:08 +00:00
Nikos Kouremenos 247647c336 popup notifications for new message by default 2005-07-21 21:03:36 +00:00
Nikos Kouremenos c851323c51 do not play sound when standalone chatstate message 2005-07-21 15:23:18 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Nikos Kouremenos 92453bca1b better values for chat size 2005-07-21 14:55:54 +00:00
Nikos Kouremenos 3838f09c61 True/False instaed of 1/0 2005-07-20 20:19:27 +00:00
Nikos Kouremenos 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +00:00
Nikos Kouremenos 1a3923cdf4 [aldafu] patch for disabling sending chat state notif 2005-07-19 22:59:20 +00:00
Nikos Kouremenos 5cc1d23b3c by default Gajim has use_dbus on. [I propose if everything goes well, for the checkbutton to be removed] 2005-07-19 14:50:14 +00:00
Yann Leboulanger c6901472c1 typo 2005-07-19 14:45:15 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +00:00
Nikos Kouremenos 74b33c7825 nick in MUC and resource can have / 2005-07-19 13:59:26 +00:00
Nikos Kouremenos 6f4f126c90 introducing some helpers for jid and nick and using them to have /ban irc emulation 2005-07-19 11:57:50 +00:00
Yann Leboulanger dc532ee707 fix idle segfault 2005-07-18 21:24:58 +00:00
Yann Leboulanger 3354201313 apply patch from dkirov to prevent TB when we create a new account 2005-07-18 21:16:31 +00:00
Yann Leboulanger a47cca07f0 move var that have nothing to do with GTK to gajim instead of roster or gajim.py: contacts, groups, newly_added, to_be_removed, awaiting_messages (was queues), nicks, allow_notifications, con_types, sleeper_state 2005-07-18 21:08:31 +00:00
Yann Leboulanger 6615a51a3a no more need of GTK+ in idle.c 2005-07-18 14:35:32 +00:00
Nikos Kouremenos 139bb5ac0c [dkirov] patch to give dbus capabilities to Gajim. /me fixes and cleanups [possible break ups too :P] 2005-07-17 21:41:54 +00:00
Nikos Kouremenos 9b2f135c4b common/config to have the vars from previous commit 2005-07-17 20:26:43 +00:00
Nikos Kouremenos 06e87eebdf fix a typo 2005-07-16 17:12:11 +00:00
Nikos Kouremenos 623fb84c91 fix string 2005-07-16 10:53:15 +00:00
Nikos Kouremenos 28b9a37333 add some if connection: 2005-07-15 20:04:02 +00:00
Yann Leboulanger 3a8a6e4d8d new_account is back !
getRegInfo can be synchronous if we want
2005-07-07 20:45:24 +00:00
Nikos Kouremenos a581b8018d small cleanup 2005-07-07 17:20:43 +00:00
Nikos Kouremenos f9f05f7442 Nap gets replaced by sleep 2005-07-06 12:19:04 +00:00
Nikos Kouremenos 949c105312 if we are english dont duplicate gpg strings 2005-07-06 12:13:54 +00:00
Nikos Kouremenos 2d14894f38 typo in comment 2005-07-05 21:44:01 +00:00
Nikos Kouremenos 94c01aeecc we can now receive normal and chat messages with subject and handle them ok. we can also reply to received normal message with RE: previous message and all the good stuff! hoooray! 2005-07-05 21:35:37 +00:00
Nikos Kouremenos 192ccf2075 General group marked for translation. pending: Transports and not in the roster 2005-07-04 23:18:29 +00:00
Nikos Kouremenos d32f6f864a forgot this file [sorry] 2005-07-04 21:30:00 +00:00
Nikos Kouremenos 7444c80552 This message is encrypted both in locale and in english 2005-07-04 16:27:26 +00:00
Yann Leboulanger 819954ff97 fix a TB 2005-07-04 07:28:42 +00:00
Yann Leboulanger 669b7bde6b last_message_time is now saved in gajim.py so we begin to count time when we receive the message and not when we print it (fix #162) 2005-07-03 15:27:41 +00:00
Yann Leboulanger aab7bb1807 fix a TB 2005-07-03 12:42:53 +00:00
Yann Leboulanger cffd7f9c66 fix a TB 2005-07-03 12:36:13 +00:00
Yann Leboulanger bb89871657 nicer patch 2005-07-02 23:07:26 +00:00
Nikos Kouremenos 5621397762 if the resource is empty do not add an extra / [we do not known the resource if we are lower than mod in a muc and we ask version info 2005-07-02 23:03:11 +00:00
Nikos Kouremenos 513a4c9f4f Gajim now asks reason for ban/kick (thanks liorithiel!) 2005-07-02 18:33:51 +00:00
Nikos Kouremenos 9b11b98af2 Gajim now can send type=normal messages [TODO: handle incoming normal better] 2005-07-02 15:49:25 +00:00
Yann Leboulanger daefea0150 function moved to helpers.py 2005-07-02 12:36:21 +00:00
Yann Leboulanger 210d989525 encrytion state is keeped even if we close the chat window 2005-07-02 11:06:02 +00:00
Nikos Kouremenos d0c407f466 better comment 2005-07-01 23:13:46 +00:00
Yann Leboulanger 0b79deddb9 we now save and restore '\n' '\\n' differently (fix #244) 2005-07-01 20:37:35 +00:00
Nikos Kouremenos 64bfb68c22 send_message now accepts type of message 2005-06-30 22:37:33 +00:00
Yann Leboulanger 3b592c9ac5 last status message is now status dependant 2005-06-30 19:23:41 +00:00
Yann Leboulanger a99c509b24 reset last_incoming value when we connect 2005-06-30 16:57:42 +00:00
Nikos Kouremenos 4fef38de93 do gc and tabbedchat menus via glade; and various other fixes 2005-06-30 13:31:31 +00:00
Yann Leboulanger 52b0740834 no need for connect() to return the con_type 2005-06-29 15:09:10 +00:00
Yann Leboulanger b4c4d2b26b better debug print 2005-06-29 15:06:05 +00:00
Nikos Kouremenos e55e38b7db now gui can know connection_type ('tls', 'ssl', 'tcp')
roster now has another cellrenderer (that holds pixbuf) so does the treestore there
result: Gajim now shows an icon for accounts that were connected with ssl, tls and can show avatar of users too [that is TODO]
2005-06-29 12:57:46 +00:00
Yann Leboulanger acf31c1585 don't send more than 5 (by default) stanza per seconde 2005-06-29 08:28:12 +00:00
Yann Leboulanger 3c10f30f1f we can now send status (and connect) asynchronously thanks to threads 2005-06-28 19:03:00 +00:00
Yann Leboulanger 5e3a405329 we now have Contacts in gc, so we can ask information to everyone (even if we don't have the real jid) 2005-06-26 19:40:57 +00:00
Nikos Kouremenos 1f256b7431 fix for debian 2005-06-26 12:41:18 +00:00
Yann Leboulanger a0d4506533 disconnect only if we use keepalive 2005-06-26 09:19:37 +00:00
Nikos Kouremenos d29bbbee55 you can now disable keepalives; we know now if keepalive disconnected us; experts can change the seconds for keepalive stuff 2005-06-25 23:25:17 +00:00
Nikos Kouremenos bd6accc143 bugfix 2005-06-25 09:35:31 +00:00
Yann Leboulanger eeafdd4e92 use a default LANG value 2005-06-25 07:37:14 +00:00
Nikos Kouremenos 958beaa486 Gajim now can search, visit wikipedia and dict a selected word or phrase. Yes it rocks :) 2005-06-25 01:23:21 +00:00
Yann Leboulanger c19e0f0bd4 add an INFORMATION event from connection to gui 2005-06-24 16:46:45 +00:00
Yann Leboulanger 418c02de9a we now ignore unknown show 2005-06-23 18:27:14 +00:00
Yann Leboulanger 399589e406 we can now togglt to a minimalistic mode in gc/tabbed chat window thankx to liorithiel
TODO: add a keyboard shortcut, should we save the latest state ?
2005-06-22 19:39:19 +00:00
Yann Leboulanger d62b4e1ea2 NAT Timeout packet are now sent from connection.py so they will be configurable and won't be sent while we connect to a server 2005-06-22 14:54:02 +00:00
Yann Leboulanger a51c63ae35 don't send empty messages 2005-06-21 20:04:23 +00:00
Yann Leboulanger a05392dcde bugfix in new_account function 2005-06-21 14:24:15 +00:00
Yann Leboulanger 858702cb1e check if the vcard is correct to not TB 2005-06-20 20:58:57 +00:00
Yann Leboulanger 0db20c9304 use-agent must be use only when if the user want that 2005-06-20 12:17:11 +00:00
Yann Leboulanger 597e0c16f7 these files are not scripts 2005-06-20 10:56:54 +00:00
Nikos Kouremenos 9f03fc4f98 TLS/SSL and response [typo] 2005-06-20 10:35:58 +00:00
Yann Leboulanger 61d86fdaac we first try to use GnuPG-Agent if it is available 2005-06-20 09:32:54 +00:00
Yann Leboulanger 751ae44b7c little bugfix: missing arg to NOTIFY event 2005-06-20 07:50:50 +00:00
Nikos Kouremenos f7732b30f9 say 0.8 2005-06-19 13:17:32 +00:00
Nikos Kouremenos daacc7334d we can change nick by IRC command too (/nick foo); input dialog also has get_response() now 2005-06-18 23:44:33 +00:00
Yann Leboulanger 87f1dbcac8 we can now change our nick in gc 2005-06-18 22:09:31 +00:00
Nikos Kouremenos 36240c71de default to connect at startup for a new account 2005-06-18 21:55:31 +00:00
Yann Leboulanger 7538333c5d we now handle when the user doesn't give his OpenPGP passphrase and print an error message 2005-06-18 16:57:57 +00:00
Nikos Kouremenos 74fd03dc23 connection.py to take advantage of ssl patch 2005-06-18 11:37:29 +00:00
Nikos Kouremenos e325da1e1c patch xmpppy so it does not loop for ever on timeout disconnection. this patch and previous thanks to Alexey [lib author] 2005-06-18 11:33:29 +00:00
Nikos Kouremenos d56a4b619d patch to force ssl no matter which is the port 2005-06-18 11:22:19 +00:00
Nikos Kouremenos 61a51241f9 mention 0.7.5 as version of Gajim 2005-06-17 23:21:12 +00:00
Nikos Kouremenos c497aeda0d patch by hoppke to make char for refering to a specific contact in GC configurable via expert 2005-06-16 22:18:46 +00:00
Yann Leboulanger 213c617780 messages for us in gc are now bold and colored (thx Liorothiel) 2005-06-16 19:14:07 +00:00