-
exec/fingerservice.js
From
rswindell@VERT to
CVS commit on Mon Oct 15 11:36:00 2018
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 Fri Jan 4 19:04:00 2019
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 Mon Jan 7 19:59:00 2019
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 Wed Jan 9 21:38:00 2019
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 Wed Jan 9 22:33:00 2019
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 Fri Jan 18 18:49:00 2019
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 Sat Jan 11 11:46:45 2020
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 Wed Sep 9 06:40:19 2020
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 Sun Nov 15 19:25:36 2020
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sun Dec 8 03:00:23 2024
https://gitlab.synchro.net/main/sbbs/-/commit/da48cfba4c78852ab23bef7f
Modified Files:
exec/fingerservice.js
Log Message:
Use new node (customizable) activity, if available (and strip ctrl chars)
This allows customized node actions/activity to be sent over finger/activeuser (so visible in sbbsimsg.js for example).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net