• exec/load/sbbsimsg_lib.js

    From rswindell@1:103/705 to CVS commit on Sun Oct 14 21:31:23 2018
    exec/load sbbsimsg_lib.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25713

    Added Files:
    sbbsimsg_lib.js
    Log Message:
    Moved most of the content of exec/sbbsimsg.js to this file for anticipation
    of being used elsewhere (e.g. in a Web UI perhaps?).


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Oct 15 15:57:37 2018
    exec/load sbbsimsg_lib.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv5413

    Modified Files:
    sbbsimsg_lib.js
    Log Message:
    Support the new ?active-users.json query response.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jan 9 03:32:45 2019
    exec/load sbbsimsg_lib.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25583

    Modified Files:
    sbbsimsg_lib.js
    Log Message:
    If the poll_systems() callback function returns true, abort the poll.


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Mon Jan 28 17:22:15 2019
    exec/load sbbsimsg_lib.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv24696

    Modified Files:
    sbbsimsg_lib.js
    Log Message:
    send_msg() now stores the inter-bbs "sent msg" recipient and time to the user property file (data/user/*.ini), like sbbsimsg.js used to before rev 1.30 when I moved the send_msg() functionality to this lib but failed to add the property file update logic. Fixed.

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Wed Jan 30 15:30:52 2019
    exec/load sbbsimsg_lib.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv9163

    Modified Files:
    sbbsimsg_lib.js
    Log Message:
    Created a dest_host() method, used for parsing the host part of a destination address (if valid), for use with sbbsimsg.js.
    Added 'include_self' parameter to read_sys_list() to control whether or not
    the local bbs is excluded from the returned list (for chksetup.js use).


    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Jun 14 20:07:56 2019
    exec/load sbbsimsg_lib.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4872

    Modified Files:
    sbbsimsg_lib.js
    Log Message:
    Don't call alert() - (load-libraries shouldn't be doing that), instead return
    a string on error which can be logged/displayed/ignored as desired by the caller.
    Catch JSON.parse() errors gracefully and return an error (string).


    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)