about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
| * db: make id autoincrementMichael Vetter2020-04-061-1/+1
| |
| * db: fix inserting null in databaseMichael Vetter2020-04-061-1/+1
| |
| * db: log replace idMichael Vetter2020-04-061-3/+3
| |
| * db: use goto in error caseMichael Vetter2020-04-061-24/+13
| |
| * db: add db versionMichael Vetter2020-04-061-1/+25
| | | | | | | | so we can later migrate.
| * db: add database unit test stubMichael Vetter2020-04-062-0/+32
| |
| * db: move includesMichael Vetter2020-04-063-7/+8
| |
| * db: guard against no DBMichael Vetter2020-04-061-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 accountMichael Vetter2020-04-067-25/+47
| |
| * Add sqlite to CI dependenciesMichael Vetter2020-04-066-3/+9
| |
| * database: dont log muc pmsMichael Vetter2020-04-061-2/+0
| |
| * database: log stanza_id and whether it is a muc messageMichael Vetter2020-04-063-13/+13
| |
| * Add timestamp for incoming messages if none is setMichael Vetter2020-04-061-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 messagesMichael Vetter2020-04-063-0/+40
| | | | | | | | First trial. Not covering all cases yet.
| * database: Define chatlog database locationMichael Vetter2020-04-063-6/+29
| |
| * database: create tableMichael Vetter2020-04-061-2/+13
| |
| * Start SQLite db moduleMichael Vetter2020-04-065-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/memleaksMichael Vetter2020-04-062-1/+2
|\ | | | | Fix few memory leaks
| * Fix multiple memory leaks related to rosterwin_roster()Dmitry Podgorny2020-04-061-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 Podgorny2020-04-061-1/+1
|/
* Merge pull request #1298 from profanity-im/memleaksMichael Vetter2020-04-052-0/+2
|\ | | | | Fix few memory leaks
| * Fix memory leak in stanza_attach_correction()Dmitry Podgorny2020-04-051-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 Podgorny2020-04-051-0/+1
|/
* readme: add repos and urlsMichael Vetter2020-04-051-2/+2
|
* Add blog to readmeMichael Vetter2020-04-051-0/+2
| | | | | Many people seem to miss because they check only github and not the website.
* Dont have account otr setting if built without otrMichael Vetter2020-04-031-0/+2
|
* Merge pull request #1297 from profanity-im/memleak-mucwinMichael Vetter2020-04-031-0/+2
|\ | | | | Fixed memory leak in ProfMucWin
| * Fixed memory leak in ProfMucWinDmitry Podgorny2020-04-031-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 supportMichael Vetter2020-04-031-0/+16
| |
* | Dont have pgp autocompletion if build without pgp supportMichael Vetter2020-04-031-2/+16
| |
* | Dont even create OMEMO ac vars if we build without supportMichael Vetter2020-04-031-0/+10
| |
* | Merge branch 'master' of github.com:profanity-im/profanityMichael Vetter2020-04-021-1/+12
|\|
| * Merge pull request #1296 from wstrm/ci-without-coreutilsMichael Vetter2020-04-011-1/+12
| |\ | | | | | | Fallback for nproc for systems without GNU coreutils
| | * Fallback for nproc for systems without GNU coreutilsWilliam Wennerström2020-04-011-1/+12
| |/
* | Only have OMEMO autocompletion if we build with OEMO supportMichael Vetter2020-04-021-2/+6
| |
* | Fix omemo autocompletion mitakeMichael Vetter2020-04-021-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-dockerMichael Vetter2020-03-303-7/+10
|\ | | | | Use latest Docker in CI
| * Use latest Docker in CIWilliam Wennerström2020-03-303-7/+10
|/ | | | | | Force a Docker upgrade for all Linux runners. Fixes: #1294
* thanks travis..Michael Vetter2020-03-302-3/+5
| | | | Regards https://github.com/profanity-im/profanity/issues/1294
* travis: use bionicMichael Vetter2020-03-301-0/+1
|
* Next travis tryMichael Vetter2020-03-301-1/+1
| | | | https://github.com/profanity-im/profanity/issues/1294
* Another try at dockerMichael Vetter2020-03-301-1/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/1294
* Run docker in privileged modeMichael Vetter2020-03-301-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 testMichael Vetter2020-03-301-1/+1
|
* Test oS TW 20200324Michael Vetter2020-03-301-1/+1
| | | | | Tests fail in TW image. Doesn't seem our fault. Let's try to find out since when.
* Remove 'use' from titlebar autocompletionMichael Vetter2020-03-291-1/+0
| | | | This was forgotten in f13168005512fe4219741d9daf83681dd9ed3d63.
* Merge pull request #1292 from profanity-im/memleak-issue1279Michael Vetter2020-03-291-0/+2
|\ | | | | Fix memory leak of presence object
| * Fix memory leak of presence objectDmitry Podgorny2020-02-231-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | The memory leak happens when a presence is received for a MUC room. The JID is not present in the roster, so updating its status is ignored. We have to free resource in this case, because it has no owner and is lost otherwise. ==25736== 47 (32 direct, 15 indirect) bytes in 1 blocks are definitely lost in loss record 1,625 of 3,399 ==25736== at 0x4A330FF: malloc (vg_replace_malloc.c:309) ==25736== by 0x13A962: resource_new (resource.c:47) ==25736== by 0x145501: _available_handler (presence.c:665) ==25736== by 0x145501: _presence_handler (presence.c:399) ==25736== by 0x145501: _presence_handler (presence.c:358) ==25736== by 0x80D5F34: handler_fire_stanza (in /usr/lib64/libstrophe.so.0.0.0) ==25736== by 0x80D2B49: _handle_stream_stanza (in /usr/lib64/libstrophe.so.0.0.0) ==25736== by 0x80E15CE: _end_element (in /usr/lib64/libstrophe.so.0.0.0) ==25736== by 0x843EE9B: doContent (in /usr/lib64/libexpat.so.1.6.10) ==25736== by 0x843F94B: contentProcessor (in /usr/lib64/libexpat.so.1.6.10) ==25736== by 0x8441E77: XML_ParseBuffer (in /usr/lib64/libexpat.so.1.6.10) ==25736== by 0x80D586B: xmpp_run_once (in /usr/lib64/libstrophe.so.0.0.0) ==25736== by 0x13E07E: connection_check_events (connection.c:119) ==25736== by 0x13869C: prof_run (profanity.c:129) Fixes #1279.
* Fix edit mistakeMichael Vetter2020-03-271-1/+1
|
* Upgrade examplesMichael Vetter2020-03-261-39/+39
|