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
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
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
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
4db9685849
add mrim transport icons. Fixes #4078
2008-07-10 12:18:26 +00:00
Yann Leboulanger
a3827fe5d0
new XEP-0115 implementation (version 1.5)
2008-04-20 22:58:47 +00:00
Yann Leboulanger
fdf46e5430
one more typo
2008-04-16 19:52:47 +00:00
Yann Leboulanger
18c8500f9b
really fix SQL query
2008-04-16 19:41:36 +00:00
Yann Leboulanger
4bfd971415
fix sql query
2008-04-16 19:22:16 +00:00
Jean-Marie Traissard
df257baef5
Added helpers to commit in logger.py
...
Trying to ignore line for #3865
2008-04-16 13:46:44 +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
Jean-Marie Traissard
11e4945158
Use appropriate function to remove a line in unread_message table. See #3793 .
2008-03-24 00:45:53 +00:00
Yann Leboulanger
4e15d0f0d6
remove lines from unread_messages if messages are no more in logs table. Fixes #3793
2008-03-23 22:52:29 +00:00
Jean-Marie Traissard
88db86bb99
Make jid_is_from_pm works with not-full jid
2008-03-19 23:14:58 +00:00
Jean-Marie Traissard
624a16034e
Fix small TBs about last changeset that could happen if some history were manually removed.
2008-03-19 22:01:21 +00:00
Jean-Marie Traissard
f9ca40ff1b
- Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
...
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard
d32e1ae0ed
Fix another place where database could be malformed, using Asterix work in [9390]. Fixes #3342 .
2008-03-17 19:30:38 +00:00
Yann Leboulanger
0d427eff3b
Warn user when database is corrupted and unreadable. Fixes #3761
2008-03-17 07:22:43 +00:00
Yann Leboulanger
323c50ec44
coding standards
2008-03-13 09:07:58 +00:00
Yann Leboulanger
cc1c4457c3
don't lower jids in DB. They are already stringprep'ed. Fixes #3766
2008-03-13 09:04:43 +00:00
Yann Leboulanger
605caae2b8
My name has changed
2007-10-22 11:33:50 +00:00