• ecwebv4 issues

    From Nightfox@1:103/705 to All on Mon Jan 15 14:23:19 2018
    Hi all,

    I have ecwebv4 set up on my BBS and have had a couple issues with it and am wondering if anyone else has seen the same issues.

    I've downloaded the latest ecwebv4 from its GitHub page: https://github.com/echicken/synchronet-web-v4

    One issue I've seen with it is after logging in, when I click on my username in the upper-right and click on "Mail", it just brings me back to the main page. It shows ?page=000-mail.xjs in the URL, but it shows the main page.

    Another issue I'm seeing is when I click the "Games" link, it shows the error "003-games.xjs.ssjs line 39: TypeError: settings.xtrn_sections.forEach is not a function". I've heard the "Games" link shouldn't even be there anymore.. After downloading ecwebv4, I made sure I've extracted the correct file (I don't have any older copies on my system) and I created a fresh ecwebv4 directory in my sbbs/web/root directory and placed it in there. I've also tried deleting all old .xjs.ssjs files but that didn't help either.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Mon Jan 15 17:52:15 2018
    Re: ecwebv4 issues
    By: Nightfox to All on Mon Jan 15 2018 14:23:19

    One issue I've seen with it is after logging in, when I click on my username in the upper-right and click on "Mail", it just brings me back to the main page. It shows ?page=000-mail.xjs in the URL, but it shows the main page.

    As I said, I'll look into this one - I just haven't taken the time yet.

    Another issue I'm seeing is when I click the "Games" link, it shows the error "003-games.xjs.ssjs line 39: TypeError: settings.xtrn_sections.forEach is not a function". I've heard the "Games" link shouldn't even be there

    To reiterate, 'settings.xtrn_sections' is not referenced anywhere in the current code.
    It was a thing before, but it has been replaced. (The change was to move from a
    whitelist of External Programs sections to a blacklist, controlling which are listed on
    the Games page.) That error message is an impossibility with the current codebase.

    is not a function". I've heard the "Games" link shouldn't even be there anymore.. After downloading ecwebv4, I made sure I've extracted the correct

    Where did you hear that? The Games link should still be there, however it is displayed
    conditionally by default - only authenticated users should see it.

    anymore.. After downloading ecwebv4, I made sure I've extracted the correct file (I don't have any older copies on my system) and I created a fresh ecwebv4 directory in my sbbs/web/root directory and placed it in there.

    Nevertheless, that error message is coming from an older version and not the current
    one. I've just now double-checked, whether cloning the repository via git or downloading it as a zip archive from GitHub, that the word 'sections' occurs only once
    in the entire repository (in the readme) and 'xtrn_sections' occurs nowhere.

    I've also tried deleting all old .xjs.ssjs files but that didn't help

    The last thing I can suggest, and this is without knowing whether it will make any
    difference, is to move or delete any 'SBBS_SSJS.*.*.html' files from your '/sbbs/temp'
    directory. These seem to be rendered SSJS files. I don't know if they're always
    generated, if they serve as a cache, etc., but maybe that's a possible cause.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Mon Jan 15 15:16:33 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Mon Jan 15 2018 05:52 pm

    is not a function". I've heard the "Games" link shouldn't even be
    there anymore.. After downloading ecwebv4, I made sure I've extracted
    the correct

    Where did you hear that? The Games link should still be there, however it is displayed conditionally by default - only authenticated users should see it.

    Ah, I thought you said the Games link was removed.. But maybe I was mistaken.

    To reiterate, 'settings.xtrn_sections' is not referenced anywhere in the current code. It was a thing before, but it has been replaced. (The change was to move from a whitelist of External Programs sections to a blacklist, controlling which are listed on the Games page.) That error message is an impossibility with the current codebase.

    Nevertheless, that error message is coming from an older version and not the current one. I've just now double-checked, whether cloning the repository via git or downloading it as a zip archive from GitHub, that the word 'sections' occurs only once in the entire repository (in the readme) and 'xtrn_sections' occurs nowhere.

    I tried downloading it again from the GitHub page today, just to be sure, and I'm still seeing that error..

    The last thing I can suggest, and this is without knowing whether it will make any difference, is to move or delete any 'SBBS_SSJS.*.*.html' files from your '/sbbs/temp' directory. These seem to be rendered SSJS files. I don't know if they're always generated, if they serve as a cache, etc., but maybe that's a possible cause.

    I tried that just now, but it didn't seem to help.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Mon Jan 15 18:40:53 2018
    Re: ecwebv4 issues
    By: Nightfox to echicken on Mon Jan 15 2018 15:16:33

    I tried downloading it again from the GitHub page today, just to be sure, and I'm still seeing that error..

    If you downloaded it as a zip file (which I think you did before), and if you still have
    a copy of that file, could you post it somewhere that I could download it from?

    If you edit your 'web/root/pages/003-games.xjs' file and alter the first line:

    <!--Games-->

    So that it reads:

    <!--BlerpHerpDerp-->

    Does the text of the link to the Games page change when you reload the page?

    If you open your 'web/root/pages/003-games.xjs' file and search for the word 'sections',
    are there any results? Likewise, if you search for 'blacklist', are there any results?


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jan 16 09:35:20 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Mon Jan 15 2018 06:40 pm

    If you downloaded it as a zip file (which I think you did before), and if you still have a copy of that file, could you post it somewhere that I could download it from?

    I've put it here: http://www.digitaldistortionbbs.com/miscFilesForDL/synchronet-web-v4-master.zip

    If you edit your 'web/root/pages/003-games.xjs' file and alter the first line:

    <!--Games-->

    So that it reads:

    <!--BlerpHerpDerp-->

    Does the text of the link to the Games page change when you reload the page?

    After changing that, the link text didn't change when reloading the page.

    If you open your 'web/root/pages/003-games.xjs' file and search for the word 'sections', are there any results? Likewise, if you search for 'blacklist', are there any results?

    It doesn't have 'sections', but 'blacklist' is in there.

    So there does seem to be some caching of an old version of the page, I'm just not sure where that's happening.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Tue Jan 16 13:46:43 2018
    Re: ecwebv4 issues
    By: Nightfox to echicken on Tue Jan 16 2018 09:35:20

    I've put it here: http://www.digitaldistortionbbs.com/miscFilesForDL/synchro net-web-v4-master.zip

    That seems up-to-date, or at least it does not contain any reference to 'settings.xtrn_sections'. The error message you're getting is not produced by any
    script in that archive.

    After changing that, the link text didn't change when reloading the page.

    It should have changed. So the problem is one of:

    1) Your browser is showing you a cached version of the page
    2) Your server is sending a cached version of the page
    3) Your server has not actually been updated

    Scenario #1 is easily solved by a forced reload of the page, or clearing your cache.

    Scenario #2 is what I was targeting by suggesting the deletion of any .xjs.ssjs
    files
    from your web/root/pages/ directory, as well as any of those SBBS_SSJS*.html files in
    your sbbs/temp/ directory. If by some chance you're running some kind of caching
    reverse proxy in front of your Synchronet webserver, that could be another thing to
    check.

    If you open your 'web/root/pages/003-games.xjs' file and search for the
    It doesn't have 'sections', but 'blacklist' is in there.

    It's worth checking that the RootDirectory key in the [Web] section of ctrl/sbbs.ini
    points to the right place, ie. '/sbbs/web/root' or the directory where 'index.xjs'
    lives. It's possible you have parallel installations of this web interface and
    are
    serving the wrong/older one.

    There's a 'web_directory' key in the [web] section of ctrl/modopts.ini. This can be an
    absolute path ('/sbbs/web') or a path relative to your 'exec' directory ('../web') , and
    points to the directory that contains the 'lib/' and 'root/' directories from the
    archive you downloaded. Because you're not required to install this web interface right
    at your webserver's RootDirectory, this key is used to determine where to load things
    from. Depending on how you've structured things on your end, this might need to be
    tweaked.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jan 16 12:31:44 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 01:46 pm

    1) Your browser is showing you a cached version of the page
    2) Your server is sending a cached version of the page
    3) Your server has not actually been updated

    Scenario #1 is easily solved by a forced reload of the page, or clearing your cache.

    I've tried that, but no luck. I've also tried different browsers on a couple different machines with the same results.

    Scenario #2 is what I was targeting by suggesting the deletion of any .xjs.ssjs files from your web/root/pages/ directory, as well as any of those SBBS_SSJS*.html files in your sbbs/temp/ directory. If by some chance you're running some kind of caching reverse proxy in front of your Synchronet webserver, that could be another thing to check.

    I'm not running any such proxies on my BBS machine.

    It's worth checking that the RootDirectory key in the [Web] section of ctrl/sbbs.ini points to the right place, ie. '/sbbs/web/root' or the directory where 'index.xjs' lives. It's possible you have parallel installations of this web interface and are serving the wrong/older one.

    There's a 'web_directory' key in the [web] section of ctrl/modopts.ini. This can be an absolute path ('/sbbs/web') or a path relative to your 'exec' directory ('../web') , and points to the directory that contains the 'lib/' and 'root/' directories from the archive you downloaded. Because you're not required to install this web interface right at your webserver's RootDirectory, this key is used to determine where to load things from. Depending on how you've structured things on your end, this might need to be tweaked.

    I've checked those, and those seem to be okay.
    I have some of my own custom web pages for my BBS, and I have ecwebv4 in a subdirectory in my web root diretory. It was all working fine until I did an update recently from GitHub. I suppose I'll have to look and see if there is any caching going on on the server, as that seems to be the most logical thing going on (though I'm not sure where it may be caching the pages that I haven't already looked).

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to Nightfox on Wed Jan 17 07:40:00 2018
    Nightfox wrote to echicken <=-

    Re: ecwebv4 issues
    By: echicken to Nightfox on Mon Jan 15 2018 06:40 pm

    If you downloaded it as a zip file (which I think you did before), and if you still have a copy of that file, could you post it somewhere that I could download it from?

    I've put it here: http://www.digitaldistortionbbs.com/miscFilesForDL/synchronet-web-v4-mas ter.zip

    I might have to grab a copy too, now that I'm running SBBS 3.17. :)


    ... Poker: It's darkest just before you've drawn.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From echicken@1:103/705 to Nightfox on Tue Jan 16 16:57:50 2018
    Re: ecwebv4 issues
    By: Nightfox to echicken on Tue Jan 16 2018 12:31:44

    I've checked those, and those seem to be okay.

    Can you confirm that the web_directory setting in the [web] section of modopts.ini
    points to your web/root/ecwebv4/ directory?

    there is any caching going on on the server, as that seems to be the most logical thing going on (though I'm not sure where it may be caching the pages that I haven't already looked).

    That's unlikely at this point. Based on the way the XJS handler works, any cached
    renders of your games page should have been updated when you altered the title.
    Don't
    waste your time looking for caching issues.

    I'm pretty sure the problem is with the fact that this web UI is in a subdirectory of
    your document root. I doubt if I put enough thought into preparing for that scenario.
    I'll spend a bit of time on this tonight and see what I can come up with.

    FYI you do have components of an older installation of ecwebv4 sitting inside your
    document root, outside of the 'ecwebv4' directory. There is an older copy of index.xjs
    which should be deleted. There is a 'pages/' subdirectory which contains the broken
    Games page that is producing the error message you described. It's probable that your
    Forum and Files pages are also being read from there.

    I would advise removing these remnants, however that will break certain aspects
    of your
    current ecwebv4 installation until I've corrected some problems.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Tony Langdon on Tue Jan 16 17:00:54 2018
    Re: Re: ecwebv4 issues
    By: Tony Langdon to Nightfox on Wed Jan 17 2018 07:40:00

    I've put it here: http://www.digitaldistortionbbs.com/miscFilesForDL/sy nchronet-web-v4-mas ter.zip

    I might have to grab a copy too, now that I'm running SBBS 3.17. :)

    Please download it from here:

    https://github.com/echicken/synchronet-web-v4

    That's the "official" place where it is maintained and made available for download.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Tue Jan 16 17:16:11 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 16:57:50

    I'm pretty sure the problem is with the fact that this web UI is in a subdirectory of your document root. I doubt if I put enough thought into preparing for that scenario.

    Actually, it looks like I did nothing to prepare for that scenario. The 'lib' and
    'root' directories from that archive are meant to exist at the same level on your
    filesystem, and things will not work as expected if they do not.

    I'll see if I can do something to accommodate configurations like yours.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Tue Jan 16 14:52:50 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 04:57 pm

    That's unlikely at this point. Based on the way the XJS handler works, any cached
    renders of your games page should have been updated when you altered the title. Don't
    waste your time looking for caching issues.

    Something's up with your word-wrapping. :-)

    digital man

    Synchronet/BBS Terminology Definition #51:
    SyncTERM = The Synchronet Terminal Emulator/BBS-client program
    Norco, CA WX: 69.7oF, 36.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Digital Man on Tue Jan 16 18:49:57 2018
    Re: ecwebv4 issues
    By: Digital Man to echicken on Tue Jan 16 2018 14:52:50

    Something's up with your word-wrapping. :-)

    I had to switch to FSEditor; could be that my terminal is > 80 columns wide at the
    moment.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jan 16 15:35:46 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 04:57 pm

    Can you confirm that the web_directory setting in the [web] section of modopts.ini points to your web/root/ecwebv4/ directory?

    It's pointing to my web directory - Does it need to point to my web/root/ecwebv4 directory? When I change it to point to web/root/ecwebv4, I get an error that it can't find ecwebv4/lib/auth.js (which makes sense, since that's not where it is).

    I'm pretty sure the problem is with the fact that this web UI is in a subdirectory of your document root. I doubt if I put enough thought into preparing for that scenario. I'll spend a bit of time on this tonight and see what I can come up with.

    It had been working fine for me that way for a long time though.. These issues I'm seeing are recent and started happening only after I did an update a week or 2 ago. Was there a change that could have broken how it works if it's in a subdirectory?

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jan 16 15:37:18 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 05:16 pm

    I'm pretty sure the problem is with the fact that this web UI is in a
    subdirectory of your document root. I doubt if I put enough thought
    into preparing for that scenario.

    Actually, it looks like I did nothing to prepare for that scenario. The 'lib' and 'root' directories from that archive are meant to exist at the same level on your filesystem, and things will not work as expected if they do not.

    I'll see if I can do something to accommodate configurations like yours.

    Thanks for your time in looking into this issue.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Tue Jan 16 16:06:38 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 05:16 pm

    I'm pretty sure the problem is with the fact that this web UI is in a
    subdirectory of your document root. I doubt if I put enough thought
    into preparing for that scenario.

    Actually, it looks like I did nothing to prepare for that scenario. The 'lib' and 'root' directories from that archive are meant to exist at the same level on your filesystem, and things will not work as expected if they do not.

    I'll see if I can do something to accommodate configurations like yours.

    I thought it all had been working for me before, but I was mainly only using ecwebv4 for the message forums (which does work fine). Perhaps I just hadn't noticed the other issues before.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to echicken on Tue Jan 16 16:50:13 2018
    Re: ecwebv4 issues
    By: echicken to Digital Man on Tue Jan 16 2018 06:49 pm

    Re: ecwebv4 issues
    By: Digital Man to echicken on Tue Jan 16 2018 14:52:50

    Something's up with your word-wrapping. :-)

    I had to switch to FSEditor; could be that my terminal is > 80 columns wide at the
    moment.

    Ah.

    digital man

    Synchronet/BBS Terminology Definition #24:
    FTN = FidoNet Technology Network
    Norco, CA WX: 67.5oF, 40.0% humidity, 1 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Tue Jan 16 19:58:05 2018
    Re: ecwebv4 issues
    By: Nightfox to echicken on Tue Jan 16 2018 15:35:46

    update a week or 2 ago. Was there a change that could have broken how it works if it's in a subdirectory?

    Perhaps, but not recently. It's possible that a change was made a long time ago that broke your configuration, but the lingering copy of the 'pages/' directory in your docroot masked the problem. Then came the (somewhat more recent) change to the games page (blacklist vs. whitelist) that revealed the issue.

    Anyway, I committed a bunch of changes this evening that should help. You can now add a 'web_root' key to the [web] section of modopts.ini. Set this to the location where you placed the contents of the 'web/root/' directory from the github repo (in your case, ../web/root/ecwebv4). Once you've updated the rest, it *should* work.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to echicken on Wed Jan 17 12:23:00 2018
    echicken wrote to Tony Langdon <=-

    Please download it from here:

    https://github.com/echicken/synchronet-web-v4

    That's the "official" place where it is maintained and made available
    for download.

    Yep, thanks.


    ... The time to relax is when you don't have time for it.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From mark lewis@1:3634/12.73 to Nightfox on Wed Jan 17 10:55:58 2018

    On 2018 Jan 16 12:31:44, you wrote to echicken:

    Scenario #2 is what I was targeting by suggesting the deletion of any
    .xjs.ssjs files from your web/root/pages/ directory, as well as any
    of those SBBS_SSJS*.html files in your sbbs/temp/ directory. If by
    some chance you're running some kind of caching reverse proxy in
    front of your Synchronet webserver, that could be another thing to
    check.

    I'm not running any such proxies on my BBS machine.

    he didn't say "on your BBS machine"... he said "in front of your synchronet webserver"... there's a huge difference... for example, we're IPv4 NAT over here... to run multiple web sites on their own domains we have to use reverse proxying on our main apache web server for the sites that it does not serve... Max's SBBS system is one of those that has to be reverse proxied so folks outside of our network can access its web interface... it is much easier to access the other services than web and ftp, though... especially when different
    ports are required (eg: multiple FTP servers require special tweaking of their ports and the firewall may also require special tweaks so it can properly manage new and associated network packets and send them to the proper internal server...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We must suit our behaviour to the occasion. - M.de Cervantes
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to echicken on Wed Jan 17 11:03:46 2018

    On 2018 Jan 16 14:52:50, Digital Man wrote to you:

    That's unlikely at this point. Based on the way the XJS handler works,
    any cached renders of your games page should have been updated when you
    altered the title. Don't waste your time looking for caching issues.

    Something's up with your word-wrapping. :-)

    and there's something weird with missing spaces in your repo update notices... it almost looked like trailing spaces were being stripped when wrapping was being done but on systems with wide terminals, the lines were put back together
    into one long one and the missing spaces were seen because words were run together and even the trailing space after a period was missing... just thought
    i'd let you know about that...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I came, I saw, I took LOTS of PICTURES!
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to echicken on Wed Jan 17 11:06:36 2018

    On 2018 Jan 16 18:49:56, you wrote to Digital Man:

    Something's up with your word-wrapping. :-)

    I had to switch to FSEditor; could be that my terminal is > 80 columns
    wide
    at the moment.

    mine definitely is... 196 columns IIRC... plus i'm reading with a sysop's editor accessing the message base files directly... this is not a SBBS system, either...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We give nothing as willingly as our advice.
    ---
    * Origin: (1:3634/12.73)
  • From Nightfox@1:103/705 to mark lewis on Wed Jan 17 09:33:06 2018
    Re: ecwebv4 issues
    By: mark lewis to Nightfox on Wed Jan 17 2018 10:55 am

    I'm not running any such proxies on my BBS machine.

    he didn't say "on your BBS machine"... he said "in front of your synchronet webserver"... there's a huge difference... for example, we're

    Well in either case, I'm not running any such proxies.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Nightfox on Wed Jan 17 13:09:24 2018

    On 2018 Jan 17 09:33:06, you wrote to me:

    I'm not running any such proxies on my BBS machine.

    he didn't say "on your BBS machine"... he said "in front of your
    synchronet webserver"... there's a huge difference... for example,
    we're

    Well in either case, I'm not running any such proxies.

    ok, i was just pointing out the difference... some folks don't even think about
    apache or ngnix being able proxy with the right configuration options ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Bar code - electronic device to help locate bars.
    ---
    * Origin: (1:3634/12.73)
  • From echicken@1:103/705 to mark lewis on Wed Jan 17 14:10:25 2018
    Re: ecwebv4 issues
    By: mark lewis to echicken on Wed Jan 17 2018 11:03:46

    and there's something weird with missing spaces in your repo update notices... it almost looked like trailing spaces were being stripped when wrapping was being done but on systems with wide terminals, the lines were put back together
    into one long one and the missing spaces were seen because words were run together and even the trailing space after a period was missing... just thought
    i'd let you know about that...

    Okay, I'll take a look at that.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to mark lewis on Wed Jan 17 14:14:02 2018
    Re: ecwebv4 issues
    By: mark lewis to echicken on Wed Jan 17 2018 11:06:36

    I had to switch to FSEditor; could be that my terminal is > 80 columns
    wide
    at the moment.

    mine definitely is... 196 columns IIRC... plus i'm reading with a sysop's editor accessing the message base files directly... this is not a SBBS system, either...

    Okay. I meant that the particular editor that I'm using may not be dealing well with my
    terminal being however wide it is (108 columns at the moment). Good for you if
    your
    editor does a better job with that.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Wed Jan 17 19:59:52 2018
    Re: ecwebv4 issues
    By: echicken to Nightfox on Tue Jan 16 2018 07:58 pm

    Anyway, I committed a bunch of changes this evening that should help. You can now add a 'web_root' key to the [web] section of modopts.ini. Set this to the location where you placed the contents of the 'web/root/' directory from the github repo (in your case, ../web/root/ecwebv4). Once you've updated the rest, it *should* work.

    It looks like that worked. Now I'm not getting any errors on the Games link, and the 'Mail' link now works again and shows my personal email.

    Thanks for your work on ecwebv4 - I think it's a clean looking web interface for Synchronet.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Nightfox on Thu Jan 18 01:06:09 2018
    Re: ecwebv4 issues
    By: Nightfox to echicken on Wed Jan 17 2018 19:59:52

    Thanks for your work on ecwebv4 - I think it's a clean looking web interface for Synchronet.

    Thank you. I'm glad it's working for you now.

    Now, not specifically addressed to you but since we're on the web-UI topic:

    Tonight I've added avatar support to the forum page, but haven't committed the relevant changes yet. Will tinker with it some more before I do so. Here's a thread that serves as a decent example:

    https://tinyurl.com/yay9c223

    This has driven the creation of a client-side .bin graphic to PNG rendering library which could be repurposed for other things later. Sounds fancier than it is; the HTML5 Canvas makes it very simple to do. I could extend it to handle .ans files as well, though we do already have a good ANSI-to-HTML converter.


    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to echicken on Thu Jan 18 14:51:58 2018

    On 2018 Jan 17 14:14:02, you wrote to me:

    mine definitely is... 196 columns IIRC... plus i'm reading with a
    sysop's editor accessing the message base files directly... this is not
    a SBBS system, either...

    Okay. I meant that the particular editor that I'm using may not be dealing well with my terminal being however wide it is (108 columns at
    the moment). Good for you if your editor does a better job with that.

    many of them work fine until you go wider than 255 columns... they used a byte to store the screen width :/

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... You said a mouseful!
    ---
    * Origin: (1:3634/12.73)