• webv4/root/index.xjs

    From echicken@VERT to Git commit to sbbs/master on Monday, September 28, 2020 19:40:27
    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 Monday, September 28, 2020 19:40:27
    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 Thursday, October 08, 2020 12:58:26
    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 Tuesday, November 17, 2020 23:44:34
    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 Saturday, March 06, 2021 21:31:33
    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