• exec/load/userprops.js

    From rswindell@VERT to CVS commit on Tue Mar 24 12:45:36 2020
    exec/load userprops.js 1.5 1.6
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv31602

    Modified Files:
    userprops.js
    Log Message:
    Guest (G-restricted) accounts don't get persistent properties:
    - always return the default value from the get() method
    - always return true from the set() method (don't write anything)
    Thanks to the anonymous YouTube BBS reviewer for highlighting this problem (i.e. Minesweeper used the preferences of the last Guest user to run it)



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Apr 2 00:30:26 2020
    exec/load userprops.js 1.6 1.7
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv14635

    Modified Files:
    userprops.js
    Log Message:
    If only 2 arguments are passed to userprops.set(), assume the caller won't to set the entire section/object all in one go. This is more intuitive than the (still supported) userprops.set(section, null, object) syntax.


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