Commit graph

1423 commits

Author SHA1 Message Date
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
default
cf2b334d86 Ensure no actor data is left in actor_get(). 2023-05-03 08:15:38 +02:00
default
18f799a58f Updated RELEASE_NOTES. 2023-05-03 07:58:08 +02:00
default
0bd609f5be Fixed missing notifications in certain circunstancies. 2023-05-03 07:57:10 +02:00
default
be5f08e6c3 Use xs_replace_n() where it suits. 2023-05-02 06:49:00 +02:00
default
29815a3873 Backport from xs. 2023-05-02 06:41:45 +02:00
default
f1756a53d1 Updated RELEASE_NOTES. 2023-05-01 17:21:56 +02:00
default
4595a36859 Partial support for mastoapi unfavourite / unreblog. 2023-05-01 17:20:49 +02:00
default
c21bbd5f7c New functions index_del_md5(), index_del() and object_unadmire(). 2023-05-01 17:02:44 +02:00
default
84902d8dcc Purge / gc the instance timeline index. 2023-05-01 08:32:48 +02:00
default
a7d4513f77 In /api/v1/statuses, get the object from the storage instead of from the timeline.
This was affecting clicking on posts from the instance timeline, that were not
in the logged-in user timeline.
2023-05-01 07:35:26 +02:00
default
21a2a01937 Return immediately from actor_get() if it's a local user. 2023-04-30 07:37:39 +02:00
default
6917f0ab26 Updated RELEASE_NOTES. 2023-04-30 07:01:44 +02:00
default
cfa0df3ac5 The instance timeline now works. 2023-04-30 07:00:49 +02:00
default
e31c4810a8 actor_get() returns an actor message for local users. 2023-04-30 06:49:51 +02:00
default
ede4d6f2dc Some instance timeline work. 2023-04-30 06:39:55 +02:00
default
6b632e1ee9 Bumped version. 2023-04-30 06:01:08 +02:00
default
049818a904 Public posts are also added to an instance public timeline index. 2023-04-29 07:36:18 +02:00
default
fbd30cf6d3 Version 2.29 RELEASED. 2023-04-28 09:25:54 +02:00
default
d0e08277da Incomplete mastoapi apps are purged. 2023-04-28 08:58:33 +02:00
default
765f63772f New function mastoapi_purge() (still dummy). 2023-04-28 08:33:02 +02:00
default
b620fe99fa Ensure the new app client_id is unique. 2023-04-28 08:28:17 +02:00
default
e0cc5752b0 Updated RELEASE_NOTES. 2023-04-27 08:39:24 +02:00