Re: [Zope-CMF] [CMF 2.1] FSPageTemplate & Unicode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18 Dec 2006, at 13:52, Andreas Jung wrote: What has to be done: - FSPageTemplate._readFile() should convert 'data' to unicode and pass it to pt_edit() instead of using write() - a filesystem-based PT should be able to specify its encoding through the .metafile like [default] encoding=utf-8 For XML files the encoding is determines by the XML preamble and for HTML file we are able to check for the 'charset' inside tag (if available) What do you think about this idea? Are you saying you'd help with patches? I'm swamped right now and don't think I can look at it. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFh6QFRAx5nvEhZLIRAjkSAKCikTIf8Ri2i7VkhfnmFnml1O1dAgCgnxDj PW9+EVGUKabUnp9L55HAZ/o= =At8I -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] [CMF 2.1] FSPageTemplate & Unicode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 19. Dezember 2006 09:34:13 +0100 Jens Vagelpohl <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 18 Dec 2006, at 13:52, Andreas Jung wrote: >> What has to be done: >> >> - FSPageTemplate._readFile() should convert 'data' to unicode and >>pass it to pt_edit() instead of using write() >> >> - a filesystem-based PT should be able to specify its encoding >>through the .metafile like >> >>[default] >>encoding=utf-8 >> >>For XML files the encoding is determines by the XML preamble >>and for HTML file we are able to check for the 'charset' >>inside tag (if available) >> >> What do you think about this idea? > > Are you saying you'd help with patches? I'm swamped right now and don't > think I can look at it. Jup. However I am not completely sure about all impacts :-) Andreas -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFFh6aXCJIWIbr9KYwRAn8bAKDIQ5sUw8j7IbQMV7JRZeiXAdHGRQCfUr8K /ARKDtZHRtdywPqBBo7qFlU= =fjpK -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] [CMF 2.1] FSPageTemplate & Unicode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19 Dec 2006, at 09:45, Andreas Jung wrote: Jup. However I am not completely sure about all impacts :-) If I understand the description correctly, the real change is in how the "surrogate" page template object representing the filesystem page template is created. The rendering itself is handed off to the pt_render method from the original PageTemplate class. If you look at the current FSPageTemplate code, there was already an attempt to find and transfer enoding information with the response by way of adding it to the content type, see _readFile. It does preamble sniffing as well. That could then be replaced by your own encoding detection, which also uses the preamble, and .metadata information. My quick glance doesn't show any huge issues, I only see the added benefit of being able to add encoding information to the .metadata file. jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFh6m9RAx5nvEhZLIRAoAbAKCIv7Q/+h+xuVKH1MKxOLZ2pAscLACeKj7e CKEd18mcM65qcn9p0rgNSKA= =adVd -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] CMF Collector: Open Issues
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/CMF). Assigned and Open mhammond - "Windows DevelopmentMode penalty in CMFCore.DirectoryView", [Accepted] http://www.zope.org/Collectors/CMF/366 Pending / Deferred Issues - "FSPropertiesObject.py cannot handle multiline input for lines, text attributes", [Deferred] http://www.zope.org/Collectors/CMF/271 - "Can't invalidate skin items in a RAMCacheManager", [Pending] http://www.zope.org/Collectors/CMF/343 - "workflow notify success should be after reindex", [Deferred] http://www.zope.org/Collectors/CMF/389 - "Possible bug when using a BTreeFolder Member folder", [Pending] http://www.zope.org/Collectors/CMF/441 - "Proxy Roles not Working/Applied to Worflow Transition Scripts", [Pending] http://www.zope.org/Collectors/CMF/449 - "safe_html filters some tags which should probably not be filtered", [Pending] http://www.zope.org/Collectors/CMF/452 - "purge_old in runAllImportSteps not working", [Pending] http://www.zope.org/Collectors/CMF/455 - "PUT handling for Events is broken", [Pending] http://www.zope.org/Collectors/CMF/458 - "Danger from Caching Policy Manager", [Pending] http://www.zope.org/Collectors/CMF/460 Pending / Deferred Features - "Favorite.py: queries and anchors in remote_url", [Pending] http://www.zope.org/Collectors/CMF/26 - "DefaultDublinCore should have Creator property", [Pending] http://www.zope.org/Collectors/CMF/61 - "Document.py: universal newlines", [Pending] http://www.zope.org/Collectors/CMF/174 - "portal_type is undefined in initialization code", [Pending] http://www.zope.org/Collectors/CMF/248 - "CMFTopic Does Not Cache", [Deferred] http://www.zope.org/Collectors/CMF/295 - "Wishlist: a flag that tags the selected action.", [Pending] http://www.zope.org/Collectors/CMF/301 - "CMFDefault should make use of allowCreate()", [Pending] http://www.zope.org/Collectors/CMF/340 - "Nested Skins", [Deferred] http://www.zope.org/Collectors/CMF/377 - "CatalogVariableProvider code + tests", [Pending] http://www.zope.org/Collectors/CMF/378 - "manage_doCustomize() : minor additions", [Pending] http://www.zope.org/Collectors/CMF/382 - "CMF needs View-based TypeInformation", [Pending] http://www.zope.org/Collectors/CMF/437 - "Marker attributes should be deprecated", [Pending] http://www.zope.org/Collectors/CMF/440 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: GenericSetup content exporting
Rob Miller schrieb: Spanky wrote: Greetings! I'm just getting started with GenericSetup, and I feel like I'm missing something simple. Hope you can help :) My goal is to get some default content exported as XML so I can use it as part of the GS profile for my new site. In my experimenting: I have a stock Plone site, nothing special. I make a test folder and test page in it. I make the Plone Profile active and export. In that export, I don't get any of the content I've created TTW. I'm walking through it in a debugger to try to see what happens where. Any advice on getting content exported would be appreciated. I've been reading the docs that are excellent in explaining how to set up a profile and use GS, but nothing along the lines of getting the content OUT of a site. GenericSetup's content import/export works well w/ default CMF content, but AFAIK it does not yet fully support AT-based content. AT has the Marshall product, which provides infrastructure for (de)serializing AT content into XML; it would be nice to write some content im/export adapters that use Marshall, but i haven't heard of anyone who's done that yet. There is at least XMLForest: http://plone.org/products/xmlforest and http://svn.plone.org/view/collective/XMLForest which might land at least in Plone one day http://plone.org/products/plone/roadmap/112 Raphael -r ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] CMF Tests: 8 OK, 1 Failed
Summary of messages to the cmf-tests list. Period Mon Dec 18 12:00:00 2006 UTC to Tue Dec 19 12:00:00 2006 UTC. There were 9 messages: 9 from CMF Unit Tests. Test failures - Subject: FAILED (failures=3) : CMF-trunk Zope-trunk Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:54:27 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003568.html Tests passed OK --- Subject: OK : CMF-1.5 Zope-2.7 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:42:26 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003560.html Subject: OK : CMF-1.5 Zope-2.8 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:43:56 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003561.html Subject: OK : CMF-1.5 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:45:27 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003562.html Subject: OK : CMF-1.6 Zope-2.8 Python-2.3.6 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:46:57 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003563.html Subject: OK : CMF-1.6 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:48:27 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003564.html Subject: OK : CMF-2.0 Zope-2.9 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:49:57 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003565.html Subject: OK : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:51:27 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003566.html Subject: OK : CMF-trunk Zope-2.10 Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:52:57 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/003567.html ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] CMF Tests: 8 OK, 1 Failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19 Dec 2006, at 13:00, CMF Tests Summarizer wrote: Summary of messages to the cmf-tests list. Period Mon Dec 18 12:00:00 2006 UTC to Tue Dec 19 12:00:00 2006 UTC. There were 9 messages: 9 from CMF Unit Tests. Test failures - Subject: FAILED (failures=3) : CMF-trunk Zope-trunk Python-2.4.4 : Linux From: CMF Unit Tests Date: Mon Dec 18 21:54:27 EST 2006 URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/ 003568.html @Tres: These failures are due to the still-existing DateTime changes on the Zope trunk which you reverted on all other affected branches. Was not reverting them an oversight or planned? jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFh9unRAx5nvEhZLIRAk+FAKCoIIH4UtvzRXtzFbI6Ccz/fc4uawCguSM1 wNuwKND+fgdQ+4C+tdejhZQ= =5S43 -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: CMF Tests: 8 OK, 1 Failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl wrote: > > On 19 Dec 2006, at 13:00, CMF Tests Summarizer wrote: > >>> Summary of messages to the cmf-tests list. >>> Period Mon Dec 18 12:00:00 2006 UTC to Tue Dec 19 12:00:00 2006 UTC. >>> There were 9 messages: 9 from CMF Unit Tests. >>> >>> >>> Test failures >>> - >>> >>> Subject: FAILED (failures=3) : CMF-trunk Zope-trunk Python-2.4.4 : >>> Linux >>> From: CMF Unit Tests >>> Date: Mon Dec 18 21:54:27 EST 2006 >>> URL: http://mail.zope.org/pipermail/cmf-tests/2006-December/ >>> 003568.html > > @Tres: These failures are due to the still-existing DateTime changes > on the Zope trunk which you reverted on all other affected branches. > Was not reverting them an oversight or planned? I was leaving them on the trunk so that the original author could "fix" them by adding BBB. Having CMF broken against the Zope trunk is OK with me, at least for a bit. On the release branches, I felt safer in reverting them, because the new semantics were breaking CMF. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFh/pf+gerLs4ltQ4RArTCAJ9jMAH8xDHhDFWTY4mLArb2g/PYIQCggHOL hM2u+XArDqIk0X7TCArHrOM= =0a6d -END PGP SIGNATURE- ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
[Zope-CMF] Re: GenericSetup content exporting
Raphael Ritz wrote: Rob Miller schrieb: Spanky wrote: Greetings! I'm just getting started with GenericSetup, and I feel like I'm missing something simple. Hope you can help :) My goal is to get some default content exported as XML so I can use it as part of the GS profile for my new site. In my experimenting: I have a stock Plone site, nothing special. I make a test folder and test page in it. I make the Plone Profile active and export. In that export, I don't get any of the content I've created TTW. I'm walking through it in a debugger to try to see what happens where. Any advice on getting content exported would be appreciated. I've been reading the docs that are excellent in explaining how to set up a profile and use GS, but nothing along the lines of getting the content OUT of a site. GenericSetup's content import/export works well w/ default CMF content, but AFAIK it does not yet fully support AT-based content. AT has the Marshall product, which provides infrastructure for (de)serializing AT content into XML; it would be nice to write some content im/export adapters that use Marshall, but i haven't heard of anyone who's done that yet. There is at least XMLForest: http://plone.org/products/xmlforest and http://svn.plone.org/view/collective/XMLForest which might land at least in Plone one day http://plone.org/products/plone/roadmap/112 ah, yes, sorry. i meant that nobody had yet wired anything up to work with GenericSetup. thanks for clarifying. -r ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests