249 Commits
Author SHA1 Message Date
Eric Ireland fcff80e9be Give snacforge distinct documentation and artwork 2026-09-11 12:20:22 +10:00
grunfink dbff0032ec Fixed stupid typo. 2026-09-01 16:52:21 +02:00
grunfink d227702b9c Updated documentation. 2026-09-01 16:49:19 +02:00
Jeroen Domburg eb25a46304 Fix example Apache2 config to point to correct urls 2026-08-30 12:31:06 +08:00
grunfink 99b2ba2552 Updated documentation. 2026-06-02 10:06:21 +02:00
hanchan 5182a3384e add keep_replied_posts and keep_replied_me feathers, and auto-mention post author when reply to a post 2026-05-27 17:26:33 +08:00
grunfink 5923f50e6d Updated documentation. 2026-05-13 09:42:45 +02:00
grunfink 227304eae9 Updated documentation. 2026-04-10 17:05:00 +02:00
grunfink c9bbfc340b Updated documentation. 2026-04-02 20:50:03 +02:00
grunfink 98f20473bf Updated documentation. 2026-04-02 16:51:24 +02: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 110032fb48 snac(8): Words of caution for strip_exif configuration
Add words of caution and reasoning to the "strip_exif" configuration for
the server.json file, as these commands would be executed outside of the
sandbox - at least on OpenBSD - and both have quite a history on
security issues due to their huge attack surface and variety of
supported protocols.

After getting comfortable with the related code, I would continue using
it on a personal instance, but would reconsider enabling "strip_exif" on
shared instances with multiple users.

IMO, snac administrators should at least know of potential dangers.
2026-02-05 22:52:35 +01:00
green a14cf4a7db poll-limits: revert accidentally commited changes 2026-01-25 00:30:38 +01:00
green 2216ac4662 poll-limits: added documentation to the man page 2026-01-25 00:05:03 +01:00
grunfink cf2335c3a6 Updated documentation. 2026-01-12 14:31:42 +01:00
grunfink 3ffdf91a4c Merge pull request 'Implement metadata stripping for uploaded photos and videos' (#515) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/515
2026-01-12 14:27:05 +01:00
grunfink 9a5f67bd30 Revert "Updated documentation."
This reverts commit cef1d7a176.
2026-01-12 14:26:43 +01:00
grunfink 181132331d Updated documentation. 2026-01-12 05:43:02 +01:00
violette f5ad346f7d Use the metadata pronouns. 2026-01-12 05:09:21 +01:00
grunfink 512481e6f8 Updated documentation. 2026-01-10 21:32:14 +01:00
grunfink cef1d7a176 Updated documentation. 2026-01-08 08:51:04 +01:00
Stefano Marinelli 03d270a56b Implement metadata stripping for uploaded videos
- Extend `strip_media` to support video files using `ffmpeg`.
- Use `ffmpeg -map_metadata -1 -c copy` to strip global metadata.
- Support formats: mp4, m4v, mov, webm, mkv, avi.
- Add `ffmpeg_path` configuration option.
- Implement robust relative path handling (`user/` heuristic) to support jailed environments.
- Enforce strict checks on startup: fail if tools (mogrify/ffmpeg) are missing when enabled.
2026-01-06 12:18:00 +01:00
Stefano Marinelli 688c54c873 Implement configurable EXIF stripping for uploaded media
- Add `strip_exif` configuration option to enable metadata removal.
- Add `mogrify_path` configuration to specify external tool location.
- Implement strip_media using `mogrify -strip`.
- Support multiple image formats: jpg, png, webp, heic, heif, avif, tiff, gif, bmp.
- Add strict startup check: fail to start if `strip_exif` is enabled but `mogrify` is missing/broken.
- Update documentation in `doc/snac.8`.
2026-01-06 11:02:36 +01:00
grunfink 758c0a367f Updated documentation. 2025-12-19 10:30:33 +01:00
violette aefdd0169b Updated CSS. 2025-12-19 09:54:28 +01:00
violette p. 4102a6a7ac make webpush use our notification server vkey instead of a random, ill-formated
key (necessary for some client notifications, such as moshidon)
2025-12-09 04:58:13 +01:00
Frieder Griesshammer ccf216e764 move 'server.pid' away from user section 2025-11-19 22:35:06 +01:00
Roberto Ricci 7d050e94bd Fix some manpage typos 2025-10-22 15:40:30 +02:00
grunfink 4097e1035b Updated documentation. 2025-10-14 05:27:36 +02:00
grunfink 0ed9e02d87 Updated documentation. 2025-09-13 09:45:17 +02:00
grunfink 02c5708083 Updated documentation. 2025-09-12 23:13:09 +02:00
grunfink bff3e84b95 Updated documentation. 2025-09-09 08:48:59 +02:00
Xavier Vello 9060ccd8e7 Document the update command 2025-09-03 14:48:37 +02:00
grunfink d96c828c1a Updated documentation. 2025-08-27 10:03:10 +02:00
grunfink c5587d4504 Updated documentation. 2025-08-27 10:01:02 +02:00
grunfink 56a19ab87a Updated documentation. 2025-08-18 18:26:27 +02:00
grunfink 8a8fbd1fc4 Updated documentation. 2025-08-01 19:16:49 +02:00
grunfink a304565903 Updated documentation. 2025-07-30 18:17:51 +02:00
grunfink 7365a1aa4d Updated documentation. 2025-07-10 05:37:02 +02:00
grunfink 23157768d1 Minor CSS tweak. 2025-06-28 22:46:38 +02:00
grunfink f33fabe303 Updated documentation. 2025-06-27 06:39:41 +02:00
grunfink cbe18516b1 Updated documentation. 2025-06-26 10:44:58 +02:00
grunfink 883c4b7e76 Updated documentation. 2025-06-19 22:40:57 +02:00
grunfink c0a2625672 Updated documentation. 2025-06-18 09:42:35 +02:00
grunfink 0155c79408 Updated documentation. 2025-06-17 08:32:38 +02:00
grunfink d362a91c4c Updated documentation. 2025-06-16 18:30:08 +02:00
grunfink ce773d17d6 Updated documentation. 2025-06-16 18:27:54 +02:00
grunfink 8985a115ba Updated documentation. 2025-06-16 18:25:10 +02:00
grunfink 10701e56de Updated documentation. 2025-06-16 18:20:32 +02:00
grunfink 74084f3d9b Updated documentation. 2025-06-15 09:46:15 +02:00