• websocketservice should not be writing files to /tmp

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sunday, September 24, 2023 23:35:23
    open https://gitlab.synchro.net/main/sbbs/-/issues/648

    websocketservice.js: ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip');


    This is dumping files in /tmp even though I have TempDirectory=/sbbs/tmp in sbbs.ini. websocketservice.js should honor the TempDirectory override.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Monday, September 25, 2023 00:09:05
    close https://gitlab.synchro.net/main/sbbs/-/issues/648
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab note in main/sbbs on Monday, September 25, 2023 05:45:34
    https://gitlab.synchro.net/main/sbbs/-/issues/648#note_4256

    @rswindell I believe echicken was writing the IP address to this file so he could read it somewhere else, which he then used for geolocation, so there's likely at least one other line of code that needs to be switched from temp_path to temp_dir
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab issue in main/sbbs on Monday, September 25, 2023 05:45:35
    reopen https://gitlab.synchro.net/main/sbbs/-/issues/648

    websocketservice.js: ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip');


    This is dumping files in /tmp even though I have TempDirectory=/sbbs/tmp in sbbs.ini. websocketservice.js should honor the TempDirectory override.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to GitLab note in main/sbbs on Friday, November 24, 2023 06:26:31
    https://gitlab.synchro.net/main/sbbs/-/issues/648#note_4481

    Commit 8474c792 addresses the other line(s) of code that Rick mentioned (in the wttr.in module). I think we can close this again.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)