Commit graph

343 commits

Author SHA1 Message Date
lda
1c51d57355 [ADD] Add accept_pings parameters
This is off by default, but highly encouraged for Synapse deployments
2025-02-12 08:24:18 +00:00
lda
176f390c4b [FIX] Use the puppet's name when pinged if possible 2025-02-11 17:18:01 +00:00
lda
f94db460ac [FIX/WIP] Fix annoying formatting bug
Fixes #16
2025-02-09 21:51:38 +00:00
lda
1936be0078 [FIX] Fix minor DB fuckup with tools
Used to open a flatfile database whenever it couldn't find an LMDB one,
which obviously caused *problems*
2025-02-08 08:45:21 +00:00
lda
c2536c2e84 [FIX] Log out some MUC information 2025-02-07 18:52:58 +00:00
lda
4f694129fc [FIX] Fix silly SEGV
Thanks, EP
2025-02-07 18:34:45 +00:00
LDA
110a1b695f [FIX] Fix the indenting 2025-02-05 08:58:25 +01:00
LDA
1e7d71f9f6 [ADD] Allow people to see component errors 2025-02-05 08:54:45 +01:00
LDA
b485298fbc [FIX] Log error if the config was not parsed 2025-01-29 19:15:23 +01:00
lda
f9de7f1750 [MOD/FIX] Be a bit more specific with component errors 2025-01-28 15:01:57 +00:00
lda
389870c5d3 [FIX] Ignore unavailable statuses
They aren't that useful, especially in MUCs.
2025-01-25 12:20:47 +00:00
lda
0facbaa5e5 [ADD/FIX/WIP] Allow reverting noflys, ignore MUC DMs (for now) 2025-01-07 15:14:47 +00:00
lda
5e1931a19f [MOD] Change media path, connect to component through another address 2025-01-06 17:09:36 +00:00
LDA
c433e31461 [DEL] Please enter a valid command
Please enter a valid command
2025-01-03 16:00:24 +01:00
LDA
c365681fcb [MOD] Notify MUCs about errors 2025-01-03 15:01:35 +01:00
LDA
86deab29af [FIX] Properly handle new contents with Matrix
No more ugly asterisks. It annoyed me enough.
2024-12-28 20:17:03 +01:00
LDA
5ddc5d3e5c [WIP/ADD] Try to separate discovery, make links nicer 2024-12-19 20:59:12 +01:00
LDA
2e566c73fc [MOD] Start not hardcoding discovery features
The eventual goal here is to have different disco replies for specific
kinds of JID, effectively allowing us to have MUCs. Yeah.
2024-11-29 13:58:49 +01:00
LDA
5ff92dda3d [ADD] Basic header check in configure
It doesn't exactly conform to C99 standards, but it is good enough for
Parsee as a whole.
2024-11-20 22:05:54 +01:00
LDA
56433fc69c [DEL] Remove 64KB avatar hardlimit 2024-11-18 21:46:59 +01:00
LDA
5d13410ac4 [ADD] Ping homeserver to see if Parsee works 2024-11-17 16:22:10 +01:00
LDA
7f41a85a8a [FIX] Oh, and set the version 2024-11-11 11:23:10 +01:00
LDA
954c588310 [FIX] Don't check for upgrades on start. 2024-11-11 11:00:26 +01:00
LDA
dddf1680a0 [RELEASE/FIX] Fix ban-unlinks, actually get 0.2. 2024-11-08 17:43:41 +01:00
LDA
960599d983 [FIX/ADD/WIP] Fix very silly printf, media flags 2024-10-30 09:21:20 +01:00
LDA
033dba6840 [META] Fix typo 2024-10-29 16:58:48 +01:00
LDA
cf3bb5260b [CI/FIX] Fix potentially uninitialised key-values 2024-10-29 14:51:58 +01:00
LDA
064040c18f [ADD/WIP] Chat settings
Right now, they are currently unused. Extensions, and Parsee itself
will be able to use those, though.
2024-10-29 14:44:55 +01:00
LDA
55ac682d26 [MOD] Timestamp Matrix messages 2024-10-28 13:26:25 +01:00
LDA
ca5f8fd5c5 [CI/FIX] Fix unused argument again (again) 2024-10-28 10:51:49 +01:00
LDA
947c2d48d2 [CI/FIX] Fix unused argument again 2024-10-28 10:47:54 +01:00
LDA
dcd31201ab [CI/FIX] Fix unused argument 2024-10-28 10:44:23 +01:00
LDA
6aef0349b8 [CI/FIX] Make CI happy again 2024-10-28 09:08:08 +01:00
LDA
7f7ab41afa [ADD] Add a few basic MUC commands 2024-10-28 08:57:17 +01:00
LDA
d4371ac30b [META] Update CHANGELOG 2024-10-27 20:40:25 +01:00
LDA
9a16d96323 [ADD] Filtering XMPP commands
This allows us to have commands apply to admins or MUCs only(which would
help with many things I want to implement).
2024-10-27 19:08:37 +01:00
LDA
7c60ab28cb [ADD] Proper stanza limits 2024-10-25 18:03:05 +02:00
LDA
ce8bbb5540 [MOD] Hide avatar code behind another function 2024-10-25 13:46:55 +02:00
LDA
4bc2d1606a Merge branch 'master' of https://git.kappach.at/lda/Parsee 2024-10-25 13:27:09 +02:00
LDA
fced112691 [FIX] Fix CI 2024-10-24 13:26:46 +02:00
LDA
4b5a759ce7 [FIX] Fix uninitialised variables
I'm not sure why Debian's GCC didn't catch this, but NetBSD's did.
Another reason to add CI checks for NetBSD, then, though I am not sure
how to do it safely through VMs(and I doubt Docker/Podman would help me
for weird architectures). Hm.
2024-10-22 10:26:38 +02:00
LDA
b0cf0961a3 [FIX] Make codebase *slightly* NetBSD-friendly
I need to make it so that NetBSD targets get their own
correctness/build checks in CI. I also had to do some hacks with
Cytoplasm, will make a PR for those soon.
2024-10-22 10:21:54 +02:00
LDA
44d6df3be8 [FIX/CI] Make the C compiler less stupid
(You may notice that the dates for these commits are off. I'm
currently writing them without an Internet connection, and the
device I'm writing this through doesn't have an RTC. Oops!)
2024-10-20 15:12:08 +02:00
LDA
02a89270c0 [FIX] Kill Parsee on unexcepted stream closure 2024-10-20 12:53:07 +02:00
LDA
ff5f085b7f [FIX/MOD] Stanza send function, fix some errors
Negociating stanza sizes seems to be real trouble. Also this code is now
`-fanalyzer'-safe!
Also kills the last GNUMakefile present. It wasn't even used...
2024-10-19 16:58:48 +02:00
LDA
d9b5141eb5 Merge branch 'master' of https://git.kappach.at/lda/Parsee 2024-10-17 17:13:08 +02:00
LDA
bb32eb48a6 Merge branch 'fix-configure' 2024-10-17 16:57:14 +02:00
Xavier Del Campo Romero
2074d8e768
[FIX] configure.c: Do not assume git
If parsee were downloaded from sources other than git-clone(1) (e.g.: a
tarball), perror(3) fails and/or git(1) is not available on the system,
"git remote get-url origin" would have unexpected results or even return
a NULL pointer, which would cause undefined behaviour on
strchr(repo, ...);

In such conditions, a placeholder string, namely "N/A", is strdup(3)ed
to `repo`.
2024-10-17 07:37:01 +02:00
Xavier Del Campo Romero
e0f76e7929
[FIX] configure.c: Add missing -I $(CYTO_INC)
Some tools depend on header files defined by Cytoplasm.
2024-10-17 07:00:59 +02:00
Xavier Del Campo Romero
a66021bf46
[FIX] configure.c: Improve recursion rule
So far, collect_sources was called recursively when the entry name did
not match a pre-defined list. However, this assumption broke with files
such as `etc/media/README`, that were not in the list.

Therefore, a deterministic way to distinguish files from directories is
to rely on the S_ISDIR macro. This avoids the need for a pre-defined
list.
2024-10-17 06:45:42 +02:00