Commit graph

2390 commits

Author SHA1 Message Date
default
d8e7fe69ed In README.md, document how to add -lrt to make (for older distributions). 2024-01-12 18:06:16 +01:00
default
bb134950de Don't hardcode the -lrt, as OpenBSD does not have it. 2024-01-12 17:52:04 +01:00
default
034a08a8f0 Added -lrt to the linkage line, as it's needed at least in Ubuntu 20.04.6 LTS. 2024-01-12 17:40:26 +01:00
default
9185cc4baa Minor tweak for better corruption detection. 2024-01-12 11:03:29 +01:00
Stefano Marinelli
82d57557bb ntfy code cleanup 2024-01-12 09:07:55 +00:00
Stefano Marinelli
13a0560f7b Updated RELEASE_NOTES.md to add ntfy.sh support 2024-01-12 09:00:49 +00:00
Stefano Marinelli
2af9481837 Added support for ntfy notifications. You can configure either a self-hosted server or use the official ntfy.sh, and you have the option to use a private token to protect access and topics. 2024-01-12 09:54:14 +01:00
default
5532a3e8bd More tries to fix crashes in mastoapi_account(). 2024-01-11 21:33:41 +01:00
default
adf5623044 Avoid invalid actors in mastoapi_status(). 2024-01-11 20:20:01 +01:00
default
4f7a13884e Better checking for CC creation in msg_note(). 2024-01-11 19:29:09 +01:00
default
4a0cef0709 Updated RELEASE_NOTES. 2024-01-11 19:28:09 +01:00
default
f7015019d3 Silenced some unused argument warnings. 2024-01-11 18:55:09 +01:00
default
8868f7a231 Updated RELEASE_NOTES. 2024-01-11 18:52:52 +01:00
default
eaeb776446 Set the 'bot' field in verify_credentials to the matching value. 2024-01-11 18:49:26 +01:00
grunfink
285fb589ff Merge pull request 'Improve support for Mona iOS app' (#100) from jamesoff/snac2:monaapp-support into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/100
2024-01-11 17:46:15 +00:00
James Seward
c3fb6bab77 Support DELETE for Mastodon subscriptions
While testing Mona, I noticed that after deleting my account entry for
my snac server, Mona would repeatedly try to delete the subscription it
thought it had created, resulting in many unhandled DELETE calls.

This accepts the call and returns 200 for it, which makes Mona happy.
2024-01-11 13:38:08 +00:00
James Seward
ca27d0248a Add missing fields to account verification
This allows the Mona iOS app to successfully sign in.

I wasn't sure what a suitable value for `last_status_at` would be so I
just copied `published` since it's the right format.

This also just sets the `bot` field to false regardless of the user's
configuration, which probably isn't ideal.
2024-01-11 13:36:16 +00:00
default
32ce4b0659 Added an unveil() call for "/tmp".
It seems that it's needed for shm_open() to succeed,
whatever the first argument points to.

No idea why.
2024-01-11 11:07:07 +01:00
default
2693c081b4 If the actor from a message from the shared-inbox fails, propagate.
It may be because the actor request needs to be authenticated.
2024-01-11 06:34:29 +01:00
default
eacfa5b751 Avoid a webfinger request in msg_note(). 2024-01-11 06:08:52 +01:00
default
e447d1852c Updated RELEASE_NOTES. 2024-01-10 20:02:11 +01:00
default
f826f02937 Updated documentation. 2024-01-10 20:00:33 +01:00
default
fdb32864aa New command-line option 'state'. 2024-01-10 19:37:40 +01:00
default
df266ecfb0 Updated RELEASE_NOTES. 2024-01-10 19:35:49 +01:00
default
cc535e9958 Added more webfinger checks, just to be sure. 2024-01-10 19:23:34 +01:00
default
7f6a793146 Fixed minor collision in webfinger caching. 2024-01-10 19:16:05 +01:00
default
f0d185192b Call srv_archive_error() on input q_item errors. 2024-01-10 18:04:44 +01:00
default
1d3157f496 Version 2.44 RELEASED. 2024-01-10 15:11:03 +01:00
default
4f9252999f Updated RELEASE_NOTES. 2024-01-10 09:19:52 +01:00
default
06302c6451 Minor code cleaning. 2024-01-10 09:16:40 +01:00
default
472ade7b4a Updated RELEASE_NOTES. 2024-01-10 09:11:38 +01:00
default
5172dc1e8f Webfinger queries are cached, as they should. 2024-01-08 17:26:33 +01:00
default
d05399986d New state variable top_job_fifo_size. 2024-01-08 09:17:38 +01:00
default
62b2c2838c Renamed some thread states. 2024-01-08 08:50:40 +01:00
default
80de92d6b8 Updated RELEASE_NOTES. 2024-01-08 08:49:58 +01:00
default
b401cd23ff Added some state flags for threads. 2024-01-08 08:38:25 +01:00
default
0289860d04 Non-important variable renaming. 2024-01-08 08:21:22 +01:00
default
93e7138e53 Rewritten part of the job threads to be leaner and faster. 2024-01-08 08:10:57 +01:00
grunfink
22cb139d5b Merge pull request 'Added compatibility with NetBSD' (#99) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/99
2024-01-07 21:06:01 +00:00
Stefano Marinelli
4d9a19f3bf Addes NetBSD rc script example 2024-01-07 19:41:43 +00:00
Stefano Marinelli
c6fa103b40 Updated README.md for NetBSD compiling instructions 2024-01-07 17:21:55 +00:00
Stefano Marinelli
0414dfae20 Added Makefile.NetBSD to compile on NetBSD
To compile on NetBSD, just use "make -f Makefile.NetBSD" and "make -f Makefile.NetBSD install"
2024-01-07 17:17:02 +00:00
default
ec7de1759b Updated RELEASE_NOTES. 2024-01-07 13:48:03 +01:00
default
aa1524be71 Better behaviour on broken queue items. 2024-01-07 11:13:59 +01:00
default
3d1f6049e2 Backport from xs. 2024-01-07 11:13:29 +01:00
default
f5f4979389 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-01-06 07:17:21 +01:00
grunfink
e25a99c711 Merge pull request 'improvement(nginx): Adjust nginx template to proper SSL/TLS cipher & protocols' (#98) from gyptazy/snac2:feature/adjust-nginx-ssl-tls-config into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/98
2024-01-06 06:16:58 +00:00
Florian Paul Azim Hoberg
f86f688a10 improvement(nginx): Adjust nginx template to proper SSL/TLS cipher & protocols
Fixes: #97
2024-01-05 21:31:11 +01:00
default
8800ed3892 More tweaks regarding shared inboxes. 2024-01-05 17:37:36 +01:00
default
5e2f4e9902 dequeue() unlinks the file, even if it's been unable to parse it. 2024-01-04 16:27:07 +01:00