[Zope-CVS] CVS: Products/ExternalEditor - CHANGES.txt:1.40 README.txt:1.11 version.txt:1.8 zopeedit.py:1.41
Casey Duncan
casey@zope.com
Mon, 31 Mar 2003 17:26:48 -0500
Update of /cvs-repository/Products/ExternalEditor
In directory cvs.zope.org:/tmp/cvs-serv18730
Modified Files:
CHANGES.txt README.txt version.txt zopeedit.py
Log Message:
Changes for 0.7 release
Fix visibility problem for ms office
Add plugin to handle msohtmed with word
Update version and docs
=== Products/ExternalEditor/CHANGES.txt 1.39 => 1.40 ===
--- Products/ExternalEditor/CHANGES.txt:1.39 Fri Nov 29 00:53:50 2002
+++ Products/ExternalEditor/CHANGES.txt Mon Mar 31 17:26:17 2003
@@ -1,5 +1,15 @@
External Editor Change Log
+ 3/31/03 - 0.7 Release
+
+ - You can now specify from the server that the helper app should
+ borrow a lock by passing borrow_lock=1 via the request, thus
+ suppressing the dialog box which appears by default. Thanks
+ to Shane Hathaway.
+
+ - Improved open file check in Word and Powerpoint plugins
+ thanks to Yura Petrov.
+
- Added plugins for Microsoft Word, Excel and Powerpoint.
- Added the man page from the Debian distro. Thanks go out to
=== Products/ExternalEditor/README.txt 1.10 => 1.11 ===
--- Products/ExternalEditor/README.txt:1.10 Fri Nov 29 01:17:19 2002
+++ Products/ExternalEditor/README.txt Mon Mar 31 17:26:17 2003
@@ -198,7 +198,7 @@
editor by meta-type, the locking settings by domain and the remaining
options under general for a given object.
- Editor Plugins (New in 0.6)
+ Editor Plugins
For tighter client-side integration, external editor has a plugin system
that allows it to interact directly with supported applications.
@@ -294,7 +294,7 @@
<a href='edit'
attributes='href
- string:${container/absolute_url}/externalEdit_/${here/getId}'>
+ string:${here/aq_parent/absolute_url}/externalEdit_/${here/getId}'>
Edit Locally
</a>
@@ -308,6 +308,16 @@
return context.externalEdit_.index_html(
context.REQUEST, context.RESPONSE, path='/my_stuff/document')
+
+ When integrating External Editor with a CMS that already uses DAV
+ locks, it will, by default allow users to borrow locks made on the server
+ after displaying a confirmation dialog box. Although you can make this
+ automatic by specifying 'always_borrow_locks = 1' in the External Editor
+ config file, it may be desireable to make this the default behavior when
+ using that server. To facilitate this, you can specify that locks
+ should be automatically borrowed in the URL (New in 0.7)::
+
+ http://zopeserver/my_stuff/externalEdit_/document?borrow_lock=1
External Editor also defines a global method that you can call to insert
pencil icon links for appropriate objects. The method automatically checks
@@ -339,4 +349,4 @@
--
-(c) 2002, Casey Duncan and Zope Corporation. All rights reserved.
+(c) 2003, Casey Duncan and Zope Corporation. All rights reserved.
=== Products/ExternalEditor/version.txt 1.7 => 1.8 ===
--- Products/ExternalEditor/version.txt:1.7 Sat Nov 2 22:13:13 2002
+++ Products/ExternalEditor/version.txt Mon Mar 31 17:26:17 2003
@@ -1 +1 @@
-0.6
+0.7
=== Products/ExternalEditor/zopeedit.py 1.40 => 1.41 ===
--- Products/ExternalEditor/zopeedit.py:1.40 Tue Mar 4 14:24:42 2003
+++ Products/ExternalEditor/zopeedit.py Mon Mar 31 17:26:17 2003
@@ -17,7 +17,7 @@
# Zope External Editor Helper Application by Casey Duncan
-__version__ = '0.6'
+__version__ = '0.7'
import sys, os, re
import traceback
@@ -320,12 +320,12 @@
else:
bin = command.lower().strip()
else:
- bin = None # TODO Add Unix command extraction
+ bin = command
if bin is not None:
# Try to load the plugin for this editor
- import Plugins # Just to assert dependancy
try:
+ import Plugins # Just to assert dependancy
module = 'Plugins.%s' % bin
Plugin = __import__(module, globals(), locals(),
('EditorProcess',))