• exec/addfiles.js

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, April 04, 2021 19:12:49
    https://gitlab.synchro.net/main/sbbs/-/commit/0346fe759cce3c48d3cf971c
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add option (-delete) to delete the list file after import

    Like the -d option for ADDFILES.

    For Al (TRMB)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, April 07, 2021 00:10:29
    https://gitlab.synchro.net/main/sbbs/-/commit/b29f0fa81100c7e670edb069
    Modified Files:
    exec/addfiles.js
    Log Message:
    Replace print() with writeln()

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Saturday, April 17, 2021 00:21:47
    https://gitlab.synchro.net/main/sbbs/-/commit/d06825b3e636a082b9731d0a
    Modified Files:
    exec/addfiles.js
    Log Message:
    Make --help work and copy the option parsing logic from filelist.js

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, February 23, 2022 18:03:27
    https://gitlab.synchro.net/main/sbbs/-/commit/7723edad5c5233228599228b
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add -file=name|pattern option to specify files to add/update

    postfile.js still should be used for adding a single file to a filebase,
    but when updating a single file, this seemed like a simple enhancement.
    It also allows filtering of files to be added by wildcard (e.g. *.zip),
    so potentially useful for adding files too.

    Address enhancement request #348

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, September 16, 2022 18:56:13
    https://gitlab.synchro.net/main/sbbs/-/commit/baa41e238a8f79325f4e3ea9
    Modified Files:
    exec/addfiles.js
    Log Message:
    Document -auto option

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sunday, March 05, 2023 13:58:08
    https://gitlab.synchro.net/main/sbbs/-/commit/88e013a0a21a7fde9bca1af6
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add support for an optional description character offset (number) arg

    If all descriptions start a fixed offset and the default parsing
    logic (regex) isn't working for the sysop, they can specify the exact
    error offset to use for the beginning of each file's description. This
    offset is only used for the initial line of the description, not the continuation lines, but perhaps that could be done if needed.

    This is an attempt to address issue #530

    I first attempted to use "Lookbehind Assertions" in the regex, but
    didn't have any success and decided the brute force method that the
    old addfiles utility used might be as simpler solution and provide an
    effective work-around for more potential issues with auto-detecting
    the beginning of the useful file description.

    I also added descriptions of the optional arguments to the help output.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sunday, March 05, 2023 19:12:15
    https://gitlab.synchro.net/main/sbbs/-/commit/2d3a68a87956163e160df6a3
    Modified Files:
    exec/addfiles.js
    Log Message:
    Fix typo in help output

    ---
    þ 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 Sunday, September 24, 2023 13:18:26
    https://gitlab.synchro.net/main/sbbs/-/commit/c98a9c7b25259f0985219fbc
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add -readd option to mark any updated existing files as newly-uploaded

    ---
    þ 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, February 13, 2024 21:11:51
    https://gitlab.synchro.net/main/sbbs/-/commit/de9bb77a2b1b13a9a99913bc
    Modified Files:
    exec/addfiles.js
    Log Message:
    Fix typo in help text

    ---
    þ 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, March 22, 2024 12:25:53
    https://gitlab.synchro.net/main/sbbs/-/commit/67354173a674638c85b20054
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add better error reporting when listfile can't be found on disk

    For Dumas Walker (CAPCITY2)

    ---
    þ 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 Saturday, March 23, 2024 22:05:11
    https://gitlab.synchro.net/main/sbbs/-/commit/aec57bee6c6190c5aa8ff826
    Modified Files:
    exec/addfiles.js
    Log Message:
    Auto-detect/correct filename case from file lists

    Addresses issue reported by Dumas Walker (CAPCITY2) and kk4qbn (KK4QBN)
    whereby the list contains filenames in the wrong case.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Monday, April 08, 2024 20:24:24
    https://gitlab.synchro.net/main/sbbs/-/commit/60ed45998a08be0299afee3d
    Modified Files:
    exec/addfiles.js
    Log Message:
    Remove extra closing-parens pointed out by Apam

    Oops

    ---
    þ 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, April 30, 2024 18:05:01
    https://gitlab.synchro.net/main/sbbs/-/commit/6614794d7aa3af9007b7b936
    Modified Files:
    exec/addfiles.js
    Log Message:
    Better support for CD-ROM filenaming (no dashes in ISO 9660 filenames!)

    Though the FILES.BBS might have filenames with dashes, the filenames actually have underscores. Consider converting any other valid DOS filename characters that are not allowed in ISO 9660 filenames as well (but to what?).

    More logging of missing and renamed files (e.g. fixed case, dashes replaced with underscores).

    ---
    þ 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, November 10, 2023 20:38:03
    https://gitlab.synchro.net/main/sbbs/-/commit/1d42983602e49fa66d9a32d4
    Modified Files:
    exec/addfiles.js
    Log Message:
    Don't use 'undefined' for missing file descriptions

    Just a blank string instead.

    ---
    þ 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 Sunday, November 03, 2024 05:17:31
    https://gitlab.synchro.net/main/sbbs/-/commit/774127e34c43e620e3779ca5
    Modified Files:
    exec/addfiles.js
    Log Message:
    Use a different variable name (libname) to not clobber the lib variable

    Fix to Nelgin's reported error:
    line 199: TypeError: lib.parse is not a function

    ---
    þ 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 Sunday, November 03, 2024 05:20:21
    https://gitlab.synchro.net/main/sbbs/-/commit/d9c5f963f0575eb9ebcbc9e3
    Modified Files:
    exec/addfiles.js
    Log Message:
    Use var keyword for good form (no functional change)

    ---
    þ 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 Sunday, November 03, 2024 17:12:01
    https://gitlab.synchro.net/main/sbbs/-/commit/8cf795161023f810ae1066f2
    Modified Files:
    exec/addfiles.js
    Log Message:
    Actually, const is better for libs, prevent overwriting (mostly)

    If this were const to begin with, would have caught the previously
    fixed bug with the -lib option clobbering it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, December 04, 2024 23:06:32
    https://gitlab.synchro.net/main/sbbs/-/commit/b18c66fa4adb3a20387e6d79
    Modified Files:
    exec/addfiles.js
    Log Message:
    Add -dir=<code> option to manually specify multiple directories

    As requested by Nelgin.

    And this option is mutually exclusive with the [dir-code] parameter.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, December 04, 2024 23:20:01
    https://gitlab.synchro.net/main/sbbs/-/commit/3b234ecbe48bf820f9b10716
    Modified Files:
    exec/addfiles.js
    Log Message:
    Allow a comma-separate list of dir-codes to be passed to -dir option

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, December 04, 2024 23:50:54
    https://gitlab.synchro.net/main/sbbs/-/commit/35633e9077f5ae2283582ee5
    Modified Files:
    exec/addfiles.js
    Log Message:
    Auto-convert specified directory codes to lowecase

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, December 04, 2024 23:50:54
    https://gitlab.synchro.net/main/sbbs/-/commit/7429f82cfab7b128e8dfe725
    Modified Files:
    exec/addfiles.js
    Log Message:
    Allow any-case for library name used with -lib=name option

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Thursday, December 05, 2024 00:48:11
    https://gitlab.synchro.net/main/sbbs/-/commit/85b62571b204d07109885338
    Modified Files:
    exec/addfiles.js
    Log Message:
    Overhaul the help output and display valid lib names when helpful

    - If sysop specifies an invalid lib name, show them what the valid names are
    - Make it clear that the directory specified (dir-spec) is either a combination
    of -lib and -dir *or* -all *or* dir-code *or* nothing (a get prompted)
    - When using -all, clear the list of specified directories to prevent dupe
    dir scanning when misused.

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