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.
Please register or sign in to comment