about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Fix python executed during configurej.r2022-02-183-10/+9
| | | | | | | | | | | | | | | Previously it relied on AX_PYTHON_DEVEL, which in turn executes python-config to get the build flags. However this does not work while cross compiling because we can't execute the python-config build for the target platform. To circumvent this problem the python build flags are now queried via pkgconfig, which has the drawback of not having some extra build flags, but they do not seem to be needed. I tested this patch with the termux build system and it build without their existing hack of injecting python after the configure step. I also tested non cross compile build on Arch Linux and it also still works. Fixes #851
* Fix typos in commentsMichael Vetter2022-02-182-2/+2
|
* Add unit tests section to CONTIBUTING.mdMichael Vetter2022-02-181-2/+6
| | | | And rename a header.
* Add Pull Request templateMichael Vetter2022-02-181-0/+2
|
* Merge pull request #1641 from profanity-im/clean-configureMichael Vetter2022-02-186-386/+117
|\ | | | | Clean up configure.ac
| * Remove configure-plugins helper scriptMichael Vetter2022-02-181-3/+0
| | | | | | | | We don't really need this.
| * build: use target instead of hostMichael Vetter2022-02-181-3/+3
| | | | | | | | | | | | | | If I understand https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Canonicalizing.html correctly then we should use target and not host. Will only matter in case of crosscompiling.
| * build: use PKG_CHECK_MODULES to check for xscreensaverMichael Vetter2022-02-181-13/+6
| |
| * build: use CFLAGS instead of CPPFLAGS where possibleMichael Vetter2022-02-181-6/+6
| | | | | | | | OSX seems to need CPPFLAGS for readline.
| * build: remove otr3 supportMichael Vetter2022-02-183-254/+9
| | | | | | | | All the distributions I checked have libotr 4.1.1 now.
| * build: remove support for old libsignalMichael Vetter2022-02-183-28/+1
| | | | | | | | | | | | | | | | | | Remove support for libsignal-protocol-c < 2.3.2. Debian 10 uses 2.3.2, Debian 11 and 12 use 2.3.3. openSUSE from 15.2 onward uses 2.3.3. Fedora since 28 uses 2.3.2. We should be good.
| * build: remove xmpp_lib variableMichael Vetter2022-02-181-4/+3
| | | | | | | | | | Since cad934b9a069bb2c3c417d4efc64dc25fb9814b7 we only support libstrophe. libmesode is deprecated.
| * build: group related parts better togetherMichael Vetter2022-02-181-49/+58
| |
| * build: change commentsMichael Vetter2022-02-181-28/+30
| |
| * build: define min autotools version and set urlMichael Vetter2022-02-181-2/+3
| |
| * build: use AC_MSG_NOTICE instead of echoMichael Vetter2022-02-181-14/+15
| |
| * build: add vim modelineMichael Vetter2022-02-171-1/+2
|/
* Merge pull request #1640 from profanity-im/contributing-rulesMichael Vetter2022-02-171-1/+38
|\ | | | | Update the contributing guide
| * Update the contributing guideMichael Vetter2022-02-171-1/+38
|/ | | | | | | We need to define some rules to make sure people know what they need to take care about. To allow us to later still understand the changes in an optimal way and make everyones work easier.
* Remove PatreonMichael Vetter2022-02-162-4/+2
|
* Merge pull request #1637 from profanity-im/fix-soh-regressionMichael Vetter2022-02-141-3/+2
|\ | | | | fix handling of connection errors
| * fix handling of connection errorsSteffen Jaeckel2022-02-081-3/+2
|/ | | | | | | | | | | | | When a `see-other-host` stream-error is received we try to re-connect to the other host. Erroneously this also started the `reconnect_timer`. This lead to the behavior that in cases where e.g. the login failed we try to reconnect instead of bailing out with an error. This commit fixes the wrong behavior by not starting the `reconnect_timer`. Fix 0e58509c161ae8409c9accabb9606e0c7006b880 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1635 from arya-pratap-singh/masterMichael Vetter2022-02-031-1/+1
|\ | | | | Fix typo in comment from "the YES" to "to YES"
| * fixed typo from "the Yes" to "to YES"arya-pratap-singh2022-02-031-1/+1
|/
* Remove banned muc member from member listMichael Vetter2022-02-021-0/+4
| | | | | | | If I'm understing everything right the member should be removed here. muc_members_update() seems to have been writen for the same purpose. Fix https://github.com/profanity-im/profanity/issues/1594
* Merge pull request #1633 from profanity-im/fix-split-url-once-moreMichael Vetter2022-02-021-2/+2
|\ | | | | Fix `_split_url()` once more
| * Fix off-by-oneSteffen Jaeckel2022-02-011-2/+2
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* | Merge pull request #1632 from profanity-im/fix-split-urlMichael Vetter2022-02-011-5/+22
|\| | | | | Fix `_split_url()`
| * add missing IPv6 handlingSteffen Jaeckel2022-02-011-5/+22
|/ | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1631 from profanity-im/fix-1628Michael Vetter2022-02-0125-148/+291
|\ | | | | Fix #1628
| * add fall-back for older GLib versionsSteffen Jaeckel2022-02-011-18/+54
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * handle `see-other-host` XMPP stream errorSteffen Jaeckel2022-02-015-2/+110
| | | | | | | | | | | | Fixes #1628 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * auto-formatSteffen Jaeckel2022-02-0122-134/+137
| | | | | | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
| * session: combine internal free-functionsSteffen Jaeckel2022-02-011-12/+8
|/ | | | | | `_session_free_saved_details()` remains as it's still required alone Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* command: change user mood clearing messageMichael Vetter2022-02-011-1/+1
|
* command: rename /mood clean to /mood clearMichael Vetter2022-02-013-5/+5
| | | | As per suggestion of @mdosch.
* Merge branch 'DebXWoody/usermoodimprovement1'Michael Vetter2022-01-304-16/+24
|\
| * command: adapt mood descriptionMichael Vetter2022-01-301-3/+3
| |
| * XEP-0107: User Mood - Clean moodStefan Kropp2022-01-304-14/+22
|/ | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* presence: guard against invalid inputMichael Vetter2022-01-271-3/+12
| | | | | | | | | | | | | | | | | | | | | | It shouldn't happen that we get the presence stanza without a resource. https://datatracker.ietf.org/doc/html/rfc6120 ``` Implementation Note: It is the server's responsibility to deliver only stanzas that are addressed to the client's full JID or the user's bare JID; thus, there is no need for the client to check the 'to' address of incoming stanzas. However, if the client does check the 'to' address then it is suggested to check at most the bare JID portion (not the full JID), since the 'to' address might be the user's bare JID, the client's current full JID, or even a full JID with a different resourcepart (e.g., in the case of so- called "offline messages" as described in [XEP-0160]). ``` Let's not segfault though. Close https://github.com/profanity-im/profanity/issues/1630
* ci: dont verify sslMichael Vetter2022-01-123-3/+3
|
* ci: remove building of stabberMichael Vetter2022-01-124-20/+20
| | | | | It's not run anyways. See https://github.com/profanity-im/profanity/issues/789
* ci: git clone from httpsMichael Vetter2022-01-114-7/+7
| | | | | | | | | ``` Cloning into 'stabber'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. ```
* Merge pull request #1625 from JurajMlich/masterMichael Vetter2022-01-011-1/+1
|\ | | | | database.c: fix inserting messages to chat logs if archive_id is empty
| * database.c: fix inserting messages to chat logs if archive_id is emptyJuraj Mlich2021-12-311-1/+1
|/ | | | | | | | | | | The original intention of the code was that in case archive_id is not set, NULL should be inserted. What is inserted however is an empty string. This causes the condition to not insert messages with non-unique archive_id insert only one message in total and ignore all further ones (if NULL was there, the condition would work properly). And this in turn causes chat history not work properly. This commit makes the SQL condition work properly and therefore fixes chat history. Fixes #1589.
* Merge pull request #1623 from wstrm/openbsd-buildMichael Vetter2021-12-252-4/+5
|\ | | | | Upgrade to OpenBSD 7.0 in CI
| * Upgrade to OpenBSD 7.0 in CIWilliam Wennerström2021-12-242-4/+5
|/
* Merge pull request #1622 from a02c1175-5220-4e75-b7a1-18e20548305f/masterMichael Vetter2021-12-221-1/+1
|\ | | | | use wildcard for man pages in Makefile.am
| * use wildcard for man pages in Makefile.ama02c1175-5220-4e75-b7a1-18e20548305f2021-12-221-1/+1
|/
* omemo: log when no pubsubMichael Vetter2021-12-131-0/+4
| | | | Closes https://github.com/profanity-im/profanity/issues/1621