• exec/msglist.js

    From rswindell to CVS commit on Sunday, March 01, 2020 19:04:43
    exec msglist.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4224

    Added Files:
    msglist.js
    Log Message:
    New ("As Seen on TV!") full-screen/scrolling Message Listing / Viewing module: Install with "jsexec msglist -install"
    Further sysop documentation and help files are forthcoming.
    Requires latest and greatest sbbs v3.17c (dev build) for full functionality.

  • From rswindell to CVS commit on Monday, March 02, 2020 00:11:30
    exec msglist.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15221

    Modified Files:
    msglist.js
    Log Message:
    Use correct output method so NetMail prompt will have expanded @-codes, e.g. CHECKMARK

  • From Ragnarok@DOCKSUD to rswindell on Monday, March 02, 2020 15:16:36
    El 2/3/20 a las 05:11, rswindell escribió:
    exec msglist.js 1.1 1.2
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15221

    Modified Files:
    msglist.js
    Log Message:
    Use correct output method so NetMail prompt will have expanded @-codes, e.g. CHECKMARK


    i just see the youtube video.

    This message reader will rock.

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Ragnarok@DOCKSUD to rswindell on Monday, March 02, 2020 15:35:22
    El 2/3/20 a las 00:04, rswindell escribió:
    exec msglist.js NONE 1.1
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4224

    Added Files:
    msglist.js
    Log Message:
    New ("As Seen on TV!") full-screen/scrolling Message Listing / Viewing module:
    Install with "jsexec msglist -install"
    Further sysop documentation and help files are forthcoming.
    Requires latest and greatest sbbs v3.17c (dev build) for full functionality.

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

    forgot add to cvs the age.js file:

    !JavaScript /sbbs/exec/msglist.js line 52: Error: can't open age.js: No
    such fi
    le or directory


    Saludos!

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man to Ragnarok on Monday, March 02, 2020 14:23:40
    Re: Re: exec/msglist.js
    By: Ragnarok to rswindell on Mon Mar 02 2020 03:35 pm

    forgot add to cvs the age.js file:

    !JavaScript /sbbs/exec/msglist.js line 52: Error: can't open age.js: No such fi
    le or directory

    Yup, it's in CVS now. Thanks,

    digital man

    This Is Spinal Tap quote #37:
    David St. Hubbins: We are Spinal Tap from the UK - you must be the USA!
    Norco, CA WX: 65.0°F, 27.0% humidity, 6 mph SW wind, 0.00 inches rain/24hrs
  • From rswindell to CVS commit on Saturday, March 07, 2020 18:44:45
    exec msglist.js 1.2 1.3
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18486

    Modified Files:
    msglist.js
    Log Message:
    Fix [G]oto message number command (didn't work with reversed list or filtered list, e.g. from 'F'ind text).
    Fix a couple of typos/copy-paste errors in options:
    - preview_properties_maxlen
    - attr_sent


  • From rswindell to CVS commit on Sunday, March 08, 2020 16:45:40
    exec msglist.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9290

    Modified Files:
    msglist.js
    Log Message:
    Fix some issues with setting msg attributes:
    - update_msg_attr() was disabled (just returned true), apparenly from a
    previous debugging session
    - the DEL key while listing msgs didn't call update_msg_attr()

    There is still a bug whereby viewing a message does not display its current /updated attributes. Still need to resolve that one.


  • From Ragnarok@DOCKSUD to rswindell on Sunday, March 08, 2020 23:00:22
    El 8/3/20 a las 20:45, rswindell escribió:
    exec msglist.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9290

    Modified Files:
    msglist.js
    Log Message:
    Fix some issues with setting msg attributes:
    - update_msg_attr() was disabled (just returned true), apparenly from a
    previous debugging session
    - the DEL key while listing msgs didn't call update_msg_attr()

    There is still a bug whereby viewing a message does not display its current /updated attributes. Still need to resolve that one.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

    thanks i now delete attribute was saved!

    =)

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Ragnarok@DOCKSUD to rswindell on Sunday, March 08, 2020 23:09:08
    El 8/3/20 a las 20:45, rswindell escribió:
    exec msglist.js 1.3 1.4
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9290

    Modified Files:
    msglist.js
    Log Message:
    Fix some issues with setting msg attributes:
    - update_msg_attr() was disabled (just returned true), apparenly from a
    previous debugging session
    - the DEL key while listing msgs didn't call update_msg_attr()

    There is still a bug whereby viewing a message does not display its current /updated attributes. Still need to resolve that one.


    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net

    i forgot, it's close to being the best bbs mail reader =)

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From rswindell to CVS commit on Tuesday, March 17, 2020 22:36:01
    exec msglist.js 1.4 1.5
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv10879

    Modified Files:
    msglist.js
    Log Message:
    Fix print-mode issue reported by Rampage (SESTAR):
    Expand @-codes within the message text of messages posted by user #1.
    Do not expand @-codes for all other messages.
    Use the print-mode (e.g. word-wrap, extra-attribute code) flags associated
    with the configured sub-board, when displaying messages in a sub-board.


  • From rswindell to CVS commit on Wednesday, March 18, 2020 00:11:40
    exec msglist.js 1.5 1.6
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24049

    Modified Files:
    msglist.js
    Log Message:
    Address issue raised by Rampage (SESTAR):
    Newly posted replies (by the current user) did not appear in the message list. The message list was never re-loaded: I added a Ctrl-R command key to reload the message list manually and it's also automatically reloaded when replying via a public-posted message (email replies don't force a reload).

    The sub-board's last-read pointer is also updated whenever the current msg selection is moved, even if the message isn't read or previewed. This paves
    the way for the internal message reader to possibly track to the current message selected in the msglist module upon exit.

    Included in here is a work-around for the (just-fixed) MsgBase.get_index/ get_all_msg_headers() bug where the msgbase status header was not re-read before determining the max number of messages to load. That work-around will
    be removed eventually.


  • From rswindell to CVS commit on Sunday, March 22, 2020 12:20:23
    exec msglist.js 1.6 1.7
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15480

    Modified Files:
    msglist.js
    Log Message:
    Include a operator menu ('O' from the msg view prompt). Still a work in progress, but [H]eader view and [C]hange attributes commands work, more or less.


  • From rswindell to CVS commit on Sunday, April 12, 2020 20:06:32
    exec msglist.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6230

    Modified Files:
    msglist.js
    Log Message:
    New options:
    - reverse_mail (default: true), show the newest received at the top of the list - reverse_msgs (default: true), show the newest at the top
    - track_last_read_mail (default: false)

    Store and retrieve user properties per-sub or mail-type (your, sent, all).
    This will enable per-user per-area preferences. Right now, just the last read mail msg number is stored here.

  • From rswindell to CVS commit on Friday, April 24, 2020 01:08:24
    exec msglist.js 1.8 1.9
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1206

    Modified Files:
    msglist.js
    Log Message:
    Use 'A' to reply-all (multiple recipients), 'R' to reply-to-sender.
    Disable the "clear-to-eol on CR" console feature as that truncates getstr() re-displayed strings if the cursor is not at the end of the string. Hopefully we don't actually need this hack anymore.

  • From rswindell to CVS commit on Monday, April 27, 2020 01:11:33
    exec msglist.js 1.9 1.10
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv21595

    Modified Files:
    msglist.js
    Log Message:
    We do need the CLREOL on CR console hack while display message headers apparently, so just enable for that period. Without this, returning from the viewmsg help screen produces interesting effects.
    Trim trailing white-space off search strings.


  • From rswindell to CVS commit on Wednesday, May 20, 2020 23:40:20
    exec msglist.js 1.10 1.11
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv20992

    Modified Files:
    msglist.js
    Log Message:
    Use the original message list length in the Reading prompt rather than the filtered list length as that resulted in weird plrompts like this:
    * Reading * Group Sub (?=Menu) (5033 of 19):
    Abbreviate the Kill-after-read attribute to "KR" instead of "Kill".
    Include the "Kill-after sent" net-attribute (abbreviate to "KS" or just 'k').


  • From rswindell to CVS commit on Sunday, May 24, 2020 16:20:16
    exec msglist.js 1.11 1.12
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28130

    Modified Files:
    msglist.js
    Log Message:
    Initial mouse support, including scroll-wheel.


  • From rswindell to CVS commit on Wednesday, August 12, 2020 21:24:52
    exec msglist.js 1.12 1.13
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv20628

    Modified Files:
    msglist.js
    Log Message:
    Initial support for anonymous messages (don't show the author's alias/name
    to non-operators). There's likely still information leaks here, like replying via email. But could use some testers to help identify those. :-)
    For nolageek (CAPSHRIL).


  • From rswindell to CVS commit on Thursday, August 13, 2020 13:05:23
    exec msglist.js 1.13 1.14
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv31593

    Modified Files:
    msglist.js
    Log Message:
    Address bugs in previous commit: the "mail" MsgBase doesn't have an cfg.is_operator property:
    msglist.js line 339: TypeError: msgbase.cfg is undefined


  • From Rob Swindell to Git commit to sbbs/master on Thursday, October 01, 2020 21:30:55
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/fc3d3650db0df5c707e14ffc
    Modified Files:
    exec/msglist.js
    Log Message:
    Fix some potential (and observed) loops upon user disconnect.
  • From Rob Swindell to Git commit to sbbs/master on Tuesday, October 06, 2020 18:52:03
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/952a773e973def30781ea808
    Modified Files:
    exec/msglist.js
    Log Message:
    Add (D)ownload command while in read-msg mode.

    Same as while in list mode, offers download of message source or any attachments.

    Fix extraneous PAUSE prompt from Operator menu '?' command by using
    P_NOCRLF mode argument to bbs.menu().
  • From Rob Swindell to Git commit to Main/master on Monday, November 23, 2020 17:38:36
    https://gitlab.synchro.net/main/sbbs/-/commit/e588a807678a2870a66e0848
    Modified Files:
    exec/msglist.js
    Log Message:
    When saving messages, prompt for plain-text (if "No", then save "source").

    Often you may only want the plain-text portion of a message (e.g. for printing).
  • From Rob Swindell to Git commit to Main/master on Monday, November 23, 2020 22:28:45
    https://gitlab.synchro.net/main/sbbs/-/commit/64ca0c00acf59648f45b73ad
    Modified Files:
    exec/msglist.js
    Log Message:
    Allow ENTER to abort the Operator menu.
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, December 19, 2020 19:12:15
    https://gitlab.synchro.net/main/sbbs/-/commit/0889aff541c451ff482c4dff
    Modified Files:
    exec/msglist.js
    Log Message:
    Add the [E]dit and [F]orward commands to the message view mode.
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, February 17, 2021 14:50:25
    https://gitlab.synchro.net/main/sbbs/-/commit/939e06b8abd7dcdcafe28ffb
    Modified Files:
    exec/msglist.js
    Log Message:
    Set the MSG_READ attribute on read-email immediately upon reading

    Mail wasn't being marked as read unless the user hit 'Q' from the msg view mode.
    Reported by Keyop via IRC.
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, February 20, 2021 17:34:26
    https://gitlab.synchro.net/main/sbbs/-/commit/6015652c2bc02b3a2d653a70
    Modified Files:
    exec/msglist.js
    Log Message:
    Add pause prompt after replying to mail messages.

    To address issue #226.

    Perhaps this should just be a "delay" instead?
    Posting may need something similar.
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, February 20, 2021 18:09:09
    https://gitlab.synchro.net/main/sbbs/-/commit/d81f6e8193b8958596f736e6
    Modified Files:
    exec/msglist.js
    Log Message:
    Add/use a general pause() routine with a configurable duration

    By default, just use console.pause() (the "hit a key" prompt), but
    if [msglist] pause is set to a delay duration (in seconds, fractions supported), then delay instead. If pause is set to false, don't delay
    or pause.

    Do the delay/pause thing after posting messages too (not just email).
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, March 06, 2021 13:57:39
    https://gitlab.synchro.net/main/sbbs/-/commit/23e36187035bfdf56ca474fa
    Modified Files:
    exec/msglist.js
    Log Message:
    Clear screen after getting forward-to address

    As pointed out by Keyop via irc, if the message has an attachment,
    a comment is prompted for and since the "To:" prompt uses P_NOCRLF,
    the first comment prompt was on the same line. So clear the screen, which
    is what happens when the forwarded message has no attachment anyway.
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, March 06, 2021 15:11:43
    https://gitlab.synchro.net/main/sbbs/-/commit/6f60905f35c497a872e8570e
    Modified Files:
    exec/msglist.js
    Log Message:
    Pause after msg forwarded, for Keyop.
  • From Rob Swindell to Git commit to main/sbbs/master on Friday, May 21, 2021 17:59:56
    https://gitlab.synchro.net/main/sbbs/-/commit/998af2f8cb82a946945337cb
    Modified Files:
    exec/msglist.js
    Log Message:
    Perform deleted-msg filtering for all message bases, not just mail

    Issue reported by plt2 via IRC.
  • From Rob Swindell to Git commit to main/sbbs/master on Thursday, July 01, 2021 16:20:31
    https://gitlab.synchro.net/main/sbbs/-/commit/73d95b34235360b4f11cc457
    Modified Files:
    exec/msglist.js
    Log Message:
    Don't list messages that can't be read by user

    Should fix unvalidated/moderated message readability bug reported by Phil
  • From Rob Swindell to Git commit to main/sbbs/master on Friday, September 24, 2021 18:16:01
    https://gitlab.synchro.net/main/sbbs/-/commit/4e61b7ba1ed8737ae1b9782d
    Modified Files:
    exec/msglist.js
    Log Message:
    Added "Replied" attribute to mail messages that are replied-to.

    Reported by Keyop.
  • From Rob Swindell to Git commit to main/sbbs/master on Tuesday, February 15, 2022 19:22:10
    https://gitlab.synchro.net/main/sbbs/-/commit/c726b6713398bc8b2617c179
    Modified Files:
    exec/msglist.js
    Log Message:
    Add offline execution (e.g. using jsexec or timed event) support

    Inspired by filelist.js (which is really *only* for use offline),
    added support to run via JSexec or timed event with command-line
    options to control the output format, sorting, and msg-age range.

    Try this Mewcenary (EXTRICAT)
  • From Rob Swindell to Git commit to main/sbbs/master on Sunday, March 27, 2022 03:08:45
    https://gitlab.synchro.net/main/sbbs/-/commit/ce01d8a79d0263a03faaa248
    Modified Files:
    exec/msglist.js
    Log Message:
    Support scrolling ANSI messages in preview and view modes

    Supports mixed Ctrl-A and ANSI messages.

    ANSIs of any length should display correctly.

    ANSIs wider than 79 columns will be truncated (not horizontally scrollable).

    Animated ANSIs will not render with their animation sequences in tact. :-(
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, February 04, 2023 20:20:08
    https://gitlab.synchro.net/main/sbbs/-/commit/1a32f58324bf79039bf48adc
    Modified Files:
    exec/msglist.js
    Log Message:
    Fix errant tab in help output
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Monday, February 27, 2023 17:41:58
    https://gitlab.synchro.net/main/sbbs/-/commit/a1548fc05227ffc3d43e8e94
    Modified Files:
    exec/msglist.js
    Log Message:
    Remove accidentally-committed debug output

    And some trailing white-space
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Thursday, October 26, 2023 18:14:28
    https://gitlab.synchro.net/main/sbbs/-/commit/e0a1031f237f2d3deb15fe8d
    Modified Files:
    exec/msglist.js
    Log Message:
    Make Ctrl-D an alias for DEL (to delete messages)

    For terminals that can't easily send a DEL (0x7F) character.
    As requested by phigz in IRC.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, October 28, 2023 14:06:03
    https://gitlab.synchro.net/main/sbbs/-/commit/df672be7c9be84853f93cb73
    Modified Files:
    exec/msglist.js
    Log Message:
    Fixes for narrow terminals

    In terminals < 80 cols in width, only the message # and "from" field are shown in listings, so don't show column headings for fields that aren't shown. Display a '-' in the flag column for deleted messages (that aren't flagged). Shorten the prompt when listing msgs for terminals narrower than 64 cols
    (for phigz). I don't know of any systems/terminals that use 64 cols however.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, October 28, 2023 14:37:04
    https://gitlab.synchro.net/main/sbbs/-/commit/a55e31da544961d74dba2183
    Modified Files:
    exec/msglist.js
    Log Message:
    Fix for preview mode with narrow terminals

    Longer messages would cause the "Preview lines" separator line to wrap.
    Chasing 40 column issues is a bit of a rabbit hole, so I think I'll pause
    for now.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Saturday, December 09, 2023 18:27:24
    https://gitlab.synchro.net/main/sbbs/-/commit/37ff0d908755660434525893
    Modified Files:
    exec/msglist.js
    Log Message:
    Fix bug that caused a [msglist:sub] last_read_mail key to be created

    This just generated unnecessary noise in data/user/*.ini files, no harm.

    iniSetObject (used by userprops.js) will set undefined properties as blank
    keys in the section (oops, I don't recall if this is intentional or not), so
    we need to 'delete' the property instead of assigning undefined to it.
  • From Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Tuesday, February 27, 2024 23:12:14
    https://gitlab.synchro.net/main/sbbs/-/commit/8c7dec353fca4d123e4a2693
    Modified Files:
    exec/msglist.js
    Log Message:
    Search forward/backward by subjet without "re:"/"re: " prefix

    The search seems to be backward by default (at least when listing a
    sub-board), so should look into that. But at least now you can find
    replies that include a "re:" prefix easily.

    Searching by thread should be added too.