Commit Graph
4159 Commits
Author SHA1 Message Date
grunfink b5f9aa9cb0 Increase the level argument in quoted posts. 2026-02-23 18:14:11 +01:00
grunfink 5925e1f93e Fixed latest breakage in xs_multipart_form_data(). 2026-02-23 13:52:35 +01:00
grunfink a8d907cac5 More JSON parser tweaks. 2026-02-23 08:10:53 +01:00
grunfink 40e7078b22 Updated RELEASE_NOTES. 2026-02-23 07:22:54 +01:00
grunfink df02bc02df Fixed possible crash in xs_regex_split_n(). 2026-02-23 07:15:28 +01:00
grunfink b90a1176d7 More JSON parser tweaks. 2026-02-23 07:00:11 +01:00
grunfink 2828f1aa59 Fixed parsing error in xs_multipart_form_data(). 2026-02-23 06:49:12 +01:00
grunfink 57355092e9 More JSON parser fixes. 2026-02-23 06:29:02 +01:00
grunfink 4584076dd3 More JSON parser fixes. 2026-02-23 06:25:19 +01:00
grunfink 2c91041cd1 Fixed crash in JSON parser. 2026-02-23 06:20:17 +01:00
grunfink 089cc5c86a Updated RELEASE_NOTES. 2026-02-23 05:31:44 +01:00
grunfink 45f178f9cb Fixed timezones. 2026-02-23 05:31:02 +01:00
grunfink e7381a08c7 Updated RELEASE_NOTES. 2026-02-23 05:29:13 +01:00
grunfink e1e64ac0af Merge pull request 'Log xs_socket_accept failure reason and document OpenBSD login class w/ extended openfiles' (#559) from oxzi/snac2:openbsd-openfiles-nfiles into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/559
2026-02-23 05:28:15 +01:00
Alvar Penning 361fdaaa11 OpenBSD: Document login class w/ extended openfiles
A file heavy applications makes heavy use of files. Shocking news.

OpenBSD's daemon login class limits the amount of openfiles quite
strict. This restriction is an annoyance for lots of applications, and,
unless I am mistaken, seems to be an issue for snac as well.

Thus, after hopefully fixing this on my instance, I tried to briefly
document this in snac(8) and provide a minimal login.conf(5) example.
2026-02-17 23:03:23 +01:00
Alvar Penning c29d691d32 httpd: Log xs_socket_accept failure reason
So far, it was expected that xs_socket_accept should work and while its
failure results in a termination, it was not properly logged. With this
change, an error message including the strerror message is being logged.

After experiencing some unexpected snac httpd shutdowns, I added a bit
of additional logging, including when xs_socket_accept fails. This
proved useful, as it unveiled a deeper error on my machine:

> xs_socket_accept failed: Too many open files

Since entering this code path results in termination, I thought
upstreaming this logging might be useful for others.
2026-02-17 22:55:29 +01:00
grunfink 787d0180bf Version 2.90 RELEASED. 2026-02-17 09:41:41 +01:00
grunfink 2847f1a335 Updated RELEASE_NOTES. 2026-02-17 09:41:19 +01:00
grunfink dbce5103d8 Merge pull request 'Removed two dead links from README.md' (#557) from mookie/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/557
2026-02-17 09:08:26 +01:00
Steve Mookie Kong b5ccbe9773 Removed two dead links from README.md 2026-02-15 21:17:13 -08:00
grunfink 0cc14c3725 Do the same with list 'url' fields in notifications. 2026-02-14 16:47:22 +01:00
grunfink 3907b00976 Fixed crash when the 'url' field is a list. 2026-02-14 16:46:09 +01:00
grunfink 4099958c3a Updated RELEASE_NOTES. 2026-02-14 16:28:44 +01:00
grunfink 72feba2f43 Updated TODO. 2026-02-14 16:27:30 +01:00
grunfink 147f2fbd7d Merge branch 'master' of comam.es:git/snac2 2026-02-14 16:26:48 +01:00
grunfink c3aff2d518 Fixed mismatched following count. 2026-02-14 16:26:44 +01:00
grunfink 6ea6733bca Updated RELEASE_NOTES. 2026-02-14 05:50:38 +01:00
grunfink 11140d0e0c Also show 'url' in notifications. 2026-02-14 05:48:46 +01:00
grunfink ebcdb74865 Use the 'url' link instead of 'id' (if there is one) in html_actor_icon(). 2026-02-14 05:42:45 +01:00
grunfink 01c412dd81 Updated RELEASE_NOTES. 2026-02-11 15:37:52 +01:00
grunfink 8dea2cb93e Merge pull request 'mastoapi: add uri field to verify_credentials' (#555) from ag-eitilt/snac2:mastoapi/credentials-uri into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/555
2026-02-11 15:35:17 +01:00
Sam May f67d501b96 mastoapi: add uri field to verify_credentials
Mastodon split the field out from `url` for identification purposes in
version 4.2.0, leaving the previous for simply navigating to the user
page.  Some services (notably Bridgy Fed) rely on the `uri` as part of
their OAuth flow: https://github.com/snarfed/bridgy-fed/issues/2339
2026-02-10 12:19:07 -08:00
grunfink d0906957cd mastoapi: added a (dummy) client_secret_expires_at value in app creation. 2026-02-10 06:10:29 +01:00
grunfink 6919600d43 Updated TODO. 2026-02-10 05:57:27 +01:00
grunfink 6f8eb9ced3 In timelines, always create a 'people/' link, not only if follower or following. 2026-02-10 05:44:59 +01:00
grunfink 77478f9e60 Merge pull request 'Update Portuguese (Brazil) translation' (#554) from daltux/snac2:pt_BR-9 into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/554
2026-02-10 05:36:26 +01:00
Daltux 2e98442b23 Merge branch 'master' into pt_BR-9 2026-02-10 01:40:51 +01:00
grunfink e39303124f Merge pull request 'po/de_DE.po update' (#553) from zen/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/553
2026-02-09 18:02:11 +01:00
Daltux dc3e03d09d Update Brazilian translation
New strings (abbreviated months) translated.

Fix notification filter list parallelism.

Fix clear meaning of a button.
2026-02-09 08:43:28 -03:00
zen 72676c2a23 po/de_DE.po update 2026-02-08 11:48:41 +01:00
grunfink 1543bb74f8 Added a 'webfinger' field to 'Person' objects. 2026-02-07 17:41:28 +01:00
grunfink 027f0e71bd Updated RELEASE_NOTES. 2026-02-07 17:04:41 +01:00
grunfink 28d21ff667 Merge pull request 'Bug fix: Poll voting in mastoapi: Check global object store + Prevent voting when not allowed' (#552) from davidrv00/snac2-fork:vote-fix into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/552
2026-02-07 17:04:00 +01:00
grunfink f0d6f2b131 Updated RELEASE_NOTES. 2026-02-07 17:03:05 +01:00
grunfink 655dd95177 Merge pull request 'Add poll creation to mastoapi' (#551) from davidrv00/snac2-fork:poll-mastoapi into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/551
2026-02-07 17:02:16 +01:00
grunfink 313b72d3ac Merge pull request 'snac(8): Words of caution for strip_exif configuration' (#549) from oxzi/snac2:strip-metadata-man-warning into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/549
2026-02-07 17:01:11 +01:00
grunfink 8a8d78980e Updated RELEASE_NOTES. 2026-02-07 17:00:53 +01:00
grunfink 4087e74071 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2026-02-07 16:59:53 +01:00
grunfink 841b726f71 Merge pull request 'strip_exif support for the OpenBSD sandbox' (#548) from oxzi/snac2:strip-metadata-openbsd into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/548
2026-02-07 16:59:33 +01:00
David Vaughan 8c959fcd64 Prevent voting via mastoapi if closed or we already voted 2026-02-06 16:02:27 -08:00