Commit graph

203 commits

Author SHA1 Message Date
Yann Leboulanger
145db1a107 save jid_id in unread_messages table too to increase speed (it was definitively too slow) 2006-04-11 11:28:36 +00:00
Nikos Kouremenos
5fcf9dca06 fix um again; fix coding standrads (crazy tabbing, bad spacing before comma) 2006-04-10 23:18:28 +00:00
Nikos Kouremenos
58f7a20e91 because we also limit and offset 2006-04-10 23:07:25 +00:00
Nikos Kouremenos
86326d849d get_um_for_contact => get_unread_msgs_for_jid because um is too vague and for_contact lies about expecting contact instance 2006-04-10 23:06:11 +00:00
Dimitur Kirov
94b194966f show unread messages on roster load 2006-04-10 22:36:55 +00:00
Dimitur Kirov
97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger
eb8cc5b7ea show correctly error message and log them in DB. fixes #1802 2006-04-10 14:00:04 +00:00
Nikos Kouremenos
47a8ddccd5 make sure that when we log, msg is not None 2006-04-09 19:46:11 +00:00
Nikos Kouremenos
645af4e7b7 show nickname/subj cols only when needed 2006-04-09 19:08:57 +00:00
Yann Leboulanger
ac0f22887e fix GC logs: when we create a new room, we call get_last_date_that_has_logs(), which call get_jid_jid, which create a new id for the room, but with type = JID_NORMAL_TYPE instead of JID_ROOM_TYPE. It's now fixed 2006-03-24 18:46:48 +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
Nikos Kouremenos
c9ef415ecc fill search results listview; todo: operate on results 2006-02-06 20:34:06 +00:00
Nikos Kouremenos
65c8646e2e spaces and stuff 2006-02-02 23:44:09 +00:00
Nikos Kouremenos
7425e3f073 fix it correctly 2005-12-26 18:34:02 +00:00
Nikos Kouremenos
815e07771b prevent a tb 2005-12-26 18:23:57 +00:00
Nikos Kouremenos
45b1493471 fix so we log muc messages [was broken only in svn] 2005-12-26 14:15:17 +00:00
Yann Leboulanger
ebccabf5da [Jim] faster version of do_possible_mark_for_days_in_this_month() 2005-12-21 10:54:41 +00:00
Yann Leboulanger
52d881c972 remove the check of line_already_in_db for gc_message that make gajim slow when joining a room 2005-12-14 18:23:40 +00:00
Nikos Kouremenos
b21424e1fa ask kind which is always 1byte 2005-12-14 14:12:38 +00:00
Yann Leboulanger
8c77ec6433 SLELCT log_line_id instead of message when looking if log line is already in DB, so it's faster 2005-12-14 12:41:32 +00:00
Yann Leboulanger
f77d28407a [nkour] don't logger groupchat messages that are older that now and already in logs 2005-12-13 07:39:20 +00:00
Yann Leboulanger
612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger
cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Nikos Kouremenos
2b86fc98da init_var ==> init_vars 2005-12-08 09:46:59 +00:00
Yann Leboulanger
34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger
5cf9141777 init logger variables after migration 2005-12-07 20:20:48 +00:00
Yann Leboulanger
d3a6163729 no need of global vars, prefer self.var 2005-12-05 17:22:50 +00:00
Nikos Kouremenos
f694ff70e1 try to fix a db locked that sometimes happens 2005-12-05 13:56:02 +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
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
28fe6a06d3 less columns in history. TODO: fill name for not groupchat 2005-11-30 17:30:58 +00:00
Nikos Kouremenos
164f45ecf4 remove a wrong comment; enrich a docstring 2005-11-30 14:16:26 +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
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
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
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