• exec/fingerservice.js

    From rswindell@VERT to CVS commit on Monday, October 15, 2018 22:36:00
    exec fingerservice.js 1.40 1.41
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2877

    Modified Files:
    fingerservice.js
    Log Message:
    Include node "misc" flags (e.g. message-waiting, locked, paging-disabled)
    in the node status reports.
    Skip nodes with the "anonymous" flag set.
    Support new special queries (over SYSTAT or Finger):
    - stats.json
    - active-users.json
    ... for easier programmatic parsing (e.g. by sbbsimsg[_lib].js)



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 05, 2019 08:04:00
    exec fingerservice.js 1.41 1.42
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv32632

    Modified Files:
    fingerservice.js
    Log Message:
    A bit of a modernization/overhaul of this service script:
    - Enabling JavaScript "strict" mode and resolved the resulting errors
    (mostly in Merlin's "findfile" modification)
    - Enabled the use of a [fingerservice] section in ctrl/modopts.ini:
    include_age_gender (default is true)
    include_read_name (default is true)
    findfile (default is true)
    bbslist (default is false)
    - New optional "?bbslist" query to return the names in the local sbbslist.json
    Also "?bbs:<name>" to return the JSON representation of a specific BBS entry - Work-around xtrn_area.prog[] bug where array items could be a non-object
    (e.g. just 'true' in this case) if the user (no user in this case) did not
    meet the configured access requirements for the external program in question
    so the action value in the node/active-user reports would say
    "running undefined" - just display the internal code instead of the full
    name if this the xtrn_area.prog[code] is undefined (bug fixed in v3.17c).
    - The ?active-users.json response now includes the numeric node 'action'
    value (for possibly localization in the future), the 'xtrn' name, when
    appropriate, and the current node.aux value. These fields are not currently
    used by the client (sbbsimsg*.js), but may in the future, mainly for
    localization/translation or beautification purposes.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, January 08, 2019 08:59:00
    exec fingerservice.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11881

    Modified Files:
    fingerservice.js
    Log Message:
    Separate the include_age_gender modopts.ini value into 2 options
    (to be consistent with [nodelist]):
    - include_age
    - include_gender
    and they can be separately controlled.
    Also fixed a 'use strict' violation I didn't find before with assignment
    to an undeclared variable (uname).



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, January 10, 2019 10:38:00
    exec fingerservice.js 1.44 1.45
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22372

    Modified Files:
    fingerservice.js
    Log Message:
    Include web users in the active-users lists.
    The active-users.json response now includes a 'prot' (protocol) object, just in case we want to use that in the future.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thursday, January 10, 2019 11:33:00
    exec fingerservice.js 1.45 1.46
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28232

    Modified Files:
    fingerservice.js
    Log Message:
    Added a new modopts.ini setting for [fingerservice]:
    include_location (defaults to true)
    New comments at the top documenting the modopts.ini settings available.
    Include misc flags (M for msg waiting, P for do-not-disturb) in web user status active-users.json was excluding node with the POFF (do not disturb) flag set, thus making the do_not_disturb property kind of moot - fixed.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 19, 2019 07:49:00
    exec fingerservice.js 1.46 1.47
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24615

    Modified Files:
    fingerservice.js
    Log Message:
    Better example of creating a User instance.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sunday, January 12, 2020 00:46:45
    exec fingerservice.js 1.47 1.48
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1606

    Modified Files:
    fingerservice.js
    Log Message:
    More detailed error when failing to lookup an sbbslist.json record.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, September 09, 2020 17:40:19
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/a2e4d573a8be344c99db1056
    Modified Files:
    exec/fingerservice.js
    Log Message:
    Added special finger request: json-dbs

    Returns a list of publicly accessible JSON db's from ctrl/json-service.ini (assumes the JSON service is not just listening on localhost).
    Sysop can opt-out by setting json_db=false in the [fingerservice]
    section of modopts.ini

    Now mcmlxxix has a reason to expose his BBS to the world's fingers.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Monday, November 16, 2020 08:25:36
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/cf5cbb587ea2c87a5b2c1737
    Modified Files:
    exec/fingerservice.js
    Log Message:
    Don't include date of birth in finger response for users' info.

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