Michael Vetter
d15f905d83
Add unit tests section to CONTIBUTING.md
...
And rename a header.
2022-02-18 18:49:43 +01:00
Michael Vetter
fc1a24b9fa
Add Pull Request template
2022-02-18 18:11:51 +01:00
Michael Vetter
5957b757ce
Merge pull request #1641 from profanity-im/clean-configure
...
Clean up configure.ac
2022-02-18 18:09:37 +01:00
Michael Vetter
9a8e220770
Remove configure-plugins helper script
...
We don't really need this.
2022-02-18 17:57:08 +01:00
Michael Vetter
fc13a69f43
build: use target instead of host
...
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.
2022-02-18 17:36:03 +01:00
Michael Vetter
28a9605a1f
build: use PKG_CHECK_MODULES to check for xscreensaver
2022-02-18 17:35:30 +01:00
Michael Vetter
38ff3699b4
build: use CFLAGS instead of CPPFLAGS where possible
...
OSX seems to need CPPFLAGS for readline.
2022-02-18 15:07:27 +01:00
Michael Vetter
33106ecf9c
build: remove otr3 support
...
All the distributions I checked have libotr 4.1.1 now.
2022-02-18 14:01:28 +01:00
Michael Vetter
3f8720d70f
build: remove support for old libsignal
...
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.
2022-02-18 14:01:28 +01:00
Michael Vetter
1856c1e7fc
build: remove xmpp_lib variable
...
Since cad934b9a0
we only support
libstrophe. libmesode is deprecated.
2022-02-18 14:01:28 +01:00
Michael Vetter
7a6a37e717
build: group related parts better together
2022-02-18 14:01:27 +01:00
Michael Vetter
9cb6fc0d23
build: change comments
2022-02-18 14:00:13 +01:00
Michael Vetter
c79ba8f80e
build: define min autotools version and set url
2022-02-18 13:59:14 +01:00
Michael Vetter
201ef7394a
build: use AC_MSG_NOTICE instead of echo
2022-02-18 13:54:49 +01:00
Michael Vetter
adc68bd4b1
build: add vim modeline
2022-02-17 15:48:56 +01:00
Michael Vetter
7bbaa11a54
Merge pull request #1640 from profanity-im/contributing-rules
...
Update the contributing guide
2022-02-17 14:28:49 +01:00
Michael Vetter
a9c875e2ce
Update the contributing guide
...
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.
2022-02-17 14:02:45 +01:00
Michael Vetter
7500100a5b
Remove Patreon
2022-02-16 12:21:18 +01:00
Michael Vetter
186a8b25a0
Merge pull request #1637 from profanity-im/fix-soh-regression
...
fix handling of connection errors
2022-02-14 11:31:49 +01:00
Steffen Jaeckel
7a2af5e3ad
fix handling of connection errors
...
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 0e58509c16
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-08 19:52:13 +01:00
Michael Vetter
fb91824883
Merge pull request #1635 from arya-pratap-singh/master
...
Fix typo in comment from "the YES" to "to YES"
2022-02-03 14:11:15 +01:00
arya-pratap-singh
71ac7478ae
fixed typo from "the Yes" to "to YES"
2022-02-03 14:25:25 +05:30
Michael Vetter
6d1c661e21
Remove banned muc member from member list
...
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
2022-02-02 21:57:44 +01:00
Michael Vetter
e0f75e0b52
Merge pull request #1633 from profanity-im/fix-split-url-once-more
...
Fix `_split_url()` once more
2022-02-02 10:22:04 +01:00
Steffen Jaeckel
569525c6c7
Fix off-by-one
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 17:41:19 +01:00
Michael Vetter
832f28bcb2
Merge pull request #1632 from profanity-im/fix-split-url
...
Fix `_split_url()`
2022-02-01 17:13:50 +01:00
Steffen Jaeckel
ad87bdffc2
add missing IPv6 handling
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 16:56:26 +01:00
Michael Vetter
9a1311a826
Merge pull request #1631 from profanity-im/fix-1628
...
Fix #1628
2022-02-01 16:51:12 +01:00
Steffen Jaeckel
196f20a7d5
add fall-back for older GLib versions
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 16:33:22 +01:00
Steffen Jaeckel
0e58509c16
handle see-other-host
XMPP stream error
...
Fixes #1628
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 15:52:08 +01:00
Steffen Jaeckel
9cf78e59d5
auto-format
...
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 15:01:28 +01:00
Steffen Jaeckel
20a8ef7a3e
session: combine internal free-functions
...
`_session_free_saved_details()` remains as it's still required alone
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
2022-02-01 15:01:28 +01:00
Michael Vetter
e31e2877fc
command: change user mood clearing message
2022-02-01 00:03:13 +01:00
Michael Vetter
af7a4257f5
command: rename /mood clean to /mood clear
...
As per suggestion of @mdosch.
2022-02-01 00:00:32 +01:00
Michael Vetter
f14f9afe03
Merge branch 'DebXWoody/usermoodimprovement1'
2022-01-30 18:25:47 +01:00
Michael Vetter
b766807bc3
command: adapt mood description
2022-01-30 18:25:21 +01:00
Stefan Kropp
7a4cfc14d1
XEP-0107: User Mood - Clean mood
...
* Bugfix in mood_autocomplete (wrong parameter)
* Implemented /mood clean
______________________________________
/ Profanity! THE XMPP client with mood \
\ support! /
--------------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
2022-01-30 18:14:03 +01:00
Michael Vetter
b1929068ff
presence: guard against invalid input
...
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
2022-01-27 11:52:23 +01:00
Michael Vetter
fada16bd6d
ci: dont verify ssl
2022-01-12 18:59:39 +01:00
Michael Vetter
992f5b800b
ci: remove building of stabber
...
It's not run anyways.
See https://github.com/profanity-im/profanity/issues/789
2022-01-12 16:54:43 +01:00
Michael Vetter
50f0cfd324
ci: git clone from https
...
```
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.
```
2022-01-11 16:16:12 +01:00
Michael Vetter
81d074be73
Merge pull request #1625 from JurajMlich/master
...
database.c: fix inserting messages to chat logs if archive_id is empty
2022-01-01 09:54:03 +01:00
Juraj Mlich
c5b370bffc
database.c: fix inserting messages to chat logs if archive_id is empty
...
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 .
2021-12-31 17:45:45 +01:00
Michael Vetter
a1e0f1d414
Merge pull request #1623 from wstrm/openbsd-build
...
Upgrade to OpenBSD 7.0 in CI
2021-12-25 10:16:35 +01:00
William Wennerström
5e750e1fbc
Upgrade to OpenBSD 7.0 in CI
2021-12-24 13:49:07 +01:00
Michael Vetter
ed79b074c6
Merge pull request #1622 from a02c1175-5220-4e75-b7a1-18e20548305f/master
...
use wildcard for man pages in Makefile.am
2021-12-22 12:59:06 +01:00
a02c1175-5220-4e75-b7a1-18e20548305f
46b9428d92
use wildcard for man pages in Makefile.am
2021-12-22 07:44:27 +00:00
Michael Vetter
d4c9a98d71
omemo: log when no pubsub
...
Closes https://github.com/profanity-im/profanity/issues/1621
2021-12-13 17:11:30 +01:00
Michael Vetter
818e93219e
Merge pull request #1605 from DebXWoody/xep/xep0107-user-mood
...
xep-0107: User Mood
2021-12-06 14:06:12 +01:00
Michael Vetter
b67054aa39
Merge branch 'master' into xep/xep0107-user-mood
2021-12-06 13:49:04 +01:00