about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1748 from nandesu-utils/fix/issue1742Michael Vetter2022-09-062-25/+40
|\ | | | | Fix https://github.com/profanity-im/profanity/issues/1742
| * support for formatting in avatar executablenandesu-utils2022-09-062-15/+25
| | | | | | | | | | | | in before it just used the input command line as it was but this fixes this by adding formatting using `format_call_external_argv` which is already used in `url open` executable.
| * refactored call_external codenandesu-utils2022-08-271-17/+22
|/ | | | | | | | | | | | | | | | unluckily here the code neglected the fact that glib will set an error to a location that was pointed by the error pointer if it is not null. but it was of an undefined value hence profanity crashed. now it is null as it must be. also spawn error is returned when glib could not spawn the task for some reason like the executable file does not exist but if the exit status was non-zero it neglected the exit error and tried to output a spawn error instead. now we check whether the process that we instantiated has exited successfully also now code uses `g_spawn_check_wait_status` which `g_spawn_check_exit_status` has been aliased to.
* Merge pull request #1747 from profanity-im/ci-testMichael Vetter2022-08-183-19/+15
|\ | | | | Re-enable Tumbleweed and MacOS ci
| * ci: fedora - remove python2Michael Vetter2022-08-181-2/+0
| |
| * ci: enable tumbleweedMichael Vetter2022-08-182-5/+3
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 5c5c45321976c9a859694afa781178c68d076ee2. And removes the old python(2) pull in. For some reason we get: `Package python3-embed was not found in the pkg-config search path.` with python38-devel but not with python310-devel. Let's bump it to that version.
| * ci: enable macos ciMichael Vetter2022-08-091-12/+12
|/ | | | This reverts commit d5bb93b9271578979dc6109b1007676fc5e8578a.
* Merge pull request #1746 from profanity-im/replay-queueMichael Vetter2022-08-081-3/+6
|\ | | | | fixup 11f52ad5474c7adb7f11df5b0c318597e4150312
| * fixup 11f52ad5474c7adb7f11df5b0c318597e4150312Steffen Jaeckel2022-08-081-3/+6
|/ | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1745 from profanity-im/replay-queueMichael Vetter2022-08-081-0/+25
|\ | | | | integrate XEP-0198 Stream-Management
| * integrate XEP-0198 Stream-ManagementSteffen Jaeckel2022-08-081-0/+25
| | | | | | | | | | | | | | | | | | * save SM state and send-queue entries on disconnect * restore SM state and send-queue entries on reconnect fixes #698 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | ci: disable macos until they have libstrophe 0.12.2Michael Vetter2022-08-081-12/+12
|/
* Require libstrophe 0.12.2Michael Vetter2022-08-081-1/+1
| | | | | 0.12.2 has some important fixes. Let's require it so users don't stumble upon bugs like https://github.com/profanity-im/profanity/issues/1743
* readme: remove bugbounty linkMichael Vetter2022-08-081-2/+1
| | | | Heard some unfavourable things about the website.
* Merge pull request #1744 from Zash/doap-xmlns-foafMichael Vetter2022-08-041-0/+1
|\ | | | | doap: fix missing foaf namespace prefix
| * doap: fix missing foaf namespace prefixKim Alvefur2022-08-041-0/+1
|/
* Merge pull request #1740 from profanity-im/fix/1738-avatar-segMichael Vetter2022-08-021-7/+15
|\ | | | | Check for error before trying to append it
| * common: dont use GError twiceMichael Vetter2022-08-021-7/+15
| | | | | | | | | | | | We need to use a new one or call `g_clear_error()`. Fix segfault in https://github.com/profanity-im/profanity/issues/1738
| * Check for error before trying to append itMichael Vetter2022-08-021-1/+1
|/ | | | Related to https://github.com/profanity-im/profanity/issues/1738
* Merge pull request #1736 from netboy3/fix/autoaway_logicMichael Vetter2022-07-291-4/+2
|\ | | | | Fix /autoaway command logic
| * Fix /autoaway command logicNetboy32022-07-281-4/+2
|/ | | | | | | | | | | | Two issues were fixed in the parser logic: * A call to cons_bad_cmd_usage() was placed at the end of the "time" parser section that blocked reachability to both "message" and "check" parser sections. This caused "/autoaway message ..." and "/autoaway check ..." to always fail with "Invalid usage". This issue was introduced in commit 3c1e4ba. * "/autoaway message xa" with no message argument returns message set to (null). This should be fixed the same way as "/autoaway message away" was fixed in commit 3c1e4ba.
* Merge pull request #1735 from profanity-im/feat/first-startMichael Vetter2022-07-052-1/+24
|\ | | | | Display a help message upon first start of Profanity
| * Display a help message upon first start of ProfanityMichael Vetter2022-07-052-1/+24
|/ | | | Explaining how to register/connect/set up an account.
* Ignore coding style change in git blameMichael Vetter2022-07-041-0/+10
| | | | | | | | | Learned about this option through: https://github.com/strophe/libstrophe/commit/2a81327ab045d197ac44c4e19f39c0357721137d Thanks to @nosnilmot `git blame --ignore-revs-file .git-blame-ignore-revs`
* Merge pull request #1734 from profanity-im/fix/1733Michael Vetter2022-07-044-0/+25
|\ | | | | Be more resilient when receiving empty messages
| * Exit *_incoming_msg functions when plain message is emptyMichael Vetter2022-07-043-0/+17
| | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1733
| * ox: handle empty message->plainMichael Vetter2022-07-041-0/+8
|/ | | | | | In case we dont have plain but have body, copy this (like in _sv_ev_incoming_pgp). In case we have neither, return.
* Let slashguard ignore quoted messagesMichael Vetter2022-07-041-1/+2
| | | | | | This let's us whole `/me` messages and other messages starting with `>`. Fix https://github.com/profanity-im/profanity/issues/1732
* Merge pull request #1731 from profanity-im/retrieve-enc-type-from-dbMichael Vetter2022-06-291-3/+21
|\ | | | | Retrieve enc type from db
| * database: remove commentMichael Vetter2022-06-291-1/+1
| |
| * database: retrieve encryption typeMichael Vetter2022-06-291-2/+20
| | | | | | | | | | When we get a message from the database, also retrieve the encryption type.
* | Merge pull request #1730 from profanity-im/fix/scrollingMichael Vetter2022-06-291-0/+4
|\ \ | |/ |/| Don't scroll if not needed
| * Don't scroll if not neededMichael Vetter2022-06-291-0/+4
|/ | | | | | | | | If we are in a window with a lot of text and press PAGE UP we scroll up and write [scrolled] in the titlebar. So far we also wrote [scrolled] in there even when actually nothing happened. Like when opening a new window (/msg someone) and there is no text inside.
* ox: add helper message in case signcrypt doesnt workMichael Vetter2022-06-291-0/+1
| | | | | Most likely they didnt trust/sign the key. Which is described in the profanity-ox-setup man page.
* Merge pull request #1729 from profanity-im/various-cleanupsMichael Vetter2022-06-296-126/+61
|\ | | | | Various cleanups
| * stanza: remove strange assignmentMichael Vetter2022-06-291-1/+1
| |
| * accounts: deduplicate code via helper functionMichael Vetter2022-06-291-116/+54
| |
| * scripts: get rid of read variableMichael Vetter2022-06-291-4/+2
| |
| * build: otr cflags -> CFLAGSMichael Vetter2022-06-291-1/+1
| |
| * chatlog: remove unused variableMichael Vetter2022-06-291-3/+0
| |
| * database: unref dateMichael Vetter2022-06-291-1/+3
|/
* Merge pull request #1728 from profanity-im/cleanup-pgp-oxMichael Vetter2022-06-2910-573/+664
|\ | | | | Split pgp and ox into separate files
| * Remove commentMichael Vetter2022-06-291-10/+0
| |
| * Move ox_gpg_public_keys descriptionMichael Vetter2022-06-292-7/+3
| |
| * Split ox functions from gpg.c to ox.cMichael Vetter2022-06-2910-573/+678
|/
* Merge pull request #1727 from profanity-im/log-chatlog-splitMichael Vetter2022-06-2816-608/+740
|\ | | | | Split chatlog and log functions in separate files
| * chatlog: sort and rename some functionsMichael Vetter2022-06-281-36/+34
| |
| * add chatlog unittestMichael Vetter2022-06-284-66/+94
| |
| * log: put static functions on topMichael Vetter2022-06-281-55/+52
| |
| * Include xmpp.h to cafile.cMichael Vetter2022-06-281-0/+1
| | | | | | | | Was pulled in through log.h