https://gitlab.synchro.net/main/sbbs/-/commit/5374a11323bf8de7fbf67762
Modified Files:
src/sbbs3/addfiles.c filedat.c filedat.h js_filebase.c upgrade_to_v319.c src/smblib/smbdefs.h smbfile.c smblib.c smblib.h
Log Message:
Store contents (list) of archive files in filebase (in the "msg tail")
This will allow fast/easy display of archive contents without actually reading the archive files.
Introduces some new functions:
- list_archive_contents()
- smb_adddfile_withlist()
A new SMB convenience variable ("tail", aliased as "content" for a file).
A new file detail level ("file_detail_content", exposed in JS as FileBase.DETAIL.CONTENTS) which adds a "content" array property to file metadata objects for JS FileBase.get().
Files already added to the new filebases won't have this archive content automatically - I'm looking into that now (likely a new or updated JS script to run).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net