Commit graph

569 commits

Author SHA1 Message Date
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
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
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
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
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
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
Yann Leboulanger
01b8de5b0c also call _IqCB when we get registration result 2005-11-21 15:09:04 +00:00
Yann Leboulanger
6e593107e0 get_hostname_from_account can now return the srv_hostname 2005-11-20 13:27:37 +00:00
Yann Leboulanger
068e93194d [anonymous] catch exceptions in dnspython 2005-11-20 10:51:22 +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
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
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
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
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
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
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
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
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
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
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
de7f987211 fix typo 2005-11-03 20:41:35 +00:00
Yann Leboulanger
97ed14b16b remove our jid before we stringprep 2005-11-03 19:00:22 +00:00
Yann Leboulanger
f130ce29c0 we now stringprep jid and resource everywhere:
when we recieve a jid from server
when we enter a jid or resource in GUI
2005-11-03 14:46:56 +00:00
Yann Leboulanger
ff2eaa4a55 Gajim and gajim are not the same resource 2005-11-03 12:09:38 +00:00
Yann Leboulanger
66a7f4b07c resources are now checked case insensitive in connection.py with the one we already have 2005-11-03 09:21:12 +00:00
Yann Leboulanger
06ad619a58 when we get an iq, we check if we already have with another case 2005-11-02 22:08:31 +00:00
Yann Leboulanger
ce247d053f coding standards
self.node_to_dict always return a dict
2005-11-01 14:43:00 +00:00
Nikos Kouremenos
4466a7f6b2 isinstance(a, foo) is faster that type(a) == foo 2005-11-01 13:10:38 +00:00
Nikos Kouremenos
63bcfc3054 fix tbs 2005-11-01 13:05:51 +00:00
Nikos Kouremenos
b89c217e68 logic fix 2005-10-31 20:54:05 +00:00
Yann Leboulanger
9ea8a2d8e8 at startup use our cached vcard to get the sha
then ask the vcard, and resend a new presence only if avatar has changed
2005-10-31 20:51:45 +00:00
Yann Leboulanger
a8cb9d69ff we now save sha in stored vcard
we save the current sha in memory and we update it when we receive the vcard
we re-ask the vcard when we receive a presence with a new sha
2005-10-31 17:31:30 +00:00