Philipp Hörist
c75c45bc8a
Add new Columns to Logs.db
2017-03-13 19:33:16 +01:00
Philipp Hörist
52657e7f18
Remove unicode conversion method for paths
...
its not needed in python3
- tempfile.gettempdir() returns always unicode
- os.environ.get() returns always unicode
we get what we put into:
- os.path.expanduser()
2017-01-06 20:03:43 +01:00
Philipp Hörist
ac4859fb87
Remove unused imports
2016-12-22 18:19:24 +01:00
tmolitor
065d08cebf
Honor profile given on commandline for plugin dir and history db and more.
...
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +02:00
Yann Leboulanger
1f19e8c43d
delete cache db when logs db doesn't exist. Anyway data will be wrong inside. Fixes #8133
2015-08-27 14:53:18 +02:00
Fedor Brunner
0a704d05d9
Defer the creation of XTLS until it's first time used.
...
This will make Gajim start a bit faster and more entropy can be
generated for key generation.
2014-04-15 14:01:55 +02:00
Yann Leboulanger
7d09c4d45b
don't try to create certificates if PyOpenSSL is not available
2014-03-30 11:45:29 +02:00
Denis Fomin
4b33634a0b
Copyright 2013>2014
2014-01-02 12:33:54 +04:00
Yann Leboulanger
9c8c1de03f
update my copyright
2013-04-05 21:35:39 +02:00
Yann Leboulanger
912f0e921d
fix imports and many py3 changements
2013-01-02 13:54:02 +01:00
Yann Leboulanger
d27591076f
fix exception handling
2013-01-01 23:18:36 +01:00
Yann Leboulanger
069bddbbcb
remove call to unicode()
2013-01-01 21:06:16 +01:00
Yann Leboulanger
414e349345
python uses unicode internally
2013-01-01 19:44:25 +01:00
Yann Leboulanger
e71188a6fa
print -> print()
2013-01-01 19:36:56 +01:00
Yann Leboulanger
0c36f50196
merge from trunk
2012-04-12 22:07:30 +02:00
Yann Leboulanger
3a3f99d618
upgrade copyright
2012-01-11 22:20:34 +01:00
Yann Leboulanger
b47248f09d
merge from trunk
2011-06-20 23:03:06 +02:00
Yann Leboulanger
6867d3cc98
use shutil.move instead of os.rename to move files. Fixes #6770
2011-01-23 11:31:29 +01:00
Yann Leboulanger
a3863703f0
merge from trunk
2010-08-16 17:32:23 +02:00
Yann Leboulanger
b6d746115d
handle cert path more commonly
2010-08-11 08:46:53 +02:00
Zhenchao Li
08c854aefa
put local certificates in ~/.config/gajim/ , accept session once key exchange completes
2010-08-11 00:50:14 +08:00
Zhenchao Li
42f6580d1d
move cert directory to ~/.local/share/gajim/certs
2010-08-10 21:10:45 +08:00
Zhenchao Li
048d875b3b
fix bug, os.path.exist -> os.path.exists. Define certificate path
2010-08-08 22:04:50 +08:00
Zhenchao Li
e810727002
create certs path if it does not exist
2010-08-08 21:55:32 +08:00
Yann Leboulanger
796213c9cb
merge with trunk
2010-07-19 19:53:29 +02:00
Yann Leboulanger
337b09d389
create ~/.config and ~/.cache folder if they don't exist
2010-07-10 11:03:46 +02:00
Éric Araujo
9b5ee1e13b
convert tabs to spaces in source code thanks to reindent.py
...
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger
2be53c4aac
update my copyright to 2010
2010-03-11 16:52:36 +01:00
Yann Leboulanger
c9f31ec966
fix some function call under windows
2010-02-26 18:54:42 +01:00
Yann Leboulanger
fa05d88b2b
merge from default branch
2010-02-08 22:25:41 +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
8455e779cb
move files from ~/.gajim to XDG folders
2010-02-05 20:13:49 +01:00
Yann Leboulanger
3e777ea8f1
use and create files in folders using XDG standards. Fixes #2149
2010-02-04 20:08:30 +01:00
Yann Leboulanger
46b50f48a1
split logs.db into logs.db and cache.db. Fixes #2845
2010-01-29 11:25:06 +01:00
Yann Leboulanger
3a76966c14
merge from default branch
2010-01-19 16:37:14 +01:00
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
Mateusz Biliński
70731dbab7
Merged default branch into plugin-system branch.
2009-11-14 21:15:27 +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
Mateusz Biliński
018bda5a5f
Merged default branch with plugin-system branch. Not all elements are fully
...
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +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