answered
2014-10-20 13:27:06 +0200
Kontio 4995 ●58 ●54 ●63 moderator
There is a development command line tool available, which can do that and you need developer mode enabled to use it.
As with any developer tool, it does not guarantee that it suits your purpose, might change suddenly it's behaviour from one to an other release, not work as advertised and if you break it you have to keep both of the pieces! So before playing around, create a backup! And close all running applications. And you might loose an SMS or other msg which comes in just during executing the command! So you have been warned and use it on your own risk :)
[nemo@Jolla ~]$ commhistory-tool
Usage:
commhistory-tool listgroups
list [-t] [-p] [-group group-id] [local-uid] [remote-uid]
listcalls [{bycontact|bytime|bytype|byservice}]
add [-newgroup] [-group group-id] [-startTime yyyyMMdd:hh:mm] [-endTime yyyyMMdd:hh:mm] [{-sms|-mms}] [{-in|-out}] [-n number-of-messages] [-async] [-text message-text] local-uid remote-uid
addcall local-uid remote-uid {dialed|missed|received}
addVCard event-id filename label
addClass0
isread event-id {1|0}
isvideo event-id {1|0}
reportdelivery event-id {1|0}
setstatus event-id {unknown|sent|sending|delivered|temporarilyfailed|permanentlyfailed}
delete event-id
deletegroup group-id
deleteall [-groups] [-calls] [-reset]
markallcallsread
export [-group group-id] [-calls] [-groups] filename
import filename
import-json [-relativeDate yyMMdd] filename
When adding new events, the default count is 1.
When adding new events, the given local-ui is ignored, if -sms or -mms specified.
New events are of IM type and have random contents.
so with commhistory-tool deleteall
you can delete all call and sms/facebook/xmpp/googlechat/mms history. With -calls
you can limit it on calls and with -groups
you can limit it on sms/facebook/xmpp/googlechat/mms history.
In case commhistory-tool
is not available, you have to install the package libcommhistory-qt5-tools
.
I have posted a request for the text message option : https://together.jolla.com/question/22708/option-to-delete-all-texts-in-the-messaging-app/
BUT as far as I can see, you will have to delete them one by one
Mariusmssj ( 2014-10-19 19:04:43 +0200 )editJust wondering, why would you want to delete call history?
I find it wonderful that SailfishOS has such a long-back memory, as other devices keep jut a short list of recent calls or clear the list on boot. Especially as it does not hinder you at all, it doesn't make the device slower or whatever used to happen to olden devices.
juiceme ( 2014-10-19 23:08:42 +0200 )editI also created a request months ago , before the emails the block deletion of emails was added but obviouslyit wasnt acted on. I like to keep things tidy, and to get rid of unnecessary clutter.
human19 ( 2014-10-20 01:37:28 +0200 )edit