589 Commits
Author SHA1 Message Date
Eric Ireland fcff80e9be Give snacforge distinct documentation and artwork 2026-09-11 12:20:22 +10:00
Eric Ireland 3c5d4816be Identify the running software as snacforge
Assisted-by: OpenAI Codex (GPT-5)
Reviewed-by: Eric Ireland
2026-09-11 11:42:10 +10:00
grunfink 32ce0553e3 Version 2.95 RELEASED. 2026-09-02 12:56:09 +02:00
grunfink 2e4a9a9420 More text browser friendly stuff. 2026-09-01 15:01:08 +02:00
grunfink c38ad28d5d New function text_browser_friendly() (still unused). 2026-09-01 14:25:12 +02:00
grunfink 61ef7a8618 Fixed error in notification filtering. 2026-08-30 16:38:58 +02:00
grunfink 2008eca193 Bumped version. 2026-08-30 07:43:50 +02:00
default 03e9f05fa3 Use snac_op in limited(). 2026-08-26 09:02:30 +02:00
default 319d5cae0e Use snac_op in list_maint(). 2026-08-26 08:17:03 +02:00
default 1203080748 Use snac_op in list_members(). 2026-08-26 08:09:07 +02:00
default d7fc3d950d Use snac_op in grave(). 2026-08-26 08:05:16 +02:00
default 48aba53ddb Use snac_op in instance_failure(). 2026-08-26 08:02:41 +02:00
default 71a83e6578 Use snac_op in actor_failure(). 2026-08-26 07:59:23 +02:00
grunfink 9666850e22 Version 2.94 RELEASED. 2026-08-07 09:14:38 +02:00
grunfink ce79a90520 Bumped version. 2026-08-03 04:55:02 +02:00
grunfink 4425d8e985 Added count of EmojiReacts to top_ten. 2026-07-12 20:12:03 +02:00
grunfink 795355acb4 Version 2.93 RELEASED. 2026-06-26 09:39:03 +02:00
grunfink be894b379e Added an new keyId check. 2026-06-24 08:45:27 +02:00
grunfink 478672a2fe Bumped version. 2026-05-22 17:15:02 +02:00
grunfink 3d2af2ef63 Version 2.92 RELEASED. 2026-05-13 09:50:53 +02:00
grunfink 083c0e7df7 Bumped version. 2026-04-03 12:51:14 +02:00
grunfink 9a1b78113e Version 2.91 RELEASED. 2026-03-23 10:02:05 +01:00
Giuseppe Ranieri e21a933a6e Implemented tootfinder.ch compatibility mimic Mastodon Behaviour
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-19 11:50:03 +01:00
grunfink 4adf66b0d4 Bumped version. 2026-03-06 08:47:46 +01:00
grunfink 787d0180bf Version 2.90 RELEASED. 2026-02-17 09:41:41 +01:00
Alvar Penning ea81780895 strip_exif support for the OpenBSD sandbox
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-05 21:17:44 +01:00
grunfink 7d24c6ff94 Added translatable month names. 2026-02-02 17:51:40 +01:00
byte 56ca23c68c notifications filter 2026-01-25 16:56:04 +01:00
grunfink f1763dc7e6 Bumped version. 2026-01-25 13:16:34 +01:00
grunfink 189ab6394e Version 2.89 RELEASED. 2026-01-22 07:04:33 +01:00
grunfink 5a437c0f1d Version 2.88 RELEASED. 2026-01-13 09:44:45 +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
violette de9d546d70 Added emoji categories. 2026-01-12 06:03:04 +01:00
grunfink 99375a7b66 New command-line option top_ten. 2026-01-10 21:29:32 +01:00
grunfink c2b050cf53 Version 2.87 RELEASED. 2026-01-06 15:04:34 +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 b84b92df74 Version 2.86 RELEASED. 2026-01-05 09:31:33 +01:00
grunfink 11af00194e Bumped copyright year. 2026-01-01 17:01:03 +01:00
grunfink 219f3e6808 Fixed leak in emoji_reacted(). 2025-12-18 08:54:21 +01:00
grunfink fd45b94c09 Fixed leak in timeline_admire(). 2025-12-18 08:41:28 +01:00
violette 85ed0eb0d5 Added emoji reactions (contributed by violette). 2025-12-18 07:58:24 +01:00
grunfink e66446a57d Bumped version. 2025-12-18 07:51:30 +01:00
grunfink ee7483cf0d New query variable terse=anything.
If set to any value, a public post page doesn't show any headline.
2025-12-09 13:31:37 +01:00
grunfink 1ec7d7c821 Version 2.85 RELEASED. 2025-12-04 10:50:24 +01:00
grunfink 5c2c7b27ac New function is_msg_mine(). 2025-11-29 06:08:37 +01:00
grunfink 7ef4843891 Bumped version. 2025-11-09 09:29:45 +01:00
grunfink 2a617bc34c Version 2.84 RELEASED. 2025-10-27 09:41:19 +01:00
grunfink 1a42fdc8bd Keep track of deleted users and return 410 Gone for them. 2025-10-24 05:02:28 +02:00
grunfink 212284c792 xs_http.h: new file. 2025-10-13 13:07:06 +02:00
grunfink 234f3e285c Bumped version. 2025-09-28 15:50:03 +02:00