Commit Graph

999 Commits

Author SHA1 Message Date
Nikos Kouremenos f694ff70e1 try to fix a db locked that sometimes happens 2005-12-05 13:56:02 +00:00
Nikos Kouremenos 19dc3b9295 class is Migration 2005-12-05 11:44:28 +00:00
Yann Leboulanger 7050a346c7 typo 2005-12-05 11:39:51 +00:00
Yann Leboulanger 637c903d68 * when in common, no need to do from common import FOO, just import FOO
* we now migrate automaticaly at startup in a thread
 * progressDialog now scroll textvew to the end
2005-12-05 11:13:08 +00:00
Yann Leboulanger ed47580227 sha is now computed on the raw image data and not the base64 encoded data 2005-12-05 08:45:39 +00:00
Yann Leboulanger 4f53f2f769 typo: get -> get_per 2005-12-04 22:58:38 +00:00
Yann Leboulanger 140f03221f take into account the no_log_for option 2005-12-04 22:23:41 +00:00
Nikos Kouremenos 5300975d31 typo 2005-12-02 19:59:39 +00:00
Yann Leboulanger 51dc8afb09 take into account only the accounts that are synced with global status to compute the global status (for status combobox) 2005-12-02 19:12:21 +00:00
Yann Leboulanger f89c0c3baf some cleanup in migration script 2005-12-02 17:24:55 +00:00
Nikos Kouremenos 42487409b3 ACE: hide_avatar_of_transport 2005-12-02 13:10:02 +00:00
Nikos Kouremenos 6e22a369ee add tlen, fix gadu gadu to gg, and use dot because ggore@jabber.FOO can exist 2005-12-02 13:08:58 +00:00
Yann Leboulanger 796b26883d remove some line that were for tests 2005-12-02 11:20:25 +00:00
Yann Leboulanger e692624e2c Gajim now ask if we want to migrate at startup 2005-12-02 11:18:00 +00:00
Nikos Kouremenos 7a0c0311db rm unused var 2005-12-01 17:50:45 +00:00
Yann Leboulanger 54e47436e3 add an exceptions file that contain our custom exceptions 2005-12-01 17:16:53 +00:00
Nikos Kouremenos e162e5daed select last day we have logs for in history browser 2005-11-30 21:56:42 +00:00
Nikos Kouremenos c9cc45a7cc work with special tigris build that workarounds vs bug on .svn; eg look for _svn too 2005-11-30 18:48:58 +00:00
Yann Leboulanger cec9b1e861 send offline status to gc before we disconnect 2005-11-30 17:54:34 +00:00
Yann Leboulanger d58f380842 emmit SIGNED_IN when needed (when we connect) 2005-11-30 17:46:36 +00:00
Nikos Kouremenos 28fe6a06d3 less columns in history. TODO: fill name for not groupchat 2005-11-30 17:30:58 +00:00
Norman Rasmussen 786da12472 http://cvs.sourceforge.net/viewcvs.py/xmpppy/xmpppy/xmpp/auth.py
Wed Oct 26 08:45:22 2005 UTC by snakeru
Fixed SASL bug on win32 platform. (Thanks to Martin Thomas)
2005-11-30 17:08:45 +00:00
Nikos Kouremenos 164f45ecf4 remove a wrong comment; enrich a docstring 2005-11-30 14:16:26 +00:00
Nikos Kouremenos 8522d1bd22 try to fix a MAJOR TB. maybe simple dispatch jid should be stripped too. I dont know. Yann? 2005-11-30 13:59:16 +00:00
Travis Shirk fb4e8f254d SASL challenges that have '=' in a value can now be parsedr; '=' in a base-64 encoded nonce is rather common 2005-11-29 20:27:57 +00:00
Yann Leboulanger 820dae2642 1) we can't receive our vcard empty
2) write an empty file for empty vcards so that they are not asked at each gajim startup
2005-11-29 20:17:51 +00:00
Nikos Kouremenos f9ecc9e456 fix typo 2005-11-29 18:31:45 +00:00
Nikos Kouremenos e542fff69f searching in history is in. not yet 100% functionality 2005-11-29 14:41:01 +00:00
Nikos Kouremenos dfb9d92619 exclude kind gcstatus/status rather than ask for rest of statuses 2005-11-29 13:18:21 +00:00
Yann Leboulanger 14c7d7f891 when we ask if date has message, don't take into account status messages 2005-11-29 12:06:29 +00:00
Nikos Kouremenos 17034b654a remove a fixme; remove old and replace with that we really mean by old, so we do not get confused with date 2005-11-29 10:16:31 +00:00
Travis Shirk 253df9cd45 state_unread_color no longer needed. 2005-11-29 04:03:16 +00:00
Yann Leboulanger e7d7200e04 translate theme when we upgrade config file and check be sure that the current roster_theme exists 2005-11-28 22:12:46 +00:00
Yann Leboulanger 4fd5ed93ae log status message is now False by default 2005-11-28 21:15:23 +00:00
Nikos Kouremenos 567ce86ec1 remove a var, use hasattr 2005-11-28 18:18:29 +00:00
Nikos Kouremenos 313f4c8c94 fix logic 2005-11-28 17:56:57 +00:00
Nikos Kouremenos a64709b7a4 prevent the right way bad show to crash us; add comment on special treatment of show is None in *status events 2005-11-28 17:34:43 +00:00
Yann Leboulanger d38883a92a don't try to log presence when show in unknown 2005-11-28 16:41:34 +00:00
Yann Leboulanger 258c0541e0 when we receive an empty vcard, we send an empty vcard to the interface so that it knows it arrived 2005-11-28 16:26:19 +00:00
Nikos Kouremenos af9f4afe0c ask sql to do the timeout check 2005-11-27 17:33:57 +00:00
Yann Leboulanger 8f986b6d21 take into account the restore_line_timeout option 2005-11-27 16:59:39 +00:00
Yann Leboulanger c3670ea4eb when a message a no type, we must consider it as type=normal as explained in RFC3921 2005-11-27 15:45:54 +00:00
Nikos Kouremenos 8734c5f2cb SIGN_IN --> SIGNED_IN 2005-11-27 12:42:42 +00:00
Yann Leboulanger 21116c221e create a new SIGN_IN event that is emitted when we sign in 2005-11-27 12:29:30 +00:00
Nikos Kouremenos 31c29fb56a in theory this waits up until 20 seconds before raising locked 2005-11-27 12:22:07 +00:00
Nikos Kouremenos 98e66332ee restore last lines for correct jid 2005-11-26 22:02:07 +00:00
Nikos Kouremenos b47ac0c0b9 do not die if hd is full; also remove not used method 2005-11-26 15:21:52 +00:00
Nikos Kouremenos c311183d57 fix so we mark new jids if they are room as room-type 2005-11-26 00:03:09 +00:00
Nikos Kouremenos 7ad4ff2878 remove two prints we do not need 2005-11-25 23:25:41 +00:00
Nikos Kouremenos caade489ee new db design and improved migration script. if you ran before the migration please remove you old logs.db as it is incompatible with the new one and rerun migration if you care about old logs. a print on show is on purpose, bonus of the first to traceback and give us the value of show that causes the tb. yea svn got unstable these days. sorry about that but big changes 2005-11-25 23:23:25 +00:00
Nikos Kouremenos 378555434a history window for old days is ok now 2005-11-25 22:13:39 +00:00
Nikos Kouremenos 89952468ef various fixes in previous commit 2005-11-24 21:11:44 +00:00
Yann Leboulanger a6643b103b print an error and don't crash when we get a non-RFC-complient jid 2005-11-24 21:05:18 +00:00
Nikos Kouremenos 8c3d0c8014 remove 2 prints 2005-11-24 18:52:26 +00:00
Nikos Kouremenos eb1c72921c fix so we store send stuff in the same place we store recv stuffed. todo: we need one more column in jids table called type_of_msg to store tc or gc and then migration needs fixing. this means people who migrated will have to migrate again by first removing the current log db. this also means until migration script is ready and after the migration u did logs will be lost 2005-11-24 18:29:45 +00:00
Nikos Kouremenos fb07453d57 initial stuff at mark day that has logs. atm it is slow and has some bugs I will fix soon. I commit this nonetheless 2005-11-24 01:39:47 +00:00
Nikos Kouremenos ccdea9dfb7 fix calendar to return only the date asked 2005-11-24 00:26:01 +00:00
Nikos Kouremenos 97371d384c ACE: restored_messages_color. you can now configure from grey to blue, red, green whatever you like 2005-11-24 00:17:28 +00:00
Nikos Kouremenos 359824bec1 add ACE log_contact_status_changes and expose to UI in advanced tab in misc. this replaces the previous options and imo is good to expose to that place (used to have log-related stuff) 2005-11-23 23:28:26 +00:00
Nikos Kouremenos d958bcf521 typo 2005-11-23 19:21:46 +00:00
Nikos Kouremenos d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Yann Leboulanger 767dc426ed add comment in xmpp_stringprep 2005-11-23 18:36:07 +00:00
Yann Leboulanger c9ad61044d awaiting_events now keep resource of sender when event_type is chat or normal 2005-11-23 18:15:24 +00:00
Yann Leboulanger c511a31038 list-multi are now handled in DataForm 2005-11-22 23:10:08 +00:00
Travis Shirk d17fac8e53 Fix a TB; closes #1139 2005-11-22 20:09:47 +00:00
Nikos Kouremenos 648a862811 remove some deprecated log options 2005-11-22 15:01:10 +00:00
Nikos Kouremenos 68af3d51de [juracy] fix for windows svn users 2005-11-22 14:46:37 +00:00
Nikos Kouremenos 203fd82b34 typo 2005-11-22 14:12:34 +00:00
Nikos Kouremenos 72e193c25c decode using fs encoding 2005-11-22 11:56:16 +00:00
Nikos Kouremenos d4ad6d8cb9 intoducing LOG_DB_PATH 2005-11-22 11:54:33 +00:00
Nikos Kouremenos 0c09ad2b30 some more strings for transl 2005-11-22 11:44:33 +00:00
Nikos Kouremenos 150cbce4e2 os.path. join in other places too 2005-11-22 11:39:32 +00:00
Nikos Kouremenos 3e9b8d6bd2 enormous cleanup in untested code 2005-11-22 10:56:25 +00:00
Nikos Kouremenos 47ee43568f help Yann release faster when in Windoz 2005-11-21 19:12:16 +00:00
Nikos Kouremenos 7f599b8615 fix string 2005-11-21 16:50:28 +00:00
Yann Leboulanger 01b8de5b0c also call _IqCB when we get registration result 2005-11-21 15:09:04 +00:00
Nikos Kouremenos ce6233814d [lorien420] if dbus is there, but notif-daemon is not running, use old style notifications. (I cannot test this as release of notif-daemon is not being listed even if it running). Lorie said devel is ok 2005-11-21 10:36:56 +00:00
Nikos Kouremenos b66862d27e minor 2005-11-21 10:34:10 +00:00
Nikos Kouremenos 9db3d26c1f fix so uf_show works 2005-11-21 08:56:45 +00:00
Nikos Kouremenos 1b8b6a435e optimize a bit (more to come) 2005-11-21 06:33:46 +00:00
Nikos Kouremenos ca31a7f67a history window now has a calendar; tons of cleanups, comments, better varnames and in general better quality of code; also a fixme for another day 2005-11-20 21:58:08 +00:00
Yann Leboulanger 6e593107e0 get_hostname_from_account can now return the srv_hostname 2005-11-20 13:27:37 +00:00
Nikos Kouremenos 2626b888b9 disco on custom hostanme if such thing is defined 2005-11-20 12:48:10 +00:00
Yann Leboulanger 068e93194d [anonymous] catch exceptions in dnspython 2005-11-20 10:51:22 +00:00
Nikos Kouremenos 68dea5d9f3 respect users past choice 2005-11-19 22:03:58 +00:00
Nikos Kouremenos a444fa63a9 use_dbus (too generic) to remote_control ACE and better desc, also fix method names 2005-11-19 21:45:34 +00:00
Yann Leboulanger c283e7e92c we can now handeled timeouts: when we don't receive registration info within 30 secondes, we show an information window 2005-11-19 19:33:11 +00:00
Nikos Kouremenos 109f599865 catch IOError on traceback.print_exc 2005-11-19 15:49:45 +00:00
Alex Mauer 0072034452 Allow configuration of the character appended in case of a nick
conflict.
2005-11-18 17:47:52 +00:00
Nikos Kouremenos 68b0f18402 iso15 is our last chance 2005-11-18 13:26:24 +00:00
Nikos Kouremenos 965e9cb8c7 running pychecker in some files and fixing cleaning up those errors/info that REALLY matter 2005-11-18 13:12:16 +00:00
Yann Leboulanger 97d1166be8 use decode_string in GnuPG 2005-11-18 12:22:33 +00:00
Nikos Kouremenos 2a791af792 decode_string() 2005-11-18 12:17:50 +00:00
Nikos Kouremenos ff9f4384b3 roster avatars 32x32 by default 2005-11-16 23:10:48 +00:00
Nikos Kouremenos 75505422b1 or not and 2005-11-16 21:39:17 +00:00
Nikos Kouremenos 97a7585dd0 avoid a tb 2005-11-16 21:24:28 +00:00
Nikos Kouremenos fac2a002c7 [sef] ask avatars on startup ace 2005-11-15 23:26:22 +00:00
Yann Leboulanger 71271279d0 stringprep our jid to compare it with others 2005-11-15 19:41:43 +00:00
Yann Leboulanger 5c42980857 avatar is updated when someone updates it 2005-11-14 21:10:00 +00:00
Nikos Kouremenos 17b5ff7022 use tupple not list when nothing list-special is needed; fix comment 2005-11-14 14:19:53 +00:00
Yann Leboulanger 3b12546f0a fix comment 2005-11-14 10:51:32 +00:00
Yann Leboulanger c94d1ca48a function to update the config file from version to version
I currently update some var names, add new themes and remove cyan theme, add new proxies, add new emoticons
If things are missing add them there
2005-11-14 09:43:27 +00:00
Yann Leboulanger 012887fda8 typo 2005-11-14 09:08:12 +00:00
Travis Shirk b816a7a46b Smarter parsing of emoticons (closes #954) and added a few common emoticons as well. 2005-11-13 20:47:15 +00:00
Nikos Kouremenos dc27356721 fix a tb 2005-11-13 20:31:44 +00:00
Yann Leboulanger 1238f5a957 remove FIXME 2005-11-13 18:09:48 +00:00
Yann Leboulanger 79d6f275e8 re-send a presence when we set a new avatar 2005-11-13 17:51:37 +00:00
Yann Leboulanger cdde62ac88 reconnect to all gc when connection comes back 2005-11-13 17:24:08 +00:00
Nikos Kouremenos 7e5ba09aca GC does it automatically, but what the hell 2005-11-13 12:31:13 +00:00
Travis Shirk 96fbd0ae4f JEP 0070 Last Call updates; transaction IDs are a MUST, so we should display them to the user.
Closes #1088
2005-11-13 01:48:48 +00:00
Yann Leboulanger 380bce1160 fix TB 2005-11-12 21:06:26 +00:00
Nikos Kouremenos de7b906254 typo 2005-11-12 21:01:52 +00:00
Nikos Kouremenos 3f7bbf191f typo 2005-11-12 21:01:17 +00:00
Yann Leboulanger a67d009497 fix icon in tooltip (sorry I can't test) 2005-11-12 20:07:46 +00:00
Nikos Kouremenos 67844ff1dc him --> him or her 2005-11-12 14:20:20 +00:00
Nikos Kouremenos 2a770a1ebf he --> he or she 2005-11-12 14:17:27 +00:00
Nikos Kouremenos a38263dcdb his --> his or her 2005-11-12 14:15:32 +00:00
Nikos Kouremenos 7fa1f8a270 set always_english_wiktionary to True; chances are if you do not know a word you are french, greek, german whatever and u chat in english. leave out the fact that english wiktionary entry has translations so you get definition in english and tranlsation 2005-11-09 23:05:11 +00:00
Nikos Kouremenos 6649b62f03 ACE: print_status_in_chats 2005-11-09 15:42:30 +00:00
Yann Leboulanger 8eaa1f45ad add a 'merged account' row with a context menu 2005-11-09 07:00:46 +00:00
Yann Leboulanger 6213a1e586 typo 2005-11-08 14:32:14 +00:00
Nikos Kouremenos 58ae3ed63f typo. thx yann 2005-11-08 13:46:09 +00:00
Nikos Kouremenos 52a861afc2 fix syntax error 2005-11-08 13:43:23 +00:00
Nikos Kouremenos 0020731a36 catch IOError so no TB 2005-11-08 13:21:43 +00:00
Nikos Kouremenos 4034efa762 we now have avatars in roster. I default to 48x48 (gaim defaults to that too) u can change that to whatever you want via ACE and you can take avatars off via PREFS; defaulting to 32x32 is too small. njoy 2005-11-08 13:04:59 +00:00
Yann Leboulanger e422a1807d SRV now works (hopefully !)
we use a new Client instance for each try
fix a typo in the use of pydns
2005-11-07 14:04:18 +00:00
Nikos Kouremenos 1c9f70638d fix major tb 2005-11-07 13:26:22 +00:00
Nikos Kouremenos 974b893229 fix logic 2005-11-07 13:11:26 +00:00
Nikos Kouremenos 68ac516bce make dnspython work 2005-11-07 13:04:58 +00:00
Nikos Kouremenos 846e9881fb [gjc] color for status msg under roster is half between fg and bg color no matter the state (selected or not) 2005-11-07 10:50:40 +00:00
Nikos Kouremenos 7aa63e2fc5 remove print 2005-11-06 21:02:20 +00:00
Nikos Kouremenos 7ec7276797 better var names and add aprint for stian 2005-11-06 20:58:22 +00:00
Nikos Kouremenos 6202203856 add a fixme and print traceback 2005-11-06 20:29:08 +00:00
Yann Leboulanger 039eb20c0a forget password only when needed (when we don't save it ad connection failed) 2005-11-06 15:51:18 +00:00
Nikos Kouremenos ea11076a0e we now show status message under contact name in roster thanks to initial patch by Michał Sobiegraj. if you do not like that, go to prefs and uncheck it. dimgrey to become white when row is selected 2005-11-06 14:30:17 +00:00
Yann Leboulanger 5a0a33681a add missing arg 2005-11-06 10:42:29 +00:00
Yann Leboulanger 6d3fe8e459 hack in order to register our Event handler as soon as Dispatcher is pluged in 2005-11-06 10:12:22 +00:00
Yann Leboulanger 164973ff82 prevent to print chatstate = 'None' 2005-11-05 20:49:28 +00:00
Yann Leboulanger 969bd9fa0d fix bug in xmpppy about SASL with TLS 2005-11-05 15:23:33 +00:00
Nikos Kouremenos 8d26752f48 fix strings, add code for progressbar to work, fix a bit of ui 2005-11-05 11:28:19 +00:00
Yann Leboulanger e0b1dd77f8 at the end of the account creatio we don't need to enter the password if we entered it in the paramteres (even is save pass is not checked) 2005-11-05 11:21:41 +00:00
Yann Leboulanger febe8d4a1a correctly show the result of an account creation (success / fail) 2005-11-04 21:27:14 +00:00
Yann Leboulanger ca05945f63 prevent TB when vcard is buggy
new event: ACC_NOT_OK when account creation failed
2005-11-04 19:06:54 +00:00
Nikos Kouremenos f262486352 fix syntax error 2005-11-04 15:36:25 +00:00
Yann Leboulanger c0261e481a add some debug info 2005-11-04 14:42:56 +00:00
Yann Leboulanger e8069e56ad SRV records are now properly supported (swich to another SRV record when first one is not available) 2005-11-04 08:19:15 +00:00
Nikos Kouremenos 0696e75358 history order change: history is ordered as everything else latest is in the bottom 2005-11-03 21:31:04 +00:00
Nikos Kouremenos b9d4b51e1d fix invalid arguments call 2005-11-03 20:52:04 +00:00
Nikos Kouremenos 8b90191f60 fix untested code 2005-11-03 20:50:52 +00:00
Nikos Kouremenos 819bf2e7e3 do not traceback when contact has left and we ask bigger avatar (which calls this func) 2005-11-03 20:48:27 +00:00