Commit graph

61 commits

Author SHA1 Message Date
Stephan Erb
d00a5f737c Create index on the logs table on time instead of on kind.
That way we can search through all logs in constant time instead of having to perform a full table scan.
2009-12-27 16:50:43 +01:00
Yann Leboulanger
66fdb1490d don't try to import pysqlite2, we depend on sqlite3 2009-11-30 16:36:47 +01:00
Stephan Erb
af3af5bec8 Remove caps which have not been seen for three months from the db.
Thanks Asterix for the initial version of this patch!
2009-11-11 23:14:51 +01:00
Yann Leboulanger
23dbb00d2d show only once unread messages at startup when we have twice the same contact in 2 accounts. Fixes #2921 2009-08-30 22:48:45 +02:00
Yann Leboulanger
278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Anaël Verrier
b3fbd59866 * added 'ask' support
* fixed a bug (when a contact does not have a name)
2009-06-27 20:54:49 +02:00
Anaël Verrier
0a3d26e5d4 * added another table to handle roster group
* we now handle roster push and roster reception
* changed version number in src/common/defs.py
2009-06-23 19:29:25 +02:00
Anaël Verrier
9133960fbc * added one table in logs.db to save roster
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger
8a70c5a679 no need of IF NOT EXISTS when creating the database 2009-05-27 09:50:12 +02:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
7701f29beb [thorstenp] fix undefined variables 2008-12-02 15:10:31 +00:00
Yann Leboulanger
06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger
dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +00:00
Julien Pivotto
de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto
8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js
8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Yann Leboulanger
a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Jean-Marie Traissard
2c4e901b8f Fix table creation typo.
Btw thanks elghinn for idea of this table :)
2008-04-15 02:05:08 +00:00
Jean-Marie Traissard
f32901d243 Create a new small table in DB to remember rooms last_history_line at next
launch. This is necessary because with a big history get_last_date_that_has_logs
can take about 5 seconds on first launch.
Created new gajim subversion.
2008-04-15 01:52:11 +00:00
Yann Leboulanger
605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger
22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger
c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Brendan Taylor
0ae43eab4e per-profile srs storage 2007-07-17 08:08:01 +00:00
Brendan Taylor
9d04cd0a82 a file for pickling retained secrets 2007-07-13 22:52:23 +00:00
Tomasz Melcer
6c1858224e caps: data stored and retrieved 2007-07-09 21:24:47 +00:00
Yann Leboulanger
47f9461584 [Jeff Bailes] improved english strings 2007-01-02 13:36:54 +00:00
Nikos Kouremenos
3535249ba1 py25 comes with pysqlite module in the stdlib 2006-10-11 22:31:51 +00:00
Nikos Kouremenos
e5c61095f9 migrate in the correct place 2006-10-07 10:19:25 +00:00
Nikos Kouremenos
5ba54a5811 IF NOT EXISTS missing 2006-10-07 10:12:53 +00:00
Nikos Kouremenos
a270813221 [patrys & me] logs db now uses indeces that makes the UI XP faster 2006-10-07 10:08:38 +00:00
Nikos Kouremenos
9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Dimitur Kirov
78863765e8 create transports_cache on first startup, fixes
#2223
2006-08-10 06:57:10 +00:00
Yann Leboulanger
bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov
70da8ae011 fix db creation 2006-04-19 08:53:27 +00:00
Yann Leboulanger
ad04559cbf try to create unread_messages table only once when we update config file. 2006-04-12 08:38:51 +00:00
Dimitur Kirov
a9199bf921 commit after each query 2006-04-11 11:52:42 +00:00
Yann Leboulanger
84f0307085 update unread_messages table for those who already have it 2006-04-11 11:31:16 +00:00
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
Dimitur Kirov
fbb2ab6a4c put executescript in try block 2006-04-11 08:16:22 +00:00
Yann Leboulanger
01f5effcef fall back to a working (but not optimal) table creation until better is done. see #1844 2006-04-11 07:29:43 +00:00
Nikos Kouremenos
213dcd32bb put back IF NOT as currently we always try to create and TB. first we wait for info in ticket. then if needed we ask db to list table and perhaps parse it or find a way to test table is there (rather than everything catching 2006-04-10 23:28:53 +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
Dimitur Kirov
e75425a660 IF NOT EXISTS is not present in some sqlite
versions
2006-04-10 23:13:33 +00:00
Dimitur Kirov
5c3b2ff2e8 temp disable assert_um_exists 2006-04-10 22:51:25 +00:00
Dimitur Kirov
97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +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