Switch the default use_log value to true

Since this is a privacy sensitive action, a short message is now
displayed on first run.
This commit is contained in:
Emmanuel Gil Peyrot 2018-08-13 22:04:42 +02:00
parent 40fc9246e5
commit 661fab8df0
4 changed files with 10 additions and 8 deletions

View file

@ -251,7 +251,7 @@ use_bookmarks_method =
# set to 'true' if you want to save logs of all the messages
# in files.
#use_log = false
#use_log = true
# The number of lines to preload in a chat buffer when it opens
# (the lines are preloaded from the log files)

View file

@ -907,10 +907,9 @@ Options related to logging.
use_log
**Default value:** ``false``
**Default value:** ``true``
Set to ``true`` if you want to save logs of all the messages
in files.
Set to ``false`` if you dont want to write any message to the disk.
Plugins
~~~~~~~

View file

@ -137,7 +137,7 @@ DEFAULT_CONFIG = {
'themes_dir': '',
'tmp_image_dir': '',
'use_bookmarks_method': '',
'use_log': False,
'use_log': True,
'use_remote_bookmarks': True,
'user_list_sort': 'desc',
'use_tab_nicks': True,

View file

@ -526,10 +526,13 @@ class Core:
if firstrun:
self.information(
'It seems that it is the first time you start poezio.\n'
'The online help is here http://doc.poez.io/\n'
'The online help is here https://doc.poez.io/\n\n'
'No room is joined by default, but you can join poezios'
' room (with /join poezio@muc.poez.io), where you can'
' ask for help or tell us how great it is.', 'Help')
' room (with \x19b/join poezio@muc.poez.io\x19o), where you can'
' ask for help or tell us how great it is.\n\n'
'Note that all of your discussions are currently logged'
' to the disk, you can prevent that with'
' \x19b/set use_log false\x19o', 'Help')
self.refresh_window()
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)