Commit graph

1295 commits

Author SHA1 Message Date
default
d35c949a13 Resolve (partially) the issue with mentions without server.
Mastodon (mainly from the API) usually include mentions without server,
which is just stupid. This patch tries to resolve these broken mentions in
process_tags() by looking for a user name starting with it in the already
pre-populated tag list. As of now, this only works if the message is an
inReplyTo and the broken mention is the one of the original
(attributedTo) poster.
2023-05-12 11:56:17 +02:00
default
2e27a805fc Minor refactor to msg_note(): the tag list is created here, not in process_tags(). 2023-05-12 10:33:59 +02:00
default
3d4bf235f0 Minor function prototype tweak. 2023-05-12 10:15:44 +02:00
default
7e17310397 Updated RELEASE_NOTES. 2023-05-11 23:15:38 +02:00
default
6d82dde0c5 Added support from exclude notification types. 2023-05-11 10:54:56 +02:00
default
9c4e491497 Backport from xs. 2023-05-11 10:48:37 +02:00
default
2a073116d3 In /relationship, the id[] can be a list. 2023-05-11 10:44:27 +02:00
default
2a7f5f7b4d Updated RELEASE_NOTES. 2023-05-10 19:16:01 +02:00
default
a15ec49a1d Fixed conflict. 2023-05-09 17:22:31 +02:00
grunfink
d91150997c Merge pull request 'Fixed the issue of semaphore name conflicts.' (#33) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/33
2023-05-09 15:19:32 +00:00
poesty
3bd83457d9 Fixed the issue of semaphore name conflicts. 2023-05-09 23:11:57 +08:00
default
28720d4a9d Backport from xs. 2023-05-09 14:23:30 +02:00
default
d562c3cfed Backport from xs. 2023-05-09 14:18:15 +02:00
default
510477cf39 Updated documentation. 2023-05-08 10:16:30 +02:00
default
de12b8d0a2 Fill the mastoapi instance contact_account field, if possible. 2023-05-08 10:13:43 +02:00
default
920ff76297 Print the total running time at httpd stop. 2023-05-08 09:34:27 +02:00
default
7b349dd001 Backport from xs. 2023-05-08 09:30:26 +02:00
default
6bad2355ef Moved sem_close() further to the end. 2023-05-08 09:17:00 +02:00
default
e2e7bc2d71 Added a source (web, mastoapi, etc) to lastlog_write(). 2023-05-08 09:02:45 +02:00
default
29fb145fc4 Updated RELEASE_NOTES. 2023-05-07 18:10:12 +02:00
default
2824ba5be3 Added some includes needed for last sem_open() / uintptr_t changes. 2023-05-07 17:58:11 +02:00
default
0a93eae0a8 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2023-05-07 17:55:47 +02:00
grunfink
3093bd2315 Merge pull request 'Use named semaphores' (#32) from saagarjha/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/32

This fixes httpd on macOS. It's fine if you don't want to merge this into snac itself; I can ask MacPorts to carry the patch themselves.
2023-05-07 15:55:16 +00:00
Saagar Jha
e25960c548 Fix pointer-to-int cast
Resolves "warning: performing pointer subtraction with a null pointer
has undefined behavior [-Wnull-pointer-subtraction]"
2023-05-07 04:19:37 -07:00
Saagar Jha
578c94ba69 Use named semaphores
Unnamed semaphores are not supported on macOS.
2023-05-07 04:18:30 -07:00
default
699702cd72 Bumped version. 2023-05-07 09:38:45 +02:00
grunfink
14950d6954 Merge pull request 'Fixed webfinger and curl issues' (#31) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/31
2023-05-07 07:34:35 +00:00
poesty
e65760a349 Merge pull request 'master' (#1) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/poesty/snac2/pulls/1
2023-05-07 07:27:24 +00:00
default
6a1cc55676 Version 2.30 RELEASED. 2023-05-07 08:54:54 +02:00
poesty
7d3a909598 Fixed webfinger and curl issues 2023-05-07 13:42:47 +08:00
default
51d225dde0 Updated RELEASE_NOTES. 2023-05-06 11:17:58 +02:00
default
eed24fde1a Fixed a bug in Tusky's image send. 2023-05-06 11:10:08 +02:00
default
5b7a22e5b0 Updated examples/docket-entrypoint.sh.
snac init now prompts for an optional admin email address.
2023-05-05 12:58:54 +02:00
default
daaf863d83 The 'ping' command-line requests the actor for better error info. 2023-05-05 12:47:17 +02:00
default
8cd79df272 Fixed bug in ping cmdline debug output. 2023-05-05 10:08:39 +02:00
default
c1772cbca6 Updated RELEASE_NOTES. 2023-05-05 10:05:04 +02:00
default
d3a36218a6 Implemented 'Ping' and 'Pong' activities.
According to https://humungus.tedunangst.com/r/honk/v/tip/f/docs/ping.txt
2023-05-05 09:54:41 +02:00
default
cd71bd08bf Updated documentation. 2023-05-04 11:59:18 +02:00
default
212d1350fe Fixed mastoapi debug levels. 2023-05-04 11:53:17 +02:00
default
ec6f94e27e New url /oauth/x-snac-get-token. 2023-05-04 11:52:04 +02:00
default
f6ef275fa3 Made the post action configurable in login_page. 2023-05-04 11:08:35 +02:00
default
980a8d524f Fixed more warnings. 2023-05-04 09:34:33 +02:00
default
185aac2387 Added -Wextra to C flags. 2023-05-04 09:28:36 +02:00
default
753eadfd17 Added some const here and there. 2023-05-04 09:25:09 +02:00
default
511f5062b7 Deleted real unused parameters. 2023-05-04 09:19:26 +02:00
default
cd19efcae2 Updated dependencies. 2023-05-04 09:17:50 +02:00
default
d46bf8837c Updated documentation. 2023-05-04 06:40:51 +02:00
default
dd290c8e22 Updated documentation. 2023-05-04 06:38:24 +02:00
default
a9f0f2f695 Avoid crash in optional mastoapi argument. 2023-05-04 06:27:13 +02:00
default
cf8d91147b Updated documentation. 2023-05-04 05:52:35 +02:00