https://gitlab.synchro.net/main/sbbs/-/commit/a8729c862fece6dac48de71b
Modified Files:
ctrl/modopts.ini exec/listfiles.js exec/load/listfiles_lib.js exec/tests/listfiles/lib.js
Log Message:
listfiles.js: leave out the preview pane's "by" for a file with no uploader
The lightbar preview pane printed "uploaded <date> by" followed by
nothing for a file with no uploader, which is common for files added by
the sysop rather than uploaded by a user.
The " by @FILE_UPLOADER@" clause is now its own option,
preview_uploader_fmt, placed where preview_info_fmt has %s and left out
when the file has no uploader, as the stock file information display
does. An anonymous upload keeps the clause (the "unknown user" name). A customized preview_info_fmt without %s is displayed as before.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net