• exec/load/sbbslist_lib.js

    From rswindell@VERT to CVS commit on Saturday, August 29, 2015 03:58:51
    exec/load sbbslist_lib.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31404

    Added Files:
    sbbslist_lib.js
    Log Message:
    The beginnings of a library to deal with the new Synchronet BBS List (SBL)
    v4 storage format (json).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 31, 2015 13:17:46
    exec/load sbbslist_lib.js 1.1 1.2
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv4895

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Use log() instead of print()
    Include sort comparison function (compare) and sort_property as part of lib. Added remove_dupes() function.
    When reading JSON file, support lines up to 8Kbytes in length.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thursday, September 10, 2015 01:02:12
    exec/load sbbslist_lib.js 1.2 1.3
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27907

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Read the entire json file (not just 8K per line).
    Don't bother JSON-parsing if the file is blank.
    Added some library methods.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sunday, September 27, 2015 05:11:57
    exec/load sbbslist_lib.js 1.3 1.4
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3792

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Added a max_len const "enum" for various fields.
    Updated the sort compare routine to handle some nested properties nicely. Created a property_value() function to return properties in formats nice to sort or display.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 28, 2015 00:45:04
    exec/load sbbslist_lib.js 1.4 1.5
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27008

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Added more max-length constants.
    Added sort and find functions.
    Added syncterm.lst generation function.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Friday, December 08, 2017 00:07:19
    exec/load sbbslist_lib.js 1.7 1.8
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7318/load

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Latest and greatest. Protect the list file (JSON database) from accidental stupidity that results in all the entries being removed and protect against simultaneous edits and such.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, December 08, 2017 22:40:07
    exec/load sbbslist_lib.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27209/load

    Modified Files:
    sbbslist_lib.js
    Log Message:
    The latest and greatest with lots of little fixes and such. Going live
    soon.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, December 09, 2017 04:02:35
    exec/load sbbslist_lib.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv1476/load

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Fixed some errors and added some capabilities.
    Don't export the 'entry' property of the BBS object to msg base(s).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, December 10, 2017 21:22:42
    exec/load sbbslist_lib.js 1.10 1.11
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv3709/load

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Completed the BBS entry editing. Still needs beautification, but everything should be editable now.
    Now tracks number verifications and updates per entry.
    Rremoved UDP-finger auto-verification (deprecated).
    Display all system operators (if > 1) in the list view.
    Disable Ctrl-U key handler in sbbs (used for page-up).
    Support Insert and Delete for add and remove BBS entry.
    PageUp/PageDn key support.
    Fix the printf() usage that could be causing the crash in v3.16.
    Added (optional) Live preview support (set live_preview=true in modopts.ini) New command-line options: -addr, preview, -reverse
    Changed the instant-message list (sbbsimsg.lst) file format exported:
    - removed protocol names (not used)
    - added BBS name (handy in sbbsimsg.js going forward)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, December 29, 2017 19:12:25
    exec/load sbbslist_lib.js 1.11 1.12
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv26010

    Modified Files:
    sbbslist_lib.js
    Log Message:
    New methods: compress_preview(), encode_preview(), decode_preview(), and draw_preview().
    This file is now dependent on lz-string.js (for compressing preview data)




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, December 29, 2017 19:44:03
    exec/load sbbslist_lib.js 1.12 1.13
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv30007

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Updated imsg_capable_system() - SMTP and Finger have not been supported in sbbsimsg.js for quite some time now, so require both sysstat/UDP
    and msp/TCP - nothing else.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, January 01, 2018 14:49:29
    exec/load sbbslist_lib.js 1.13 1.14
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6967

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Extra protection against base64-decode failure.
    compress_preview() now accepts a binary preview, not base64 encoded
    (so skip an entire base64-encode/decode step).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, April 12, 2018 15:11:07
    exec/load sbbslist_lib.js 1.14 1.15
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv23019

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Increase maximum service address (e.g. host name) length from 28 chars to 35 chars for Bill McGarrity @ tequilamockingbirdonline.net :-)
    Doesn't seem to break anything (except backwards compatibility with SBL
    v3).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wednesday, October 03, 2018 23:38:43
    exec/load sbbslist_lib.js 1.15 1.16
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv25485

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Added a comment to the syncterm.lst file's exported by this library, e.g.:
    ; Exported from Vertrauen on Wed Oct 03 2018 01:00:17 GMT-0700 (Pacific Daylight Time)


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 12, 2019 18:43:25
    exec/load sbbslist_lib.js 1.16 1.17
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv9018

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Moved list of common_bbs_services from exec/sbbslist.js to load/sbbslist_lib.js Removed TCP/IP services not supported by BBS clients (e.g. SyncTERM) from the list (e.g. ftp, nntp, smtp, binkp, irc) and added "modem".
    This list is now used by the syncterm_list() function to filter which entries will be written to the exported syncterm.lst file.
    Also added duplicate section name detection and better names for multiple services per BBS (using service description and port as well as protocol)
    to syncterm_list().
    Added support to imsg_capable_system() for an over-ride (imsg_capable).
    Changed several info-level log messages to debug-level (e.g. for every list open/read/write).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 26, 2019 01:37:39
    exec/load sbbslist_lib.js 1.17 1.18
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv2726

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Numeric entry fields now have defined 'maximum values' in the max_val object.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 26, 2019 03:43:44
    exec/load sbbslist_lib.js 1.18 1.19
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv23004

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Define max length of service description (don't hard-code in sbbslist.js). Define max length of min_rate, max_rate, port, and protocol as well.
    Remove the max 'storage' value definition.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 26, 2019 17:25:38
    exec/load sbbslist_lib.js 1.19 1.20
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6092

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Display numeric fields with a value of 0, as 0 (not blank). Undefined
    numeric fields will be displayed as blank.
    Sort numeric fields by attempting to convert to a number first (due to bugs, some numeric fields are sometimes strings), if the value is an invalid
    number (or numeric string), the sort value of the field is -1.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 29, 2019 01:11:13
    exec/load sbbslist_lib.js 1.20 1.21
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv13357

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Create a remove_inactive() method for removing inactive (old) BBS entries.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 29, 2019 02:17:35
    exec/load sbbslist_lib.js 1.21 1.22
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21839

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Added last_active() method to return the last-activity date of an entry. Implemented the "active" special sort order.
    Added support to the remove_dupes() method for the verbose option.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, April 21, 2020 17:54:58
    exec/load sbbslist_lib.js 1.23 1.24
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv17209

    Modified Files:
    sbbslist_lib.js
    Log Message:
    Create share_list() method suitable for creating a list that can be shared with other BBSes (directly, e.g. via copy/download, rather than SYNCDATA). It changes the bbs.entry.created/updated.at (address) value to the appropriate address for another system either directly connected to VERT via QWKnet or
    on FidoNet.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, August 26, 2020 20:01:32
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/7995685667a188d792ae921e
    Modified Files:
    exec/load/sbbslist_lib.js
    Log Message:
    When exporting sbbslist.json to syncterm.lst, support PETSCII correctly

    Services with descriptions that begin with "PETSCII" or "COMMODORE"
    will have a their ScreenMode set to C64 and NoStatus=true. If the
    description also contains "80", then the ScreenMode will be set to
    C128-80col instead.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, May 26, 2021 19:34:31
    https://gitlab.synchro.net/main/sbbs/-/commit/4d105f7f9e19a6f36150c91c
    Modified Files:
    exec/load/sbbslist_lib.js
    Log Message:
    Change the max BBS name length from 40 to 30.

    40 was causing a lot of cosmetic issues in sbbslist.js (for 80col terminals). This is a compromise (not reducing to the old limit of 25 chars at least). :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 07, 2022 19:18:42
    https://gitlab.synchro.net/main/sbbs/-/commit/a3cb54710f1543b1a3a9b0bf
    Modified Files:
    exec/load/sbbslist_lib.js
    Log Message:
    Add BBS entry descriptions as a Comment key values to exported syncterm.lst

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