Commit Graph

38 Commits

Author SHA1 Message Date
Stefan
194b0f1fef New Command: Delete OMEMO device list
With new new comamnd delete-device-list (mode omemo), the PEP node
eu.siacs.conversations.axolotl.devicelist will be delete.
2023-07-29 16:53:15 +02:00
DebXWoody
ce2fbbdbfe Merge pull request 'Remove dependency on strndupa' (#31) from j.r/xmppc:fix/remove-strndupa into master
Reviewed-on: https://codeberg.org/Anoxinon_e.V./xmppc/pulls/31
2022-03-24 15:25:14 +01:00
j.r
a69ec72615
Remove dependency on strndupa
Actually only glibc seems to implement this
2022-03-24 15:14:01 +01:00
DebXWoody
e6932aa951 Merge pull request 'Correction of a small typo in README' (#27) from jk-forensics/xmppc:master into master
Reviewed-on: https://codeberg.org/Anoxinon_e.V./xmppc/pulls/27
2021-12-31 19:30:52 +01:00
Jens K
7b9827673b small correction 2021-12-31 15:30:09 +01:00
Stefan Kropp
1c0e4f222d
Merge branch 'releases/0.1'
Merged 0.1 branch for Issue #26
2021-12-26 15:22:57 +01:00
Stefan Kropp
f7373de0a5 Bugfix: Key file does not have group ?default?
Bugfix for checking if configuration file exists. Also did some argv
parameter checks.

Issue: #26
2021-12-26 12:10:57 +01:00
DebXWoody
73d9c97e78
Compile error src/mode/roster.c:66
src/mode/roster.c:66:19: error: implicit conversion from enumeration type 'enum mode' to different enumeration type 'CommandType' (aka 'enum commandTyp') [-Werror,-Wenum-conversion]
  command->type = UNKOWN;
                ~ ^~~~~~
Fixed by using the correct enum definition.

Issue: #21
2021-01-27 19:26:53 +01:00
Michael Vetter
93e5a669c6 Fix various memleaks in mam.c 2020-12-21 17:01:01 +01:00
Michael Vetter
b7723db1fc Fix memleak in _mam_request() 2020-12-21 16:52:21 +01:00
Michael Vetter
11dc16f2f0 Fix two memleaks 2020-12-21 16:51:17 +01:00
Michael Vetter
9b00e75aa5 Add a pretty mode for MAM
So it will display `me@domain.org/resource: body text`.
Which is more readable to users who just want to get their MAM and not
debug things :-)
2020-12-21 16:50:56 +01:00
jubalh
0c12189d85 Several changes (#18)
Show help if no argument is provided

In case someone calls `xmppc` assume that he doesn't know how to use it.
Which means he might even not be aware of `-h`.
So let's print the help in case no argument is provided instead of
connecting, then discoverin that no mode is selected and disconnecting
again.

Fix segfault when not roster subcommand is provided

_roster_parse_command() segfaults since it assumes there is an argv[0].
Let's test the number of arguments.

Since we are already connected xmpp_connect_client() will wait for a
disconnect. So I introduce a teardown function that is called in both
the error case and the succesful case.

Now _roster_send_query() doesn't disconnect anymore.

Set to development by default

Only set to release when a new release is tagged.
Like this not every developer needs to change the code.
And it's git aka development anyways.

Don't mix german and english

Co-authored-by: Michael Vetter <jubalh@iodoru.org>
Reviewed-on: https://codeberg.org/Anoxinon_e.V./xmppc/pulls/18
2020-11-24 19:19:59 +01:00
DebXWoody
c177182c45
README - Chat 2020-08-15 07:39:41 +02:00
DebXWoody
c73b4a0916
README - Chat 2020-08-15 07:38:48 +02:00
nex
d1abb7ebc5
main: Read config file only if no jid parameter provided
Signed-off-by: nex <nex@nexadn.de>
2020-06-11 12:22:35 +02:00
DebXWoody
ecb5697ddb
XMPP-OX - rpad
Issue: #12
2020-06-06 15:23:21 +02:00
DebXWoody
1b0f033bfb
Message delay 2020-05-16 18:18:33 +02:00
DebXWoody
854fa1faf9
xmppc Release 0.1.0 2020-05-16 08:45:05 +02:00
DebXWoody
5480f8e6d9
Read password from stdio
Set XMPP_CONN_FLAG_TRUST_TLS in development mode
Read password from stdio, if not provided

Issue: #9
2020-05-16 06:45:47 +02:00
DebXWoody
2da205c88f
Release Version 0.0.6 2020-05-02 16:02:49 +02:00
DebXWoody
24eab6f6e0
Bugfix OpenPGP / Key Lookup / signers
* Iterate list of UIDs for Key Lookup
 * Clean and set signers in context

Issue: #7 #8
2020-05-02 06:51:41 +02:00
DebXWoody
7bbd51ef5b
Makefile.am - manpage
Added manpage to Makefile.am
2020-04-29 20:36:14 +02:00
DebXWoody
b9dc268036
manpage for xmppc
xmppc.1.txt is the manpage in asciidoc format. It can be converted to docbook /
html with asciidoc and a2x to manpage.

	asciidoc -b docbook $(TXT_FILE)
	asciidoc -b html $(TXT_FILE)
	a2x --doctype manpage --format manpage $(TXT_FILE)

Issue: #6
2020-04-29 19:18:24 +02:00
DebXWoody
28412e77d4
changelog release 0.0.5 2020-04-25 06:25:32 +02:00
DebXWoody
db24e0250c
Help 2020-04-24 20:45:23 +02:00
DebXWoody
7f5fc6ed86
Readme MUC URI 2020-04-23 22:26:20 +02:00
DebXWoody
917c78fd8a
README file - MAM / Bookmarks and Discovery 2020-04-23 22:24:29 +02:00
DebXWoody
94c08dc378
MAM, Bookmarks, Service Discovery
* XEP-0313: Message Archive Management
 * XEP-0048: Bookmarks
 * XEP-0030: Service Discovery
2020-04-23 20:37:22 +02:00
DebXWoody
94f1507e9f
fixed configure.ac for release 2020-04-21 18:21:06 +02:00
DebXWoody
04c64afd1d
Bugfixing and Accounts in Configfile 2020-04-21 17:56:28 +02:00
DebXWoody
a8341f3cf5
List OMEMO device keys in URI Format
Issue: #4
2020-04-19 21:06:43 +02:00
DebXWoody
11a73c4706
README file for config file 2020-04-19 19:03:12 +02:00
DebXWoody
1714eeff5b
Use a xmppc config file for JID and PWD
Config file ~/.config/xmppc.conf

Issue: #2
2020-04-19 18:57:29 +02:00
DebXWoody
5b81fbb586
gitignore file / doc files 2020-04-19 13:15:20 +02:00
DebXWoody
9c64ba40de
Fixed filename and bootstrap.sh +x 2020-04-19 12:57:05 +02:00
DebXWoody
11f325b3f2
Moved xmppc 0.0.3 to Anoxinon Repository 2020-04-19 12:47:14 +02:00
Anoxinon e.V
4c7807398e Initial commit 2020-04-19 11:04:30 +02:00