Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | db: log outgoing message in one case | Michael Vetter | 2020-04-06 | 3 | -11/+46 | |
| | | | | | | | | Not all cases covered yet. | |||||
| * | db: add dedicated chat, muc, muc pm logging functions | Michael Vetter | 2020-04-06 | 3 | -9/+30 | |
| | | ||||||
| * | Rename PROF_MSG_ENC_PLAIN to PROF_MSG_ENC_NONE | Michael Vetter | 2020-04-06 | 6 | -23/+23 | |
| | | ||||||
| * | db: insert message type | Michael Vetter | 2020-04-06 | 3 | -11/+22 | |
| | | ||||||
| * | 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: add database unit test stub | Michael Vetter | 2020-04-06 | 2 | -0/+32 | |
| | | ||||||
| * | db: move includes | Michael Vetter | 2020-04-06 | 3 | -7/+8 | |
| | | ||||||
| * | 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 | 7 | -25/+47 | |
| | | ||||||
| * | Add sqlite to CI dependencies | Michael Vetter | 2020-04-06 | 6 | -3/+9 | |
| | | ||||||
| * | database: dont log muc pms | Michael Vetter | 2020-04-06 | 1 | -2/+0 | |
| | | ||||||
| * | database: log stanza_id and whether it is a muc message | Michael Vetter | 2020-04-06 | 3 | -13/+13 | |
| | | ||||||
| * | Add timestamp for incoming messages if none is set | Michael Vetter | 2020-04-06 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | Timestamps are only set if a message is delayed. If none is set let's set it upon recaival so we don't have to set it when it gets displayed. This means we will also have it for logs etc in the ProfMessage. | |||||
| * | database: log incoming messages | Michael Vetter | 2020-04-06 | 3 | -0/+40 | |
| | | | | | | | | First trial. Not covering all cases yet. | |||||
| * | database: Define chatlog database location | Michael Vetter | 2020-04-06 | 3 | -6/+29 | |
| | | ||||||
| * | database: create table | Michael Vetter | 2020-04-06 | 1 | -2/+13 | |
| | | ||||||
| * | Start SQLite db module | Michael Vetter | 2020-04-06 | 5 | -3/+124 | |
|/ | | | | | | | | | | | | | | 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. | |||||
* | Merge pull request #1299 from profanity-im/memleaks | Michael Vetter | 2020-04-06 | 2 | -1/+2 | |
|\ | | | | | Fix few memory leaks | |||||
| * | Fix multiple memory leaks related to rosterwin_roster() | Dmitry Podgorny | 2020-04-06 | 1 | -0/+1 | |
| | | | | | | | | | | There are multiple paths which lead to rosterwin_roster(). The function doesn't free list returned by wins_get_private_chats(). | |||||
| * | Fix memory leak in cons_show_disco_info() | Dmitry Podgorny | 2020-04-06 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #1298 from profanity-im/memleaks | Michael Vetter | 2020-04-05 | 2 | -0/+2 | |
|\ | | | | | Fix few memory leaks | |||||
| * | Fix memory leak in stanza_attach_correction() | Dmitry Podgorny | 2020-04-05 | 1 | -0/+1 | |
| | | | | | | | | | | | | xmpp_stanza_add_child() takes own reference to the child stanza. Therefore we have to release our reference or the child is lost and not freed otherwise. | |||||
| * | Fix memory leak in _rosterwin_resources() | Dmitry Podgorny | 2020-04-05 | 1 | -0/+1 | |
|/ | ||||||
* | readme: add repos and urls | Michael Vetter | 2020-04-05 | 1 | -2/+2 | |
| | ||||||
* | Add blog to readme | Michael Vetter | 2020-04-05 | 1 | -0/+2 | |
| | | | | | Many people seem to miss because they check only github and not the website. | |||||
* | Dont have account otr setting if built without otr | Michael Vetter | 2020-04-03 | 1 | -0/+2 | |
| | ||||||
* | Merge pull request #1297 from profanity-im/memleak-mucwin | Michael Vetter | 2020-04-03 | 1 | -0/+2 | |
|\ | | | | | Fixed memory leak in ProfMucWin | |||||
| * | Fixed memory leak in ProfMucWin | Dmitry Podgorny | 2020-04-03 | 1 | -0/+2 | |
| | | | | | | | | | | Profanity remembers last message and its id for the message correction feature. We must free them in window destructor. | |||||
* | | Dont have otr autocompletion if build without otr support | Michael Vetter | 2020-04-03 | 1 | -0/+16 | |
| | | ||||||
* | | Dont have pgp autocompletion if build without pgp support | Michael Vetter | 2020-04-03 | 1 | -2/+16 | |
| | | ||||||
* | | Dont even create OMEMO ac vars if we build without support | Michael Vetter | 2020-04-03 | 1 | -0/+10 | |
| | | ||||||
* | | Merge branch 'master' of github.com:profanity-im/profanity | Michael Vetter | 2020-04-02 | 1 | -1/+12 | |
|\| | ||||||
| * | Merge pull request #1296 from wstrm/ci-without-coreutils | Michael Vetter | 2020-04-01 | 1 | -1/+12 | |
| |\ | | | | | | | Fallback for nproc for systems without GNU coreutils | |||||
| | * | Fallback for nproc for systems without GNU coreutils | William Wennerström | 2020-04-01 | 1 | -1/+12 | |
| |/ | ||||||
* | | Only have OMEMO autocompletion if we build with OEMO support | Michael Vetter | 2020-04-02 | 1 | -2/+6 | |
| | | ||||||
* | | Fix omemo autocompletion mitake | Michael Vetter | 2020-04-02 | 1 | -2/+0 | |
|/ | | | | | Don't return too early. We still need to check for regular omemo autocompletion (omemo_ac). | |||||
* | Merge pull request #1295 from wstrm/upgrade-docker | Michael Vetter | 2020-03-30 | 3 | -7/+10 | |
|\ | | | | | Use latest Docker in CI | |||||
| * | Use latest Docker in CI | William Wennerström | 2020-03-30 | 3 | -7/+10 | |
|/ | | | | | | Force a Docker upgrade for all Linux runners. Fixes: #1294 | |||||
* | thanks travis.. | Michael Vetter | 2020-03-30 | 2 | -3/+5 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1294 | |||||
* | travis: use bionic | Michael Vetter | 2020-03-30 | 1 | -0/+1 | |
| | ||||||
* | Next travis try | Michael Vetter | 2020-03-30 | 1 | -1/+1 | |
| | | | | https://github.com/profanity-im/profanity/issues/1294 | |||||
* | Another try at docker | Michael Vetter | 2020-03-30 | 1 | -1/+1 | |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1294 | |||||
* | Run docker in privileged mode | Michael Vetter | 2020-03-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | From https://docs.docker.com/engine/reference/run/: ``` When the operator executes docker run --privileged, Docker will enable access to all devices on the host as well as set some configuration in AppArmor or SELinux to allow the container nearly all the same access to the host as processes running outside containers on the host. ``` Regards https://github.com/profanity-im/profanity/issues/1294 | |||||
* | os TW 20200325 test | Michael Vetter | 2020-03-30 | 1 | -1/+1 | |
| | ||||||
* | Test oS TW 20200324 | Michael Vetter | 2020-03-30 | 1 | -1/+1 | |
| | | | | | Tests fail in TW image. Doesn't seem our fault. Let's try to find out since when. |