Commit Graph
4281 Commits
Author SHA1 Message Date
grunfink 74bc018ca7 Updated language files. 2026-04-10 17:46:08 +02:00
grunfink 3c4d9e1cac Updated RELEASE_NOTES. 2026-04-10 17:14:29 +02:00
grunfink 227304eae9 Updated documentation. 2026-04-10 17:05:00 +02:00
grunfink a5326cdee7 Added web UI settings for the 'show_unlisted' toggle. 2026-04-10 16:59:20 +02:00
grunfink d704c796ff New user toggle 'show_unlisted', to show unlisted posts in public pages and RSS feeds. 2026-04-10 16:43:13 +02:00
grunfink f5a2b96ac5 Updated RELEASE_NOTES. 2026-04-10 16:26:27 +02:00
grunfink 19cf072f36 If wanted so, add "following_count" and "followers_count" in the Person object. 2026-04-10 09:07:03 +02:00
grunfink 69e72536b8 Add following and followers (if available) in people entries. 2026-04-10 08:52:28 +02:00
grunfink 9f5abf2bdd Updated RELEASE_NOTES. 2026-04-09 21:03:58 +02:00
grunfink afead2e376 Merge pull request 'add polish translation' (#601) from kpm/snac2:pl into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/601
2026-04-09 21:02:57 +02:00
Krzysztof Michałczyk 3cb320de0d typo 2026-04-09 12:11:21 +02:00
Krzysztof Michałczyk 049f71bdf8 added polish translations 2026-04-09 00:03:31 +02:00
grunfink 6f1005255c Updated RELEASE_NOTES. 2026-04-08 09:50:54 +02:00
grunfink eac5e61275 Minor semantic tweak. 2026-04-06 11:42:17 +02:00
grunfink 1b7d558c97 Follow to previous change: only use an alias for the current host. 2026-04-06 11:40:55 +02:00
grunfink 45d7d893a2 Webfinger: if the 'subject' is not an acct:, search in 'aliases'.
Implementations like Hubzilla return a subject that is an http: instead of an acct:,
but have one in the 'aliases' array, so use it.
2026-04-06 11:39:15 +02:00
grunfink fc1789ac3d Updated RELEASE_NOTES. 2026-04-05 18:23:24 +02:00
grunfink 7b90bcd03e Avoid exporting NULL accounts.
When they are failures of webfinger_request_fake().
2026-04-05 18:19:21 +02:00
grunfink cf8f02765a Merge pull request 'static files: allow files in a subdirectory' (#541) from lbr/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/541
2026-04-05 18:02:45 +02:00
grunfink 42f4c101c1 Fixed warning. 2026-04-05 10:37:09 +02:00
grunfink fb52266b1c Strip HTML from a summary field.
Also, crop it to a reasonable length.
2026-04-05 10:34:49 +02:00
grunfink 29633a377f Use xs_utf8_crop_i() instead of savage crop in log files. 2026-04-05 10:18:17 +02:00
grunfink 8aca51dc19 New utf8 functions. 2026-04-05 10:16:26 +02:00
grunfink 083c0e7df7 Bumped version. 2026-04-03 12:51:14 +02:00
grunfink ef4d527f3b Really purge static directories. 2026-04-03 12:48:48 +02:00
grunfink c9bbfc340b Updated documentation. 2026-04-02 20:50:03 +02:00
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