- Jan 11, 2019
-
-
rswindell authored
- this change is dependant on the updated load/modopts.js. Cache the presence_lib and nodelist options in the bbs.mods object to speed up the re-loading of this script from the BBS. This means that changes to the presence_lib or modopts.ini will require the user log-off/back-on to experience the changes (only for the nodelist module).
-
rswindell authored
of the user_age_and_gender() method. Changed options.web_inactivity_timeout to just options.web_inactivity to be more consistent with the existing modopts.ini [web] option naming.
-
rswindell authored
You may now request the value of a single modopts.ini key value (optionally specifying a default option value), via: optval = load({}, 'modopts.js', 'modname', 'optname'); or: optval = load({}, 'modopts.js', 'modname', 'optname', default_optval); This usage will return just a single option value rather than an object containing properties reflecting all the options in the [modname] section. The pre-existing usage is still supported (and preferred in most cases).
-
rswindell authored
(default: 'browsing' - to match web UI verbiage).
-
rswindell authored
(includes web v4 users logged-in/recently-active). Added 'W' / who's online command to those shells that didn't have it (except for Wildcrap!) - equivalent of the Ctrl-U global hot-key.
-
rswindell authored
'include_web_users' is set to false in the [nodelist] section of the modopts.ini Document the arguments supported in comments. It's no '-noself' instead of '-notself' to exclude own node from output. Also more/better "use strict" enforcement.
-
rswindell authored
Provide better example of constructing/using User objects.
-
rswindell authored
Added more comments and use 'var' when defining a new variable (though 'const' might be better here, don't want to risk that change atm).
-
- Jan 10, 2019
-
-
rswindell authored
-
rswindell authored
numbers beginning w/0 are interpretted as octal by parseInt() by default.
-
echicken authored
-
rswindell authored
0-byte .msg files are normal and do not mean a msg is waiting for the user.
-
rswindell authored
-
rswindell authored
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.
-
rswindell authored
Added properties to web_user object: do_not_disturb and msg_waiting
-
rswindell authored
The active-users.json response now includes a 'prot' (protocol) object, just in case we want to use that in the future.
-
rswindell authored
derived from a portion of ecwebv4's ndoelist.js. TODO (echicken, help!): fill-out the 'action' property from the web session and double-check on the logontime value (can we get this from the session blob?).
-
rswindell authored
Much of the code in these 2 modules was moved/migrated to the new presence_lib and made more reusable/modular.
-
rswindell authored
Migrated mostly from exec/nodelist.js, some from fingerservice.js.
-
rswindell authored
-
rswindell authored
when sending the "ANSI" output to stdout (and not a file).
-
- Jan 09, 2019
- Jan 08, 2019
-
-
echicken authored
Otherwise the temperature will appear to be hot hot hot but actually be in kelvin.
-
rswindell authored
key to [web] section.
-
rswindell authored
(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).
-
rswindell authored
If a SessionPwd (in sbbsecho.ini) value was (just) a number, it would barf-up binkp.js and cause an authentication BinkP failure for that node.
-
rswindell authored
-
rswindell authored
example is now actually a functional replacement for the 'exec/node list' command (e.g. using 'jsexec nodelist') and a replacement for the hard-coded Ctrl-U (who's online) handler. To install, run 'jsexec nodelist install'. Supports modopts.ini [nodelist] settings (default to false): - include_age - include_gender Other than the new age/gender options, *should* function identically to the hard-coded nodelist() and whos_online() functions from getnode.cpp
-
rswindell authored
array. These correlate with the lines in ctrl/attr.cfg and are used for setting console attributes in places where text.dat strings perhaps didn't make sense. These values are used like this (e.g. to set the current console attributes configured for filenaems): console.attributes = console.color_list[ATTR_FILENAME];
-
rswindell authored
("sysop" and "The Guru") - fixing the simple node listing apps, like the echicken web UI. If your node lister wants to do something more fancy (e.g. display the name of the sysop or the guru engine), you'll have to handle that yourself.
-
echicken authored
-
rswindell authored
NodeConnection[] // lowercase NodeConnectionProper[] // propercase If the node.connection value is in these "arrays", use that value to print node's connection type/protocol. If it's not, it's a modem connection and the node.connection value is the DCE rate (in bps).
-
rswindell authored
-
rswindell authored
WITH_SDL are not defined. This should fix JSDCOS builds for those without libsdl1.2-dev installed - but really, you want SDL installed to get the full docs, I think.
-
- Jan 07, 2019
-
-
sbbs authored
warning: ISO C++ forbids converting a string constant to 'char*' and comparision between signed/unsigned int. This does *not* address the reported build issue: In function `_start': (.text+0x20): undefined reference to `main'
-
echicken authored
-
rswindell authored
-
rswindell authored
Added support for optional modopts.ini [xtrn_sec] keys: - eval_before_exec - eval_after_exec These may be set to JavaScript expressions to be evaluated (executed) before and/or after any program is executed from this module. Also fixed a bug where a door-custom font may not be loaded if the door was the only one available in a section.
-