Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | db: log encryption type | Michael Vetter | 2020-04-06 | 1 | -2/+19 | |
| | ||||||
* | db: log "to" resource | Michael Vetter | 2020-04-06 | 1 | -8/+8 | |
| | ||||||
* | db: log "from" resource | Michael Vetter | 2020-04-06 | 1 | -6/+7 | |
| | ||||||
* | db: log all incoming and outgoing messages | Michael Vetter | 2020-04-06 | 1 | -18/+33 | |
| | ||||||
* | db: log outgoing message in one case | Michael Vetter | 2020-04-06 | 1 | -11/+43 | |
| | | | | Not all cases covered yet. | |||||
* | db: add dedicated chat, muc, muc pm logging functions | Michael Vetter | 2020-04-06 | 1 | -1/+20 | |
| | ||||||
* | db: insert message type | Michael Vetter | 2020-04-06 | 1 | -4/+14 | |
| | ||||||
* | db: add more needed fields | Michael Vetter | 2020-04-06 | 1 | -7/+20 | |
| | | | | DB fields should be complete now. | |||||
* | db: make id autoincrement | Michael Vetter | 2020-04-06 | 1 | -1/+1 | |
| | ||||||
* | db: fix inserting null in database | Michael Vetter | 2020-04-06 | 1 | -1/+1 | |
| | ||||||
* | db: log replace id | Michael Vetter | 2020-04-06 | 1 | -3/+3 | |
| | ||||||
* | db: use goto in error case | Michael Vetter | 2020-04-06 | 1 | -24/+13 | |
| | ||||||
* | db: add db version | Michael Vetter | 2020-04-06 | 1 | -1/+25 | |
| | | | | so we can later migrate. | |||||
* | db: move includes | Michael Vetter | 2020-04-06 | 1 | -4/+1 | |
| | ||||||
* | db: guard against no DB | Michael Vetter | 2020-04-06 | 1 | -2/+10 | |
| | | | | | | | | Maybe if we only use `/connect` we dont have ProfAccount. In that case we won't log anything. Only if a account is used we log. If this is the case or the init of the db didn't work we still want profanity to run but wont log anything to the db. | |||||
* | db: Have one database per account | Michael Vetter | 2020-04-06 | 1 | -4/+41 | |
| | ||||||
* | database: log stanza_id and whether it is a muc message | Michael Vetter | 2020-04-06 | 1 | -4/+4 | |
| | ||||||
* | database: log incoming messages | Michael Vetter | 2020-04-06 | 1 | -0/+30 | |
| | | | | First trial. Not covering all cases yet. | |||||
* | database: Define chatlog database location | Michael Vetter | 2020-04-06 | 1 | -6/+11 | |
| | ||||||
* | database: create table | Michael Vetter | 2020-04-06 | 1 | -2/+13 | |
| | ||||||
* | Start SQLite db module | Michael Vetter | 2020-04-06 | 1 | -0/+70 | |
I plan to save all messages in an SQLite db. For retrieving information it's nicer than having it in a text file. We will have more info in there and easier to parse it. This will also be good for later MAM (https://github.com/profanity-im/profanity/issues/660). Regular text files will still be an option for users so that they can easily grep them and do whatever they like. Internally Profanity will only use the SQLite db. |