• src/sbbs3/scfg/scfgxfr2.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, January 01, 2022 22:08:54
    https://gitlab.synchro.net/main/sbbs/-/commit/a878e02995d85cf68f05d393
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Don't enable the multi-file prompt (for upload descriptions) by default

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, January 17, 2022 16:28:14
    https://gitlab.synchro.net/main/sbbs/-/commit/3a1929b83c64d2bd6564f11e
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Provide more help for the "Access to Sub-directories" feature

    This is an experimental feature that's been in the code for quite a while without any supporting help/docs (there was the original commit message, I'm sure). I'm not sure how much value this feature is without providing automatic access to the *files* within the sub-directories, but there you have it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, January 27, 2022 22:43:43
    https://gitlab.synchro.net/main/sbbs/-/commit/19fbeaeaa58e27a5c07ba68c
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix up the directory internal code suffix help text

    ... more aligned with a sub-board's internal code help text.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, March 20, 2022 20:32:05
    https://gitlab.synchro.net/main/sbbs/-/commit/13c520ef1ea394d306448205
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Update the help text for the "file existence check" option

    This option actually controls whether the disk will be queried for the current file size and modification date/time (when listing) too.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Monday, April 10, 2023 17:55:14
    https://gitlab.synchro.net/main/sbbs/-/commit/8d2f526bc4b4288d6a81de41
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Updated help text: added references to wiki, removed ref to alt file paths

    Minor beautifications

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Tuesday, May 23, 2023 18:47:17
    https://gitlab.synchro.net/main/sbbs/-/commit/8bb8a8408ff6343c95a47276
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Expand help text for file directory short names to detail special names

    Copy/pasted (with little modification) from https://synchro.net/docs/file_section.html#AdvancedOptions -> "Short Name:"

    Some short names have specially predefined meaning and it's important to include that detail here.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, June 14, 2023 18:23:07
    https://gitlab.synchro.net/main/sbbs/-/commit/e383b11c184219cbf41b9a1b
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix: File Areas... Clone Settings was always cloning settings to first library

    The directories of the *first* library was always the target of the (new) "Clone Settings" option. We're using a dir_t for each lib's dir_defaults, but that doesn't mean the dir_defaults.lib is initialized to a correct libnum
    (it's not), so don't use it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, November 22, 2023 15:30:20
    https://gitlab.synchro.net/main/sbbs/-/commit/33edf54d7e526d03a74f44f1
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix CID 433237 and other unsafe string copy/concatenations

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Monday, April 29, 2024 21:35:20
    https://gitlab.synchro.net/main/sbbs/-/commit/525f11501f4329c9b5ac6313
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Add option to import and export DIRS.TXT as found on CD-ROMs

    Walnut Creek and Simtel CD-ROMs usually have this file format which lists the sub-directories along with descriptions of each (one per line).

    Not to be confused with the DIRS.TXT format that has long been exported from and imported into SCFG.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, April 30, 2024 00:26:49
    https://gitlab.synchro.net/main/sbbs/-/commit/58754892761c4ae5af2a46f3
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Improvements to DIRS.TXT/DIRS.WIN import support

    Strip prepended and trailing slashes.
    Convert backslashes to forward slashes.

    When setting lib's parent path:
    - Auto-fix the sub-directory name case
    - Display error when setting lib parent to path that doesn't exist

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tuesday, April 30, 2024 11:00:08
    https://gitlab.synchro.net/main/sbbs/-/commit/7d631507c714dab76fcb052c
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix issue in previous commit, caught by GCC warning, reported by Keyop

    lastchar() returns a char pointer, not a char.

    This fixes issue #751

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, May 03, 2024 19:37:52
    https://gitlab.synchro.net/main/sbbs/-/commit/d787ad1a541a2c48eee857a0
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Support dir/subdir syntax in DIRS.TXT (CD-ROM) import

    getfname() just returns the last path element, so can't use that here.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Monday, May 06, 2024 16:21:57
    https://gitlab.synchro.net/main/sbbs/-/commit/a4e38543159fb11dd92a1045
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Skip files listed in imported DIRS.TXT/DIRS.WIN/00_INDEX.TXT files

    I'm not clear why Walnut Creek would list files (e.g. readme.txt) in these lists of "directories", but don't create file areas for them. Less clean-up required after import.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, October 11, 2024 18:45:51
    https://gitlab.synchro.net/main/sbbs/-/commit/a894f176ddc78b3dfed10e75
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Update online help (F1 key displayed help text) for directory "Short name"

    This text/terminology was pretty out of date.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, November 05, 2024 19:28:37
    https://gitlab.synchro.net/main/sbbs/-/commit/af90e9d35b93489f48c80154
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    If fail to create dirs.raw in lib parent dir, create in ctrl_dir instead

    Fix for issue #809

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, March 01, 2025 17:13:34
    https://gitlab.synchro.net/main/sbbs/-/commit/8bb9de45d72bc25009a86816
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Stop counting dupes for no reason.

    While dupes were counted, nothing was done with the count, so just
    delete it.

    Fixes Clang warning.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 00:38:18
    https://gitlab.synchro.net/main/sbbs/-/commit/fb648e0254367d4338fb621b
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Give sysop option to the abort import upon duplicate directory detection.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 00:55:43
    https://gitlab.synchro.net/main/sbbs/-/commit/6b2295cde2e52311f70e15e5
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Give sysop option to continue importing dupes without prompting/notification

    Also the changed prompt that said "could not be imported" was not accurate. It's just overwriting a previously imported directory with the same internal code.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 00:56:38
    https://gitlab.synchro.net/main/sbbs/-/commit/69c8f38b4dd2941fa0513654
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Typo

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 03:29:08
    https://gitlab.synchro.net/main/sbbs/-/commit/b1cf73e322081c643f394401
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Better raw directory/listing import de-duplication of short names

    ... and when there is a duplicate we can't de-duplicate (given the current permutation function anyway), display a more helpful dialog message
    ("Duplicate dir name") unique from the duplicate internal code error dialog,
    so if it's ever a problem again we can distiguish the two different causes.

    This fixes issue #820

    Other fixes:
    - Don't increment the number of dirs imported before the opportunity to abort
    import (upon dupe) is given - which could result in an invalid number of dirs
    imported/added
    - Don't import/add more dirs than the number of options that can be displayed
    (100000 currently)
    - Use isdir() to check if the path is a directory (not fexistcase) and only
    do this check if the default directory for the lib has "Check for file
    existence" enabled (the default)
    - Give the opportunity to contnue or abort the import upon the
    "Not a directory" error/dialog.
    - When deriving dir (short) name from a path, skip non-alphanumeric chars
    If none can be found (in the last 25 chars of the path), use the first 25
    chars of the path instead.
    - Unrelated fix: a newly created lib's 'vdir' member wasn't initialized
    resulting in the directory's Virtual File Path starting with "//" until the
    config was reloaded.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 04:22:32
    https://gitlab.synchro.net/main/sbbs/-/commit/30b30ec17cbb3dff3462af9b
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Remove the (Synchronet) DIRS.TXT import and export options

    I don't think this file format served any purpose now that the file.ini is perfectly suited to exporting and importing using other/better methods.

    The CD-ROM DIRS.TXT (aka DIRS.WIN) import and export option remain, along
    with Fido and Raw directory listings.

    Also, when importing a raw directory listing, if the library doesn't already have a parent directory set when importing (and the user is prompted for the parent dir to import from and enters one), set it.

    Do proper directory existing changes when setting a lib's parent directory. getdircase("/somedir/") fails. :-(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 15:28:13
    https://gitlab.synchro.net/main/sbbs/-/commit/ae580dc3d6c536b1e8202409
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Restore use of getdircase() when setting lib parent dir, now that it's fixed

    Pop-up progress messages when deleting files

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 23:55:34
    https://gitlab.synchro.net/main/sbbs/-/commit/846face774de38fb5982c18e
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Deal better with absence of trailing slash in lib's parent_path

    ... when importing a raw/directory listing

    Most things add the trailing slash, but it's not guaranteed.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 14, 2026 23:55:34
    https://gitlab.synchro.net/main/sbbs/-/commit/c8096d61734cf623f87d2c46
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Improve directory list import

    - Better support for importing lists from multiple parent paths into same lib
    - Better detection of missing or mis-capitalized directories on imported media - In raw and dirs.txt import mode, uses more of the path for dir short names
    - Indicate with brackets ([]) when the parent directory is implicitly data/dirs - Update help text for Parent Directory
    - Rename "Transfer File Path" to (hopefully more clear) "Actual File Path"
    - More reliable indicator (especially on Windows) when Actual File Path is
    implicit (in [] brackets), forward versus backslashes and missing trailing
    slash was defeating our string comparison logic

    I imported several CD-ROMs using both raw/directory listing and various flavors of DIRS.TXT, DIRS.WIN, and 00_INDEX.TXT and came up with these changes to make everything more reliable and less frustrating for the sysop.

    I did not test importing FILEGATE.ZXX; someone should do that. :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thursday, January 15, 2026 22:45:40
    https://gitlab.synchro.net/main/sbbs/-/commit/cc279d72c0a84bb1b0427c90
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Usability improvement with importing file lists

    Insure proper slash-terminated of parent dir, auto-detect proper case of
    list filename to import.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, January 16, 2026 01:09:08
    https://gitlab.synchro.net/main/sbbs/-/commit/09f317279ef9cfbdd236eb8f
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Fix typo in sprintf format string, caught by GCC

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, January 16, 2026 01:24:57
    https://gitlab.synchro.net/main/sbbs/-/commit/a42479298fc2a5e6a5a90d1d
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Change the import preference order from 00_INDEX.TXT first, to last

    if a DIRS.WIN or DIRS.TXT file exists in the same directory as a 00_INDEX.TXT, the DIRS.* file is likely the one we want.

    This is just determining the default contents for the filename edit field.
    The sysop can import whatever path/filename they like.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, January 16, 2026 01:57:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c12e79a083f97759db00fbe5
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Loop the filename prompt when importing a file list and the file can't be found

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