Fixes for handles in mbsebbs, fixes for areamgr listings

This commit is contained in:
Michiel Broek 2003-02-02 15:03:40 +00:00
parent 078a4e9d08
commit 063ee8e631
5 changed files with 49 additions and 12 deletions

View File

@ -36,6 +36,8 @@ v0.37.01 14-Jan-2003.
mbfido: mbfido:
Removed all code for charset translation. Removed all code for charset translation.
In areamgr/filemgr lists the messages are forced splitted when
the force limit is reached in the middle of a group listing.
mbsetup: mbsetup:
Added protection against wrong database sizes depending on Added protection against wrong database sizes depending on
@ -46,6 +48,11 @@ v0.37.01 14-Jan-2003.
mbsebbs: mbsebbs:
It will now refuse to up/download OLR packets when the system It will now refuse to up/download OLR packets when the system
bbs id is not set in the global setup. bbs id is not set in the global setup.
When a reply is made on a message in a area which allows
aliases, the user is asked to use his alias.
When a reply is made on a message in a newsgroup and your
systems has a permanent mail domain the email address is used
as from name.
v0.37.00 26-Dec-2002 - 14-Jan-2003 v0.37.00 26-Dec-2002 - 14-Jan-2003

11
TODO
View File

@ -13,10 +13,6 @@ $Id$
N = Normal, second priority. N = Normal, second priority.
L = Cosmetic or nice to have. L = Cosmetic or nice to have.
general:
N: Add the default root domain DNS lookup if no DNS info is available
in the nodelist. Setting per zone.
libdiesel.a: libdiesel.a:
U: Processed stringlines containing unbalanced " characters are not U: Processed stringlines containing unbalanced " characters are not
processed, instead the previous macro value will be returned. processed, instead the previous macro value will be returned.
@ -43,7 +39,6 @@ mbsebbs:
N: If a new mailcheck takes longer then the idle timeout, the user is N: If a new mailcheck takes longer then the idle timeout, the user is
disconnected as soon as the mailcheck is ready. disconnected as soon as the mailcheck is ready.
N: In mail areas for only Alias names, the normal usernames show up.
mbfido: mbfido:
U: Code cleanup and make a structure in this program. Remove duplicate U: Code cleanup and make a structure in this program. Remove duplicate
@ -52,10 +47,6 @@ mbfido:
N: Remove memory leak during toss. (It's ok for less 5000 messages for N: Remove memory leak during toss. (It's ok for less 5000 messages for
each run). each run).
N: When a news article is received from a mailinglist there is a valid
To: address in the message, the gate doesn't see that and uses the
name to "All".
U: GoldED netmail from points, FMPT kludge is missing. U: GoldED netmail from points, FMPT kludge is missing.
U: GoldED messages to internet becomes null. U: GoldED messages to internet becomes null.
@ -97,8 +88,6 @@ mbfido:
N: Send notifications to downlinks about changed areas from uplink. N: Send notifications to downlinks about changed areas from uplink.
N: Better areamgr message split.
mbcico: mbcico:
N: Implement MD5 crypt in binkp protocol driver. N: Implement MD5 crypt in binkp protocol driver.

View File

@ -267,6 +267,16 @@ void A_List(faddr *t, char *replyid, int Notify)
fgetpos(fi,&fileptr2); fgetpos(fi,&fileptr2);
SubTot++; SubTot++;
Total++; Total++;
/*
* Panic message split
*/
if (((ftell(qp) - msgptr) / 1024) >= CFG.new_force) {
MacroVars("Z","d",1);
Syslog('-', " Forced splitting message at %ld bytes", ftell(qp) - msgptr);
CloseMail(qp, t);
qp = SendMgrMail(t, CFG.ct_KeepMgr, FALSE, (char *)"Areamgr", subject, replyid);
msgptr = ftell(qp);
}
} }
} else } else
fseek(mp, msgshdr.syssize, SEEK_CUR); fseek(mp, msgshdr.syssize, SEEK_CUR);

View File

@ -252,6 +252,16 @@ void F_List(faddr *t, char *replyid, int Notify)
fgetpos(fi,&fileptr2); fgetpos(fi,&fileptr2);
SubTot++; SubTot++;
Total++; Total++;
/*
* Panic message split
*/
if (((ftell(qp) - msgptr) / 1024) >= CFG.new_force) {
MacroVars("Z","d",1);
Syslog('-', " Forced splitting message at %ld bytes", ftell(qp) - msgptr);
CloseMail(qp, t);
qp = SendMgrMail(t, CFG.ct_KeepMgr, FALSE, (char *)"Filemgr", subject, replyid);
msgptr = ftell(qp);
}
} }
} else } else
fseek(fp, tichdr.syssize, SEEK_CUR); fseek(fp, tichdr.syssize, SEEK_CUR);

View File

@ -1272,7 +1272,28 @@ void Reply_Msg(int IsReply)
strncpy(Msg.ReplyAddr, replyaddr, 80); strncpy(Msg.ReplyAddr, replyaddr, 80);
/* From : */ /* From : */
strncpy(Msg.From, exitinfo.sUserName, 100); if (Alias_Option()) {
/*
* Set handle
*/
strcpy(Msg.From, exitinfo.sHandle);
tlcap(Msg.From); // Do we want this???
} else {
if (msgs.Type == NEWS) {
if (CFG.EmailMode != E_PRMISP) {
/*
* If no inernet mail domain, use fidonet addressing
*/
strcpy(Msg.From, exitinfo.sUserName);
tlcap(Msg.From);
} else {
sprintf(Msg.From, "%s@%s (%s)", exitinfo.Name, CFG.sysdomain, exitinfo.sUserName);
}
} else {
strncpy(Msg.From, exitinfo.sUserName, 100);
tlcap(Msg.From);
}
}
pout(YELLOW, BLACK, (char *) Language(209)); pout(YELLOW, BLACK, (char *) Language(209));
pout(CFG.MsgInputColourF, CFG.MsgInputColourB, Msg.From); pout(CFG.MsgInputColourF, CFG.MsgInputColourB, Msg.From);
Enter(1); Enter(1);