• src/sbbs3/js_system.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 13:38:22 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/8b898fde24ccaf96ffc073c9
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix dead code issues reported by Coverity-scan

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Apr 4 15:13:57 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/0ef24e4d184e85ad1f251df9
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    client.addr is now an array not pointer

    CID 319143

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Mon Apr 19 19:50:36 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/237ace328d017058047ed148
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Populate system.uptime in JSDoor

    This variable tracks the time that jsdoor was started.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Aug 8 23:03:19 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/51e0834286ed6e7157d25efe
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Improve the systme.findstr() JSDOCS description text

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Tue Jan 4 18:41:48 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ffcacc9711c0c481110eaef6
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Use SAFECOPY() - CID 345193

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Jan 19 20:32:53 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/3b6d2af90c483d85be453f5c
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Eliminate a couple new 'unused variable' warnings.

    ---
    þ 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 15:05:46 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/cf5b2141cc37a211cf241dbd
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Use JS_ValueToECMAUint32 for full 32-bit time_t values

    Resolves issue with filelist.js trying to pass 4294967295 (-1) to system.datestr() resulting in:
    !JavaScript /sbbs/exec/filelist.js line 13: Error: can't convert t to an integer

    ---
    þ 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 16:24:39 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/cd199b7451ce3a3b06ebec7e
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    typedefs to suppress warnings about using JS_ValueToECMAUint32 w/int32_t

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 30 03:00:15 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/65f112d40538be61195a712c
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add JS system.find_login_id() method

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Dec 30 03:06:11 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/8b9a3d576d213ada641542e5
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Resolve unused variable warning introduced in previous commit

    Some trailing whitespace clean-up too.

    ---
    þ 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 Thu Sep 5 19:53:20 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/6f44d469a50b7e27559385a0
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Create system.tz_offset property; minutes east (+) or west (-) of UTC

    From todo list on Vertrauen, not in GitLab (shrug)

    ---
    þ 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 Nov 1 17:16:04 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/f2f595828bfea550a482761d
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Update docs for datestr() method

    ---
    þ 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 Sun Jan 12 19:01:43 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1c1dbf2f4c81de575534d8b9
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix system.datestr(0) returning garbage

    Actually use the return value of datestr()

    Fixes issue reported by Deuce, regression introduced in commit 490e86fa38c

    ---
    þ 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 Sun Jan 12 19:19:32 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/d24295e96fb9f8475255e778
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add missing paren

    ---
    þ 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 Fri Jan 17 00:57:26 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/ad49884c35c12df2ba44f6cf
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    4 new system properties related to date formatting

    - date_format
    - date_separator
    - date_verbal
    - birthdate_format

    See JSDOCs for details

    ---
    þ 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 Jan 17 01:19:51 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/4aca71193b32b346abb79448
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add system.birthdate_template string property

    Suitable for passing to console.gettemplate() when prompting for a birth date.

    I'm using like this in my logon.js to correct corrupted newuser birth dates:
    while(user.age < 10) {
    console.putmsg(bbs.text(bbs.text.EnterYourBirthday));
    user.birthdate = console.gettemplate(system.birthdate_template);
    }

    ---
    þ 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 Sun Jan 19 20:34:36 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/9b8d3c0cdc9da6cff49dc97b
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix typo in exception message about getnodedat() failure

    ---
    þ 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 Sun Jan 19 21:20:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/43ccc3f02588aa21afcc6132
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix system.matchuserdata() bug caught by tests/system/rtypes.js on rpi4

    Argument count wasn't checked before checking/parsing each optional
    argument.

    Also noticed/ that the 'match_del' parameter added in commit
    e61eb77b91fe didn't advance the argument index, fixed that issue.

    ---
    þ 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 Sun Jan 19 21:39:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3bbeb76401eefbb2fe5601da
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    More argument validation fixups for system.matchuserdata()

    ---
    þ 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 Jan 20 20:21:07 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1b6da55209026fcca35e805c
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    system zonestr(), timestr(), and datestr() methods don't require an argumnet

    So don't check for null/undefined argv[0] if not passed one

    ---
    þ 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 Sun Mar 23 23:46:19 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1e440ffc355ef21bcff2f15e
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix alignment of system property descriptions in JSDOCS

    ---
    þ 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 Mar 31 15:28:25 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fa00a7faf87d39d16c3cddc7
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix indent (whitespace) only

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