aboutsummaryrefslogtreecommitdiff
path: root/snac.h
AgeCommit message (Collapse)Author
2026-06-29Merge branch 'master' of https://codeberg.org/grunfink/snac2Ruben Beltran del Rio
2026-06-26Version 2.93 RELEASED.grunfink
2026-06-24Added an new keyId check.grunfink
2026-05-22Bumped version.grunfink
2026-05-13Version 2.92 RELEASED.grunfink
2026-04-15Add neighborhood featuremasterRuben Beltran del Rio
2026-04-03Bumped version.grunfink
2026-03-23Version 2.91 RELEASED.grunfink
2026-03-19Implemented tootfinder.ch compatibility mimic Mastodon BehaviourGiuseppe Ranieri
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-06Bumped version.grunfink
2026-02-17Version 2.90 RELEASED.grunfink
2026-02-05strip_exif support for the OpenBSD sandboxAlvar Penning
Change the strip_exif logic to work with the already existing OpenBSD sandbox and allow ffmpeg and mogrify to be executed. The previous strip_exif implementation relied on system(3), effectively starting "/bin/sh" and executing the required tool within a shell session. Making this work in the sandbox would require to allow executing "/bin/sh", rendering the sandbox useless. Thus, the code now starts determining the absolute path of the tools - unless they are given as ffmpeg_path or mogrify_path - and allowing them to be executed via unveil(2). Then, instead of the system(3) call, the good old fork(2) and execve(2) dance is performed. The sbox_enter code was made aware of strip_exif, which resulted in a pledge(2) violation before when disable_email_notifications was set to false. Furthermore, the detected paths of the tools are now allowed.
2026-02-02Added translatable month names.grunfink
2026-01-25notifications filterbyte
2026-01-25Bumped version.grunfink
2026-01-22Version 2.89 RELEASED.grunfink
2026-01-13Version 2.88 RELEASED.grunfink
2026-01-12Merge pull request 'Implement metadata stripping for uploaded photos and ↵grunfink
videos' (#515) from draga79/snac2:master into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/515
2026-01-12Added emoji categories.violette
2026-01-10New command-line option top_ten.grunfink
2026-01-06Version 2.87 RELEASED.grunfink
2026-01-06Implement configurable EXIF stripping for uploaded mediaStefano Marinelli
- 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-05Version 2.86 RELEASED.grunfink
2026-01-01Bumped copyright year.grunfink
2025-12-18Fixed leak in emoji_reacted().grunfink
2025-12-18Fixed leak in timeline_admire().grunfink
2025-12-18Added emoji reactions (contributed by violette).violette
2025-12-18Bumped version.grunfink
2025-12-09New query variable terse=anything.grunfink
If set to any value, a public post page doesn't show any headline.
2025-12-04Version 2.85 RELEASED.grunfink
2025-11-29New function is_msg_mine().grunfink
2025-11-09Bumped version.grunfink
2025-10-27Version 2.84 RELEASED.grunfink
2025-10-24Keep track of deleted users and return 410 Gone for them.grunfink
2025-10-13xs_http.h: new file.grunfink
2025-09-28Bumped version.grunfink
2025-09-28Merge pull request 'implementing scopes' (#474) from ↵grunfink
byte/snac2:feature/visibility into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/474
2025-09-28New function actor_failure() (again, but much better).grunfink
2025-09-28Revert "New function actor_failure()."grunfink
This reverts commit 335b90a9d1654aadb4e0d87114b82685defcd50b.
2025-09-28New function actor_failure().grunfink
2025-09-20Merge branch 'master' into feature/visibilitybyte
2025-09-20implementing visibility scopesbyte
2025-09-19Version 2.83 RELEASED.grunfink
2025-09-12New function instance_failure().grunfink
2025-09-07Always do a deferred fsck at startup.grunfink
2025-09-07New command-line option 'fsck'.grunfink
2025-09-06Bumped version.grunfink
2025-09-03Renamed function list_content() to list_members().grunfink
2025-09-03New function enqueue_collect_outbox().grunfink
2025-09-03New function collect_outbox().grunfink