• src/sbbs3/js_system.c

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Mar 16 15:06:14 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/f3bc58ff48886010b834c040
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Rename system.last* to system.last_*, leaving old names as aliases... to make property names more consistent (e.g. with bbs.last_node).The old names (without the underscores) are still usable but won't appearin JSDOCS (i.e. jsobjs.html).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Sun Apr 23 18:59:30 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e504e20cb6fb6152f4a12b21
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add a little more clarity to check_filename() JSDOCS string
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat May 20 15:07:18 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c382e714936d42dba895e806
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add system.guru (default guru name) property
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows)@1:103/705 to Git commit to main/sbbs/master on Sat May 27 16:39:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/e5bd0b631f77a5b1eb979a1c
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    New property: system.mqtt_enabledJSDOC fix-ups.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Mar 6 22:06:50 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/2cdafd3585f894c192f2c934
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add system.git_date proprety (string)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Mon Apr 8 16:32:54 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/8108e0cd9e8eb85a7e77fca1
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Address MSVC warning and CID 492209 with typecast of time_t to uint32_t

    yes, this is a Y2K38 (or Y2106) issue, but we should have that worked out
    when upgrading to the next libmozjs.

    Need something like NUMBER_TO_JSVAL() and equivalent LAZY_NUMBER macro that
    can deal with >32-bit ints correctly (or just always convert to double?).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 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
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Jan 12 19:01:42 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Fri Jan 17 01:19:50 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);
    }
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 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.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Mon Jan 20 20:21:06 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 23 23:46:18 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
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Mon Mar 31 15:28:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fa00a7faf87d39d16c3cddc7
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix indent (whitespace) only
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 10 23:39:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7f9b4c1b5ff655f67b274afd
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add new methods: system.check_realname() and system.check_password()

    These are wrappers around the userdat API functions, suitable for servers
    to do prospective new user string validation.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)