• src/sbbs3/js_system.c

    From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Sep 13 18:20:08 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c98ed907ce8a8b0644024167
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add system.notify() method for notifying user/operator of an important event. --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Dec 2 00:09:17 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/e8ffbc856f75449e20409103
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Add system.text() method to return text.dat strings Like bbs.text(), except the "system" object is more widely available (e.g. in JSexec, mail server, web server, services) - in case any text.dat strings are useful in those execution environments tool. Requested by mlong.Also cleaned up the argument validation in some of these other system methods (throw useful error exceptions rather than just returning false).
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Wed Dec 2 01:15:22 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/d0551f349157c5fd76ffbc76
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Resolve new warning introduced in previous commit.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Dec 5 18:09:15 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/b11d34b07815786b7ea1006e
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Fix null pointer deref (crash) in new_user() when "client" object is invalidWhen system.new_user() was called but the current "client" object is uninitialized (e.g. has NULL protocol, host or IP address fields because there is no active client, e.g. because is was called from a timed event with active user online) - this code would dereference a NULL pointer and crash the b0rad. Reported by Mortifis.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jan 23 17:45:56 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/993466007bac54d784f214dc
    Modified Files:
    src/sbbs3/js_system.c
    Log Message:
    Performance enhancement for system.findstr()The first argument can now optionally be an array of strings (e.g. as read from File.readAll()), so that multiple searches of the same file (e.g. twitlist.cfg, while importing messages) does not require multiple *reads* of the same file.
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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 pointerCID 319143
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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 JSDoorThis variable tracks the time that jsdoor was started.
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 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
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)