https://gitlab.synchro.net/main/sbbs/-/commit/c23b1864425fbc619ab73dc5
Modified Files:
docs/v322_new.md exec/user_settings.js src/sbbs3/js_file_area.cpp
Log Message:
file_area.protocol_list[] and compressor_list[]; user_settings.js uses them
New read-only arrays in the JS file_area object hold the configured file transfer protocols (key, name, ars, upload_cmd, download_cmd,
batch_upload_cmd, batch_download_cmd, settings) and compressible file
types (extension, cmd, ars, settings), in configuration order. Neither is filtered by the user's access: callers check each entry's ars against
whichever user they mean.
user_settings.js read these from file.ini via cfglib.js, parsing a file
that holds every library and directory definition: slow on a system with
many directories. It now uses the new arrays, and cfglib.js only with an
older sbbs.dll. The download protocol shown is now the one the user's ARS allows when more than one protocol shares a key (e.g. a UNIX and a DOS
Kermit on K), matching how the BBS chooses a protocol.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net