updates
This commit is contained in:
parent
650e01386f
commit
fc1e81d7be
|
@ -624,7 +624,7 @@ Var
|
||||||
End Else
|
End Else
|
||||||
Desc := '';
|
Desc := '';
|
||||||
|
|
||||||
List.Add(strPadR(Sort.Data[Count]^.Name, 22, ' ') + Desc, 0);
|
List.Add(strPadR(Sort.Data[Count]^.Name, mysMaxMenuNameLen + 2, ' ') + Desc, 0);
|
||||||
|
|
||||||
If Sort.Data[Count]^.Name = OldName Then
|
If Sort.Data[Count]^.Name = OldName Then
|
||||||
List.Picked := List.ListMax;
|
List.Picked := List.ListMax;
|
||||||
|
@ -703,15 +703,16 @@ Begin
|
||||||
Case List.ExitCode of
|
Case List.ExitCode of
|
||||||
'/' : Case GetCommandOption(10, 'I-Insert|D-Delete|C-Copy|') of
|
'/' : Case GetCommandOption(10, 'I-Insert|D-Delete|C-Copy|') of
|
||||||
'C' : If List.ListMax > 0 Then
|
'C' : If List.ListMax > 0 Then
|
||||||
CopyMenu(strWordGet(1, List.List[List.Picked]^.Name, ' '));
|
CopyMenu(strStripR(Copy(List.List[List.Picked]^.Name, 1, mysMaxMenuNameLen), ' '));
|
||||||
'I' : InsertMenu;
|
'I' : InsertMenu;
|
||||||
'D' : If List.ListMax > 0 Then
|
'D' : If List.ListMax > 0 Then
|
||||||
If ShowMsgBox(1, 'Delete menu: ' + strWordGet(1, List.List[List.Picked]^.Name, ' ')) Then
|
If ShowMsgBox(1, 'Delete menu: ' + strStripR(Copy(List.List[List.Picked]^.Name, 1, mysMaxMenuNameLen), ' ')) Then
|
||||||
FileErase (Theme.MenuPath + strWordGet(1, List.List[List.Picked]^.Name, ' ') + '.mnu');
|
FileErase (Theme.MenuPath + strStripR(Copy(List.List[List.Picked]^.Name, 1, mysMaxMenuNameLen), ' ') + '.mnu');
|
||||||
End;
|
End;
|
||||||
#13 : Begin
|
#13 : Begin
|
||||||
If List.ListMax <> 0 Then
|
If List.ListMax <> 0 Then
|
||||||
Result := strWordGet(1, List.List[List.Picked]^.Name, ' ');
|
Result := strStripR(Copy(List.List[List.Picked]^.Name, 1, mysMaxMenuNameLen), ' ');
|
||||||
|
|
||||||
Break;
|
Break;
|
||||||
End;
|
End;
|
||||||
#27 : Break;
|
#27 : Break;
|
||||||
|
|
|
@ -635,7 +635,7 @@ Var
|
||||||
S : String;
|
S : String;
|
||||||
A : SmallInt;
|
A : SmallInt;
|
||||||
Begin
|
Begin
|
||||||
If (MBase.NetType > 0) and (MBase.NetType <> 3) and (MBase.QwkNetID = 0) Then Begin
|
If (MBase.NetType > 0) and (MBase.QwkNetID = 0) Then Begin
|
||||||
Msg^.DoStringLn (#1 + 'MSGID: ' + Addr2Str(bbsCfg.NetAddress[MBase.NetAddr]) + ' ' + strI2H(CurDateDos, 8));
|
Msg^.DoStringLn (#1 + 'MSGID: ' + Addr2Str(bbsCfg.NetAddress[MBase.NetAddr]) + ' ' + strI2H(CurDateDos, 8));
|
||||||
|
|
||||||
If ReplyID <> '' Then
|
If ReplyID <> '' Then
|
||||||
|
@ -1115,7 +1115,7 @@ Begin
|
||||||
Session.User.ThisUser.LastMGroup := FilePos(GroupFile);
|
Session.User.ThisUser.LastMGroup := FilePos(GroupFile);
|
||||||
|
|
||||||
// use gettotalbases(true) here!?
|
// use gettotalbases(true) here!?
|
||||||
|
|
||||||
If bbsCfg.MShowBases Then Begin
|
If bbsCfg.MShowBases Then Begin
|
||||||
Reset (MBaseFile);
|
Reset (MBaseFile);
|
||||||
Read (MBaseFile, tMBase); { Skip EMAIL base }
|
Read (MBaseFile, tMBase); { Skip EMAIL base }
|
||||||
|
|
|
@ -376,7 +376,7 @@ Begin
|
||||||
Msg^.SetTo (mTo);
|
Msg^.SetTo (mTo);
|
||||||
Msg^.SetSubj (mSubj);
|
Msg^.SetSubj (mSubj);
|
||||||
|
|
||||||
If (mArea.NetType > 0) and (mArea.NetType <> 3) Then
|
If (mArea.NetType > 0) and (mArea.QwkNetID = 0) Then
|
||||||
Msg^.DoStringLn (#1 + 'MSGID: ' + strAddr2Str(bbsCfg.NetAddress[mArea.NetAddr]) + ' ' + strI2H(CurDateDos, 8));
|
Msg^.DoStringLn (#1 + 'MSGID: ' + strAddr2Str(bbsCfg.NetAddress[mArea.NetAddr]) + ' ' + strI2H(CurDateDos, 8));
|
||||||
|
|
||||||
For Count := 1 to mLines Do
|
For Count := 1 to mLines Do
|
||||||
|
|
|
@ -62,6 +62,8 @@ Var
|
||||||
PKTName : String;
|
PKTName : String;
|
||||||
BundleName : String;
|
BundleName : String;
|
||||||
BundlePath : String;
|
BundlePath : String;
|
||||||
|
BundleSize : Cardinal;
|
||||||
|
Temp : String;
|
||||||
FLOName : String;
|
FLOName : String;
|
||||||
OrigAddr : RecEchoMailAddr;
|
OrigAddr : RecEchoMailAddr;
|
||||||
Begin
|
Begin
|
||||||
|
@ -93,10 +95,25 @@ Begin
|
||||||
BundleName := BundlePath + GetFTNArchiveName(OrigAddr, EchoNode.Address) + '.' + strLower(DayString[DayOfWeek(CurDateDos)]);
|
BundleName := BundlePath + GetFTNArchiveName(OrigAddr, EchoNode.Address) + '.' + strLower(DayString[DayOfWeek(CurDateDos)]);
|
||||||
|
|
||||||
BundleName[Length(BundleName)] := '0';
|
BundleName[Length(BundleName)] := '0';
|
||||||
|
|
||||||
|
(*
|
||||||
|
BundleName := BundlePath + GetFTNBundleExt(False, GetFTNArchiveName(OrigAddr, EchoNode.Address) + '.' + Copy(strLower(DayString[DayOfWeek(CurDateDos)]), 1, 2) + '0');
|
||||||
|
|
||||||
//check for filesize... and...
|
BundleName := BundlePath + GetFTNArchiveName(OrigAddr, EchoNode.Address) + '.' + Copy(strLower(DayString[DayOfWeek(CurDateDos)]), 1, 2) + '0';
|
||||||
//force every bundle to increment
|
Temp := BundleName;
|
||||||
//BundleName := GetFTNBundleExt(BundlePath + GetFTNArchiveName(OrigAddr, EchoNode.Address) + '.' + Copy(strLower(DayString[DayOfWeek(CurDateDos)]), 1, 2) + '0');
|
|
||||||
|
Repeat
|
||||||
|
BundleSize := FileByteSize(BundleName);
|
||||||
|
|
||||||
|
If (BundleSize > 0) and ((BundleSize DIV 1024) >= 250) Then Begin
|
||||||
|
BundleName := GetFTNBundleExt(True, BundleName);
|
||||||
|
|
||||||
|
If BundleName = Temp Then
|
||||||
|
Break;
|
||||||
|
End Else
|
||||||
|
Break;
|
||||||
|
Until False;
|
||||||
|
*)
|
||||||
|
|
||||||
Case EchoNode.MailType of
|
Case EchoNode.MailType of
|
||||||
0 : FLOName := FLOName + '.flo';
|
0 : FLOName := FLOName + '.flo';
|
||||||
|
@ -250,6 +267,7 @@ Var
|
||||||
|
|
||||||
MH.OrigNode := MsgBase^.GetOrigAddr.Node;
|
MH.OrigNode := MsgBase^.GetOrigAddr.Node;
|
||||||
MH.OrigNet := MsgBase^.GetOrigAddr.Net;
|
MH.OrigNet := MsgBase^.GetOrigAddr.Net;
|
||||||
|
|
||||||
TempStr1 := FormatDate(DT, 'DD NNN YY HH:II:SS') + #0;
|
TempStr1 := FormatDate(DT, 'DD NNN YY HH:II:SS') + #0;
|
||||||
Move (TempStr1[1], MH.DateTime[0], 20);
|
Move (TempStr1[1], MH.DateTime[0], 20);
|
||||||
|
|
||||||
|
|
|
@ -42,14 +42,14 @@ Uses
|
||||||
m_Input,
|
m_Input,
|
||||||
m_Pipe,
|
m_Pipe,
|
||||||
BBS_Records,
|
BBS_Records,
|
||||||
bbs_Common,
|
BBS_Common,
|
||||||
bbs_DataBase,
|
BBS_DataBase,
|
||||||
bbs_Core,
|
BBS_Core,
|
||||||
bbs_NodeInfo,
|
BBS_NodeInfo,
|
||||||
{$IFDEF TESTEDITOR}
|
{$IFDEF TESTEDITOR}
|
||||||
BBS_Edit_Ansi,
|
BBS_Edit_Ansi,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
bbs_Cfg_Main;
|
BBS_Cfg_Main;
|
||||||
|
|
||||||
{$IFDEF TESTEDITOR}
|
{$IFDEF TESTEDITOR}
|
||||||
Procedure TestEditor;
|
Procedure TestEditor;
|
||||||
|
|
|
@ -56,6 +56,7 @@ BUGS AND POSSIBLE ISSUES
|
||||||
|
|
||||||
FUTURE / IDEAS / WORK IN PROGRESS / NOTES
|
FUTURE / IDEAS / WORK IN PROGRESS / NOTES
|
||||||
=========================================
|
=========================================
|
||||||
|
- Make point mail bundles based off of their uplink (your address)?
|
||||||
- MIS escape confirmation
|
- MIS escape confirmation
|
||||||
- Prompts for CONFIG editors
|
- Prompts for CONFIG editors
|
||||||
- matrix disconnect if they use the XL command too many times
|
- matrix disconnect if they use the XL command too many times
|
||||||
|
|
|
@ -3846,4 +3846,7 @@
|
||||||
server and automatically increment packet names (ie we1->we2) until it
|
server and automatically increment packet names (ie we1->we2) until it
|
||||||
finds an unused packet name on the remote server.
|
finds an unused packet name on the remote server.
|
||||||
|
|
||||||
|
! Fixed a bug when using spaces in menu filenames which caused the menu
|
||||||
|
editor to fail to edit, copy, and delete menus.
|
||||||
|
|
||||||
<ALPHA 38 RELEASED>
|
<ALPHA 38 RELEASED>
|
||||||
|
|
Loading…
Reference in New Issue