• Sync Web 4

    From Mortifis@1:103/705 to All on Wed Jan 9 13:31:20 2019
    SO, I just decided to give the Synchronet-Web-4 a test drive, I put the web interface on non-standard port 83 (which works as expected), I have the terminal set to port 2323 (which telnets as expected) however the ftelnet from ecweb4 hangs on "Redirecting to server... ". Is there extra configuration setting that need to be adjusted?

    ---
    * Synchronet * The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Mortifis on Wed Jan 9 13:11:11 2019
    Re: Sync Web 4
    By: Mortifis to All on Wed Jan 09 2019 13:31:20

    web interface on non-standard port 83 (which works as expected), I have the terminal set to port 2323 (which telnets as expected) however the ftelnet from ecweb4 hangs on "Redirecting to server... ". Is there extra configuration setting that need to be adjusted?

    There's also a websocket server that should now be running, which is what ftelnet actually connects to.

    Check in services.ini for a [WS] entry, and look at what port it's using. Might be 1123. Make sure that outside clients can connect to your BBS on that port.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to echicken on Thu Jan 10 11:43:05 2019
    Re: Sync Web 4
    By: Mortifis to All on Wed Jan 09 2019 13:31:20

    web interface on non-standard port 83 (which works as expected), I have the terminal set to port 2323 (which telnets as expected) however the ftelnet from ecweb4 hangs on "Redirecting to server... ". Is there extra configuration setting that need to be adjusted?

    There's also a websocket server that should now be running, which is what ftelnet actually connects to.

    Check in services.ini for a [WS] entry, and look at what port it's using. Might be 1123. Make sure that outside clients can connect to your BBS on that port.

    ---
    echicken

    Or, I could just remember to enable services :-P brain-fart moment, thanks EC

    ---
    * Synchronet * The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to echicken on Fri Jan 11 08:34:30 2019
    Re: Sync Web 4
    By: echicken to Mortifis on Wed Jan 09 2019 13:11:11

    Hi echicken!

    First, thanks for your work with the webv4, it is a nice web interface for Synchronet :)

    Check in services.ini for a [WS] entry, and look at what port it's using. Might be 1123. Make sure that outside clients can connect to your BBS on that port.

    I was successful configuring that, it works nicely; but I have a question: is it possible to publish only the secure one (WSS)? I was not able to get the fTelnet working by just publishing WSS, I had to publish both, WS and WSS.

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Karloch on Fri Jan 11 00:18:39 2019
    Re: Sync Web 4
    By: Karloch to echicken on Fri Jan 11 2019 08:34 am

    Re: Sync Web 4
    By: echicken to Mortifis on Wed Jan 09 2019 13:11:11

    Hi echicken!

    First, thanks for your work with the webv4, it is a nice web interface for Synchronet :)

    Check in services.ini for a [WS] entry, and look at what port it's using. Might be 1123. Make sure that outside clients can connect to your BBS on that port.

    I was successful configuring that, it works nicely; but I have a question: is it possible to publish only the secure one (WSS)? I was not able to get the fTelnet working by just publishing WSS, I had to publish both, WS and WSS.

    The WSS service is only used for HTTPS web connections (by fTelnet). So if you only want to support HTTPS users/connections, then I think yeah, you should be able to eliminate the WS service.

    digital man

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 49.5oF, 95.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Karloch on Fri Jan 11 09:49:01 2019
    Re: Sync Web 4
    By: Karloch to echicken on Fri Jan 11 2019 08:34:30

    I was successful configuring that, it works nicely; but I have a question: is it possible to publish only the secure one (WSS)? I was not able to get the fTelnet working by just publishing WSS, I had to publish both, WS and WSS.

    What happened when you had only a [WSS] section and no [WS] section in your services.ini file? Was there an error message in your services or webserver log?

    Could be a problem with how ftelnethelper.js looks up the port to connect to.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to Digital Man on Sat Jan 12 00:51:01 2019
    Re: Sync Web 4
    By: Digital Man to Karloch on Fri Jan 11 2019 00:18:39

    The WSS service is only used for HTTPS web connections (by fTelnet). So if you only want to support HTTPS users/connections, then I think yeah, you should be able to eliminate the WS service.

    Well, what was happening is that my reverse proxy was also acting on the Web Socket terminating TLS traffic, so even if the Internet-facing client was connecting through WSS, in the backend it ended in plain WS. That was the reason why it didn't work disabling the WS.

    After inspecting the network traffic, the answer is YES, if you restrict to HTTPS, then fTelnet goes to WSS as well, being possible to disable the plain WS service in Synchronet.

    Thanks for the help!
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to echicken on Sat Jan 12 00:57:42 2019
    Re: Sync Web 4
    By: echicken to Karloch on Fri Jan 11 2019 09:49:01

    What happened when you had only a [WSS] section and no [WS] section in your services.ini file? Was there an error message in your services or webserver log?

    As I explained to digital man, you are both right. WS is not needed at all as long as I am browsing the web with HTTPS, as fTelnet will use then WSS. I was confused because my reverse proxy was terminating the TLS traffic and that's the reason because it was not working with WS disabled for me.

    So everything is in order!

    By the way echicken, now that I have the chance to talk with you... Have you considered to include the BOOTSTRA.386 as an official theme alternative for web4? I tested it and it was showing -almost ok- and I think it would only require minimal changes to make it look nice.

    BOOTSTRA.386 is a theme that emulates the look of text mode user interfaces that were common in MS-DOS and OS/2 in the 80's and the beggining of 90's. I just love it!

    You can browse a demo here: http://kristopolous.github.io/BOOTSTRA.386/
    And the source code is at: https://github.com/kristopolous/BOOTSTRA.386

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Karloch on Fri Jan 11 22:59:10 2019
    Re: Sync Web 4
    By: Karloch to echicken on Sat Jan 12 2019 00:57:42

    As I explained to digital man, you are both right. WS is not needed at all as long as I am browsing the web with HTTPS, as fTelnet will use then WSS. I was confused because my reverse proxy was terminating the TLS traffic and that's the reason because it was not working with WS disabled for me.

    I have mine behind a reverse proxy as well, which handles HTTPS and WSS for me, forwarding internally (same host) to the plain old services. (So I only have WS enabled.)

    By the way echicken, now that I have the chance to talk with you... Have you considered to include the BOOTSTRA.386 as an official theme alternative for web4? I tested it and it was showing -almost ok- and I think it would only require minimal changes to make it look nice.

    I've looked at this theme before. I have no plans to bundle additional themes, but they should be easy to drop in. If the changes required for this one *are* minimal and don't break the stock theme, then I'm not opposed. What parts of it don't quite work / what changes do you think are needed?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to echicken on Sat Jan 12 20:56:10 2019
    Re: Sync Web 4
    By: echicken to Karloch on Fri Jan 11 2019 22:59:10

    themes, but they should be easy to drop in. If the changes required for this one *are* minimal and don't break the stock theme, then I'm not opposed. What parts of it don't quite work / what changes do you think are needed?

    Mostly font and background coloring issues. I have setup the theme in my BBS so you can take a look. Browse it a https://bbs.hispamsx.org

    The parts that could need changing are:
    * Sidebar font coloring and maybe the background.
    * In Forum, font and background coloring: https://bbs.hispamsx.org/?page=001-forum.ssjs&group=0
    * In the Forum messages, button or background coloring: https://bbs.hispamsx.org/?page=001-forum.ssjs&sub=main&thread=1
    * In User list, the same, coloring issues.
    * In Games you can find the only layout issue I was able to identify, related to the HTML lists <ul> and <li>.

    So almost no layout problems and just a matter of colors. I would say it shouldn't be hard to adapt.

    Also, in the error log the web was reporting an issue regarding a redeclaration of the settings variable in file /api/events.ssjs, I was able to fix that by making the const a regular var:

    const settings = get_mod_options('web');

    to

    settings = get_mod_options('web');

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Karloch on Sat Jan 12 22:36:43 2019
    Re: Sync Web 4
    By: Karloch to echicken on Sat Jan 12 2019 20:56:10

    Mostly font and background coloring issues. I have setup the theme in my

    * Sidebar font coloring and maybe the background.
    * In Forum, font and background coloring:
    * In User list, the same, coloring issues.

    These are all probably governed by the same CSS rule.

    Did you copy this theme's CSS file to web/root/css/custom.css? If so, its own rules should be overriding the defaults. It's possible that it has no applicable rule for these lists.

    Here's some stuff that may help if pasted into the bottom of custom.css:

    https://pastebin.com/Bu6jDLNE

    (Change the colours as needed. You can also add 'color: white' or whatever you like to those to govern the text colour.)

    * In the Forum messages, button or background coloring:

    Tacking this onto the bottom of custom.css may help:

    .btn.btn-default {
    border: 1px solid black;
    }

    * In Games you can find the only layout issue I was able to identify, related to the HTML lists <ul> and <li>.

    I can't see it without registering. Maybe I will later.

    There are also some rules defined in web/root/css/style.css which may need to be overridden with entries in custom.css. Essentially anything in there that sets a color, background, or border may not look great with this theme.

    Also, in the error log the web was reporting an issue regarding a redeclaration of the settings variable in file /api/events.ssjs, I was able to fix that by making the const a regular var:

    Pretty sure I fixed that a few days ago. When did you last update?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Karloch@1:103/705 to echicken on Sun Jan 13 22:02:21 2019
    Re: Sync Web 4
    By: echicken to Karloch on Sat Jan 12 2019 22:36:43

    Here's some stuff that may help if pasted into the bottom of custom.css:

    Thank you so much! I took your tips and I was successful adaptin the theme using the custom.css file. Now the web has a nice retro theme: https://bbs.hispamsx.org

    Pretty sure I fixed that a few days ago. When did you last update?

    Last week, indeed I didn't have the latest version where it was fixed. I will be pulling from GitHub or executing the update script to make sure I am working with the right version.

    Thank you for helping me :)

    Regards,
    Carlos

    ---
    * Synchronet * HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)