changeset 4a5f5f99d5db in /home/hg/repos/gajim
author: Yann Leboulanger <asterix(a)lagaule.org>
branches: gajim_0.16
details:http://hg.gajim.org/gajim?cmd=changeset;node=4a5f5f99d5db
description: delete cache db when logs db doesn't exist. Anyway data will be wrong inside. Fixes #8133
diffstat:
src/common/check_paths.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r fccc624c66cb -r 4a5f5f99d5db src/common/check_paths.py
--- a/src/common/check_paths.py Wed Aug 26 22:01:35 2015 +0200
+++ b/src/common/check_paths.py Thu Aug 27 14:53:18 2015 +0200
@@ -330,6 +330,8 @@
check_and_possibly_move_config()
if not os.path.exists(LOG_DB_PATH):
+ if os.path.exists(CACHE_DB_PATH):
+ os.remove(CACHE_DB_PATH)
create_log_db()
gajim.logger.init_vars()
elif os.path.isdir(LOG_DB_PATH):
@@ -344,7 +346,7 @@
print _('%s is a directory but should be a file') % CACHE_DB_PATH
print _('Gajim will now exit')
sys.exit()
-
+
if not os.path.exists(XTLS_CERTS):
create_path(XTLS_CERTS)
if not os.path.exists(LOCAL_XTLS_CERTS):
changeset fccc624c66cb in /home/hg/repos/gajim
author: Yann Leboulanger <asterix(a)lagaule.org>
branches: gajim_0.16
details:http://hg.gajim.org/gajim?cmd=changeset;node=fccc624c66cb
description: update links and copyright in manpages. Fixes #8136, #7719
diffstat:
data/gajim-history-manager.1 | 16 ++++++++--------
data/gajim-remote.1 | 14 +++++++-------
data/gajim.1 | 32 ++++++++++++++++----------------
3 files changed, 31 insertions(+), 31 deletions(-)
diffs (206 lines):
diff -r 7781ffa75dea -r fccc624c66cb data/gajim-history-manager.1
--- a/data/gajim-history-manager.1 Thu Aug 20 21:53:59 2015 +0200
+++ b/data/gajim-history-manager.1 Wed Aug 26 22:01:35 2015 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM-HISTORY-MANAGER 1 URM
.Os UNIX
.Sh NAME
@@ -27,7 +27,7 @@
.El
.Sh FILES
.Bl -tag -width Ds
-.It ~/.local/share/gajim/logs.db
+.It $XDG_DATA_DIR/gajim/logs.db
The history database log file used when
.Op Fl c
is not specified.
@@ -46,7 +46,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 only.
@@ -56,7 +56,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -65,19 +65,19 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at https://trac.gajim.org/
diff -r 7781ffa75dea -r fccc624c66cb data/gajim-remote.1
--- a/data/gajim-remote.1 Thu Aug 20 21:53:59 2015 +0200
+++ b/data/gajim-remote.1 Wed Aug 26 22:01:35 2015 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM-REMOTE 1 URM
.Os UNIX
.Sh NAME
@@ -99,7 +99,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 only.
@@ -109,7 +109,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -118,19 +118,19 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at https://trac.gajim.org/
diff -r 7781ffa75dea -r fccc624c66cb data/gajim.1
--- a/data/gajim.1 Thu Aug 20 21:53:59 2015 +0200
+++ b/data/gajim.1 Wed Aug 26 22:01:35 2015 +0200
@@ -1,4 +1,4 @@
-.Dd August 11, 2013
+.Dd August 26, 2015
.Dt GAJIM 1 URM
.Os UNIX
.Sh NAME
@@ -26,7 +26,7 @@
technologies for instant messaging, presence, multi-party chat, voice
and video calls, collaboration, lightweight middleware, content
syndication, and generalized routing of XML data. For more information
-on the XMPP protocol see <http://xmpp.org/about-xmpp/>.
+on the XMPP protocol see <https://xmpp.org/about-xmpp/>.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl h Fl Fl help
@@ -60,19 +60,19 @@
.El
.Sh FILES
.Bl -tag -width Ds
-.It ~/.cache/gajim/cache.db
+.It $XDG_CACHE_DIR/gajim/cache.db
Cache database file of transports, caps, roster entry, and roster group.
-.It ~/.cache/gajim/avatars/
+.It $XDG_CACHE_DIR/gajim/avatars/
Cache directory of avatars.
-.It ~/.cache/gajim/vcards/
+.It $XDG_CACHE_DIR/gajim/vcards/
Cache directory of vCards (virtual cards).
-.It ~/.config/gajim/
+.It $XDG_CONFIG_DIR/gajim/
The config-path used when
.Op Fl c
is not specified.
-.It ~/.local/share/gajim/certs/
+.It $XDG_DATA_DIR/gajim/certs/
Directory where certificates are stored.
-.It ~/.local/share/gajim/logs.db
+.It $XDG_DATA_DIR/gajim/logs.db
The history database log file.
For more information on database logs see <https://trac.gajim.org/wiki/LogsDatabase>.
.El
@@ -90,7 +90,7 @@
.Pa THANKS ,
for a complete list.
.Sh COPYRIGHT
-Copyright (C) 2003-2013 Gajim Team
+Copyright (C) 2003-2015 Gajim Team
.Pp
.Nm
is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 only.
@@ -100,7 +100,7 @@
.Pp
You should have received a copy of the GNU General Public License along with
.Nm .
-If not, see <http://www.gnu.org/licenses/>.
+If not, see <https://www.gnu.org/licenses/>.
.Sh FEEDBACK
You can report bugs or feature requests in our bug tracker at
.Em trac.gajim.org
@@ -109,26 +109,26 @@
mailing list; if you want to send us a patch, please do so in our bug tracker.
You can also find us in our chat room.
.Sh WWW
-http://www.gajim.org/
+https://www.gajim.org/
.Sh XMPP
You are welcome to join us at gajim(a)conference.gajim.org
.Sh MAILING LIST
Below are public mailing lists on lists.gajim.org
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo/gajim-devel
-http://lists.gajim.org/cgi-bin/listinfo/translators
+https://lists.gajim.org/cgi-bin/listinfo/gajim-devel
+https://lists.gajim.org/cgi-bin/listinfo/translators
.Ed
.Pp
More mailing lists at
.Bd -literal -offset indent
-http://lists.gajim.org/cgi-bin/listinfo
+https://lists.gajim.org/cgi-bin/listinfo
.Ed
.Sh BUGS
Please submit bugs at
.Bd -literal -offset indent
https://trac.gajim.org/
-http://trac-plugins.gajim.org/
-http://python-nbxmpp.gajim.org/
+https://trac-plugins.gajim.org/
+https://python-nbxmpp.gajim.org/
.Ed
.Sh SEE ALSO
.Xr gajim-remote 1