Commit Graph
4251 Commits
Author SHA1 Message Date
grunfink dfbbc02f1e Updated RELEASE_NOTES. 2026-04-02 20:46:36 +02:00
grunfink 5ad4d7c120 Also exclude the favicon_url in server.json from user directories. 2026-04-02 16:55:22 +02:00
grunfink 98f20473bf Updated documentation. 2026-04-02 16:51:24 +02:00
grunfink 834bf2870b Only purge static directories if configured in server.json. 2026-04-02 16:41:21 +02:00
grunfink 7e668d9c26 Also exclude emojis served from static directories. 2026-04-02 16:14:34 +02:00
grunfink aed115a8da Also exclude a user's style.css from purge_static(). 2026-04-02 15:59:28 +02:00
grunfink c9279e2a6c New function purge_static() (still dummy). 2026-04-02 15:50:12 +02:00
grunfink 8ccd23caeb Stop on zero size reads in xs_read(). 2026-03-31 10:57:32 +02:00
grunfink 5e69f3b1f0 Updated RELEASE_NOTES. 2026-03-28 07:17:33 +01:00
grunfink 0b2c945e4a Changed some defaults for newly created instances.
Specifically, 'disable_inbox_collection' and 'disable_history' are set to true.
2026-03-28 07:15:21 +01:00
grunfink 3a73d1e2fe Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2026-03-27 17:04:56 +01:00
grunfink 8afb69c5b6 Merge pull request 'Drop PATH_MAX usage' (#593) from sergiodj/snac2:drop-PATH_MAX-usage into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/593
2026-03-27 17:03:47 +01:00
Sergio Durigan Junior 2c9f5956b5 Drop PATH_MAX usage
Strict POSIX systems (such as GNU Hurd) don't define PATH_MAX, which
results in a build failure:

https://buildd.debian.org/status/fetch.php?pkg=snac2&arch=hurd-amd64&ver=2.91-1&stamp=1774482136&raw=0

This commit replaces PATH_MAX with a dynamically-allocated buffer,
which is the usual way of fixing these failures.

Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2026-03-27 10:08:33 -04:00
grunfink 8f91da7c2f Increased some debug level in error users.
These are very annoying in instances that don't have a prefix,
as fuckers are trying PHP and other vulnerabilities non-stop.
2026-03-26 15:32:28 +01:00
default dbcb2445ea Avoid passing a NULL uid to sprintf(), as it annoys OpenBSD. 2026-03-24 17:29:07 +01:00
grunfink 9a1b78113e Version 2.91 RELEASED. 2026-03-23 10:02:05 +01:00
grunfink 5dc6c82dae Updated RELEASE_NOTES. 2026-03-23 10:01:48 +01:00
grunfink 0beca27a8d Updated CONTRIBUTING. 2026-03-23 09:59:11 +01:00
grunfink 85e6098dba Updated TODO. 2026-03-23 09:47:17 +01:00
grunfink 80b07092c4 Revert "Break on read errors in xs_read()."
This reverts commit a7076780a3.
2026-03-23 09:43:42 +01:00
grunfink a7076780a3 Break on read errors in xs_read(). 2026-03-23 07:35:42 +01:00
default 6009cc653c Also purge the 'pending/' subdirectory. 2026-03-22 16:45:00 +01:00
grunfink 67e6dc8562 Updated RELEASE_NOTES. 2026-03-22 10:07:20 +01:00
grunfink bd64d219ac More webfinger fixes. 2026-03-22 09:34:58 +01:00
grunfink e1186cac54 Commented out aliases in webfinger, as they are generating following problems.
At least for misskey, because it's using the /users/... alias
instead of the real actor id.
2026-03-22 09:06:21 +01:00
grunfink b5524d7e26 Also check for actor_alt in is_msg_for_me(). 2026-03-22 08:49:24 +01:00
grunfink 210bb07a34 Increase the size of outgoing payload errors in the log. 2026-03-22 08:22:35 +01:00
grunfink 241c755e19 Updated RELEASE_NOTES. 2026-03-20 16:35:25 +01:00
grunfink f66d52d701 Added more "rel" links to webfinger. 2026-03-20 16:33:52 +01:00
grunfink ef86f48562 Updated RELEASE_NOTES. 2026-03-20 16:22:00 +01:00
grunfink 94b1513590 Replaced some tabs with spaces. 2026-03-20 16:21:04 +01:00
grunfink 373acdc002 Merge pull request 'Implemented tootfinder.ch compatibility mimic Mastodon behaviour' (#587) from rgiuse/snac2:tootfinder-patch into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/587
2026-03-20 16:19:25 +01:00
grunfink 81e0683e9c Updated RELEASE_NOTES. 2026-03-20 09:19:13 +01:00
grunfink 82b56317fc Merge pull request 'Fixed another small leak' (#589) from dandelions/snac2:pr-leak-mastoapi-2 into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/589
2026-03-20 08:44:59 +01:00
green 66e938bf0c fix: another small leak in mastoapi 2026-03-19 23:04:50 +01:00
grunfink 8b2c601012 Updated TODO. 2026-03-19 19:17:13 +01:00
grunfink 2f3c7fecbf Updated RELEASE_NOTES. 2026-03-19 19:16:51 +01:00
grunfink d67436fb9a Add attachments to RSS. 2026-03-19 19:15:22 +01:00
grunfink c208611e66 Updated TODO. 2026-03-19 18:37:26 +01:00
Giuseppe Ranieri 7da3f49ba2 Merge branch 'tootfinder-patch' of https://codeberg.org/rgiuse/snac2 into tootfinder-patch 2026-03-19 11:52:17 +01:00
Giuseppe Ranieri e21a933a6e Implemented tootfinder.ch compatibility mimic Mastodon Behaviour
Added aliases list on webfinger response
Return the /users/<actor> in the webfinger response ( mimic Mastodon )
Implemented /users endpoint redirect to access actor profile

Files changed:
	modified:   data.c
	modified:   httpd.c
	modified:   snac.h
	modified:   webfinger.c
2026-03-19 11:50:03 +01:00
Giuseppe Ranieri d451af3faa Implemented tootfinder.ch compatibility mimic Mastodon Behaviour
Added aliases list on webfinger response
Return the /users/<actor> in the webfinger response ( mimic Mastodon )
Implemented /users endpoint redirect to access actor profile

Files changed:
	modified:   data.c
	modified:   httpd.c
	modified:   snac.h
	modified:   webfinger.c
2026-03-19 10:41:34 +01:00
grunfink 72be32d06f Merge pull request 'Another memory leak in emoji reaction code' (#586) from dandelions/snac2:pr-leak-mastoapi into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/586
2026-03-18 20:39:45 +01:00
green 378287a8de fix: memory leak in mastoapi_status() 2026-03-18 16:00:39 +01:00
grunfink d9357a118a If latitude or longitude are not numbers, use them as string. 2026-03-18 15:52:37 +01:00
grunfink ef27a364a6 Don't use a NULL md5 in quoted post anchors. 2026-03-18 15:47:17 +01:00
default a3cf0dbc5f Deleted unused goto label. 2026-03-17 20:37:38 +01:00
default c3a81479c8 Fixed compilation error in OpenBSD. 2026-03-17 20:35:58 +01:00
grunfink 5af9d81ee3 Updated RELEASE_NOTES. 2026-03-17 20:04:24 +01:00
grunfink 275685d2ea Merge pull request 'Fixed more memory leaks in new features' (#584) from dandelions/snac2:pr-leaks-1 into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/584
2026-03-17 20:01:15 +01:00