Epoz HISTORY.txt,1.3,1.4 CHANGES.txt,1.102,1.103 version.txt,1.34,1.35 FAQ.txt,1.10,1.11 __init__.py,1.37,1.38
Maik Jablonski <[email protected]>
| Newsgroups | gmane.comp.web.zope.epoz |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/epoz/Epoz
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17027
Modified Files:
HISTORY.txt CHANGES.txt version.txt FAQ.txt __init__.py
Log Message:
Multi-Wysiwyg-Area-enabled Epoz... it's worth the jump to 2.x.
Index: CHANGES.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/CHANGES.txt,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -d -r1.102 -r1.103
*** CHANGES.txt 19 Mar 2005 09:22:08 -0000 1.102
--- CHANGES.txt 23 May 2005 20:47:33 -0000 1.103
***************
*** 1,5 ****
Epoz - Changes
! 0.9.1 (in progress)
- added AT-Image as additional image-type for Plone-Toolbox. Thanks
--- 1,16 ----
Epoz - Changes
! 2.0.0 - call it EpozNIP (in progress)
!
! - Epoz can now handle several wysiwyg-areas at once. Many thanks
! to Benoit Pin for his great work making this often requested feature
! real!!!!! Benoit, this release is dedicated to you!
!
! - Fixed security-problem in __init__.py. Thanks to Benoit Pin for working
! this out and patch!
!
! - Epoz used properties from stylesheet_properties.props in deciding the
! background and font of the buttons. stylesheet_properties.props is
! depreciated in Plone 2.0.5. Thanks to Lucas Hofman for patch.
- added AT-Image as additional image-type for Plone-Toolbox. Thanks
***************
*** 15,40 ****
- added slovak translation for Epoz; Thanks to Rastislav "Rasto" Mucha!
-
- 0.9.0
-
- - Reorganized directory layout into core, i18n, images & plone. Please
- note: You need to "reinstall" Epoz with Quickinstaller / External Method
- when using Epoz in CMF/Plone.
-
- - Andy Dustman provided a patch for removing MS-Word-Garbage-tags.
- Thanks Andy!!!
-
- - Documentation about Epoz for end-users is provided by Tom Purl (see
- "EpozBook":http://zopewiki.org/EpozBook). Thanks Tom!
-
- - fixed bug: Plone-Toolbox didn't check permissions 'View' and
- 'List folder contents' in breadcrumbs. Thanks to Cyrille Lebeaupin
- from Ingeniweb for patch!
-
- - fixed bug: Image-Preview in Plone-Toolbox was broken in IE.
-
- - fixed bug: JavaScript in content-area could break Epoz...
- Thanks to Christian Zagrodnick from gocept.com for patch!
-
- - cleaned up line-endings. No more need to write complicated
- PERL/C++/ADA-Scripts to get rid of them...
--- 26,27 ----
Index: HISTORY.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/HISTORY.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** HISTORY.txt 19 Feb 2005 14:09:36 -0000 1.3
--- HISTORY.txt 23 May 2005 20:47:33 -0000 1.4
***************
*** 1,4 ****
--- 1,29 ----
Epoz - History
+ 0.9.0
+
+ - Reorganized directory layout into core, i18n, images & plone. Please
+ note: You need to "reinstall" Epoz with Quickinstaller / External Method
+ when using Epoz in CMF/Plone.
+
+ - Andy Dustman provided a patch for removing MS-Word-Garbage-tags.
+ Thanks Andy!!!
+
+ - Documentation about Epoz for end-users is provided by Tom Purl (see
+ "EpozBook":http://zopewiki.org/EpozBook). Thanks Tom!
+
+ - fixed bug: Plone-Toolbox didn't check permissions 'View' and
+ 'List folder contents' in breadcrumbs. Thanks to Cyrille Lebeaupin
+ from Ingeniweb for patch!
+
+ - fixed bug: Image-Preview in Plone-Toolbox was broken in IE.
+
+ - fixed bug: JavaScript in content-area could break Epoz...
+ Thanks to Christian Zagrodnick from gocept.com for patch!
+
+ - cleaned up line-endings. No more need to write complicated
+ PERL/C++/ADA-Scripts to get rid of them...
+
+
0.8.6
Index: version.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/version.txt,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** version.txt 19 Feb 2005 13:46:33 -0000 1.34
--- version.txt 23 May 2005 20:47:33 -0000 1.35
***************
*** 1 ****
! 0.9.1 (in progress)
\ No newline at end of file
--- 1 ----
! 2.0.0 (in progress)
\ No newline at end of file
Index: __init__.py
===================================================================
RCS file: /cvsroot/epoz/Epoz/__init__.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** __init__.py 19 Feb 2005 13:59:52 -0000 1.37
--- __init__.py 23 May 2005 20:47:33 -0000 1.38
***************
*** 38,42 ****
HTML_BODY = re.compile('<body[^>]*?>(.*)</body[^>]*?>', re.DOTALL|re.IGNORECASE)
MSO_CLASS = re.compile(r'<(\w+)\W+(class="Mso.*?")>', re.IGNORECASE)
! EPOZ_SCRIPT = re.compile(r'<epoz:script( style="[^"]*")?')
misc_ = {
--- 38,42 ----
HTML_BODY = re.compile('<body[^>]*?>(.*)</body[^>]*?>', re.DOTALL|re.IGNORECASE)
MSO_CLASS = re.compile(r'<(\w+)\W+(class="Mso.*?")>', re.IGNORECASE)
! EPOZ_SCRIPT = re.compile(r'<epoz:script (style="[^"]*")? ?')
misc_ = {
***************
*** 59,62 ****
--- 59,66 ----
'vcXMLRPC.js':ImageFile('epoz/epoz_core/vcXMLRPC.js.dtml', globals()),
+ # Multi-Epoz
+ 'epoz_redirect.js':ImageFile('epoz/epoz_core/epoz_redirect.js.dtml', globals()),
+ 'epoz_iframe_trigger.js':ImageFile('epoz/epoz_core/epoz_iframe_trigger.js.dtml', globals()),
+
# The Epoz-Language-Files
'epoz_lang_da.js':ImageFile('epoz/epoz_i18n/epoz_lang_da.js.dtml', globals()),
***************
*** 115,119 ****
data : the data to edit
toolbox : a link to a HTML-Page which delivers additional tools
! lang: a code for the language-file (en,de,...)
path : path to Epoz-Javascript. Needed mainly for Plone (portal_url).
widget: You can specify a path to an alternative JavaScript for
--- 119,123 ----
data : the data to edit
toolbox : a link to a HTML-Page which delivers additional tools
! lang: a code for the language-file (en,de,...).
path : path to Epoz-Javascript. Needed mainly for Plone (portal_url).
widget: You can specify a path to an alternative JavaScript for
***************
*** 171,183 ****
# Return the HTML-Code for the Epoz-Rich-Text-Editor
return """
- <iframe id="EpozIFrame" src="%(iframesrc)s" style="position: absolute; visibility: hidden; width: 0px; height: 0px;"></iframe>
%(i18n)s
<script language="JavaScript" type="text/javascript" src="%(widget)s"></script>
<script language="JavaScript" type="text/javascript" src="%(path)svcXMLRPC.js"></script>
<script language="JavaScript" type="text/javascript" src="%(path)sepoz_script_detect.js"></script>
! <script language="JavaScript" type="text/javascript" src="%(path)sepoz_script_main.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
! InitEpoz('%(name)s','%(js_data)s','%(path)s','%(toolbox)s','%(style)s','%(button)s','%(css)s','%(customcss)s','%(charset)s', '%(pageurl)s');
//-->
</script>
--- 175,187 ----
# Return the HTML-Code for the Epoz-Rich-Text-Editor
return """
%(i18n)s
<script language="JavaScript" type="text/javascript" src="%(widget)s"></script>
<script language="JavaScript" type="text/javascript" src="%(path)svcXMLRPC.js"></script>
<script language="JavaScript" type="text/javascript" src="%(path)sepoz_script_detect.js"></script>
! <script language="JavaScript" type="text/javascript" src="%(path)sepoz_script_main.js" charset="utf-8"></script>
! <script language="JavaScript" type="text/javascript" src="%(path)sepoz_redirect.js"></script>
<script language="JavaScript" type="text/javascript">
<!--
! InitIframe('%(name)s','%(js_data)s','%(path)s','%(toolbox)s','%(style)s','%(button)s','%(css)s','%(customcss)s','%(charset)s', '%(pageurl)s');
//-->
</script>
***************
*** 201,208 ****
--- 205,214 ----
+
def EpozTidy(self, html, pageurl):
""" Take html and deliver xhtml if mxTidy is installed;
call EpozPostTidy for html-postprocessings before returning the result
"""
+
errors = 0
output = html
***************
*** 210,214 ****
input = html.encode("utf-8")
! input = EPOZ_SCRIPT.sub('<script', input)
input = input.replace('</epoz:script>', '</script>')
--- 216,220 ----
input = html.encode("utf-8")
! input = EPOZ_SCRIPT.sub('<script ', input)
input = input.replace('</epoz:script>', '</script>')
***************
*** 308,315 ****
methods = {
'Epoz': Epoz,
'EpozTidy': EpozTidy,
'EpozGetRelativeUrl': EpozGetRelativeUrl,
! 'epoz_blank_iframe.html': PageTemplateFile('epoz/epoz_core/epoz_blank_iframe.html.pt',
! globals()) ,
}
--- 314,327 ----
methods = {
'Epoz': Epoz,
+ 'Epoz__roles__': None,
+
'EpozTidy': EpozTidy,
+ 'EpozTidy__roles__': None,
+
'EpozGetRelativeUrl': EpozGetRelativeUrl,
! 'EpozGetRelativeUrl__roles__': None,
!
! 'epoz_blank_iframe.html': PageTemplateFile('epoz/epoz_core/epoz_blank_iframe.html.pt', globals()),
! 'epoz_blank_iframe.html__roles__': None,
}
Index: FAQ.txt
===================================================================
RCS file: /cvsroot/epoz/Epoz/FAQ.txt,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** FAQ.txt 25 Nov 2004 09:58:13 -0000 1.10
--- FAQ.txt 23 May 2005 20:47:33 -0000 1.11
***************
*** 8,18 ****
- Will Epoz be maintained in the future? I've heard of Kupu...
!
Yes, it will. The Kupu-project (formerly know as Epoz 1.X)
will not replace Epoz 0.x in any of my applications, because
I need a "simple, but rock-stable solution". I'll maintain, support
and develop Epoz therefore in the future.
!
!
- Does Epoz work with Opera, Konqueror, Safari, Mac-IE, ...?
--- 8,18 ----
- Will Epoz be maintained in the future? I've heard of Kupu...
!
Yes, it will. The Kupu-project (formerly know as Epoz 1.X)
will not replace Epoz 0.x in any of my applications, because
I need a "simple, but rock-stable solution". I'll maintain, support
and develop Epoz therefore in the future.
!
!
- Does Epoz work with Opera, Konqueror, Safari, Mac-IE, ...?
***************
*** 26,32 ****
- Can I use several Epoz-Widgets in one page (e.g. for Archetypes)?
! No, you can't and I have no idea how to make this work. If someone can
! provide a patch (several people tried hard, but found no solution),
! I'm fine and you will get famous, if not, that's the end of the story.
--- 26,31 ----
- Can I use several Epoz-Widgets in one page (e.g. for Archetypes)?
! Yes, but you must use Epoz 2.x and upward!
! Many thanks to Benoit Pin for his great patch!!!!!
***************
*** 50,71 ****
Epoz if you have problems installing mxTidy. Please note: I do NOT
support mxTidy-problems!
!
!
- How can I edit ZPT, DTML or JavaScript with Epoz?
!
Simple answer: you can't!!! Epoz is a HTML-wysiwyg-**content**-editor,
just a simple replacement for (Re)StructuredText for the average user.
You CAN'T (!!!) edit any JavaScript, DTML, ZPT, PHP, ASP, JSP, PSP,
CSP, ABC, XYZ, AWK, Python, Forth, Assembler, AmigaBasic,
! Half-Life-Mod or your haircut with Epoz... it's sad, but I have no
! time to work on these features...;)
!
!
- How can I change the background-color of the Epoz-Wysiwyg-Area in Plone?
!
Epoz uses the Plone-CSS for rendering the wyswyg-area. In some cases
this might be a problem, so you want to specify another background-color
for editing content. Simply add a customized css-definition to your
ploneCustom.css::
!
.visualFontSizeCorrection {font-size: 75%; background-color: #e0e0e0;}
--- 49,70 ----
Epoz if you have problems installing mxTidy. Please note: I do NOT
support mxTidy-problems!
!
!
- How can I edit ZPT, DTML or JavaScript with Epoz?
!
Simple answer: you can't!!! Epoz is a HTML-wysiwyg-**content**-editor,
just a simple replacement for (Re)StructuredText for the average user.
You CAN'T (!!!) edit any JavaScript, DTML, ZPT, PHP, ASP, JSP, PSP,
CSP, ABC, XYZ, AWK, Python, Forth, Assembler, AmigaBasic,
! Half-Life-Mod or your haircut with Epoz... it's sad, but I have no
! time to work on these features...;)
!
!
- How can I change the background-color of the Epoz-Wysiwyg-Area in Plone?
!
Epoz uses the Plone-CSS for rendering the wyswyg-area. In some cases
this might be a problem, so you want to specify another background-color
for editing content. Simply add a customized css-definition to your
ploneCustom.css::
!
.visualFontSizeCorrection {font-size: 75%; background-color: #e0e0e0;}
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click