Plone content types for legislative documents
Project description
Introduction
This package provides content types for legislative documents. You can see the product in action in http://digesto.unc.edu.ar/.
For more detailed documentation read docs/README.txt or docs/README-es.txt for documentation in Spanish, which is more extensive at this point.
Description
The main content types provided are:
Normativa, stores a legislative document in binary format and its metadata.
Area, a folderish content type where normativas can be added and categorized.
Dependencies
This product should work with the whole Plone 3 serie. Nevertheless, is was only tested in Plone 3.3rc2. The following products must be installed in your site before installing Products.DigestoContentType:
Products.ATExtensions 0.9.5
iw.fss 2.7.6
Products.ATBackRef 2.0
Products.CMFPlacefulWorkflow (which already comes with Plone)
Installation
Make sure that all the dependencies are installed. If you use zc.buildout, just add Products.DigestoContentTypes to your eggs and zcml and rerun buildout. In the site install all the dependencies and finally Products.DigestoContentTypes.
A sample buildout can be found in the product’s SVN repository: http://svn.plone.org/svn/collective/Products.DigestoContentTypes/buildout. That buildout can be used to quickly try the product or serve as a base to modify your own buildout configuration.
Development
This product was generated using ArchGenXML.
You can build the development buildout by running the following commands:
$ svn co http://svn.plone.org/svn/collective/Products.DigestoContentTypes/buildout digesto
$ cd digesto
$ python2.4 bootstrap.py
$ ./bin/buildout
Then you can start the Zope instance running:
$ ./bin/instance fg
The ZMI can be accessed in http://localhost:8080/manage, where you can authenticate using ‘admin’ as user id and password.
Credits
This product was developed by Emanuel Sartor and Santiago Bruno from Menttes. The development was sponsored by the Universidad Nacional de Córdoba and Menttes.
Acknowlegements
The attachment management widget was originally created by Martin Aspeli for the RichDocument product. The templates can be found in: skins/digestocontenttypes_templates/widget_attachments*; the widget class is in the ‘widget’ directory.
The dynamic sequence widget was created by Philipp von Weitershausen in his demo application for the “Web Component Development with Zope 3” book. Files: browser/widget.py, browser/templates/widget.pt and browser/resources/sequence.js.
The normativas live search is highly based on the Plone live search. Files: browser/resources/normativalivesearch.js, skins/digestocontenttypes_templates/normativa_livesearch_reply.py.
The normativas search and ‘send to’ functionalities is derived from Plone’s search and ‘send to’ functioanlities. Files (all of them in skins/digestocontenttypes_templates/): normativa_search.pt, normativa_send.cpt, normativa_sendto.cpy.
The are a bunch on templates derived from Archetypes templates. Archetypes was written by Benjamin Saller and others. All the derived files are in the skins/digestocontenttypes_templates/ directory:
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.
The records widget is derived from the ATExtensions records widget. ATExtensions was written by Raphael Ritz. File: skins/digestocontenttypes_templates/dct_records_widget.pt.
The mock mail host utility is derived from the one in PasswordResetTool, by J. Cameron Cooper. File: tests/utils.py.
This product was generated using ArchGenXML by Phil Auersperg, Jens Klein, et al.
Changelog for DigestoContentTypes
(name of developer listed in brackets)
DigestoContentTypes 1.2a1
Eggification and update to work with Plone 3.3rc2. [emanuel]
Cleaning for public release. [emanuel]
DigestoContentTypes 1.1.7
Solved redirect issue when modifying some sensitive fields in normativas. [emanuel]
Added help text on CUDAP field. [sbruno]
DigestoContentTypes 1.1.6
Manage abbreviations can be managed by area local managers. [sbruno]
Documentation for developers added. [sbruno, emanuel]
DigestoContentTypes 1.1.5
Rename the attachments when the normativa is renamed. [nueces]
Validation for the soure field when the normativa is created. [nueces]
DigestoContentTypes 1.1.4
Indexes are not reset when the product is reinstalled. [emanuel]
DigestoContentTypes 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]
DigestoContentTypes 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]
DigestoContentTypes 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]
DigestoContentTypes 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]
DigestoContentTypes 1.0.0
Generated skeleton product from ArchGenXML 2.0. [generator]
Full implementation. [sbruno, emanuel]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Products.DigestoContentTypes-1.2a1.tar.gz
.
File metadata
- Download URL: Products.DigestoContentTypes-1.2a1.tar.gz
- Upload date:
- Size: 673.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ba0431ca5b759a7e16414fe60c82fe080e9f58aa913ecf32d6f8d33f187aa6d |
|
MD5 | 4474fb504eb807321e0bdea32f910952 |
|
BLAKE2b-256 | e304d5f352ae9a9760e1ae4e9e7716650c364443abf384fc053fe3538cda2ddd |
File details
Details for the file Products.DigestoContentTypes-1.2a1-py2.4.egg
.
File metadata
- Download URL: Products.DigestoContentTypes-1.2a1-py2.4.egg
- Upload date:
- Size: 771.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf086fd0aea8545814aa73fbee5f50e13f126c329bed552b8aef531d5eda8189 |
|
MD5 | 62726352b9afa22d09c31422fca13fa5 |
|
BLAKE2b-256 | e9d0e59b6fe866f3a0b1c278b5873099e53be2dba607a49065e6ae98aca44ab1 |