• webv4/lib/pages.js

    From echicken@1:103/705 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/, theversion 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 overridepages/000-home.xjs.If a page is found in mods/pages/ which does not have acounterpart in pages/, it will be listed and available. (Thismakes mods/pages/ a good place for you to put custom content.)If a subdirectory with the same name is found in both pages/ andmods/pages/, the contents of those subdirectories will be handledaccording to the above rules.If you're using webctrl.ini, you'll need to put a copy in thesame subdirectory of mods where your custom page lives, with anentry relevant to that file. (I think.)Still needs a bunch of testing.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 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.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Jan 23 15:51:06 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/34cf114ab3a3f841e9296f07
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    Eliminate "_file is undefined" error.Not sure the cause, but this change stops the error-machine:Jan 23 15:03:43 cvs sbbs: web 0120 Request: GET /?page=001-forum.ssjs+AND+1+%3D+1&sub=mystic+AND+1+%3D+1&thread=4809+AND+1+%3D+1 HTTP/1.1Jan 23 15:03:43 cvs sbbs: web 0120 HTTP Logon (user #0)Jan 23 15:03:43 cvs sbbs: web 0120 Internal Redirect to: GET /index.xjs HTTP/1.1Jan 23 15:03:43 cvs sbbs: web 0120 Handling Internal Redirect to: GET /index.xjs HTTP/1.1Jan 23 15:03:43 cvs sbbs: web 0120 Adding query value page=001-forum.ssjs AND 1 = 1 at pos 0Jan 23 15:03:43 cvs sbbs: web 0120 Adding query value sub=mystic AND 1 = 1 at pos 0Jan 23 15:03:43 cvs sbbs: web 0120 Adding query value thread=4809 AND 1 = 1 at pos 0Jan 23 15:03:43 cvs sbbs: web 0120 JavaScript: Compiling script: /sbbs/exec/xjs_handler.jsJan 23 15:03:43 cvs sbbs: web 0120 JavaScript: Executing script: /sbbs/exec/xjs_handler.jsJan 23 15:03:43 cvs sbbs: web 0120 HTTP Logon (user #4)Jan 23 15:03:43 cvs sbbs: web 0120 !JavaScript /share/sbbs/webv4/lib/pages.js line 42: TypeError: _file is undefined, Request: /index.xjs
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Git commit to main/sbbs/master on Thu Jan 28 19:33:17 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/64c382e35c6ea113591fbbf7
    Modified Files:
    webv4/lib/pages.js
    Log Message:
    Trim whitespace from page control line
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)