| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request 'Implement metadata stripping for uploaded photos and ↵ | 3 days | 1 | -0/+150 | |
| |\ | | | | | | | | | | | videos' (#515) from draga79/snac2:master into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/515 | ||||
| | * | Implement metadata stripping for uploaded videos | 9 days | 1 | -13/+99 | |
| | | | | | | | | | | | | | | | | | | | - 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. | ||||
| | * | Implement configurable EXIF stripping for uploaded media | 9 days | 1 | -0/+64 | |
| | | | | | | | | | | | | | | | | | | | - 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`. | ||||
| * | | New file xs_list_tools.h. | 4 days | 1 | -0/+1 | |
| |/ | |||||
| * | Bumped copyright year. | 14 days | 1 | -1/+1 | |
| | | |||||
| * | xs_http.h: new file. | 2025-10-13 | 1 | -20/+1 | |
| | | |||||
| * | xs_webmention.h new file. | 2025-05-04 | 1 | -0/+1 | |
| | | |||||
| * | Fixed typo. | 2025-03-11 | 1 | -1/+1 | |
| | | |||||
| * | Add fake HTTP status error 399 to http_status_text(). | 2025-02-17 | 1 | -0/+1 | |
| | | |||||
| * | xs_po.h new file. | 2025-02-14 | 1 | -0/+1 | |
| | | |||||
| * | New function lang_str(). | 2025-02-14 | 1 | -0/+1 | |
| | | |||||
| * | Fixed function tid() for some architectures. | 2025-02-09 | 1 | -1/+1 | |
| | | |||||
| * | Bumped copyright year. | 2025-01-08 | 1 | -1/+1 | |
| | | |||||
| * | The proxy token seed is created on startup and never stored. | 2024-11-12 | 1 | -0/+1 | |
| | | |||||
| * | Searches are now case-insensitive for all alphabets. | 2024-08-23 | 1 | -0/+1 | |
| | | |||||
| * | Added support for listening on unix sockets. | 2024-08-05 | 1 | -0/+1 | |
| | | |||||
| * | Translate status codes to canonical status texts | 2024-05-27 | 1 | -0/+12 | |
| | | | | | | Use those in HTTP responses instead of "OK"/"ERROR". Apps like Tokodon show only the status text in unexpected responses. | ||||
| * | Updated copyright year. | 2024-01-04 | 1 | -1/+1 | |
| | | |||||
| * | Replaced encode_html_strict() with xs_html_encode(). | 2023-11-20 | 1 | -0/+1 | |
| | | |||||
| * | Backport from xs. | 2023-11-17 | 1 | -0/+1 | |
| | | |||||
| * | Added FastCGI support. | 2023-10-17 | 1 | -0/+1 | |
| | | |||||
| * | Don't allow creating users which user name strings only differ in case. | 2023-10-13 | 1 | -0/+3 | |
| | | |||||
| * | Some tweaks to the logging system. | 2023-09-27 | 1 | -15/+13 | |
| | | |||||
| * | Backport from xs. | 2023-09-25 | 1 | -0/+1 | |
| | | |||||
| * | Backport from xs. | 2023-09-17 | 1 | -0/+1 | |
| | | |||||
| * | Updated comment in headers. | 2023-07-28 | 1 | -1/+1 | |
| | | |||||
| * | Fixed failed mkdir() in restricted environments. | 2023-07-09 | 1 | -2/+7 | |
| | | |||||
| * | If a ~/log/ folder exists, also write the log there. | 2023-06-15 | 1 | -2/+3 | |
| | | |||||
| * | If ~/error/ exists, also log messages to a file there. | 2023-06-11 | 1 | -0/+8 | |
| | | |||||
| * | Replaced usage of random() with xs_rnd_buf(). | 2023-06-05 | 1 | -1/+4 | |
| | | |||||
| * | Some prototype tweaks. | 2023-06-05 | 1 | -8/+8 | |
| | | |||||
| * | Moved srv_running variable to httpd.c. | 2023-06-05 | 1 | -1/+0 | |
| | | |||||
| * | Got rid of xs_encdec.h. | 2023-05-17 | 1 | -1/+0 | |
| | | |||||
| * | Backport from xs. | 2023-05-09 | 1 | -1/+2 | |
| | | |||||
| * | arc4random() does not exist in not-so-old systems, so revert this. | 2023-04-16 | 1 | -1/+1 | |
| | | | | | | | Revert "Replaced random() with arc4random()." This reverts commit f658f345cac7b24d6fa61f08b4ec09823d28b11a. | ||||
| * | Replaced random() with arc4random(). | 2023-04-16 | 1 | -1/+1 | |
| | | |||||
| * | Moved srv_archive() to data.c. | 2023-03-01 | 1 | -94/+0 | |
| | | |||||
| * | New utility function mkdirx(). | 2023-02-07 | 1 | -1/+13 | |
| | | |||||
| * | Tweaked user and group permissions for new files and dirs. | 2023-02-07 | 1 | -1/+1 | |
| | | |||||
| * | Minor header tweaks. | 2023-02-02 | 1 | -2/+4 | |
| | | |||||
| * | Updated year in copyright notices. | 2023-01-17 | 1 | -1/+1 | |
| | | |||||
| * | Some code reordering to placate scan-build's wrath. | 2022-12-14 | 1 | -7/+9 | |
| | | |||||
| * | New function new_password(). | 2022-12-04 | 1 | -3/+3 | |
| | | |||||
| * | Fixed a nasty macro expansion bug. | 2022-10-26 | 1 | -0/+7 | |
| | | |||||
| * | Don't set tz in gettimeofday() because nobody implements it any longer. | 2022-10-15 | 1 | -2/+1 | |
| | | |||||
| * | Backport from xs. | 2022-10-03 | 1 | -0/+1 | |
| | | |||||
| * | Use the time functions of xs_time.h. | 2022-10-02 | 1 | -19/+2 | |
| | | |||||
| * | New function ftime(). | 2022-09-28 | 1 | -0/+9 | |
| | | |||||
| * | Got xs_set.h from xs. | 2022-09-28 | 1 | -0/+1 | |
| | | |||||
| * | More work in not_really_markdown(). | 2022-09-27 | 1 | -0/+1 | |
| | | |||||