• webv4/lib/pages.js

    From echicken@VERT to Git commit to sbbs/master on Mon Sep 28 19:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/f1606a940708ca56e3e2381c
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    Allow for a mods/pages directory.

    If a page is found in both pages/ and mods/pages/, the
    version from mods/pages/ will be used.

    When matching files, the numeric ordering prefix is ignored;
    this means that eg. mods/pages/666-home.xjs will override
    pages/000-home.xjs.

    If a page is found in mods/pages/ which does not have a
    counterpart in pages/, it will be listed and available. (This
    makes mods/pages/ a good place for you to put custom content.)

    If a subdirectory with the same name is found in both pages/ and
    mods/pages/, the contents of those subdirectories will be handled
    according to the above rules.

    If you're using webctrl.ini, you'll need to put a copy in the
    same subdirectory of mods where your custom page lives, with an
    entry relevant to that file. (I think.)

    Still needs a bunch of testing.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Mon Sep 28 19:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/7b130f8f05a13aa39959a300
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    Sort the merged page list.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Mon Sep 28 19:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/cf3a9e1b0f7ec4e52838f366
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    _getPageList returns an array now.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Mon Sep 28 19:40:27 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/912b6ece45754d62438c1b0d
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    Make pagelist sort a little less ugly.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to sbbs/master on Fri Oct 23 20:07:41 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/d8542bfcab4217e9f2bb0bfe
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    When using filename as page name, strip ordering prefix and ext.

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