Changeset 1139


Ignore:
Timestamp:
Apr 10, 2011, 10:44:11 PM (14 years ago)
Author:
George Lilly
Message:

version 2.3 of GuiMail

Location:
GuiMail/trunk
Files:
1 added
16 edited

Legend:

Unmodified
Added
Removed
  • GuiMail/trunk/p/CWMACPPI.m

    r1138 r1139  
    1 CWMACPPI        ;RVAMC/PLS - Convert Personal Preferences to Parameters Utility;26-Aug-1999 12:44;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMACPPI        ;RVAMC/PLS - Convert Personal Preferences to Parameters Utility;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;Call EN to convert Personal Preferences from File 890
    44        ;to the Kernel Toolkit Parameter File.
  • GuiMail/trunk/p/CWMAIL.m

    r1138 r1139  
    1 CWMAIL  ;INDPLS/PLS- DELPHI VISTA MAIL SERVER ;16-Sep-1999 07:47;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL  ;INDPLS/PLS- DELPHI VISTA MAIL SERVER ;22-Jul-2005 06:59;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    44ENTRY(CWDATA,CWINPUT,CWTEXT)    ;CALL WITH CWINPUT=CALL;DUZ;MSG;BASKET;NEW BASKET;NEWMAIL, TEXT=TEXT ARRAY
     
    133133        Q
    134134        ;
     135%OPENATT(CWDATA,CWINPUT,CWTEXT) ;ALLOW OPENING OF ATTACHMENTS
     136        ;
     137        D %OPENATT^CWMAILD(.CWDATA,CWINPUT),RETGNAM
     138        Q
     139%TIMEROF(CWDATA,CWINPUT,CWTEXT) ;TIMER OFF
     140        ;
     141        D %TIMEROF^CWMAILD(.CWDATA,CWINPUT),RETGNAM
     142        Q
     143%TIMERVA(CWDATA,CWINPUT,CWTEXT) ;SET TIME-OUT VALUE
     144        ;
     145        D TIMERVAL^CWMAILD(.CWDATA,CWINPUT),RETGNAM
     146        Q
  • GuiMail/trunk/p/CWMAIL0.m

    r1138 r1139  
    1 CWMAIL0 ;INDPLS/PLS- DELPHI MAIL SERVER, CONT'D ;04-Jun-1999 14:54;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL0 ;INDPLS/PLS- DELPHI MAIL SERVER, CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    44        ;
  • GuiMail/trunk/p/CWMAIL1.m

    r1138 r1139  
    1 CWMAIL1 ;INDPLS/PLS- GUI MAIL UTILITIES ;30-Jul-1999 09:30;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL1 ;INDPLS/PLS- GUI MAIL UTILITIES ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;MODIFIED FOR XM*7.1*50
    44LATER(CWXMZ,CWXMA)      ;LATER A MESSAGE
  • GuiMail/trunk/p/CWMAIL2.m

    r1138 r1139  
    1 CWMAIL2 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CONT'D ;20-Sep-1999 08:00;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL2 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;Input - CWINPUT : 1 - Subject
    44        ;                : 2 - Flags
  • GuiMail/trunk/p/CWMAIL3.m

    r1138 r1139  
    1 CWMAIL3 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CON'T ;03-Jun-1999 13:24;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL3 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CON'T ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
     3        ;Modified to fix Cache problem related to double close
    34        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    45        ;
     
    2425        .S CWDAT(-9900)=$O(CWDAT(9999999),-1)+1
    2526        E  S CWDAT(-9900)=2
    26 GRPINFOE        D CLOSE^%ZISH("CWDATFIL")
     27GRPINFOE        ;D CLOSE^%ZISH("CWDATFIL")
    2728        Q $O(CWDAT(1))
    2829USRINFO(CWDAT,CWPARAM)  ;Mail User Information
     
    4849        .S CWDAT(-9900)=$O(CWDAT(9999999),-1)+1
    4950        E  S CWDAT(-9900)=2
    50 USRINFOE        D CLOSE^%ZISH("CWDATFIL")
     51USRINFOE        ;D CLOSE^%ZISH("CWDATFIL")
    5152        Q $O(CWDAT(1))
  • GuiMail/trunk/p/CWMAIL4.m

    r1138 r1139  
    1 CWMAIL4 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CON'T ;05-May-1999 14:03;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAIL4 ;INDPLS/PLS- DELPHI VISTA MAIL SERVER, CON'T ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    44        ;
  • GuiMail/trunk/p/CWMAILA.m

    r1138 r1139  
    1 CWMAILA ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;02-Jul-1999 14:45;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILA ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;MODIFIED FOR XM*7.1*50
    44        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
     
    4646        ;CALL API TO RETRIEVE MESSAGES
    4747        I CWVAL=+CWVAL D
    48         . D LISTMSGS^XMXAPIB(XMDUZ,+CWMAIB,"BSKT;SUBJ;DATE;SEQN;NEW")  ; data put in ^TMP("XMLIST",$J
     48        . D LISTMSGS^XMXAPIB(XMDUZ,+CWMAIB,"BSKT;SUBJ;DATE;SEQN;NEW","",3500)  ; data put in ^TMP("XMLIST",$J
    4949        . Q:'+$P($G(^TMP("XMLIST",$J,0)),U,1)  ;NO DATA FOUND
    5050        . D BLDLST^CWMAILF(.CWDATA,$NA(^TMP("XMLIST",$J)),.CWDCNT)
    5151        E  D  ;PROCESS NEW MESSAGE REQUEST
    52         . D LISTMSGS^XMXAPIB(XMDUZ,"*","BSKT;SUBJ;DATE;NEW","N")   ;SEQN;NEW","N")
     52        . D LISTMSGS^XMXAPIB(XMDUZ,"*","BSKT;SUBJ;DATE;NEW","N",3500)   ;SEQN;NEW","N")
    5353        . Q:'+$P($G(^TMP("XMLIST",$J,0)),U,1)  ;NO DATA FOUND
    5454        . D BLDLST^CWMAILF(.CWDATA,$NA(^TMP("XMLIST",$J)),.CWDCNT)
  • GuiMail/trunk/p/CWMAILB.m

    r1138 r1139  
    1 CWMAILB ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CON'T ;03-Jun-1999 13:29;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILB ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CON'T ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
     3        ; modified 10/8/1999 to fix problem with reply text tab conversion
    34%FORWARD(CWDATA,CWINPUT,CWTEXT) ;
    45        ;Input:  1st Piece of CWINPUT holds IEN of Message
     
    6970        G:'$D(^TMP($J,"CWMAILOUT")) REPEND
    7071        S CWMSGT=$NA(^TMP($J,"CWMAILOUT"))
     72        D CNVTAB^CWMAIL2(CWMSGT)  ;convert tabs to spaces
    7173        S XMINSTR("NET REPLY")=$S(+$G(CWNWCHK):1,1:0)
    7274        D REPLYMSG^XMXAPI(XMDUZ,"",CWMSGN,CWMSGT,.XMINSTR,.XMZR)
  • GuiMail/trunk/p/CWMAILC.m

    r1138 r1139  
    1 CWMAILC ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;03-Jun-1999 13:29;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILC ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;MODIFIED FOR XM*7.1*50
    44        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
  • GuiMail/trunk/p/CWMAILD.m

    r1138 r1139  
    1 CWMAILD ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;16-Jul-1999 11:13;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILD ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;22-Jul-2005 07:10;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    44        ;
     
    3535        . S $P(CWDATA(1),U,5)=$G(XMV("WARNING",1))="Priority Mail"  ;SET PRIORITY MAIL FLAG
    3636        . S $P(CWDATA(1),U,6)=$P($G(XMV("NETNAME")),"@",2)  ;get domain name for mail server
     37        . S $P(CWDATA(1),U,7)=$S($P($G(^VA(200,DUZ,200)),U,10)>0:$P($G(^VA(200,DUZ,200)),U,10),1:300)  ;Timed read used for GuiMail timeout. -clc
    3738        ;$G(^XMB("NETNAME"))  ;get domain name for mail server
    3839        E  S CWDATA(1)="0^USER NOT FOUND"
     
    108109        S CWDATA(1)="1^1^"_+$$VERSION^XPDUTL("CWMA")
    109110        Q
     111%OPENATT(CWDATA,CWPARAM)        ;OPEN ATTACHMENTS
     112        N X
     113        S X=$$GET^XPAR("ALL","CWMA ALLOW ATTACHMENTS OPEN")
     114        S CWDATA(1)="1^1^"_$S(X=0:X,1:1)
     115        Q
     116%TIMEROF(CWDATA,CWPARAM)        ;DISABLE TIMER
     117        N X
     118        S X=$$GET^XPAR("ALL","CWMA DISABLE GUIMAIL TIMEOUT")
     119        S CWDATA(1)="1^1^"_$S(X=0:X,1:1)
     120        Q
     121TIMERVAL(CWDATA,CWPARAM)        ;TIMEOUT VALUE
     122        N X
     123        S X=$$GET^XPAR("ALL","CWMA GUIMAIL TIMEOUT VALUE")
     124        S CWDATA(1)="1^1^"_$S(X>0:X,1:0)
     125        Q
  • GuiMail/trunk/p/CWMAILE.m

    r1138 r1139  
    1 CWMAILE ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;07-Sep-1999 14:08;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILE ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
    44        ;
  • GuiMail/trunk/p/CWMAILF.m

    r1138 r1139  
    1 CWMAILF ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;02-Jul-1999 15:53;PS
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAILF ;INDPLS/PLS- DELPHI VISTA MAIL SERVER CONT'D ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;MODIFIED FOR XM*7.1*50
    44        Q   ;ROUTINE CAN'T BE CALLED DIRECTLY
  • GuiMail/trunk/p/CWMAINI.m

    r1138 r1139  
    1 CWMAINI ;INDPLS/PLS - KIDS INITS FOR GUIMail INSTALL ;30-Jul-1999 10:42;PS;
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAINI ;INDPLS/PLS - KIDS INITS FOR GUIMail INSTALL ;20-Jul-2005 14:46;CLC;
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ; Environment Check
    44EC      D VCHK("RPC BROKER",1.1)  ;RPC Broker
     
    2424        D ^CWMAPP  ;populate package parameters
    2525        D EN^CWMACPPI  ;convert CWMAIL1 to Generic Parameter Utility
    26         D PDEL890  ;prompt for deletion of File 890 CW GUI VISTA MAIL USER
     26        D UPCURVER(2.3)     ;make sure current version is updated
     27        ;D PDEL890  ;prompt for deletion of File 890 CW GUI VISTA MAIL USER
    2728        D MMSG  ;send mail message indicating package installation
    2829        Q
     
    3334        S CWSUBJ="GUIMail Installation at "_$G(^XMB("NETNAME"))
    3435        S ^TMP($J,"CWBODY",1)="GUIMail has just been installed at: "_$G(^XMB("NETNAME"))_"."
    35         S ^TMP($J,"CWBODY",2)="Version #: 2.1"    ;_$$VERSION^XPDUTL("CWMA")  ;set version number
     36        S ^TMP($J,"CWBODY",2)="Version #: 2.3"    ;_$$VERSION^XPDUTL("CWMA")  ;set version number
    3637        S ^TMP($J,"CWBODY",3)="Installer: "_$P($G(^VA(200,+$G(DUZ),0)),U)
    3738        S CWRECP("G.GUIMAIL@INDIANAPOLIS.VA.GOV")=""
     
    4950        S DIU="^CWMAIL1(",DIU(0)="DST" D EN^DIU2
    5051        Q
     52UPCURVER(VER)   ;
     53        N IEN,CWFDA
     54        S IEN=$$FIND1^DIC(9.4,"","B","CW GUIMail","B","","OUT")
     55        I IEN D
     56        .Q:$G(^DIC(9.4,IEN,"VERSION"))=VER
     57        .S CWFDA(9.4,IEN_",",13)=VER
     58        .D FILE^DIE("","CWFDA")
     59        Q
    5160READY(CWPRMPT,CWDEF)    ; Prompts user for input
    5261        ;Input - CWPRMPT - will set DIR("A" to this value
  • GuiMail/trunk/p/CWMAPP.m

    r1138 r1139  
    1 CWMAPP  ; Export Package Level Parameters ; Sep 07, 1999@14:11:55
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAPP  ; Export Package Level Parameters ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;;
    44MAIN    ; main (initial) parameter transport routine
  • GuiMail/trunk/p/CWMAPP01.m

    r1138 r1139  
    1 CWMAPP01        ; ; Sep 07, 1999@14:11:55
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAPP01        ; ;21-Jun-2005 06:34;CLC
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ;;
    44LOAD    ; load data into ^TMP (expects ROOT to be defined)
Note: See TracChangeset for help on using the changeset viewer.