New config file token: AKAMatchManually

This commit is contained in:
Stas Degteff 2005-09-27 18:26:13 +00:00
parent e91beedb81
commit cdcef282fc
10 changed files with 29 additions and 2 deletions

View File

@ -130,6 +130,10 @@ AKAMATCHNET YES ; Enable aka matching in netmail.
; (use the "From" field only).
;AKAMATCHFROMTO ALWAYS ; Use default area AKA, instead of AKA from "To"
//
AKAMatchManually No
;AKAMatchManually Yes
----------------------------------------------------------------------
-- NODELISTS AND USERLISTS

View File

@ -98,6 +98,11 @@ AKAMatchFromTo No ;
; ¢ë¡¨à âì AKA ­  ®á­®¢ ­¨¨ ¯®«ï To.
;AKAMatchFromTo Always ; ˆá¯®«ì§®¢ âì AKA ¯® 㬮«ç ­¨î ¤«ï  à¨¨, ¢¬¥áâ® AKA ¨§ ¯®«ï To
// <20>®á«¥ ¢á¥å ¯à ¢¨«  ¢â®¬ â¨ç¥áª®£® ¯®¤¡®à  €Š€, ¡ã¤¥â ¯à¥¤«®¦¥­®
// ¢ë¡à âì ¤à㣮©/᪮à४â¨à®¢ âì €Š€ ¨§ ᯨ᪠. (¯® 㬮«ç ­¨î: No)
AKAMatchManually No
;AKAMatchManually Yes
----------------------------------------------------------------------
-- <20>Ž„ˆ ˆ <>ˆŠˆ <20>Žœ‡Ž…‰ (USERLISTS)

View File

@ -10,11 +10,15 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
+ New config file token: AKAMatchManually (yes/no). If set to "yes" then manual
selection of the AKA is forced.
(Patch from Ianos Gnatiuc 2:5030/830.17)
+ New macros in message template for echomail messages:
@echopath - path to echoarea base (fill pathname like specified in config),
@echopath - path to echoarea base (full pathname like specified in config),
@echoname - echoarea name (areatag),
@echotype - echoarea base type (OPUS, JAM, Squish, PCBoard, ...).
(Patch from Ianos Gnatiuc 2:5030/830.17)
+ Golded+/lnx: Adopt clipboard usage to newest versions of Midnight Commander.

View File

@ -687,6 +687,7 @@ CfgGed::CfgGed() {
addressbookadd = YES;
addresslookupfirst = false;
akamatchfromto = NO;
akamatchmanually = false;
areaautoid = AUTOID_LONG;
areacopydirect = false;
areacopyaddid = false;

View File

@ -39,6 +39,7 @@ const word CRC_AKAMATCHECHO = 0xF0C1;
const word CRC_AKAMATCHFROMTO = 0xD8B9;
const word CRC_AKAMATCHING = 0x869A;
const word CRC_AKAMATCHLOCAL = 0x4AC4;
const word CRC_AKAMATCHMANUALLY = 0x9F9C;
const word CRC_AKAMATCHNET = 0xFD6E;
const word CRC_AREA = 0x010B;
const word CRC_AREAAUTOID = 0x365D;

View File

@ -192,6 +192,7 @@ SwitchA:
case CRC_AKAMATCH : CfgAkamatch (); break;
case CRC_AKAMATCHFROMTO : CfgAkamatchfromto (); break;
case CRC_AKAMATCHING : CfgAkamatching (); break;
case CRC_AKAMATCHMANUALLY : CfgAkamatchmanually (); break;
case CRC_AREAAUTOID : CfgAreaautoid (); break;
case CRC_AREACFMREPLYTO : CfgAreacfmreplyto (); break;
case CRC_AREACOPYADDID : CfgAreacopyaddid (); break;

View File

@ -191,6 +191,13 @@ void CfgAkamatching() {
// ------------------------------------------------------------------
void CfgAkamatchmanually()
{
CFG->akamatchmanually = (0 != GetYesno(val));
}
// ------------------------------------------------------------------
void CfgArea() {
AL.GetArea(val);

View File

@ -42,6 +42,7 @@ void CfgAkamatchecho ();
void CfgAkamatchfromto ();
void CfgAkamatching ();
void CfgAkamatchlocal ();
void CfgAkamatchmanually ();
void CfgAkamatchnet ();
void CfgArea ();
void CfgAreaautoid ();

View File

@ -141,6 +141,7 @@ public:
std::vector<gaka> aka;
std::vector<AkaMatchG> akamatch;
int akamatchfromto;
bool akamatchmanually;
int areaautoid;
Echo areacfmreplyto;
bool areacopydirect;

View File

@ -907,6 +907,8 @@ void MakeMsg(int mode, GMsg* omsg, bool ignore_replyto) {
AkaMatch(&aka_addr, &omsg->orig);
AA->SetAka(aka_addr);
}
if (CFG->akamatchmanually) ChangeAka();
}
if((mode == MODE_REPLYCOMMENT) and not omsg->fwdorig.net) {