• src/sbbs3/scfg/scfgxfr2.c

    From rswindell@VERT to CVS commit on Sunday, June 04, 2017 21:30:01
    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 Wednesday, June 28, 2017 09:50:17
    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 Wednesday, August 02, 2017 18:22:32
    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 Saturday, November 11, 2017 01:52:00
    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 Wednesday, November 15, 2017 21:33:48
    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 Tuesday, March 06, 2018 17:12:51
    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 Wednesday, August 15, 2018 23:40:22
    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 Saturday, July 13, 2019 23:51:13
    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 Monday, July 29, 2019 17:38:36
    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 Monday, August 05, 2019 20:29:21
    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 Wednesday, November 11, 2020 19:49:30
    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 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 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 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 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