Commit graph

2363 commits

Author SHA1 Message Date
default
788ec4e36e Updated RELEASE_NOTES. 2024-01-21 06:19:53 +01:00
default
d85113bb1f Delay creating the shared memory struct after the socket is successfully created. 2024-01-21 06:14:51 +01:00
default
49d707078b Mastoapi: fixed an error the edited_at field. 2024-01-19 09:35:42 +01:00
default
5208f9d625 Also process Video in timeline_request(). 2024-01-18 23:26:41 +01:00
default
5e7c2257c8 Do a very basic conversion of content if it's markdown.
Peertube videos have this.
2024-01-18 23:15:32 +01:00
default
65040b65a3 New function get_atto(), to get the attributedTo field. 2024-01-18 23:04:37 +01:00
default
1aff468a55 Deleted breakpoint. 2024-01-18 22:30:08 +01:00
default
54fff003f1 Fixed bad actor value in the button bar for Peertube videos. 2024-01-18 22:27:20 +01:00
default
f162c07791 Added some support for Peertube videos. 2024-01-18 22:21:05 +01:00
default
02998ebb59 Version 2.45 RELEASED. 2024-01-18 19:54:49 +01:00
default
40ff2a7538 Updated TODO. 2024-01-18 18:46:19 +01:00
default
3ca051ce1b Updated TODO. 2024-01-17 09:28:14 +01:00
default
fcb3dcc6a3 Updated RELEASE_NOTES. 2024-01-17 09:21:55 +01:00
default
8e4b1d7c4d Updated RELEASE_NOTES. 2024-01-17 09:19:10 +01:00
default
4351fe6dfe Updated TODO. 2024-01-16 19:10:23 +01:00
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