Commit Graph

1259 Commits

Author SHA1 Message Date
Yann Leboulanger f8db75e255 New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly 2006-03-24 12:55:56 +00:00
Dimitur Kirov 1f85960c64 #1735 don't stop completed transfer 2006-03-23 00:11:50 +00:00
Dimitur Kirov be25f1b8ac missing import 2006-03-22 16:36:56 +00:00
Dimitur Kirov 92691fa6f6 disconnect transfers for contact which goes
offline
2006-03-21 23:43:26 +00:00
Dimitur Kirov 3f0ac6b3d9 fix imports 2006-03-21 15:57:44 +00:00
Nikos Kouremenos eca21781cb fix len to not take into account the extension (we pass full filename anyways) 2006-03-21 13:57:02 +00:00
Nikos Kouremenos b3bf080e6f intro helpers.sanitize_filename() to make sure we do not run, use it where it is appropriate 2006-03-21 13:55:22 +00:00
Dimitur Kirov 7418be2323 remove ft_proxies_cache option, not used
anymore, replaced by proxy65_manager
2006-03-20 23:33:53 +00:00
Dimitur Kirov 5a1ff6a4d2 discover proxy transport for server (#803) 2006-03-20 23:17:36 +00:00
Dimitur Kirov c16167025c disconnect pending proxy resolve actions when
account is disconnected from server
2006-03-20 22:09:16 +00:00
Dimitur Kirov 7165a72157 error_cb is sent to proxy jid, instead of proxy
name, add one more proxy (jabber.freenet.de)
2006-03-20 21:48:14 +00:00
Dimitur Kirov ae33330ac6 send fake activate stanza to assert that proxy
works correctly
2006-03-20 21:24:10 +00:00
Nikos Kouremenos 1f43ebfeb3 [jim++] fix logic for ft popup. fixes #1393 2006-03-20 17:25:45 +00:00
Nikos Kouremenos 131d0de955 hint user about what could be wrong 2006-03-19 21:21:16 +00:00
Dimitur Kirov b90e546927 proxy65_manager resolves socks5 proxies at gajim
startup and account login
2006-03-19 20:43:30 +00:00
Dimitur Kirov 8d15ac84be restored send_stanza, needed by xml console 2006-03-19 16:53:17 +00:00
Nikos Kouremenos 85fbcb79e9 fix tb 2006-03-19 14:59:17 +00:00
Dimitur Kirov 540103f381 arranged some methods from connection.py in
classes defeined in connection_handlers.py
2006-03-19 14:54:00 +00:00
Yann Leboulanger 96dcb1bd0c chatstate colors are now configurable in manage theme window. Fixes #1568 2006-03-18 22:40:26 +00:00
Yann Leboulanger 21a65d2568 minor typo 2006-03-18 08:13:27 +00:00
Yann Leboulanger 3a255e5102 fix indentation in common/helpers.py 2006-03-17 19:56:05 +00:00
Yann Leboulanger 3b4f6e20fe we can now have emoticons themes in ~/.gajim/emoticons/ see #1182 2006-03-17 14:24:58 +00:00
Nikos Kouremenos 8b49efd38d [multani] fix syntax typo 2006-03-17 12:32:56 +00:00
Yann Leboulanger 618e429d82 migrate the old useemoticons option to emoticons_theme. Fixes #1715 2006-03-17 12:15:31 +00:00
Yann Leboulanger b4ed754b51 we now have emoticons themes. Fixes #1182
TODO: fill animated folder with his emoticons file
2006-03-16 23:37:06 +00:00
Dimitur Kirov b3de43ae3f disconnect after stream end tag, unregister
two more handlers
2006-03-16 17:29:30 +00:00
Dimitur Kirov d33055c3bc don't try to connect, when we are in state
'connecting'
2006-03-15 21:06:22 +00:00
Dimitur Kirov d316c6d8b4 reconnect (if configured), instead of
disconnect on expat error
2006-03-15 20:46:50 +00:00
Dimitur Kirov 7afb58426a property last_connection, used to prevend
double connections
2006-03-15 20:10:52 +00:00
Dimitur Kirov 032ed4f22c typo 2006-03-15 19:47:11 +00:00
Dimitur Kirov 5e19b20377 return unregister attemped on undefined
namespace handlers
2006-03-15 19:43:22 +00:00
Dimitur Kirov c8b27da04f don't disconnect after server inabillity to
receive long data. Unregister all handlers in
disconnect
2006-03-15 19:39:27 +00:00
Yann Leboulanger 4cbc0666ff show an error dialog when a transport answers wrongly to register request. Fixes #1702 2006-03-15 08:56:36 +00:00
Nikos Kouremenos 036265081b fix typo; also saner defaults [only first time] for last_save_dir and last_send_dir 2006-03-15 02:09:57 +00:00
Nikos Kouremenos 396c66f8f8 set avatar filechooser defaults to My Pictures in the OS that understand user needs [aka Windows] 2006-03-15 01:40:10 +00:00
Yann Leboulanger f355cb043a replace / in gc nicks by _ before we save vcard / avatars 2006-03-14 18:09:09 +00:00
Yann Leboulanger b1ce1107de we can now talk to a specific resource 2006-03-14 13:10:09 +00:00
Yann Leboulanger dce057d29e avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121 2006-03-13 13:25:51 +00:00
Yann Leboulanger 3d61688111 typo. Fixes #1684 2006-03-10 22:06:21 +00:00
Dimitur Kirov 59283050e1 close connection when invalid xml is received
call sys.exc_clear in catched exceptions
2006-03-10 20:36:15 +00:00
Yann Leboulanger adb62eb628 jids are now punycoded before we store avatars on HD. Fixes #1030 2006-03-10 18:58:28 +00:00
Yann Leboulanger f9d0421d33 jids and nicks are now punycoded before we store on HD. See #1030 2006-03-10 18:48:14 +00:00
Yann Leboulanger 3355cf4ea3 room_contacts vcards are now saved in room_jid folder. Fixes #1105 2006-03-09 18:41:57 +00:00
Yann Leboulanger 9d045fc69b avatar is now 200x200 max in vcar window. Fixes #1582 2006-03-08 16:01:01 +00:00
Nikos Kouremenos 7515e1d433 better varname for list of jids for auto auth 2006-03-08 11:42:15 +00:00
Yann Leboulanger d4cbe39fc2 auto_authorization is now keept in mem. This way it works correctly, but doesn't if you close gajim before your contact ask your auth. Fixes #1630 2006-03-08 10:46:36 +00:00
Yann Leboulanger 119c5ed55f typo 2006-03-08 08:29:09 +00:00
Yann Leboulanger 213b36a692 [avm] add -lpython2.[3/4] in Makefiles. Fixes #1668 2006-03-07 17:53:05 +00:00
Nikos Kouremenos 80c58110e2 now we can save preset messages from change status message dialog. we also use ComboBox and not ComboBoxEntry because the first shows clearer that it is not editable. fixes #1407 2006-03-07 14:02:45 +00:00
Yann Leboulanger e6200b599a add 2 advanced options: confirm_close_muc_rooms and noconfirm_close_muc_rooms. Fixes #1622 2006-03-07 13:13:36 +00:00
Dimitur Kirov bc7d9a2943 clean last exception to prevent printing TB
( #1629 )
2006-03-07 11:54:45 +00:00
Yann Leboulanger d3417371c0 clear _expected dict when callback is called. This way when another stanza arrives with the same id, it isn't catched as expected. 2006-03-05 20:30:38 +00:00
Nikos Kouremenos 0349c4ad23 fix typo 2006-03-05 19:43:41 +00:00
Yann Leboulanger d54915c62a base64.encodestring() adds some \n in the string. Remove it 2006-03-05 19:39:07 +00:00
Nikos Kouremenos 9ec5e798b1 improve a comment 2006-03-05 11:42:42 +00:00
Yann Leboulanger 9a340cabaf [zloygod] Show "need gajim restart" label in ACE only when needed. Fixes #1645 2006-03-04 00:25:36 +00:00
Yann Leboulanger 1c13fcd648 [Geobert] Don't send bot JEP85 and JEP22 when only JEP22 is supported by contact. Fixes #1317 2006-03-03 14:41:55 +00:00
Nikos Kouremenos 6a6ab0b7f1 [rituko_a] intro ACE ascii_formatting 2006-03-02 16:05:52 +00:00
Yann Leboulanger a4839a720c don't ask twice the password when we create an account and show correct page in vcard even we receive an empty vcard. Fixes #1560 2006-03-02 15:47:21 +00:00
Yann Leboulanger 9209a98764 fix logic/TB. See #1639 2006-03-02 06:49:25 +00:00
Nikos Kouremenos 91691221c6 fix a bug which appeared after a patch which caused us to stop at 27 or 28 or 29 or 30 instead of 28 or 29 or 30 or 31 accordinly. [eg. count one more day. xrange logic fix] 2006-03-01 21:15:01 +00:00
Yann Leboulanger aa90dc35a6 typo 2006-03-01 19:25:55 +00:00
Yann Leboulanger 6505d57f38 some check in meta contacts. See #1627 2006-03-01 18:58:28 +00:00
Yann Leboulanger 4b327b5682 [Geobert] JEP-0022 partial support (composing). Tunned by me. Fixes #1317 2006-03-01 18:16:54 +00:00
Dimitur Kirov 8945173e51 update banner font with theme font 2006-03-01 11:03:56 +00:00
Nikos Kouremenos 9d6c1888c0 bye bye to noconfirm_close_muc_rooms 2006-02-27 17:18:56 +00:00
Dimitur Kirov 810a377156 added TODO, ensure we close all descriptors 2006-02-27 16:26:00 +00:00
Nikos Kouremenos 3e2ec2495e rm trailing spaces from helpers.py 2006-02-27 15:29:13 +00:00
Nikos Kouremenos 09bce24b11 add clearer comment 2006-02-27 15:27:54 +00:00
Nikos Kouremenos 7a666ca03b fix logic 2006-02-27 15:25:06 +00:00
Nikos Kouremenos a1b1538c54 [Artur Tulyulya] Also detect CRUX. fixes #1626 2006-02-27 15:19:56 +00:00
Nikos Kouremenos db6f6151a1 introducing get_our_jids() 2006-02-26 14:13:13 +00:00
Nikos Kouremenos f674babbd1 spacing 2006-02-26 14:12:55 +00:00
Nikos Kouremenos 10b548a2c7 noconfirm_close_muc_rooms to say that list wants to be space seperated {should be our default way} and desc to finish with dot. 2006-02-24 21:53:05 +00:00
Nikos Kouremenos 850ec25a0b fix comment and write some stuff a bit clearer 2006-02-24 21:05:05 +00:00
Yann Leboulanger 170e0d71d0 use a default LANG var only under windows 2006-02-24 15:04:06 +00:00
Yann Leboulanger e0b6d2700e jit.* are also icq transports. Fixes #1619 2006-02-24 13:07:44 +00:00
Nikos Kouremenos 506e6752ea nickname changes do instant apply now. fixes #1612 2006-02-23 14:36:41 +00:00
Yann Leboulanger 0b2f9d4617 we now keep last_status_time, show it in tooltip and information window, ask it (jabber:iq:last, JEP-0012) when we open information window. Fixes #1133 2006-02-22 14:31:01 +00:00
Dimitur Kirov acdb712838 remove FORM FEED and ESC from sent data 2006-02-22 13:09:33 +00:00
Yann Leboulanger 9991a13dcc environment variable can contain only one language. Fixes #1606 2006-02-22 12:36:56 +00:00
Yann Leboulanger 1a70f43712 fix some TB: #1605 2006-02-22 06:39:47 +00:00
Nikos Kouremenos 36fd9dc0a8 better english and typo 2006-02-21 11:15:54 +00:00
Nikos Kouremenos faccf1e321 use better varnames [PEP8 says varnames such as l are way bad for maintability and high readability, comment the code, cleanup so it does not hide logic. thanks Yann for explaining the logic 2006-02-21 11:12:54 +00:00
Yann Leboulanger e85c373a95 don't take into account chatstate when message is delayed (offline message, ...). Fixes #1294 2006-02-21 09:52:55 +00:00
Yann Leboulanger 050cffac8a add default local lang to LANG environment variable. Fixes #1324 2006-02-21 09:34:34 +00:00
Yann Leboulanger 3317383918 put contact in observer group when we remove it but let him see our status. Fixes #1494 2006-02-20 22:08:02 +00:00
Yann Leboulanger 76a3bbaf25 icon name is not in roster 2006-02-20 13:08:45 +00:00
Yann Leboulanger 4415d770fc not_in_the_roster.png -> not_in_roster.png 2006-02-20 11:02:35 +00:00
Nikos Kouremenos 105616cfc3 sasl not support msg using debug. Dimitur, maybe it is time to remove blocking versions from svn? 2006-02-19 20:50:59 +00:00
Dimitur Kirov e748ad7990 make sure data tuple is deleted 2006-02-18 10:16:34 +00:00
Dimitur Kirov 32bfde61e2 faster CharacterDataHandler in NodeBuilder 2006-02-18 02:08:49 +00:00
Dimitur Kirov eacf5fb900 revert to self.DEBUG when SASL is not supported 2006-02-18 00:01:39 +00:00
Nikos Kouremenos 967d278541 [jim++] sound events show in UI as translatable nice words. [me] refactor the whole thing 2006-02-16 15:21:34 +00:00
Dimitur Kirov 11fedebb08 bad var name 2006-02-16 08:59:28 +00:00
Nikos Kouremenos f08ea56cc9 rm self we are not in the class alright. thx jjkobra for noticing 2006-02-15 21:45:20 +00:00
Nikos Kouremenos cb6f163f02 VCARDPATH --> VCARD_PATH 2006-02-15 10:44:41 +00:00
Nikos Kouremenos 036de12230 generalize into a func creating paths 2006-02-15 10:42:40 +00:00
Nikos Kouremenos 051bff60c7 [jim++] create paths correctly. fixes #1542 2006-02-15 10:35:13 +00:00
Dimitur Kirov 6b615a8d72 delete debug error message, which causes TB
to be printed
2006-02-14 18:13:20 +00:00
Dimitur Kirov 8448be52f5 paused and stalled states now work 2006-02-12 02:25:21 +00:00
Dimitur Kirov f84e410e5b plug_idle can have readable and writable False
in this case we wait only for close events
2006-02-12 02:23:20 +00:00
Dimitur Kirov 7576bb4f3e shutdown the reading and writing side of the
socket and close it, when we disconnect
2006-02-12 02:21:18 +00:00
Dimitur Kirov 81873919c5 remove error debug statement,use stderr instead
isinstance, instead of __class__.__name__
2006-02-11 21:49:17 +00:00
Dimitur Kirov 29ab60eaa7 add connect timeout and reconnect to
some other streamhosts when already
established connection has failed
2006-02-11 21:32:48 +00:00
Dimitur Kirov 19ee5917bf try to reconnect when socket error
is raised during data receiving
2006-02-11 21:30:04 +00:00
Dimitur Kirov 79d39ac119 remove fd from selector and timeouts
when pollend event is raised
2006-02-11 21:27:44 +00:00
Nikos Kouremenos 3d21947e2a set home folder as default folder for fchooser and set nice title on fchooser 2006-02-10 16:12:16 +00:00
Nikos Kouremenos 2c7999af67 typo 2006-02-10 13:19:02 +00:00
Nikos Kouremenos c1c48d9210 ask locale module to do the job of detecting LANG; this now works in Windows. thanks Stian for testing 2006-02-10 13:18:33 +00:00
Nikos Kouremenos 9acbb49937 let python decide the TMP path 2006-02-10 13:03:32 +00:00
Travis Shirk 9f1032c6e1 Updated comment 2006-02-08 02:26:54 +00:00
Yann Leboulanger 59e6377546 follow RFC 3921 section 8 for subscription. This also fixes #1400 2006-02-07 23:11:24 +00:00
Dimitur Kirov e0d8b0c3dc unnecessary purge of variables 2006-02-07 08:46:00 +00:00
Dimitur Kirov 85ba371288 if host is invalid to not start 2006-02-07 08:34:20 +00:00
Nikos Kouremenos c9ef415ecc fill search results listview; todo: operate on results 2006-02-06 20:34:06 +00:00
Yann Leboulanger 4372ed7fe4 typo. Fix #1521 2006-02-06 18:21:40 +00:00
Yann Leboulanger 6ceb13430b remove files from AVATAR_PATH when contacts changes his avatar or removes it 2006-02-06 16:04:55 +00:00
Yann Leboulanger 693270cf5b wax size for avatar in tooltip: 125x125 by default 2006-02-06 13:42:23 +00:00
Dimitur Kirov d6fee1ea49 added missing argument to NBCommonClient call 2006-02-06 11:28:05 +00:00
Dimitur Kirov c3ef6cfbbc I'm losing the logic of this condition, but
this is a copy of the original, so it should
work
2006-02-06 10:00:23 +00:00
Dimitur Kirov 7815fe8219 use glib current time instead of time.time() 2006-02-06 00:36:33 +00:00
Dimitur Kirov f52144c803 socks5 classes now use Gajim idlequeue
still there are several TODOs
2006-02-06 00:11:45 +00:00
Dimitur Kirov 8df5e7efce two small errors on win 2006-02-05 15:31:31 +00:00
Yann Leboulanger 89d2420473 typo 2006-02-05 10:19:36 +00:00
Travis Shirk ec03a1d853 Added name='Gajim' to disco identity 2006-02-04 20:27:17 +00:00
Yann Leboulanger 5344bd3ff5 we now reply when someone discover us 2006-02-04 13:47:29 +00:00
Dimitur Kirov 2525fef3a8 added comments, reverted to popen and print
some error messages about invalid arguments
2006-02-04 00:13:12 +00:00
Dimitur Kirov ec1d354c80 use old select.select for polling on win-gtk2.8
untill there is a stable 2.8 version
2006-02-03 22:54:05 +00:00
Dimitur Kirov b4b810f465 don't close stdin in Popen on win32, because it
causes a TB when gajim is started from
noninterractive shels like idle (fixes #1506)
2006-02-03 22:52:47 +00:00
Yann Leboulanger 327f07c6aa catch traceback when decoding avatar. Fixes #1470 2006-02-03 12:32:18 +00:00
Dimitur Kirov f62db4acfe Switched to non-blocking connections.
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00
Travis Shirk 40211a41c7 ACE option to trun off having the Esc key close a control. Vi users do this by habit,
and it sucks losing a well thought out message.
2006-02-03 07:32:44 +00:00
Nikos Kouremenos f529f0364a revert accidental commit of common/helpers.py 2006-02-03 01:17:03 +00:00
Nikos Kouremenos 19bab6832e also commit glade file 2006-02-03 01:15:03 +00:00
Nikos Kouremenos 65c8646e2e spaces and stuff 2006-02-02 23:44:09 +00:00
Yann Leboulanger 7313d38e1a continue connecting even if server doesn't support JEP49 (Private XML Storage). Fixes #1499 2006-02-02 06:57:37 +00:00
Yann Leboulanger 96e5a18703 typo 2006-02-01 23:04:04 +00:00
Yann Leboulanger 751299c0a1 use pkg-config xscrnsaver in correct Makefile, thx Dawid 2006-02-01 23:02:57 +00:00
Yann Leboulanger f22b455da8 when we remove a contact that has subcontacts or is a subcontact, update meta contacts info stored on the server 2006-01-31 21:59:12 +00:00
Nikos Kouremenos 9f4753cc06 do not add http:// in urls. fixes #1493 2006-01-31 21:13:46 +00:00
Yann Leboulanger 9b29bbe324 prevent TB 2006-01-30 17:23:18 +00:00
Yann Leboulanger b8243fd45b prevent to return None in get_children_contacts 2006-01-29 17:56:39 +00:00
Yann Leboulanger ec927d3a4b We can now add and remove meta contacts by drag and drop from same group 2006-01-26 23:20:27 +00:00
Nikos Kouremenos 3dee7e4be4 rm a line commited by mistake 2006-01-26 12:53:25 +00:00
Yann Leboulanger 4f21775305 we can now get meta contacts from server and display them 2006-01-26 11:23:15 +00:00
Nikos Kouremenos 33b9218ba1 do not hardcode white in roster themes 2006-01-25 23:47:15 +00:00
Nikos Kouremenos fb4682d0f2 better varnames; use range() 2006-01-25 13:34:02 +00:00
Nikos Kouremenos 29fef124a2 default msg window w and h is in glade now 2006-01-25 13:27:23 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00