• exec/text_sec.js

    From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Sep 13 12:36:58 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/3c0e406faa91acf3b7523b8e
    Modified Files:
    exec/text_sec.js
    Log Message:
    Display an error message to the user when attempting to view non-existent file --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to sbbs/master on Sun Sep 13 16:26:23 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/89f1f0c65b0e42698afb7b9f
    Modified Files:
    exec/text_sec.js
    Log Message:
    Display a nice error message if the file is 0-bytes in size.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Long@1:103/705 to Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/bf3d51ddd3a7ae642351fc19
    Modified Files:
    exec/text_sec.js
    Log Message:
    Update text_sec.js - don't ask for description if file does not exist, don't permanently change file path if file doesn't exist (let user correct the path on next add attempt)
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Long@1:103/705 to Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f8b3f7ab032b321fb08277de
    Modified Files:
    exec/text_sec.js
    Log Message:
    change var naming
    --- SBBSecho 3.12-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Long@1:103/705 to Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/b57e41ef67729439d0b99f2a
    Modified Files:
    exec/text_sec.js
    Log Message:
    default_path
    --- SBBSecho 3.12-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 Fri Feb 5 19:43:47 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d1a50dcd05adac6f4ce128a1
    Modified Files:
    exec/text_sec.js
    Log Message:
    Merge branch 'mlong/textsec'
    --- SBBSecho 3.12-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 Mon Jan 16 21:26:10 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/37fc072b46cd320a829e777f
    Modified Files:
    exec/text_sec.js
    Log Message:
    text_sec updated for v3.20+There are some changes in here that I forgot the history behind, but themost important is that it uses file.ini rather than file.cnf, thusfixing issue #478. I actually had this changed file sitting outside of mygit repo for a while now and didn't realize it.The other changes appear to be:- RIP support (clearing the window before/after each file is displayed)- read the display files a chunk at a time (rather than read the entire file into RAM, which could take a really long time on very large files),- allow files that don't exist on disk to be added to the list
    --- SBBSecho 3.20-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 Mon Jan 23 12:24:39 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/61854212a1fbb3d2f9acdc74
    Modified Files:
    exec/text_sec.js
    Log Message:
    We need store the file full path in the section nameWe need to support the same filename in different directories.The 'path' key is just an artifact and not normally used when read,so that was a distraction that apparently confused me previouslyand I broke this functionality in commit c44ed79a3b2c5e5.This should fix the issues reported by xbit (XBITBBS) on DOVE-Net.Also, don't open the file.ini for write-access (unnecessary).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Apr 27 16:11:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/7f09e04232fdc8eeaae08466
    Modified Files:
    exec/text_sec.js
    Log Message:
    Multi-language support
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sun Jul 21 13:59:21 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4bdaebf9072001d4b8f46aa2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Check console.aborted flag in display loops

    So that hitting 'N' at pause prompt will abort the loop.
    Reported by phigz via irc.synchro.net
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Sep 20 21:19:12 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/12857f64c4061cc80279b0b2
    Modified Files:
    exec/text_sec.js
    Log Message:
    Add edit option when adding text files that don't already exist

    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    Dynamically figure out the file path rather than storing another property ('path') in the list objects (which ends up in the .ini file). The absence of the path property (when the file didn't exist) could result in script-ending exceptions.

    .ini files are supposed to be open for read/write access (even when just writing), so open the file in "w+t" mode in write_list().

    Clear console.aborted flag before menu listings: hitting Ctrl-C in some
    point could display just header and prompt of lists with no contents.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From W5jsn@1:103/705 to Rob Swindell (on Debian Linux) on Tue Sep 24 18:32:14 2024
    Revisiting this script due to usability issues reported by W5jsn (TUCUMCAR).

    I don't know if this is the setting to express appreciation, but this is a great fix and enhancement! Thanks!

    ---
    ■ Synchronet ■ Tucumcari BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)