• webv4/root/index.xjs

    From echicken@VERT to Git commit to sbbs/master on Tue Sep 29 02:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/d82554d7aae5250160baea0b
    Modified Files:
    webv4/root/index.xjs
    Log Message:
    Small tweak to handle changes to page listing/loading.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Tue Sep 29 02:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/070248acfcd71dcd7f46941b
    Modified Files:
    webv4/root/index.xjs
    Log Message:
    Added loadComponent function. Should load and output the named
    component (xjs) file from webv4/mods/components/ if available,
    or from webv4/components if available there, or output nothing
    at all (and return false) otherwise. Semi-tested, the best kind
    of tested.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Thu Oct 8 19:58:26 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/27ae1aa1b1dfb22bee4c02d8
    Modified Files:
    webv4/root/index.xjs
    Log Message:
    If ctrl/modopts.ini -> [web] is missing, start with minimum
    viable best-guess settings ({web_directory: '../webv4}). This
    gives lib/init.js a chance to set further defaults.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Stephen Hurd@VERT to Git commit to sbbs/master on Wed Nov 18 07:44:34 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/1d1e86715df65443fef67666
    Modified Files:
    webv4/root/index.xjs
    Log Message:
    Use a better default for web root.

    This should be use in all the other places, but this was enough for
    me to debug the issue at hand.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Sun Mar 7 05:31:33 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/904da5a7012462e712a46109
    Modified Files:
    webv4/root/index.xjs
    Log Message:
    Fix missing page title when defaulting to home.
    Exit immediately if client attempting redirect to arbitrary external site. (This won't work for them anyway, but no need to run the rest of the script.)
    Use js.exec() for components instead of load().
    Use <? ... ?> instead of <?xjs ... ?> for XJS one-liners.

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