• exec/tests/listfiles_bridges/bridges.js src/sbbs3/js_bbs.cpp sbbs.h vi

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Nov 19 18:52:07 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/c29e1bdfc55af507f7b2abd5
    Modified Files:
    exec/tests/listfiles_bridges/bridges.js src/sbbs3/js_bbs.cpp sbbs.h viewfile.cpp
    Log Message:
    JS bbs.can_view_file(): whether the user may view a file's contents

    True when the file exists and a file viewer configured for it is available
    to the user, the same rule the View command applies (the viewer's access requirements checked with the file's directory current); it displays
    nothing. File lister modules use it to decide whether to show a file's
    contents themselves. The viewer selection is shared with viewfile().

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)