DO NOT USE CHANGELOG, USE HISTORY.TXT! 2005-01-22 Dorneles Treméa * SQLMethod.py (__call__): Fixed to, when db_encoding isn't defined, give precedence to site_encoding and then fallback to utf-8. * tests/test_sqlstorage.py (test_stringfield_bug1003868): Improved test to demonstrate the real problem: default_charset isn't respected. Bonus: there's no more need to mess with 'sys.getdefaultencoding()' to make tests run... ;-) 2004-12-14 Dorneles Treméa * i18n/archetypes-it.po: Added italian translation file. Thanks to Mirto Silvio Busico. 2005-01-02 Junyong Pan * OrderedBaseFolder.py (manage_renameObject): Change permission to make FTP work. 2004-12-14 Dorneles Treméa * i18n/archetypes-ca.po: - Adapted to the standard form (conforming with the organism in catalonia responsible for standarization of catalan software). Added the fallback for Catalan-Andorra, Catalan-Spain, catalan-France and Catalan-Italy (ca-ad ca-es ca-fr ca-it). Changed the codification to ISO Latin1. Thanks to Albert Lombarte. 2004-12-04 Cyrille Lebeaupin * utils.py (getMsgId): Compare type to string, unicode and int types, not only StringType. Fix bug with interger keys in DisplayList. 2004-12-04 Dorneles Treméa * Field.py (getBaseUnit): Remove unnecessary code to give precedence to storage when getting filename/mimetype. * BaseUnit.py: Cleaned up code and reformated/added missing docstrings. * BaseObject.py, Field.py (setFilename, setContentType): Moved specific code from BaseObject.py to Field.py. Fixed to always save the new base unit. * tests/test_classgen.py: Added 'anotherfilefield' FileField. * tests/test_contenttype.py (SetContentTypeTest): Added SetContentType TestSuite for testing setContentType via Mutator/BaseObject/Field. * tests/test_filename.py (SetFilenameTest): Added Get/SetFilename TestSuite for testing get/setFilename via Mutator/BaseObject/Field. 2004-12-02 Dorneles Treméa * Field.py (getFilename): Fixed security declaration. Revised docstrings and coments. (getBaseUnit): Gave precedence to storage when getting filename/mimetype. * BaseObject.py (getFilename, setFilename): Added. (setContentType): Generalized to work with any field. (getContentType): Updated to use a better logic. (content_type): Added missing security declaration. * ChangeLog: Reformated. Now it looks more like a Changelog file... ;-) 2004-07-12 jensens * Implemented migration from 1.2.x to 1.3 CVS 2004-07-02 clebeaupin * Improve vocabulary. Now you can mix every types of keys in a DisplayList. * Add 18n msg ids in allow_discussion vocabulary. 2004-07-01 clebeaupin * Fix bug 890592. Now DisplayList can have None as key. All keys are converted into string. 2004-07-01 Daniel Nouri * ArchetypeTool.py (ArchetypeTool.manage_migrate): Added very simple form that lets you migrate and update schemas without the hassle of creating an external method. (I believe the migration script is too easily overlooked.) 2004-07-01 Daniel Nouri * BaseObject.py (BaseObject._updateSchema): Moved call to field.getContentType() to the point after self.initializeArchetype(), which effectively fixes migration for me. 2004-06-30 clebeaupin * Vocabulary supports i18n translation. It uses field or widget i18n_domain property * Improve template to be xhtml compliant: attribute 'for' from