Added limit for mailerhistory lines in web stats
This commit is contained in:
parent
84dc5e42fd
commit
5485d994d0
@ -5,6 +5,7 @@ v0.71.3 13-Jun-2005
|
|||||||
|
|
||||||
upgrade:
|
upgrade:
|
||||||
Check mbsetup 7.n.3.14 and 7.n.3.15 settings.
|
Check mbsetup 7.n.3.14 and 7.n.3.15 settings.
|
||||||
|
You may limit the mailhistory.html by setting 1.15.8
|
||||||
|
|
||||||
mbselib.a:
|
mbselib.a:
|
||||||
Added a function to clean subject lines from garbage, trailing
|
Added a function to clean subject lines from garbage, trailing
|
||||||
@ -28,10 +29,13 @@ v0.71.3 13-Jun-2005
|
|||||||
Added subject line clean in several places.
|
Added subject line clean in several places.
|
||||||
When message areas are autocreated, golded.inc and msg.txt are
|
When message areas are autocreated, golded.inc and msg.txt are
|
||||||
recreated for the external editors.
|
recreated for the external editors.
|
||||||
|
The web stats can now limit the size of mailhistory.html
|
||||||
|
|
||||||
mbsetup:
|
mbsetup:
|
||||||
Added setup switches per node to disable PLZ or GZ and BZ2
|
Added setup switches per node to disable PLZ or GZ and BZ2
|
||||||
compression protocols with binkp.
|
compression protocols with binkp.
|
||||||
|
Added setup entry 1.15.8 to set a limit on the size of the
|
||||||
|
mailer history html page.
|
||||||
|
|
||||||
|
|
||||||
v0.71.2 16-Jan-2005 - 13-Jun-2005
|
v0.71.2 16-Jan-2005 - 13-Jun-2005
|
||||||
|
5
TODO
5
TODO
@ -118,11 +118,6 @@ mbfido:
|
|||||||
|
|
||||||
N: Someday make retoss from bad possible (volonteers?).
|
N: Someday make retoss from bad possible (volonteers?).
|
||||||
|
|
||||||
N: When creating mailhistory.html if a bbs name contains < and > the
|
|
||||||
characters are not converted to html entinities.
|
|
||||||
|
|
||||||
N: Make mailhistory.html a lot shorter, maybe day or week versions.
|
|
||||||
|
|
||||||
mbcico:
|
mbcico:
|
||||||
L: Implement binkp option ND.
|
L: Implement binkp option ND.
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
<BLOCKQUOTE>
|
<BLOCKQUOTE>
|
||||||
<div align="right"><h5>Last update 20-Apr-2005</h5></div>
|
<div align="right"><h5>Last update 10-Aug-2005</h5></div>
|
||||||
<div align="center"><H1>MBSE BBS Setup - Global Setup</H1></div>
|
<div align="center"><H1>MBSE BBS Setup - Global Setup</H1></div>
|
||||||
|
|
||||||
In this setup you can edit all global settings for MBSE BBS. All sections will
|
In this setup you can edit all global settings for MBSE BBS. All sections will
|
||||||
@ -419,6 +419,7 @@ there is no user authentication yet available.
|
|||||||
<strong>Author name </strong>The author name you want in the HTTP headers.
|
<strong>Author name </strong>The author name you want in the HTTP headers.
|
||||||
<strong>Convert command </strong>The graphics convert command. (ImageMagick needed).
|
<strong>Convert command </strong>The graphics convert command. (ImageMagick needed).
|
||||||
<strong>Files/page </strong>The number of files to display per web page.
|
<strong>Files/page </strong>The number of files to display per web page.
|
||||||
|
<strong>Hist. limit </strong>Limit the number of mailhistory.html lines, 0 is unlimited.
|
||||||
</pre>
|
</pre>
|
||||||
<P>
|
<P>
|
||||||
|
|
||||||
|
@ -198,9 +198,9 @@ void MakeStat(void)
|
|||||||
MacroVars("b", "d", Area);
|
MacroVars("b", "d", Area);
|
||||||
html_massage(msgs.Name, name);
|
html_massage(msgs.Name, name);
|
||||||
MacroVars("c", "s", name);
|
MacroVars("c", "s", name);
|
||||||
html_massage(fgroup.Tag, name);
|
html_massage(msgs.Tag, name);
|
||||||
MacroVars("d", "s", name);
|
MacroVars("d", "s", name);
|
||||||
html_massage(fgroup.Group, name);
|
html_massage(msgs.Group, name);
|
||||||
MacroVars("e", "s", name);
|
MacroVars("e", "s", name);
|
||||||
MacroVars("f", "s", adate(msgs.LastRcvd));
|
MacroVars("f", "s", adate(msgs.LastRcvd));
|
||||||
MacroVars("g", "d", msgs.Received.lweek);
|
MacroVars("g", "d", msgs.Received.lweek);
|
||||||
@ -377,11 +377,11 @@ void MakeStat(void)
|
|||||||
hist.aka.domain[0] = '\0';
|
hist.aka.domain[0] = '\0';
|
||||||
MacroVars("c", "s", hist.aka.zone ? aka2str(hist.aka):" ");
|
MacroVars("c", "s", hist.aka.zone ? aka2str(hist.aka):" ");
|
||||||
html_massage(hist.system_name, name);
|
html_massage(hist.system_name, name);
|
||||||
MacroVars("d", "s", name);
|
MacroVars("d", "s", strlen(name) ? name:" ");
|
||||||
html_massage(hist.sysop, name);
|
html_massage(hist.sysop, name);
|
||||||
MacroVars("e", "s", name);
|
MacroVars("e", "s", strlen(name) ? name:" ");
|
||||||
html_massage(hist.location, name);
|
html_massage(hist.location, name);
|
||||||
MacroVars("f", "s", name);
|
MacroVars("f", "s", strlen(name) ? name:" ");
|
||||||
MacroVars("g", "s", strlen(hist.tty) ? hist.tty:" ");
|
MacroVars("g", "s", strlen(hist.tty) ? hist.tty:" ");
|
||||||
MacroVars("h", "s", adate(hist.online));
|
MacroVars("h", "s", adate(hist.online));
|
||||||
MacroVars("i", "s", t_elapsed(hist.online, hist.offline));
|
MacroVars("i", "s", t_elapsed(hist.online, hist.offline));
|
||||||
@ -390,6 +390,8 @@ void MakeStat(void)
|
|||||||
MacroVars("l", "d", hist.cost);
|
MacroVars("l", "d", hist.cost);
|
||||||
MacroVars("m", "s", hist.inbound ? "In":"Out");
|
MacroVars("m", "s", hist.inbound ? "In":"Out");
|
||||||
MacroRead(fi, fw);
|
MacroRead(fi, fw);
|
||||||
|
if (CFG.www_mailerlines && ((Total - i + 1) >= CFG.www_mailerlines))
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
closepage(fw, (char *)"mailhistory", fi);
|
closepage(fw, (char *)"mailhistory", fi);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user