Commit graph

2148 commits

Author SHA1 Message Date
default
5b0fa0a656 Started support for Peertube's Video object. 2024-01-14 18:41:09 +01:00
default
ee0c6386cc Ensure to now overwrite the Accept + Follow object on repeated follows. 2024-01-14 15:08:54 +01:00
default
33a0386a1e In posts, fixed bad link urls if written between parentheses. 2024-01-14 14:25:51 +01:00
default
7ca08aebd2 Fixed crashes in command-line options. 2024-01-14 12:19:35 +01:00
grunfink
d021162978 Merge pull request 'Fixed a bug introduced yesterday that caused double notifications' (#103) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/103
2024-01-13 13:53:40 +00:00
Stefano Marinelli
6890a15787 Fixed a bug introduced yesterday that cause double notifications 2024-01-13 13:21:53 +01:00
default
6c556581e0 Rewritten a sentence to be clearer in README.md. 2024-01-13 09:12:16 +01:00
grunfink
a0cb5c60cd Merge pull request 'Added support for ntfy notifications with enhanced privacy when utilizing a self-hosted server, eliminating the need for external services.' (#102) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/102
2024-01-12 17:09:58 +00:00
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