Skip to content
Snippets Groups Projects
Commit 5ab79049 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'dd_msg_reader_attachents_and_save_refactor' into 'master'

DDMsgReader refactor for sysop save to BBS machine & attachments.

See merge request !187
parents b19466b5 dfd1e302
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!187DDMsgReader refactor for sysop save to BBS machine & attachments.
......@@ -1135,4 +1135,15 @@ function syncAttrCodesToANSI(pText)
}
else
return pText; // No Synchronet-style attribute codes found, so just return the text.
}
// Returns whether a string has any Synchronet attribute codes
//
// Parameters:
// pStr: the string to check
//
// Return value: Boolean - Whether or not the string has any Synchronet attribute codes
function hasSyncAttrCodes(pStr)
{
return (pStr.search(/\1[krgybmcwhifn\-_01234567]/i) > -1);
}
\ No newline at end of file
This diff is collapsed.
Digital Distortion Message Reader
Version 1.48
Release date: 2022-06-12
Version 1.49
Release date: 2022-06-13
by
......
......@@ -5,6 +5,10 @@ Revision History (change log)
=============================
Version Date Description
------- ---- -----------
1.49 2022-06-13 Refactor: Simplified saving a message to BBS machine for
sysop (as-is, less processing); removed attachment stuff
for pre-Synchronet 3.17; moved hasSyncAttrCodes() to
attr_conv.js because that's where it needs to be.
1.48 2022-06-12 Improved display of ANSI messages
1.47a 2022-03-23 Internal change: Now calls bbs.edit_msg() for editing an
existing message (for Synchronet 3.18 and up).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment