• src/sbbs3/scfgsave.c

    From rswindell@VERT to CVS commit on Thursday, February 14, 2019 16:06:00
    src/sbbs3 scfgsave.c 1.76 1.77
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv28051

    Modified Files:
    scfgsave.c
    Log Message:
    When saving message sub-boards and file directories to msgs.cnf/file.cnf,
    if any sub-boards or directories have *blank* names or internal code suffixes (a sign of a corrupted configuration), exclude them from the saved subs/dirs automatically. I'm not sure how this can happen (use of cnflib.js?) - but running "scfg -f" (force save) should fix this situation. For Android8675.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, February 16, 2019 03:40:00
    src/sbbs3 scfgsave.c 1.77 1.78
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv24511

    Modified Files:
    scfgsave.c
    Log Message:
    Perform a similar elimination of invalid external program configurations
    (blank names or internal codes) from the total saved to xtrn.cnf.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 02:01:28
    src/sbbs3 scfgsave.c 1.80 1.81
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv16473

    Modified Files:
    scfgsave.c
    Log Message:
    Call prep_dir() (before md/mkdir) even when no file storage path is specified.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 02:53:18
    src/sbbs3 scfgsave.c 1.81 1.82
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22685

    Modified Files:
    scfgsave.c
    Log Message:
    Refactor the transfer file path (storage directory) creation logic in write_file_cfg(). I'm pretty sure this fixes the bug introduced in r1.75 (Mar-7-2018) where it would use the directory's custom "data dir" as the
    parent of the sub-directory even if it was blank.

    So if you're like Mark Lewis and you're getting a bunch of sub-directories created in your "ctrl" directory when you save changes in SCFG, this is likely the cause. Only happened if you had both the library's "Parent Directory"
    and the "File Transfer Path" of the directory, blank.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 03:02:47
    src/sbbs3 scfgsave.c 1.82 1.83
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv25136

    Modified Files:
    scfgsave.c
    Log Message:
    Typo in previous commit: SAFECAT, not SAFECOPY!


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 03:10:08
    src/sbbs3 scfgsave.c 1.83 1.84
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26145

    Modified Files:
    scfgsave.c
    Log Message:
    Add the "dirs" sub-folder (under data) to the last 2 commits.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, July 14, 2019 19:13:35
    src/sbbs3 scfgsave.c 1.84 1.85
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv23467

    Modified Files:
    scfgsave.c
    Log Message:
    Fix bug in previous commit (this is getting a bit rediculous). Don't add the "dirs" sub-dir to a sysop-defined directory-specific data directory.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, August 06, 2019 13:32:58
    src/sbbs3 scfgsave.c 1.87 1.88
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv31731

    Modified Files:
    scfgsave.c
    Log Message:
    Fix issue reported by Mark Lewis:
    scfg
    validates/creates directories when you save the file area config but they are
    missing the '/' between "dirs" and the internal code...

    So the Transfer File Path auto-default-value logic is actually in 3 places:
    - load_cfg.c prep_cfg()
    - scfgsave.c write_file_cfg()
    - scfgxfr2.c dir_cfg() - for display purposes only

    <sigh>

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