aboutsummaryrefslogtreecommitdiff
path: root/data.c
AgeCommit message (Collapse)Author
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-01Bumped copyright year.grunfink
2025-12-18Fixed leak in emoji_reacted().grunfink
2025-12-18Fixed leak in timeline_admire().grunfink
2025-12-18Fixed some xs_dup() leaks.grunfink
2025-12-18Added emoji reactions (contributed by violette).violette
2025-11-30Fix user matchingrako
In order to be a proper prefix, the actor url must end with a '/' otherwise it can match another user that starts with the same prefix: for example 'testuser' will match anything made by 'testuser2'
2025-11-29Moved is_msg_mine() to data.c.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-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-20implementing visibility scopesbyte
2025-09-13Set default max_failing_days to 15 days.grunfink
2025-09-13New configuration directive 'max_failing_days'.grunfink
2025-09-12Fixed bug in instance_failure() path.grunfink
2025-09-12New function instance_failure().grunfink
2025-09-07Always do a deferred fsck at startup.grunfink
2025-09-07Changed fsck debug level.grunfink
2025-09-07New command-line option 'fsck'.grunfink
2025-09-03Always add a user's posts to the public timeline, even if it's not really ↵grunfink
public.
2025-09-03Revert "Also keep a 'personal' folder for better organization."grunfink
This reverts commit 0c3665fc49064f1fd5a04f2427056f9ea37f8d70.
2025-09-03Also keep a 'personal' folder for better organization.grunfink
2025-09-03Renamed function list_content() to list_members().grunfink
2025-09-03New function enqueue_collect_outbox().grunfink
2025-08-18New function enqueue_collect_replies().grunfink
2025-08-12content_search() also looks in the attributedTo field.grunfink
2025-08-03New function unhide().grunfink
2025-07-30New server knob 'propagate_local_purge'.grunfink
2025-07-25New function delete_purged_posts().grunfink
2025-06-18Added 'alias' and 'alias_raw' as forced update in user_persist().grunfink
2025-06-16Renamed webhook 'inReplyTo' to 'reply'.grunfink
2025-06-16In enqueue_notify_webhook(), also add the inReplyTo object if there is one.grunfink
2025-05-30More webhook checks.grunfink
2025-05-30Added uid, basedir and baseurl to the notify webhook message.grunfink
2025-05-30Added a new server knob disable_notify_webhook.grunfink
2025-05-30More notify_webhook work.grunfink
2025-05-30New function enqueue_notify_webhook().grunfink
2025-05-27New function timeline_here().grunfink
2025-05-27Renamed timeline_here() to timeline_here_by_md5(), as it always should have ↵grunfink
been.
2025-05-25Increase verbosity for srv_debug() in tag_index()shtrophic
2025-05-22Minor memory leak fixes.grunfink
2025-05-22Merge pull request 'use utf-8 lowercase function for tags #396' (#400) from ↵grunfink
postscriptum/snac2:utf8-lower-tags into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/400
2025-05-22add missed replacement to the `content_match` functionpostscriptum
2025-05-22use utf-8 lowercase function for tags #396postscriptum
2025-05-19performance: use following_list_len in more placesgreen
2025-05-19performance: functions to get the number of followersgreen
2025-05-18Added a pending follow request count next to the "people" link.grunfink