立法文件的文本内容类型
Products.DigestoContentTypes的Python项目详细描述
简介
这个包提供了立法文件的内容类型。你可以看到 产品在http://digesto.unc.edu.ar/中起作用。
有关更详细的文档,请阅读docs/readme.txt或docs/readme-es.txt 西班牙语文档,在这一点上更为广泛。
说明
提供的主要内容类型有:
- Normativa, stores a legislative document in binary format and its metadata.
- Area, a folderish content type where normativas can be added and categorized.
依赖关系
这个产品应该与整个plone 3系列配合使用。尽管如此,IS 仅在PLONE 3.3RC2中测试。以下产品必须安装在 安装产品前的站点。DigestCoContentType:
- Products.ATExtensions 0.9.5
- iw.fss 2.7.6
- Products.ATBackRef 2.0
- Products.CMFPlacefulWorkflow (which already comes with Plone)
安装
确保安装了所有依赖项。如果使用zc.buildout,只需 将products.digestocontentypes添加到鸡蛋和zcml中,然后重新运行buildout。在 站点安装所有依赖项,最后安装products.digestocontentypes。
示例构建可以在产品的SVN存储库中找到: http://svn.plone.org/svn/collective/Products.DigestoContentTypes/buildout。那个 buildout可用于快速试用产品或作为修改的基础 您自己的构建配置。
开发
此产品是使用ArchGenXML生成的
您可以通过运行以下命令来构建开发构建:
$svn公司 http://svn.plone.org/svn/collective/Products.DigestoContentTypes/buildout摘要
$cd摘要
$python2.4引导程序.py
$./bin/buildout
然后可以启动Zope实例运行:
$./bin/实例fg
zmi可以在http://localhost:8080/manage中访问,在这里您可以 使用“admin”作为用户id和密码进行身份验证
学分
本产品由曼特斯的伊曼纽尔·萨托和圣地亚哥·布鲁诺开发。 这项发展是由科尔多瓦国立大学和 曼特斯。
知识
附件管理小部件最初由martin aspeli为 richtocument产品。模板可以在以下位置找到: 皮肤/摘要内容类型模板/小部件附件*;小部件 类位于“widget”目录中。
动态序列小部件是由philipp von weitershausen在他的 “使用Zope3开发Web组件”一书的演示应用程序。文件夹: browser/widget.py、browser/templates/widget.pt和 浏览器/resources/sequence.js。
规范的现场搜索高度基于plone现场搜索。文件夹: 浏览器/resources/normativalivesearch.js, skins/digestocontentypes_templates/normativa_livesearch_reply.py。
规范搜索和“发送到”功能来自plone的 搜索和“发送到”功能。文件(全部在 皮肤/消化内容类型模板/):normativa_search.pt,normativa_send.cpt, 规范性。
是从原型模板派生的一组模板。原型是 本杰明·萨勒和其他人写的所有派生文件都在 皮肤/摘要内容类型模板/目录:
- The files area_view.pt and normativa_view.pt are derived from the base_view.pt template.
- The file edit_macros_attachments.pt is derived from edit_macros.pt.
- The file manage_attachments.cpt is derived from base_edit.cpt.
records小部件派生自atextensions records小部件。 《延伸》是拉斐尔·里茨写的。文件: skins/digestocontenttypes_templates/dct_records_widget.pt
模拟邮件主机实用程序是从passwordresettool中的一个派生而来的 卡梅隆·库珀。文件:tests/utils.py。
这个产品是由phil auersperg,jens klein,et使用archgenxml生成的 艾尔。
DigestCoContentTypes的更改日志
(name of developer listed in brackets)
摘要内容类型1.2A1
- Eggification and update to work with Plone 3.3rc2. [emanuel]
- Cleaning for public release. [emanuel]
摘要内容类型1.1.7
- Solved redirect issue when modifying some sensitive fields in normativas. [emanuel]
- Added help text on CUDAP field. [sbruno]
摘要内容类型1.1.6
- Manage abbreviations can be managed by area local managers. [sbruno]
- Documentation for developers added. [sbruno, emanuel]
摘要内容类型1.1.5
- Rename the attachments when the normativa is renamed. [nueces]
- Validation for the soure field when the normativa is created. [nueces]
消化内容类型1.1.4
- Indexes are not reset when the product is reinstalled. [emanuel]
摘要内容类型1.1.3
- CUDAP field added to the catalog. [sbruno]
- Field CUDAP added to normativas. [frapell]
- Fix in migration script so the migration doesn’t fail when trying to publish an already public normativa. [nueces]
摘要内容类型1.1.2
- Fix search so you can find a normativa when you search for the main file name. [sbruno]
- Normativa and dossier numbers made searchable. [sbruno]
- Limit search results to 10 items per page. [sbruno]
- Livesearch customized so it only show results of types: Normativa, Attachment and Area. [sbruno]
- Publish areas and normativas in the migration script. [nueces]
摘要内容类型1.1.1
- Solved the error: The id “.wf_policy_config” is invalid - it is already in use when running the migration script. [sbruno]
- Migration script fixes. [nueces]
摘要内容类型1.1.0
- Editors can remove attachments in normativas. [sbruno]
- Translations updated.
- [sbruno]
- Abbreviations added to areas. Abbreviations are asociated to normativa’s type and used in the normativa’s URL. [sbruno]
- Title autogeneration for normativas. [sbruno]
- Attachments are named after the main file in normativas. [sbruno]
消化内容类型1.0.0
- Generated skeleton product from ArchGenXML 2.0. [generator]
- Full implementation. [sbruno, emanuel]