Commit graph

24 commits

Author SHA1 Message Date
Yann Leboulanger
aa25e739c6 decode string and not lists 2005-11-25 18:02:41 +00:00
Yann Leboulanger
1ea3f10a41 try to guess encoding when we add a new table and a new log line when we migrate 2005-11-25 16:58:49 +00:00
Yann Leboulanger
41d31cc31d fix path in win9x in migration script (we run it from script folder, logs are in src folder) 2005-11-25 15:58:20 +00:00
Yann Leboulanger
6c95b75631 migration tool doesn't produce invalid db with wrong filenames 2005-11-24 21:20:31 +00:00
Nikos Kouremenos
7ca18675c7 inform user about wiki page. give him to time to read the message and inform him he cancel and read wiki more carefully. start migration after 40 secs of first informative message 2005-11-24 13:27:09 +00:00
Nikos Kouremenos
0b3cece7a6 inform about not running gajim while migrating 2005-11-24 13:20:53 +00:00
shteef
381ce663bf Typo fix 2005-11-23 21:10:07 +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
Nikos Kouremenos
d319c8eedf update migration script to match the new api 2005-11-23 00:06:29 +00:00
Nikos Kouremenos
8fd42ee7d8 add uniq; fix name of index to be cooler, fix a typo in comment, and most importantly use lastrowid instead of asking max (eg. play a little less with db 2005-11-22 15:38:03 +00:00
Nikos Kouremenos
67bdcf983f typo 2005-11-22 14:52:37 +00:00
Nikos Kouremenos
f5dfa2c804 check if db is already there and fail nicely 2005-11-22 14:52:04 +00:00
Nikos Kouremenos
374bde0914 typo 2005-11-22 11:53:56 +00:00
Nikos Kouremenos
76b4181123 use os.path.join 2005-11-22 11:25:04 +00:00
Nikos Kouremenos
8beb2e0266 do not fail in windoz part 3 and last 2005-11-22 11:24:10 +00:00
Nikos Kouremenos
5989b495d1 do not fail in windoz part 2 2005-11-22 11:21:48 +00:00
Nikos Kouremenos
d8b732ad2a do not fail in windoz 2005-11-22 11:18:08 +00:00
Yann Leboulanger
db89101271 add some comments 2005-11-22 11:13:54 +00:00
Yann Leboulanger
a5f7c01911 prevent some TB when converting logs 2005-11-22 11:06:39 +00:00
Nikos Kouremenos
e78f26908c max is faster than count. thanks norman 2005-11-22 00:05:45 +00:00
Nikos Kouremenos
50af6160bf use global pattern. the pb is HD I/O not CPU but anyways 2005-11-21 23:47:22 +00:00
Nikos Kouremenos
801f8bd985 minor 2005-11-21 23:33:09 +00:00
Nikos Kouremenos
2c0d7cea12 make it executable 2005-11-21 23:30:39 +00:00
Nikos Kouremenos
011462eec7 make it a bit faster 2005-11-21 23:25:04 +00:00
Renamed from scripts/migrate_to_dot9_logs.py (Browse further)