Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  • Rob Swindell's avatar
    Store contents (list) of archive files in filebase (in the "msg tail") · 5374a113
    Rob Swindell authored
    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).
    5374a113
filedat.c 36.8 KB