• src/sbbs3/addfiles.c addfiles.vcxproj delfiles.vcxproj dupefind.vcxpro

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 24 00:28:03 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/2a8e1c11c824d8aa89dbf81a
    Modified Files:
    src/sbbs3/addfiles.c addfiles.vcxproj delfiles.vcxproj dupefind.vcxproj file.cpp filedat.c filedat.h filelist.vcxproj ftpsrvr.c js_filebase.c listfile.cpp putmsg.cpp sbbs.h sbbs.vcxproj sbbsdefs.h sbbsecho.vcxproj text.h text_defaults.c upgrade_to_v319.vcxproj upload.cpp
    Log Message:
    DIZ enhancements: Read/use SAUCE data, support ANSI, increase max 1->4K

    Inspired by Blocktronics (and other ANSI art group) packs' FILE_ID.DIZ/ANS files:
    * Support (and prioritize) FILE_ID.ANS
    * Convert ANSI color/attribute sequences in DIZ files to Ctrl-A equivalent (uses SAUCE width and ICE color, if specified)
    * Don't treat DIZ as a series of lines, they're not always nowadays.
    * New putmsg() mode: P_INDENT to print files indented by current column
    * Display full (up to 64-char) filenames in lists when using 132+ column terminal.
    * Use the Author, Group, and Title fields from the SAUCE if present/non-blank
    * 2 new text.dat strings: 301 (FiAuthor) and 302 (FiGroup)
    * Also fix bug with repeated Cost header field on bulk-uploaded files.

    I know this'll break the *nix build (sauce.c dependency), but I'll fix that next.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 28 00:52:23 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/908a31befac338ab10a03709
    Modified Files:
    src/sbbs3/addfiles.c addfiles.vcxproj delfiles.vcxproj dupefind.vcxproj filelist.vcxproj ftpsrvr.c getstats.c getstats.h js_system.c logon.cpp main.cpp makeuser.vcxproj sbbsdefs.h sbbsecho.vcxproj src/sbbs3/scfg/scfg.vcxproj src/sbbs3/str.cpp upgrade_to_v319.vcxproj upload.cpp userdat.c
    Log Message:
    Overhaul statistics files

    */dsts.dab (daily statistics and running totals) -> */dsts.ini
    */csts.dab (cumulative statistics / log) -> */csts.tab

    * dsts.ini now has both daily and total stats for all fields (not just timeon and logons).
    * dsts.ini is now an easily modifiable text file - no longer need dstsedit (here-by deprecated and soon to be deleted)
    * dsts.ini and csts.tab support 64-bit upload/download byte stats and are very extensible for future fields to be added or extended > 32-bit (this was the main inspiration for this overhaul, but it was overdue and already designed for v4, pretty much)
    * csts.tab is a tab-delimited fixed length record format suitable for easy import to a spreadsheet program or parsing with scripts. Each day is a 128-character LF-delimited record with tab-delimited fields of plain ASCII text.
    * All fields except timeon in dsts.ini files are updated immediately and by more non-terminal servers (e.g. post statistics from web UI scripts).
    * New user stats are tracked more than just for "today".

    The upgrade of these files is automatic and built-into SBBS.

    Still to do: overhaul the slog utility to support the new csts.tab file format.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net