• src/sbbs3/scfg/scfgxfr2.c

    From deuce@VERT to CVS commit on Thu Sep 19 07:46:16 2013
    src/sbbs3/scfg scfgxfr2.c 1.36 1.37
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv4029

    Modified Files:
    scfgxfr2.c
    Log Message:
    Remove another unused variable.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ t
  • From rswindell@VERT to CVS commit on Wed Dec 7 17:02:41 2016
    src/sbbs3/scfg scfgxfr2.c 1.39 1.40
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv22638

    Modified Files:
    scfgxfr2.c
    Log Message:
    Fix bug introduced in last commit of this file (rev 1.39, Aug-22-2015).
    While "fixing" compiler warnings, a bug was introduced that would cause an infinite loop while inserting File Libraries. This is possibly the same
    problem reported by KK4QBN.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sun Jun 4 21:30:01 2017
    src/sbbs3/scfg scfgxfr2.c 1.40 1.41
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv2081

    Modified Files:
    scfgxfr2.c
    Log Message:
    Improvements to dirs.raw/directory listing import into file library:
    1. added option to import empty sub-directories (previously empty subdirs were
    always ignored).
    2. attempt to generate a unique internal code when the auto-generated internal
    code (based on the characters in path) is not unique.
    3. display "Scannnig Directories..." popup since this can take a while
    (especially on network drives and especially recurisvely).

    Note: if you're importing lots of deeply nested subdirs, it's likely that a unique internal code can't be generated (from the path) for all subdirs.
    A randomly generated internal code might be an option if this is really
    a problem for any sysops.

    Also updated the brace style of this .c file, finally.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wed Jun 28 09:50:17 2017
    src/sbbs3/scfg scfgxfr2.c 1.42 1.43
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv10442

    Modified Files:
    scfgxfr2.c
    Log Message:
    Fix recently introduced bug with the importing of FILEBONE.NA/FILEGATE.ZXX
    file area listings: Since these file don't contain paths, the paths are blank (which is normal and expected), but a recent change treated directories with the same path (even if blank) as the same directory and over-write. Now, only non-blank paths are compared to see if the directory is a duplicate and should be overwritten.

    Also changed references to FILEBONE.NA to FILEGATE.ZXX since that appears to
    be the currently distributed filename. Update help text to reflect this too.

    Also display a popup error if attempting to import a non-existant filename.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 2 18:22:32 2017
    src/sbbs3/scfg scfgxfr2.c 1.43 1.44
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv31771

    Modified Files:
    scfgxfr2.c
    Log Message:
    Add a per-directory toggle option to enable access to files not in the database (currently only via FTP) - simiilar to the global FTP option: DIR_FILES.
    I intend to extend this option to the terminal server as well.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sat Nov 11 01:52:00 2017
    src/sbbs3/scfg scfgxfr2.c 1.49 1.50
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv10023

    Modified Files:
    scfgxfr2.c
    Log Message:
    When exporting file areas to text files, use native line-endings, not CRLF (change for *nix).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Nov 15 21:33:48 2017
    src/sbbs3/scfg scfgxfr2.c 1.50 1.51
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv21304

    Modified Files:
    scfgxfr2.c
    Log Message:
    Fix a couple of problem with File Area Importing...
    - Must set the dirnum property so the initial sort doesn't re-order the
    imported dirs (changing them from the list file order)
    - Make sure all the required strings have some text even if the import file is
    in the wrong format or corrupt

    * Include the Directory Index in the Advanced Options menu, for debugging
    * Allow the Directory settings menu to expand beyond 60 chars wide
    * Display the implied/auto-generated Transfer File Path


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 6 17:12:51 2018
    src/sbbs3/scfg scfgxfr2.c 1.52 1.53
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv7350

    Modified Files:
    scfgxfr2.c
    Log Message:
    Use the custom data dir (if one was specified) in the displayed
    auto-generated file transfer path (no transfer path specified), in
    square brackets.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Aug 15 23:40:22 2018
    src/sbbs3/scfg scfgxfr2.c 1.54 1.55
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv619

    Modified Files:
    scfgxfr2.c
    Log Message:
    When importing file areas from a file (e.g. FILEGATE.ZXX), and the dir's
    "short name" (e.g. derived from the "AREA tag" from FILEGATE.ZXX) is the same as a pre-existing dir, just over-write that dir - don't create a new one.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jul 13 23:51:13 2019
    src/sbbs3/scfg scfgxfr2.c 1.58 1.59
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv30024

    Modified Files:
    scfgxfr2.c
    Log Message:
    Fix bug introduced in rev 1.53 (Mar-2018), when displaying the selected directory's file transfer path, the array index usage here could cause a
    crash or just garbage to be displayed.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jul 29 17:38:36 2019
    src/sbbs3/scfg scfgxfr2.c 1.59 1.60
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv5274

    Modified Files:
    scfgxfr2.c
    Log Message:
    Don't display transfer paths as always lower case. This confuses users who
    use mixed or upper-case for their Transfer File Paths.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Aug 5 20:29:21 2019
    src/sbbs3/scfg scfgxfr2.c 1.60 1.61
    Update of /cvsroot/sbbs/src/sbbs3/scfg
    In directory cvs:/tmp/cvs-serv2605

    Modified Files:
    scfgxfr2.c
    Log Message:
    Use the simpler/most sensible auto-default Transfer File Path logic used
    in load_cfg.c for displaying the path. If you previously had a "parent dir" configured for a library but did *not* have one or more "Transfer File Paths" configured for directories within that library, the default location of your files has now moved! Either clear-out the "Parent Directory" setting or move your files where SBBS will now expect them to be. Sorry about that.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wed Nov 11 19:49:30 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/72b17e6669dea58a1c3287e5
    Modified Files:
    src/sbbs3/scfg/scfgxfr2.c
    Log Message:
    Clarify in the help text that first directory is cloned...

    when there is no "template directory" selected/configured.
    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jan 1 22:08:54 2022
    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 Mon Jan 17 16:28:14 2022
    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 Thu Jan 27 22:43:43 2022
    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 Sun Mar 20 20:32:05 2022
    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 Mon Apr 10 17:55:14 2023
    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 Tue May 23 18:47:17 2023
    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 Wed Jun 14 18:23:07 2023
    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 Wed Nov 22 15:30:20 2023
    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 Mon Apr 29 21:35:20 2024
    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 Tue Apr 30 00:26:49 2024
    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 Tue Apr 30 11:00:08 2024
    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 Fri May 3 19:37:52 2024
    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 Mon May 6 16:21:57 2024
    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 Fri Oct 11 18:45:51 2024
    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 Tue Nov 5 19:28:37 2024
    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 Sat Mar 1 17:13:34 2025
    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