-
exec/msglist.js
From
rswindell@VERT to
CVS commit on Sun Mar 1 14:04:43 2020
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
-
From
rswindell@VERT to
CVS commit on Sun Mar 1 19:11:30 2020
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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Ragnarok@VERT/DOCKSUD to
rswindell on Mon Mar 2 10:16:36 2020
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@VERT/DOCKSUD to
rswindell on Mon Mar 2 10:35:22 2020
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@VERT to
Ragnarok on Mon Mar 2 09:23:40 2020
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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sat Mar 7 13:44:45 2020
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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Mar 8 12:45:40 2020
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
-
From
Ragnarok@VERT/DOCKSUD to
rswindell on Sun Mar 8 19:00:22 2020
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@VERT/DOCKSUD to
rswindell on Sun Mar 8 19:09:08 2020
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@VERT to
CVS commit on Tue Mar 17 18:36:01 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Tue Mar 17 20:11:40 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Mar 22 08:20:23 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Apr 12 16:06:32 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Apr 23 21:08:24 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun Apr 26 21:11:33 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wed May 20 19:40:20 2020
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').
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Sun May 24 12:20:16 2020
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Wed Aug 12 17:24:52 2020
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).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
rswindell@VERT to
CVS commit on Thu Aug 13 09:05:23 2020
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
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Thu Oct 1 17:30:55 2020
-
From
Rob Swindell@VERT to
Git commit to sbbs/master on Tue Oct 6 14:52:03 2020
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().
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to Main/master on Mon Nov 23 12:38:36 2020
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).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to Main/master on Mon Nov 23 17:28:45 2020
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Dec 19 14:12:15 2020
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Wed Feb 17 09:50:25 2021
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Feb 20 12:34:26 2021
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Feb 20 13:09:09 2021
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).
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Mar 6 08:57:39 2021
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Mar 6 10:11:43 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Fri May 21 13:59:56 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu Jul 1 12:20:31 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Fri Sep 24 14:16:01 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Tue Feb 15 14:22:10 2022
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)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Sat Mar 26 23:08:45 2022
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. :-(
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sat Feb 4 20:20:08 2023
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Mon Feb 27 17:41:58 2023
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Thu Oct 26 18:14:28 2023
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sat Oct 28 14:06:03 2023
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sat Oct 28 14:37:04 2023
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Sat Dec 9 18:27:24 2023
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell (on Debian Linux)@VERT to
Git commit to main/sbbs/master on Tue Feb 27 23:12:14 2024
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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net