zapp-cvs-commit Mailing List for ZApp Framework (Page 4)
Brought to you by:
sspickle
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(24) |
Jul
(14) |
Aug
(19) |
Sep
(3) |
Oct
(21) |
Nov
(9) |
Dec
(8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(23) |
Feb
(13) |
Mar
(37) |
Apr
(5) |
May
(15) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(13) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2005 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2006 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: Steve S. <ssp...@us...> - 2004-03-19 16:03:20
|
Update of /cvsroot/zapp/ZApp/skins/zapp_generic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30660/skins/zapp_generic Modified Files: zapp_cmf_xml_edit.py zapp_cmf_xml_form.pt Added Files: zapp_cmf_view_relations.pt zapp_cmf_xml_delete.py Log Message: add relationship management views to CMF display --- NEW FILE: zapp_cmf_xml_delete.py --- ## Script (Python) "zapp_cmf_xml_delete" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=dataType="", no_redir=0, redirect_url='', clearFlag=0 ##title= ## """ Save xml directly.... """ import xmlrpclib miscData = context.getMiscData(dataType=dataType) if miscData: miscData.manage_delete() if no_redir: return "OK!" else: if not redirect_url: redirect_url = context.absolute_url() + ('/zapp_cmf_xml_form?portal_status_message=MiscData+type+%s+Deleted.' % dataType) context.REQUEST.RESPONSE.redirect(redirect_url) return "redirecting.. " Index: zapp_cmf_xml_edit.py =================================================================== RCS file: /cvsroot/zapp/ZApp/skins/zapp_generic/zapp_cmf_xml_edit.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** zapp_cmf_xml_edit.py 25 Jan 2004 20:58:46 -0000 1.2 --- zapp_cmf_xml_edit.py 19 Mar 2004 15:53:32 -0000 1.3 *************** *** 32,36 **** else: if not redirect_url: ! redirect_url = context.absolute_url() + '/zapp_cmf_xml_form?portal_status_message=ZApp+CMF+Object+Changed.' context.REQUEST.RESPONSE.redirect(redirect_url) --- 32,36 ---- else: if not redirect_url: ! redirect_url = context.absolute_url() + ('/zapp_cmf_xml_form?dataType=%s&portal_status_message=ZApp+CMF+Object+Changed.' % dataType) context.REQUEST.RESPONSE.redirect(redirect_url) --- NEW FILE: zapp_cmf_view_relations.pt --- <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" metal:use-macro="here/main_template/macros/master"> <metal:block fill-slot="base"> <base href="" tal:attributes="href python: here.absolute_url() + '/'"> </metal:block> <body> <div metal:fill-slot="main"> <div tal:define="app python:here.findApplication(); appURL app/absolute_url; objRelations python:here.objectRelations( returnObjects=1 ); managerIDs here/findSpecialistsForRelationship; myCMFId python:here.calcPathID()"> <form action="" tal:attributes="action string:${appURL}/CMFData/${myCMFId}"> <input type="hidden" name="responseURL" tal:attributes="value request/URL0"> <table > <tr tal:condition="objRelations"><td> </td><td>Manager</td><td>ObjectID</td><td>Info</td><td>Context ID</td></tr> <tr tal:condition="objRelations" tal:repeat="objRelation objRelations"> <span tal:omit-tag="" tal:define="otherObject python:objRelation.get('otherObject',None)"> <input type="hidden" name="relationInfo.otherRIID:records" tal:attributes="value objRelation/otherRIID"> <td><input name="ids:list" type=checkbox value="" tal:attributes="value objRelation/otherRIID"/></td> <td tal:content="objRelation/otherManagerID"/> <td><a tal:content="objRelation/otherObjectID" tal:attributes="href string:${objRelation/otherObject/absolute_url}/displayUpdateForm_html"/></td> <td tal:content="otherObject/Info | otherObject/name | otherObject/description | otherObject/objectType | nothing"/> <td><input name="relationInfo.contextID:records" tal:attributes="value objRelation/otherContextID"/></td> </span> </tr> <tr tal:condition="objRelations"><td colspan="3"> <input type="submit" value="Delete Relation" name="removeObjectRelations_ui:method"> <input tal:condition="objRelations" type="submit" value="Edit Selected Relations" name="editRelations_ui:method"> </td></tr> <tr tal:condition="managerIDs"><td colspan="3"><input type="submit" value="Relate Other Object" name="addRelationship_pt:method"> </td></tr> </table> </form> </div> </div> </body> </html> Index: zapp_cmf_xml_form.pt =================================================================== RCS file: /cvsroot/zapp/ZApp/skins/zapp_generic/zapp_cmf_xml_form.pt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** zapp_cmf_xml_form.pt 20 Jan 2004 03:42:53 -0000 1.1 --- zapp_cmf_xml_form.pt 19 Mar 2004 15:53:32 -0000 1.2 *************** *** 10,21 **** <div metal:fill-slot="main"> ! <form action="" tal:attributes="action string:${here/absolute_url}/zapp_cmf_xml_edit" ! tal:define="dataType here/dataType | request/dataType | nothing; ! miscData python:here.getMiscData( dataType=dataType or '', createIfNone=1);" ! method="post"> <textarea tal:condition="miscData" rows="30" cols="70" name="xml" tal:content="miscData/xml"/> <span tal:condition="not:miscData" tal:content="string:Sorry... no misc data"/> ! <input type="submit" name="save"/> </form> </div> --- 10,54 ---- <div metal:fill-slot="main"> ! <div tal:define="mds python:here.getMiscDataSpecialist(); ! mdObjs python:mds.ZApp_getItems( objectID = here.getMiscObjectID(), Manager = here.miscDataManager); ! dTypes python:[x.dataType for x in mdObjs]; ! dataType here/dataType | request/dataType | string:; ! miscData python:here.getMiscData( dataType=dataType or '', createIfNone=1); ! "> ! ! <form tal:condition="python:len(dTypes)>1" action="" tal:attributes="action string:${here/absolute_url}/${template/id}"> ! ! <span tal:condition="python:len(dTypes)>2"> ! View Other Data Type:<select name="dataType" > ! <tal:block tal:omit-tag="" tal:repeat="dType dTypes"> <option tal:condition="python:dType != dataType" tal:content="dType" tal:attributes="value dType"/></tal:block> ! </select> ! <input type="submit" tal:attributes="value string:Click here to view selected dataType's XML"> ! </span> ! ! <tal:block tal:omit-tag="" tal:condition="python:len(dTypes)==2"> ! <span tal:define="newDataIndex python:((dTypes[0]==dataType) and 1) or 0; ! newDataType python:dTypes[newDataIndex]; ! "> ! <input type="hidden" name="dataType" tal:attributes="value newDataType"> ! <input type="submit" tal:attributes="value string:Click here to view dataType->'${newDataType}'"/> ! </span> ! </tal:block> ! ! </form> ! <hr> ! <form action="" tal:attributes="action string:${here/absolute_url}/zapp_cmf_xml_edit" method="post"> ! Data Type (edit to create new data type): <input name="dataType" tal:attributes="value dataType"><br> <textarea tal:condition="miscData" rows="30" cols="70" name="xml" tal:content="miscData/xml"/> <span tal:condition="not:miscData" tal:content="string:Sorry... no misc data"/> ! <input type="submit" value="save xml" name="save"/> ! </form> ! ! <form action="" tal:attributes="action string:${here/absolute_url}/zapp_cmf_xml_delete" method="post"> ! <input name="dataType" type="hidden" tal:attributes="value dataType"><br> ! <input type="submit" value="delete this xml/dataType"> </form> + + + </div> </div> |
|
From: Steve S. <ssp...@us...> - 2004-03-19 16:03:20
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30660 Modified Files: ZApp_CMFBase.py ZApp_MiscData.py ZApp_RelatableItem.py Log Message: add relationship management views to CMF display Index: ZApp_MiscData.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_MiscData.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ZApp_MiscData.py 25 Jan 2004 20:58:45 -0000 1.26 --- ZApp_MiscData.py 19 Mar 2004 15:53:32 -0000 1.27 *************** *** 192,195 **** --- 192,196 ---- return mds + def getMiscData(self, Manager=None, dataType='', createIfNone=0): """ Index: ZApp_RelatableItem.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_RelatableItem.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ZApp_RelatableItem.py 16 Dec 2003 17:19:44 -0000 1.22 --- ZApp_RelatableItem.py 19 Mar 2004 15:53:32 -0000 1.23 *************** *** 357,360 **** --- 357,361 ---- Use object properties to create and object.. and then add it to me. """ + if objectProperties is None: objectProperties = {} Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** ZApp_CMFBase.py 18 Mar 2004 19:02:41 -0000 1.34 --- ZApp_CMFBase.py 19 Mar 2004 15:53:30 -0000 1.35 *************** *** 8,11 **** --- 8,13 ---- import traceback + from Products.PageTemplates.PageTemplateFile import PageTemplateFile + from ZApp_Base import ZApp_Base, extendProperties, LeverPropertyCollection, LeverProperty from ZApp_Specialist import ZApp_Specialist *************** *** 61,64 **** --- 63,67 ---- ) + manage_options = ( { 'label' : 'Dublin Core' *************** *** 76,79 **** --- 79,84 ---- manage_options = SkinnedFolder.manage_options + displayCustomUpdate_pt = PageTemplateFile('zpt/CMF_displayRelatedObjects', globals()) + def getPrimaryKeyValue(self): return self.calcPathID() *************** *** 392,400 **** , 'visible' : 1 }, ), }, ) - def addZAppCMFObject(self, id, title='', klass=ZApp_CMFBase, useExisting=1): --- 397,410 ---- , 'visible' : 1 }, + { 'id' : 'relations' + , 'name' : 'Relationships' + , 'action': 'string:${object_url}/zapp_cmf_view_relations' + , 'permissions' : (CMFCorePermissions.ManagePortal,) + , 'visible' : 1 + }, ), }, ) def addZAppCMFObject(self, id, title='', klass=ZApp_CMFBase, useExisting=1): |
|
From: Steve S. <ssp...@us...> - 2004-03-18 21:01:34
|
Update of /cvsroot/zapp/ZApp/skins/zapp_plone In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3124/zapp_plone Added Files: getFolderListingFolderContents.py Log Message: more plone customizations. --- NEW FILE: getFolderListingFolderContents.py --- ## Script (Python) "getFolderListingFolderContents" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=contentFilter=None,suppressHiddenFiles=1 ##title=wrapper method around listFolderContents ## # The difference between this script and getFolderContents.py # is that it calls folderlistingFolderContents instead of # listFolderContents. This way folder_listing can be seen # by those without 'List folder contents' permission since that # is only meant to protect the folder_contents page. # Since we are startng to call listFolderContents on # Folderish objects so that we can suppress content whose # id starts with a . - we need a method to do this. # Mainly because Portal.py inherients from PortalFolder # and not PloneFolder. But there could many other # instances of 3rd party products that do the same thing. # so here is the method. contents = None try: contents = context.aq_inner.folderlistingFolderContents(contentFilter=contentFilter, suppressHiddenFiles=suppressHiddenFiles) except AttributeError: try: contents = context.aq_inner.listFolderContents(contentFilter=contentFilter, suppressHiddenFiles=suppressHiddenFiles) except TypeError: #XXX Manually do suppression context.plone_log('Manual fall back in getFolderContents - your Folder.listFolderContents method does not ' \ 'support suppressHiddenFiles') contents = [obj for obj in context.aq_inner.listFolderContents(contentFilter=contentFilter) if not obj.getId().startswith('.') ] except TypeError: #XXX Manually do suppression context.plone_log('Manual fall back in getFolderContents - your Folder.listFolderContents method does not ' \ 'support suppressHiddenFiles') contents = [obj for obj in context.aq_inner.listFolderContents(contentFilter=contentFilter) if not obj.getId().startswith('.') ] return contents |
|
From: Steve S. <ssp...@us...> - 2004-03-18 19:12:28
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10815 Modified Files: ZApp_CMFBase.py Log Message: Ack.. found bad bug in insert/update levers for postgres. Re-run your levers! Sorry! Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** ZApp_CMFBase.py 8 Mar 2004 15:28:06 -0000 1.33 --- ZApp_CMFBase.py 18 Mar 2004 19:02:41 -0000 1.34 *************** *** 15,19 **** missing = [] ! dbug_level = 0 lpcol = LeverPropertyCollection --- 15,19 ---- missing = [] ! dbug_level = 0 # make 100 to blather about various CMF related events.. lpcol = LeverPropertyCollection |
|
From: Steve S. <ssp...@us...> - 2004-03-18 19:12:21
|
Update of /cvsroot/zapp/ZApp/leverMethods/PG In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10815/leverMethods/PG Modified Files: insertItemLever.plain updateItemLever.plain Log Message: Ack.. found bad bug in insert/update levers for postgres. Re-run your levers! Sorry! Index: insertItemLever.plain =================================================================== RCS file: /cvsroot/zapp/ZApp/leverMethods/PG/insertItemLever.plain,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** insertItemLever.plain 10 Mar 2004 18:30:50 -0000 1.13 --- insertItemLever.plain 18 Mar 2004 19:02:42 -0000 1.14 *************** *** 29,32 **** --- 29,34 ---- } + sizedTypes = ['string','stringRE','stringLK'] + pm = specialist.ZApp_getPropertyMap() *************** *** 49,57 **** itemList.append(fmtString) else: ! if theType == 'string': theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) theVal = ('"%s[0:%i]"' % (itemID, theSize)) else: theVal = itemID refList = refLookup.get(itemID,[]) if len(refList) >= 2: --- 51,60 ---- itemList.append(fmtString) else: ! if dbType in sizedTypes: theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) theVal = ('"%s[0:%i]"' % (itemID, theSize)) else: theVal = itemID + refList = refLookup.get(itemID,[]) if len(refList) >= 2: Index: updateItemLever.plain =================================================================== RCS file: /cvsroot/zapp/ZApp/leverMethods/PG/updateItemLever.plain,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** updateItemLever.plain 10 Mar 2004 18:30:50 -0000 1.9 --- updateItemLever.plain 18 Mar 2004 19:02:42 -0000 1.10 *************** *** 29,32 **** --- 29,34 ---- } + sizedTypes = ['string','stringRE','stringLK'] + templateString = '' *************** *** 54,62 **** else: theType = typeLookups.get(dbType, dbType) ! if theType == 'string': theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) theVal = ('"%s[0:%i]"' % (itemID, theSize)) else: theVal = itemID refList = refLookup.get(itemID,[]) if len(refList) >= 2: --- 56,65 ---- else: theType = typeLookups.get(dbType, dbType) ! if dbType in sizedTypes: theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) theVal = ('"%s[0:%i]"' % (itemID, theSize)) else: theVal = itemID + refList = refLookup.get(itemID,[]) if len(refList) >= 2: |
|
From: Steve S. <ssp...@us...> - 2004-03-16 21:05:50
|
Update of /cvsroot/zapp/ZApp/manage_ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5174/manage_ui Modified Files: leverActionsForm.dtml Log Message: fixed bug reported by kevin in lever actions form. Index: leverActionsForm.dtml =================================================================== RCS file: /cvsroot/zapp/ZApp/manage_ui/leverActionsForm.dtml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** leverActionsForm.dtml 10 Mar 2004 20:43:56 -0000 1.10 --- leverActionsForm.dtml 16 Mar 2004 20:56:31 -0000 1.11 *************** *** 49,53 **** refString="':'.join(mgrs)"> ! <tr><td><input type="checkbox" name="specialistIDs:list" checked value="&dtml-sequence-item;"></td> <td align="left"><a href="&dtml-propURL;">&dtml-specID;</a> <dtml-if refString> (refs: &dtml-refString;)</dtml-if></td></tr> </dtml-let> --- 49,53 ---- refString="':'.join(mgrs)"> ! <tr><td><input type="checkbox" name="specialistIDs:list" checked value="&dtml-specID;"></td> <td align="left"><a href="&dtml-propURL;">&dtml-specID;</a> <dtml-if refString> (refs: &dtml-refString;)</dtml-if></td></tr> </dtml-let> |
|
From: Steve S. <ssp...@us...> - 2004-03-16 21:05:50
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5174 Modified Files: ZApp_Application.py Log Message: fixed bug reported by kevin in lever actions form. Index: ZApp_Application.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_Application.py,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** ZApp_Application.py 10 Mar 2004 20:43:55 -0000 1.31 --- ZApp_Application.py 16 Mar 2004 20:56:30 -0000 1.32 *************** *** 277,283 **** result = self.getSpecialist(rManID) if not result: - import pdb - pdb.set_trace() - ZApp_LOG("Failed to get rman!", dbug_level); --- 277,280 ---- *************** *** 302,306 **** results = [] ! if specialistIDs is None: specialists = self.ZopeFind(self, obj_metatypes=self.specialistMetaTypes, search_sub=1) --- 299,303 ---- results = [] ! if specialistIDs is None: specialists = self.ZopeFind(self, obj_metatypes=self.specialistMetaTypes, search_sub=1) *************** *** 457,461 **** results = [] ! if leverNames is None: leverNames = [] --- 454,458 ---- results = [] ! if leverNames is None: leverNames = [] |
|
From: <ssp...@us...> - 2004-03-10 21:02:08
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25126 Modified Files: ZApp_Application.py ZApp_Specialist.py Log Message: make sure references don't get aqcuired by sub-specialists. Make actions form better. Index: ZApp_Application.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_Application.py,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** ZApp_Application.py 25 Jan 2004 20:58:44 -0000 1.30 --- ZApp_Application.py 10 Mar 2004 20:43:55 -0000 1.31 *************** *** 301,304 **** --- 301,306 ---- """ + results = [] + if specialistIDs is None: specialists = self.ZopeFind(self, obj_metatypes=self.specialistMetaTypes, search_sub=1) *************** *** 311,319 **** - results = [] - if returnObjects: results = specialists - else: put = results.append --- 313,318 ---- Index: ZApp_Specialist.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_Specialist.py,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** ZApp_Specialist.py 5 Feb 2004 22:01:43 -0000 1.37 --- ZApp_Specialist.py 10 Mar 2004 20:43:56 -0000 1.38 *************** *** 458,462 **** missing = [] ! refLookup = getattr(self, 'ZApp_referenceLookup', missing) if refLookup is missing: --- 458,462 ---- missing = [] ! refLookup = getattr(self.aq_explicit, 'ZApp_referenceLookup', missing) if refLookup is missing: |
|
From: <ssp...@us...> - 2004-03-10 21:02:07
|
Update of /cvsroot/zapp/ZApp/manage_ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25126/manage_ui Modified Files: leverActionsForm.dtml Log Message: make sure references don't get aqcuired by sub-specialists. Make actions form better. Index: leverActionsForm.dtml =================================================================== RCS file: /cvsroot/zapp/ZApp/manage_ui/leverActionsForm.dtml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** leverActionsForm.dtml 28 Mar 2003 20:38:34 -0000 1.9 --- leverActionsForm.dtml 10 Mar 2004 20:43:56 -0000 1.10 *************** *** 37,45 **** <table width="400" border="1"> <tr><td><table width="400" border="0"> ! <dtml-in "findSpecialistIDs()"> <dtml-if sequence-start> <tr><th colspan="2" align="center">Specialists</th></tr> </dtml-if> ! <tr><td><input type="checkbox" name="specialistIDs:list" checked value="&dtml-sequence-item;"></td><td align="left">&dtml-sequence-item;</td></tr> <dtml-if sequence-end> <tr><td><input type="checkbox" name="check_allbox" checked onClick="checkall1()"</td><td align="left"> Check/UnCheck All</td></tr> --- 37,55 ---- <table width="400" border="1"> <tr><td><table width="400" border="0"> ! <dtml-in "findSpecialistIDs( returnObjects=1)"> <dtml-if sequence-start> <tr><th colspan="2" align="center">Specialists</th></tr> </dtml-if> ! <dtml-let spec=sequence-item ! specID="spec.getId()" ! propURL="spec.absolute_url() + '/manage_propertiesForm'" ! refs="spec.ZApp_getReferenceLookup()" ! refKeys="refs.keys()" ! mgrs="[refs[k][0] for k in refKeys]" ! refString="':'.join(mgrs)"> ! ! <tr><td><input type="checkbox" name="specialistIDs:list" checked value="&dtml-sequence-item;"></td> ! <td align="left"><a href="&dtml-propURL;">&dtml-specID;</a> <dtml-if refString> (refs: &dtml-refString;)</dtml-if></td></tr> ! </dtml-let> <dtml-if sequence-end> <tr><td><input type="checkbox" name="check_allbox" checked onClick="checkall1()"</td><td align="left"> Check/UnCheck All</td></tr> |
|
From: <ssp...@us...> - 2004-03-10 18:48:57
|
Update of /cvsroot/zapp/ZApp/leverMethods/PG In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27407/leverMethods/PG Modified Files: insertItemLever.plain updateItemLever.plain Log Message: add 'size' safety to insert/update queries. Index: insertItemLever.plain =================================================================== RCS file: /cvsroot/zapp/ZApp/leverMethods/PG/insertItemLever.plain,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** insertItemLever.plain 8 Jan 2004 22:24:43 -0000 1.12 --- insertItemLever.plain 10 Mar 2004 18:30:50 -0000 1.13 *************** *** 16,19 **** --- 16,20 ---- primaryKey = specialist.getPrimaryKey() refLookup = specialist.ZApp_getReferenceLookup() + defaultSize = specialist.ZApp_getDefaultStringSize() typeLookups = { *************** *** 48,56 **** itemList.append(fmtString) else: refList = refLookup.get(itemID,[]) if len(refList) >= 2: ! itemList.append('<dtml-if %s><dtml-sqlvar %s type="%s"><dtml-else>NULL</dtml-if>' % (itemID, itemID, theType)) else: ! itemList.append('<dtml-sqlvar %s type="%s">' % (itemID, theType)) templateString = templateString % (specialist.id, string.join(columnList, ',\n'), string.join(itemList,',\n')) --- 49,62 ---- itemList.append(fmtString) else: + if theType == 'string': + theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) + theVal = ('"%s[0:%i]"' % (itemID, theSize)) + else: + theVal = itemID refList = refLookup.get(itemID,[]) if len(refList) >= 2: ! itemList.append('<dtml-if %s><dtml-sqlvar %s type="%s"><dtml-else>NULL</dtml-if>' % (itemID, theVal, theType)) else: ! itemList.append('<dtml-sqlvar %s type="%s">' % (theVal, theType)) templateString = templateString % (specialist.id, string.join(columnList, ',\n'), string.join(itemList,',\n')) Index: updateItemLever.plain =================================================================== RCS file: /cvsroot/zapp/ZApp/leverMethods/PG/updateItemLever.plain,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** updateItemLever.plain 8 Jan 2004 22:24:43 -0000 1.8 --- updateItemLever.plain 10 Mar 2004 18:30:50 -0000 1.9 *************** *** 16,19 **** --- 16,20 ---- primaryKey = specialist.getPrimaryKey() refLookup = specialist.ZApp_getReferenceLookup() + defaultSize = specialist.ZApp_getDefaultStringSize() typeLookups = { *************** *** 53,61 **** else: theType = typeLookups.get(dbType, dbType) refList = refLookup.get(itemID,[]) if len(refList) >= 2: ! itemString = '%s = <dtml-if %s><dtml-sqlvar %s type="%s"><dtml-else>NULL</dtml-if>' % (itemID, itemID, itemID, theType) else: ! itemString = '%s = <dtml-sqlvar %s type="%s">' % (itemID, itemID, theType) itemList.append( itemString ) --- 54,67 ---- else: theType = typeLookups.get(dbType, dbType) + if theType == 'string': + theSize = item.get('dbSize',item.get('sqlSize',defaultSize)) + theVal = ('"%s[0:%i]"' % (itemID, theSize)) + else: + theVal = itemID refList = refLookup.get(itemID,[]) if len(refList) >= 2: ! itemString = '%s = <dtml-if %s><dtml-sqlvar %s type="%s"><dtml-else>NULL</dtml-if>' % (itemID, itemID, theVal, theType) else: ! itemString = '%s = <dtml-sqlvar %s type="%s">' % (itemID, theVal, theType) itemList.append( itemString ) |
|
From: <ssp...@us...> - 2004-03-08 15:44:35
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8180 Modified Files: ZApp_CMFBase.py Log Message: use regular folder contents.. Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** ZApp_CMFBase.py 5 Feb 2004 22:01:33 -0000 1.32 --- ZApp_CMFBase.py 8 Mar 2004 15:28:06 -0000 1.33 *************** *** 380,384 **** { 'id' : 'subobjects' , 'name' : 'SubObjects' ! , 'action': 'string:${object_url}/zapp_cmf_sub_contents' , 'permissions' : (CMFCorePermissions.View,)}, { 'id' : 'test' --- 380,384 ---- { 'id' : 'subobjects' , 'name' : 'SubObjects' ! , 'action': 'string:${object_url}/folder_contents' , 'permissions' : (CMFCorePermissions.View,)}, { 'id' : 'test' |
|
From: <ssp...@us...> - 2004-03-07 19:18:27
|
Update of /cvsroot/zapp/ZApp/skins/zapp_plone In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10584/skins/zapp_plone Added Files: batchedFolderContents.py Log Message: add patch to plone for ZApp --- NEW FILE: batchedFolderContents.py --- ## Script (Python) "batchedFolderContents" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=contentFilter=None,suppressHiddenFiles=1 ##title=wrapper method around listFolderContents (batched) ## # # this method in plone uses aq_explicit, which seems to break ZApp. Here we use aq_inner # instead. # contents = None try: contents = context.aq_inner.listFolderContents(contentFilter=contentFilter, suppressHiddenFiles=suppressHiddenFiles) except TypeError: #XXX Manually do suppression context.plone_log('Manual fall back in getFolderContents - your Folder.listFolderContents method does not ' \ 'support suppressHiddenFiles') contents = [obj for obj in context. aq_inner.listFolderContents(contentFilter=contentFilter) if obj.getId()[:1]!='.'] from Products.CMFPlone import Batch b_start = context.REQUEST.get('b_start', 0) batch = Batch(contents, 100, int(b_start), orphan=0) return batch |
|
From: <ssp...@us...> - 2004-03-07 19:17:56
|
Update of /cvsroot/zapp/ZApp/skins/zapp_plone In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10494/skins/zapp_plone Log Message: Directory /cvsroot/zapp/ZApp/skins/zapp_plone added to the repository |
|
From: <ssp...@us...> - 2004-03-03 19:50:05
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31721 Modified Files: ZApp_LOG.py Log Message: ack.. don't for get regular logging Index: ZApp_LOG.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_LOG.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ZApp_LOG.py 17 Feb 2004 15:39:28 -0000 1.7 --- ZApp_LOG.py 3 Mar 2004 19:37:18 -0000 1.8 *************** *** 57,63 **** logInfo.append(message) ! elif priority>INFO: if ZAPP_PRINT_LOG: print message ! elif ZAPP_DEBUG or (priority > INFO): LOG('ZApp', priority, message) --- 57,63 ---- logInfo.append(message) ! elif ZAPP_DEBUG or priority>INFO: if ZAPP_PRINT_LOG: print message ! else: LOG('ZApp', priority, message) |
|
From: <ssp...@us...> - 2004-02-17 15:48:26
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14093 Modified Files: ZApp_LOG.py Log Message: added some logging options Index: ZApp_LOG.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_LOG.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ZApp_LOG.py 5 Feb 2004 17:27:32 -0000 1.6 --- ZApp_LOG.py 17 Feb 2004 15:39:28 -0000 1.7 *************** *** 7,10 **** --- 7,30 ---- ZAPP_DEBUG_BREAK=os.environ.get('ZAPP_DEBUG_BREAK',0) + LOGINFOKEY='logInfo' + + def buildRequestLogger( REQUEST ): + + """ + Construct a dictioanry that can be used by the log method + to store logging information in the REQUEST. + """ + + logInfo = REQUEST.get(LOGINFOKEY,[]) + + if not logInfo: + REQUEST.set(LOGINFOKEY, logInfo) + + logger = { + LOGINFOKEY:logInfo, + } + + return logger + register_subsystem('ZApp') *************** *** 15,19 **** def ZApp_LOG(message, priority = INFO): ! if priority>INFO: if ZAPP_PRINT_LOG: print message --- 35,61 ---- def ZApp_LOG(message, priority = INFO): ! """ ! ZApp_LOG can use the existing Zope logging machinery, or ! do it's own thing depending on the setting of ZAPP_PRINT_LOG, ! and the object/value passed in for 'priority'. We're abusing the ! priority argument to allow for logging to a REQUEST object ! attribute. ! ! If 'priority' is a requestLogger, it's used to log the message ! to a request property. (you can build a requestLogger by using ! the 'buildRequestLogger' function.) ! ! Otherwise it's assumed to be an integer, and the message is ! logged normally if the ZAPP_PRINT_LOG environment variable is ! not set, or it's simply "print"ed if it is set. ! ! """ ! ! if type(priority) == type({}) and priority.has_key(LOGINFOKEY): ! logInfo = priority.get(LOGINFOKEY,None) ! if logInfo is not None: ! logInfo.append(message) ! ! elif priority>INFO: if ZAPP_PRINT_LOG: print message |
|
From: <ssp...@us...> - 2004-02-15 16:06:16
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26025 Modified Files: __init__.py Log Message: ack... fixed typo in 'mime' Index: __init__.py =================================================================== RCS file: /cvsroot/zapp/ZApp/__init__.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** __init__.py 15 Feb 2004 15:22:13 -0000 1.23 --- __init__.py 15 Feb 2004 15:58:53 -0000 1.24 *************** *** 21,25 **** mimetypes.types_map['.swf'] = 'application/x-shockwave-flash' mimetypes.types_map['.swd'] = 'application/octet-stream' ! mometypes.types_map['.dcr'] = 'application/x-director' try: --- 21,25 ---- mimetypes.types_map['.swf'] = 'application/x-shockwave-flash' mimetypes.types_map['.swd'] = 'application/octet-stream' ! mimetypes.types_map['.dcr'] = 'application/x-director' try: |
|
From: <ssp...@us...> - 2004-02-15 15:29:34
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18578 Modified Files: __init__.py Log Message: add directory .dcr mime type.. Index: __init__.py =================================================================== RCS file: /cvsroot/zapp/ZApp/__init__.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** __init__.py 4 Feb 2004 01:58:39 -0000 1.22 --- __init__.py 15 Feb 2004 15:22:13 -0000 1.23 *************** *** 21,25 **** mimetypes.types_map['.swf'] = 'application/x-shockwave-flash' mimetypes.types_map['.swd'] = 'application/octet-stream' ! try: --- 21,25 ---- mimetypes.types_map['.swf'] = 'application/x-shockwave-flash' mimetypes.types_map['.swd'] = 'application/octet-stream' ! mometypes.types_map['.dcr'] = 'application/x-director' try: |
|
From: <ssp...@us...> - 2004-02-05 22:04:21
|
Update of /cvsroot/zapp/ZApp/tests/SimpleReplicator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13191/tests/SimpleReplicator Added Files: README.txt SRep_Replicator.py __init__.py Log Message: added replication example.. --- NEW FILE: README.txt --- SimpleReplicator is a dumb class you can use to test replication. You can put the following skinscript in your CMFData specialists defaultRack: WHEN OBJECT CHANGED CALL self.Replications.handleReplicationUpdate( self ) WHEN OBJECT DELETED CALL self.Replications.handleReplicationDelete( self.cmfdataid ) Then the following python methods in the Replications specialist: ## Script (Python) "handleReplicationDelete" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=otherID ##title= ## theRep = container.getItem( otherID ) if theRep: theRep.manage_delete() ## Script (Python) "handleReplicationUpdate" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=otherObject ##title= ## theRep = container.getItem( otherObject.cmfdataid ) if not theRep: theRep = container.newItem( otherObject.cmfdataid ) md = otherObject.safeMiscData.getXMLDict() fd = md.get('foo',{}) theRep.change( bar=fd.get('bar',''), baz=fd.get('baz')) --- NEW FILE: SRep_Replicator.py --- # # Use ZApp_Base as a base class to make details easier.. template for SRep_Replicator # from Products.ZApp import ZApp_Base from Products.PageTemplates.PageTemplateFile import PageTemplateFile lpcol = ZApp_Base.LeverPropertyCollection lprop = ZApp_Base.LeverProperty props = lpcol([ lprop(id='bar'), lprop(id='baz'), ] ) class SRep_Replicator( ZApp_Base.ZApp_Base ): meta_type = 'SRep Replicator' ZApp_Base.extendProperties( SRep_Replicator, props ) def initialize(context): context.registerBaseClass(SRep_Replicator) --- NEW FILE: __init__.py --- # # SimpleReplicator Product init module.. # if 0: from Products.CMFCore import utils from Products.CMFCore.DirectoryView import registerDirectory from Products.CMFCore.PortalFolder import PortalFolder from Products.CMFCore import CMFCorePermissions import SRep_Replicator def initialize(context, debug=None): SRep_Replicator.initialize( context ) |
|
From: <ssp...@us...> - 2004-02-05 22:04:20
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13191 Modified Files: ZApp_CMFBase.py ZApp_Specialist.py Log Message: added replication example.. Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** ZApp_CMFBase.py 5 Feb 2004 20:55:58 -0000 1.31 --- ZApp_CMFBase.py 5 Feb 2004 22:01:33 -0000 1.32 *************** *** 9,12 **** --- 9,13 ---- from ZApp_Base import ZApp_Base, extendProperties, LeverPropertyCollection, LeverProperty + from ZApp_Specialist import ZApp_Specialist from ZApp_LOG import ZApp_LOG *************** *** 92,102 **** def calcPathID(self): - try: if self.id.find(',') != -1: result = self.id else: objPath = ','.join(self.getPhysicalPath()) ! portal_object = self.zapp_portal_object portalPath = ','.join(portal_object.getPhysicalPath()) + ',' result = objPath[len(portalPath)-1:] --- 93,103 ---- def calcPathID(self): try: if self.id.find(',') != -1: result = self.id else: + app = self.findApplication() objPath = ','.join(self.getPhysicalPath()) ! portal_object = app.zapp_portal_object portalPath = ','.join(portal_object.getPhysicalPath()) + ',' result = objPath[len(portalPath)-1:] *************** *** 276,280 **** del self._v_safeStorageID # we've got it now.. thanks. ;-) ! self.change( cmf_portal_type = self.portal_type) get_transaction().commit(1) --- 277,281 ---- del self._v_safeStorageID # we've got it now.. thanks. ;-) ! self.change( cmf_portal_type = self.portal_type) get_transaction().commit(1) Index: ZApp_Specialist.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_Specialist.py,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** ZApp_Specialist.py 25 Jan 2004 20:58:45 -0000 1.36 --- ZApp_Specialist.py 5 Feb 2004 22:01:43 -0000 1.37 *************** *** 605,608 **** --- 605,610 ---- if not itemID: + import pdb + pdb.set_trace() raise RuntimeError, ("Can't be! got null id in %s.chachedSelectItemResult()" % self.id) |
|
From: <ssp...@us...> - 2004-02-05 21:59:51
|
Update of /cvsroot/zapp/ZApp/tests/SimpleReplicator In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11958/SimpleReplicator Log Message: Directory /cvsroot/zapp/ZApp/tests/SimpleReplicator added to the repository |
|
From: <ssp...@us...> - 2004-02-05 20:58:34
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27117 Modified Files: ZApp_CMFBase.py Log Message: safe Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** ZApp_CMFBase.py 5 Feb 2004 20:54:23 -0000 1.30 --- ZApp_CMFBase.py 5 Feb 2004 20:55:58 -0000 1.31 *************** *** 92,97 **** def calcPathID(self): - import pdb - pdb.set_trace() try: --- 92,95 ---- |
|
From: <ssp...@us...> - 2004-02-05 20:57:01
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26722 Modified Files: ZApp_CMFBase.py addZApp_RelationshipManagerForm.dtml addZApp_SpecialistForm.dtml Log Message: safe Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** ZApp_CMFBase.py 5 Feb 2004 20:53:37 -0000 1.29 --- ZApp_CMFBase.py 5 Feb 2004 20:54:23 -0000 1.30 *************** *** 92,95 **** --- 92,98 ---- def calcPathID(self): + import pdb + pdb.set_trace() + try: if self.id.find(',') != -1: Index: addZApp_RelationshipManagerForm.dtml =================================================================== RCS file: /cvsroot/zapp/ZApp/addZApp_RelationshipManagerForm.dtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** addZApp_RelationshipManagerForm.dtml 3 Jul 2003 22:30:23 -0000 1.1 --- addZApp_RelationshipManagerForm.dtml 5 Feb 2004 20:54:23 -0000 1.2 *************** *** 52,56 **** <TD></TD> <TD> ! <INPUT class="form-element" name="&dtml-ZApp_subClass_addMethod;:method" "TYPE="SUBMIT" VALUE=" Add "> </TD> </TR> --- 52,56 ---- <TD></TD> <TD> ! <INPUT class="form-element" name="&dtml-ZApp_subClass_addMethod;:method" TYPE="SUBMIT" VALUE=" Add "> </TD> </TR> Index: addZApp_SpecialistForm.dtml =================================================================== RCS file: /cvsroot/zapp/ZApp/addZApp_SpecialistForm.dtml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** addZApp_SpecialistForm.dtml 3 Jul 2003 18:23:10 -0000 1.4 --- addZApp_SpecialistForm.dtml 5 Feb 2004 20:54:23 -0000 1.5 *************** *** 51,55 **** <TD></TD> <TD> ! <INPUT class="form-element" name="manage_addZApp_Specialist:method" "TYPE="SUBMIT" VALUE=" Add "> </TD> </TR> --- 51,55 ---- <TD></TD> <TD> ! <INPUT class="form-element" name="manage_addZApp_Specialist:method" TYPE="SUBMIT" VALUE=" Add "> </TD> </TR> |
|
From: <ssp...@us...> - 2004-02-05 20:56:17
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26528 Modified Files: ZApp_CMFBase.py Log Message: safe Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** ZApp_CMFBase.py 5 Feb 2004 17:27:32 -0000 1.28 --- ZApp_CMFBase.py 5 Feb 2004 20:53:37 -0000 1.29 *************** *** 69,81 **** class_default_for_copyable = 0 # make these guys default to 'not copyable' - # we're converting our primaru key to an URL that points to filesystem - # src="http://hecxs.spvi.net:9180/HECPlone/fSystem/HECPlone/HEC/Media/Foods/clay.jpg" - - _custom_skin_scripts = ("WITH SELF COMPUTE portal_object_id=_.getattr(self, 'zapp_portal_id')", - "WITH SELF COMPUTE portal_object=_.getattr(self.findApplication(), self.portal_object_id)", - "WITH SELF COMPUTE graphic_url=self.findApplication().absolute_url() + ( '/fSystem/%s/%s/%s' % (self.getPhysicalPath()[1], self.portal_object_id, self.cmfdataid[1:].replace(',','/')))", - ) - - _primaryKeyStringSize=255 # allow for a pretty rediculous size... _primaryKeyGenerator='self.calcPathID()' --- 69,72 ---- |
|
From: <ssp...@us...> - 2004-02-05 17:30:08
|
Update of /cvsroot/zapp/ZApp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6560 Modified Files: ZApp_CMFBase.py ZApp_LOG.py Log Message: add some docs... clean up Index: ZApp_CMFBase.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_CMFBase.py,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** ZApp_CMFBase.py 25 Jan 2004 20:58:44 -0000 1.27 --- ZApp_CMFBase.py 5 Feb 2004 17:27:32 -0000 1.28 *************** *** 46,49 **** --- 46,53 ---- class ZApp_CMFBase(FreeRangeDS, SkinnedFolder, ZApp_Base, ZApp_DublinCoreMixin, ZApp_MiscDataUser, ZApp_RelatedObject, ZApp_Replicator): + """ + Base class for ZApp objects stored in a CMF. + """ + meta_type = 'ZApp CMF Content' Index: ZApp_LOG.py =================================================================== RCS file: /cvsroot/zapp/ZApp/ZApp_LOG.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ZApp_LOG.py 6 Nov 2003 18:20:14 -0000 1.5 --- ZApp_LOG.py 5 Feb 2004 17:27:32 -0000 1.6 *************** *** 3,6 **** --- 3,7 ---- from zLOG import register_subsystem, LOG, INFO + ZAPP_PRINT_LOG=os.environ.get('ZAPP_PRINT_LOG',None) is not None ZAPP_DEBUG=os.environ.get('ZAPP_DEBUG',None) is not None ZAPP_DEBUG_BREAK=os.environ.get('ZAPP_DEBUG_BREAK',0) *************** *** 14,18 **** def ZApp_LOG(message, priority = INFO): ! if ZAPP_DEBUG or (priority > INFO): ! LOG('ZApp', priority, message) ! --- 15,21 ---- def ZApp_LOG(message, priority = INFO): ! if priority>INFO: ! if ZAPP_PRINT_LOG: ! print message ! elif ZAPP_DEBUG or (priority > INFO): ! LOG('ZApp', priority, message) |
|
From: <ssp...@us...> - 2004-02-05 17:22:20
|
Update of /cvsroot/zapp/ZApp/help/syvdfs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4729/help/syvdfs Log Message: Directory /cvsroot/zapp/ZApp/help/syvdfs added to the repository |