nurupo / ProjectTox-Qt-GUI

A cross-platform front end for ProjectTox Core library, written in C++11 with use of Qt5
GNU General Public License v3.0
341 stars 116 forks source link

Logging #75

Open nurupo opened 10 years ago

nurupo commented 10 years ago

Add an option to log message and file history (maybe call history too, it's too distant to think about it yet).

The defaults for logging are debatable, but I think that:

Because it's a secure messenger, storing unencrypted logs is just not an option, and not having logs at all improves the overall security :)

Logging options should be added to already existing logging settings page. Note that there is some logging code commented out here and there.

Logs are to be stored in SQLite database. Messages will be loaded from log little by little as user scrolls Message Display widget up. The same applies for File Transfer widget, but when it is scrolled down. When deleting a friend, all logs regarding that friend should be deleted.

Schlumpf commented 10 years ago

I'm working on a new message handling/display. I will be model based. So this issue depends on this.

nurupo commented 10 years ago

So this issue depends on this.

this issue depends on this? Not sure why you said that https://github.com/nurupo/ProjectTox-Qt-GUI/issues/75 depends on https://github.com/nurupo/ProjectTox-Qt-GUI/issues/75, but okay.

Also, what did you try to say about the new message display?

Schlumpf commented 10 years ago

:D new try: The new message display will use a model for handling the messages. So this (https://github.com/nurupo/ProjectTox-Qt-GUI/issues/75) will depend on the new model of https://github.com/nurupo/ProjectTox-Qt-GUI/issues/62.

nurupo commented 10 years ago

Correct. And https://github.com/nurupo/ProjectTox-Qt-GUI/issues/68 should also be completed first for file transfer logging.