Commit f74c1be6 authored by Jim Fulton's avatar Jim Fulton

various cleanups and test of cvs

parent f36e5287
...@@ -191,6 +191,3 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Explicit, ...@@ -191,6 +191,3 @@ class ExternalMethod(OFS.SimpleItem.Item, Persistent, Explicit,
def function(self): return self._function def function(self): return self._function
def module(self): return self._module def module(self): return self._module
import __init__
__init__.need_license=1
...@@ -11,8 +11,8 @@ from Scheduler.OneTimeEvent import OneTimeEvent ...@@ -11,8 +11,8 @@ from Scheduler.OneTimeEvent import OneTimeEvent
from ImageFile import ImageFile from ImageFile import ImageFile
from cStringIO import StringIO from cStringIO import StringIO
#$Id: MailHost.py,v 1.30 1998/05/07 19:55:27 jeffrey Exp $ #$Id: MailHost.py,v 1.31 1998/11/23 16:28:58 jim Exp $
__version__ = "$Revision: 1.30 $"[11:-2] __version__ = "$Revision: 1.31 $"[11:-2]
smtpError = "SMTP Error" smtpError = "SMTP Error"
MailHostError = "MailHost Error" MailHostError = "MailHost Error"
...@@ -247,94 +247,3 @@ def decapitate(message): ...@@ -247,94 +247,3 @@ def decapitate(message):
hd['subject']=mo.getheader('subject') or "No Subject" hd['subject']=mo.getheader('subject') or "No Subject"
return hd, mfile.read() return hd, mfile.read()
import __init__
__init__.need_license=1
####################################################################
#
#$Log: MailHost.py,v $
#Revision 1.30 1998/05/07 19:55:27 jeffrey
#started using rfc822 module to parse headers
#
#Revision 1.29 1998/04/30 19:04:49 jeffrey
#first step in some new cleanups.
#
#Revision 1.28 1998/04/22 20:43:03 jeffrey
#comma-delimeted strings can now be sent to the .send() method for the
#'mto' parameter. MailHost appropriately breaks them into multiple
#recipiants now.
#
#Revision 1.27 1998/04/13 19:28:24 brian
#*** empty log message ***
#
#Revision 1.26 1998/04/08 15:34:52 jeffrey
#Added timeout attribute
#
#Revision 1.25 1998/01/13 23:06:10 brian
#Removed __ac_types__
#
#Revision 1.24 1998/01/05 19:34:12 jeffrey
#split out the SendMail tag machinery into new module
#
#Revision 1.23 1998/01/02 22:55:44 jeffrey
#minor cleanups, added SendMailTag class for DTML.
#
#Revision 1.22 1997/12/31 21:15:19 brian
#Security update
#
#Revision 1.21 1997/12/19 21:46:37 jeffrey
#fixees
#
#Revision 1.20 1997/12/18 16:45:37 jeffrey
#changeover to new ImageFile and HTMLFile handling
#
#Revision 1.19 1997/12/12 22:05:18 brian
#ui update
#
#Revision 1.18 1997/12/05 17:11:58 brian
#New UI
#
#Revision 1.17 1997/09/25 13:29:13 brian
#Removed index_html
#
#Revision 1.16 1997/09/18 20:08:51 brian
#Added meta_type for auto-detection
#
#Revision 1.15 1997/09/17 21:08:15 jeffrey
#threadsafe calls to Scheduler, added .scheduledSend method which is
#the same interface as send, but uses the schedular to send message
#instead of calling the SendMail class directly.
#
#Revision 1.14 1997/09/17 16:20:48 jim
#Added use of scheduler.
#
#Revision 1.13 1997/09/17 15:40:09 jeffrey
#Further SMTP and socket improvements
#
#Revision 1.12 1997/09/16 18:15:17 jeffrey
#Further SMTP updates...
#
#Revision 1.11 1997/09/16 16:59:01 jeffrey
#New SMTP checking..?
#
#Revision 1.10 1997/09/16 15:51:46 jeffrey
#(Hopefully) fixed some socket problems
#
#Revision 1.9 1997/09/12 15:00:00 jeffrey
#Finally added full support for RoleManager, also use of MessageDialog
#in the management process.
#
#Revision 1.8 1997/09/11 21:32:54 jeffrey
#sniffs out the 'local host' (web server host name thingy computer)
#
#Revision 1.6 1997/09/10 21:57:56 jeffrey
#Fixed nasty little squeeks, especially in:
# - header handling (now handles multi-line again)
# - an minor typo in the __del__ action for SendMail
# (the class that actually communicates the SMTP)
#
#Revision 1.5 1997/09/10 18:41:19 jeffrey
#The grand "Should Be Working" version...
##
"""Session object""" """Session object"""
__version__='$Revision: 1.22 $'[11:-2] __version__='$Revision: 1.23 $'[11:-2]
import Globals, time import Globals, time
from AccessControl.Role import RoleManager from AccessControl.Role import RoleManager
...@@ -120,81 +120,3 @@ class Session(Persistent,Implicit,RoleManager,Item): ...@@ -120,81 +120,3 @@ class Session(Persistent,Implicit,RoleManager,Item):
"You cannot copy a %s object with <b>unsaved</b> changes.\n" "You cannot copy a %s object with <b>unsaved</b> changes.\n"
"You must <b>save</b> the changes first." "You must <b>save</b> the changes first."
% self.meta_type) % self.meta_type)
import __init__
__init__.need_license=1
##############################################################################
#
# $Log: Session.py,v $
# Revision 1.22 1998/11/20 18:16:37 jim
# First crack at new layout and 1.5 support
#
# Revision 1.21 1998/09/24 20:13:40 jim
# Added checks to prevent moving uncommitted sessions and drafts
#
# Revision 1.20 1998/09/24 19:21:52 jim
# added Draft objects
#
# Revision 1.19 1998/05/20 22:07:32 jim
# Updated permissions.
#
# Revision 1.18 1998/05/20 17:58:17 jim
# Got rid of ac_types.
#
# Revision 1.17 1998/05/20 17:57:40 jim
# Included '' in permission settings.
#
# Revision 1.16 1998/04/13 19:23:06 jim
# Added license flag
#
# Revision 1.15 1998/03/11 18:21:56 jim
# Fixed bug in permissions settings.
#
# Revision 1.14 1998/02/10 18:40:38 jim
# Changed creation method names for latest security scheme.
#
# Revision 1.13 1998/01/02 17:41:19 brian
# Made undo available only in folders
#
# Revision 1.12 1997/12/31 20:34:05 brian
# Fix bad ref to SimpleItem caused by moving
#
# Revision 1.11 1997/12/31 19:34:57 jim
# Brians changes.
#
# Revision 1.10 1997/12/31 17:17:04 brian
# Security update
#
# Revision 1.9 1997/12/19 17:06:20 jim
# moved Sessions and Daft folders here.
#
# Revision 1.8 1997/12/18 16:42:02 jeffrey
# *** empty log message ***
#
# Revision 1.7 1997/12/18 13:36:57 jim
# Rearranged management options to make the join/leave screen the
# default.
#
# Revision 1.6 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.5 1997/12/05 17:13:51 brian
# New UI
#
# Revision 1.4 1997/11/11 19:25:48 jim
# Changed title_and_id method to include a flag to indicate whether a
# session has unsaved changes.
#
# Revision 1.3 1997/11/07 18:51:13 jim
# Made an implicit acquirer.
#
# Revision 1.2 1997/11/07 17:43:19 jim
# Added a feature to exit another session.
#
# Revision 1.1 1997/11/07 16:13:15 jim
# *** empty log message ***
#
#
"""Session object""" """Session object"""
__version__='$Revision: 1.22 $'[11:-2] __version__='$Revision: 1.23 $'[11:-2]
import Globals, time import Globals, time
from AccessControl.Role import RoleManager from AccessControl.Role import RoleManager
...@@ -120,81 +120,3 @@ class Session(Persistent,Implicit,RoleManager,Item): ...@@ -120,81 +120,3 @@ class Session(Persistent,Implicit,RoleManager,Item):
"You cannot copy a %s object with <b>unsaved</b> changes.\n" "You cannot copy a %s object with <b>unsaved</b> changes.\n"
"You must <b>save</b> the changes first." "You must <b>save</b> the changes first."
% self.meta_type) % self.meta_type)
import __init__
__init__.need_license=1
##############################################################################
#
# $Log: Version.py,v $
# Revision 1.22 1998/11/20 18:16:37 jim
# First crack at new layout and 1.5 support
#
# Revision 1.21 1998/09/24 20:13:40 jim
# Added checks to prevent moving uncommitted sessions and drafts
#
# Revision 1.20 1998/09/24 19:21:52 jim
# added Draft objects
#
# Revision 1.19 1998/05/20 22:07:32 jim
# Updated permissions.
#
# Revision 1.18 1998/05/20 17:58:17 jim
# Got rid of ac_types.
#
# Revision 1.17 1998/05/20 17:57:40 jim
# Included '' in permission settings.
#
# Revision 1.16 1998/04/13 19:23:06 jim
# Added license flag
#
# Revision 1.15 1998/03/11 18:21:56 jim
# Fixed bug in permissions settings.
#
# Revision 1.14 1998/02/10 18:40:38 jim
# Changed creation method names for latest security scheme.
#
# Revision 1.13 1998/01/02 17:41:19 brian
# Made undo available only in folders
#
# Revision 1.12 1997/12/31 20:34:05 brian
# Fix bad ref to SimpleItem caused by moving
#
# Revision 1.11 1997/12/31 19:34:57 jim
# Brians changes.
#
# Revision 1.10 1997/12/31 17:17:04 brian
# Security update
#
# Revision 1.9 1997/12/19 17:06:20 jim
# moved Sessions and Daft folders here.
#
# Revision 1.8 1997/12/18 16:42:02 jeffrey
# *** empty log message ***
#
# Revision 1.7 1997/12/18 13:36:57 jim
# Rearranged management options to make the join/leave screen the
# default.
#
# Revision 1.6 1997/12/12 21:49:44 brian
# ui update
#
# Revision 1.5 1997/12/05 17:13:51 brian
# New UI
#
# Revision 1.4 1997/11/11 19:25:48 jim
# Changed title_and_id method to include a flag to indicate whether a
# session has unsaved changes.
#
# Revision 1.3 1997/11/07 18:51:13 jim
# Made an implicit acquirer.
#
# Revision 1.2 1997/11/07 17:43:19 jim
# Added a feature to exit another session.
#
# Revision 1.1 1997/11/07 16:13:15 jim
# *** empty log message ***
#
#
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''SQL Methods __doc__='''SQL Methods
$Id: SQL.py,v 1.4 1998/04/15 15:25:23 jim Exp $''' $Id: SQL.py,v 1.5 1998/11/23 16:28:57 jim Exp $'''
__version__='$Revision: 1.4 $'[11:-2] __version__='$Revision: 1.5 $'[11:-2]
import AqueductDA.DA import AqueductDA.DA
from Globals import HTMLFile from Globals import HTMLFile
...@@ -106,22 +106,3 @@ class SQL(AqueductDA.DA.DA): ...@@ -106,22 +106,3 @@ class SQL(AqueductDA.DA.DA):
manage_main=HTMLFile('edit', globals()) manage_main=HTMLFile('edit', globals())
import __init__
__init__.need_license=1
##############################################################################
#
# $Log: SQL.py,v $
# Revision 1.4 1998/04/15 15:25:23 jim
# *** empty log message ***
#
# Revision 1.3 1998/03/18 20:57:57 jim
# Added encyclopedic info
#
# Revision 1.2 1998/02/23 19:00:31 jim
# updated permissions
#
# Revision 1.1 1998/01/07 16:29:29 jim
# Split out Database Methods
#
#
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment