Commit graph

205 commits

Author SHA1 Message Date
Yann Leboulanger
cd92ce9933 cache jabber servers too in trnasports_cache table so that they are not considered as transports. Fixes #7360 2013-06-02 21:02:33 +02:00
Yann Leboulanger
b779a1abf5 update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger
134d55b285 don't commit SQL request too fast to improve performences. Fixes #6905 2012-04-03 19:38:15 +02:00
Yann Leboulanger
3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Denis Fomin
783cf55ba7 optimize history search. Fixes #6997 2011-12-18 21:28:47 +04:00
Yann Leboulanger
23327c834d use prepared statements in all SQL queries that contains jids to prevent SQL injection. Fixes #7034 2011-11-08 22:00:52 +01:00
Yann Leboulanger
c63b53f0cb don't loose in logs MUC messages arriving in the same second. Fixes #6860 2011-09-22 11:25:02 +02:00
Yann Leboulanger
e942d8bcd5 fix var name 2011-08-25 00:03:03 +02:00
Yann Leboulanger
e4ff7c6ced use NEC to handle messages / gc_messages 2010-10-18 22:05:41 +02:00
Yann Leboulanger
ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger
1d0ed41d15 improve connection time. Fixes #5764 2010-07-22 20:56:50 +02:00
Yann Leboulanger
2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +02:00
Yann Leboulanger
2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo
0408b35cfb convert tabs to spaces in source code thanks to reindent.py
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Éric Araujo
fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger
46b50f48a1 split logs.db into logs.db and cache.db. Fixes #2845 2010-01-29 11:25:06 +01:00
Anaël Verrier
5b9582bf01 Removed a change from the previous commit because I would not have done it. I need sleep. 2010-01-03 01:57:44 +01:00
Anaël Verrier
5e744a3e8e forgot to remove an useless line in the previous commit... 2010-01-03 01:52:40 +01:00
Yann Leboulanger
3f4f07d326 correctly escape msgs when we search in database 2009-12-03 18:59:10 +01:00
Yann Leboulanger
66fdb1490d don't try to import pysqlite2, we depend on sqlite3 2009-11-30 16:36:47 +01:00
Alexander Cherniuk
6bf2246de5 A big portion of doc-string refactoring 2009-11-26 13:58:12 +02:00
Yann Leboulanger
d8405f6e9f prevent to merge several times the same groupchat message. We cannot differentiate pm and gc messages when we only store <body>. So we need to look in both to know if we already have it in logs 2009-11-25 19:53:17 +01:00
Yann Leboulanger
623a51d53f fix bug when merging server logs of MUC conversations 2009-11-15 15:37:41 +01:00
Yann Leboulanger
72420b0e73 write code to synchronise server logs from archiving with local DB 2009-11-15 11:33:05 +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
4723194bca show message subject in chat history. Fixes #5185 2009-10-05 14:25:47 +02:00
Yann Leboulanger
da398aa418 coding standards 2009-09-29 16:31:36 +02:00
Yann Leboulanger
6390fe9872 fix error when inserting unread message 2009-08-30 23:36:36 +02: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
Anaël Verrier
88065eb34f * fixed some problems with SQL escapement for roster versioning. For example when we have double quote or another character like this. Fixes #5159
* some code refactoring for roster versioning in common/logger.py
* added a docstring and some comments in common/logger.py
2009-07-13 15:21:35 +02:00
Anaël Verrier
5e2d6efd0b * fixed a bug when we remove a contact from our contact list (before we did not remove contact from roster_group table) 2009-07-07 15:14:56 +02:00
Anaël Verrier
ff2be61483 * clean roster tables when we remove an account 2009-06-28 20:43:18 +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
d347b79c38 * added a method to load roster from DB
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +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
Yann Leboulanger
84b65054b1 [premysl.vyhnal] optimize get_days_with_logs(). Fixes #4964 2009-04-13 09:05:22 +00:00
Yann Leboulanger
8d18e48af4 fix finding room jids in database. Fixes #4576, #4578 2008-12-12 17:51:22 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger
eed5dc4e72 [thorstenp] remove useless semicolons 2008-12-02 13:58:54 +00:00
Yann Leboulanger
540fba2aaa prevent some disk write error and show error dialog. 2008-11-06 08:10:36 +00:00
Yann Leboulanger
06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger
f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger
98255a0671 [thorstenp] remove useless ; 2008-10-20 15:16:01 +00:00
Yann Leboulanger
158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger
567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger
8d3c1c59ad decode string before splitting it. 2008-09-08 18:36:15 +00:00
Yann Leboulanger
3b4875e38e [avm] always encode data in utf-8 in database. see #4254 2008-09-08 17:37:44 +00:00
Yann Leboulanger
a4bab043b9 [avm] Gzip don't support unicode strings. Fixes #4254 2008-09-08 16:31:02 +00:00