1.4.6-final - 2007-11-28 ======================== * Backported the fix from r7801. Do not display the content border when editing a temporary object. [deo] * Backported the fix from r8924. Archetypes should inform the widgets when processing the form in the validation phase. [deo] 1.4.5-final - 2007-10-05 ======================== * Disable the correct radio button when disabling the 'delete' option in image widgets when the field is required. The 'delete' radio button was shown previously, and the file upload field was never enabled when selected. [mj] * Encode values in Field.toString so we do not fall over fields with unicode default values that contain non-ASCII text. [wichert] * Fixed possible Unicode problem in BaseObject's SearchableText. This closes http://dev.plone.org/archetypes/ticket/720. [hannosch] 1.4.4-final - 2007-05-15 ======================== * Fixed small i18n bug in the textarea widget. [hannosch] * Fix http://dev.plone.org/archetypes/ticket/719: Check for correct DateTime input when validating. [mj] 1.4.3-final - 2007-04-17 ======================== * Add an ObjectModifiedEvent right after `initializeArchetype`, since that modifies the object with default values defined in the schema. [nouri] * Fix http://dev.plone.org/archetypes/ticket/712: Do not put security declarations on a ComputedAttribute, or on 'def content_type(self)'. [mj] * BooleanWidget always displays 'True' and 'False'. This is very IT-centric! In real world people prefer 'Yes' and 'No' - or custom settings. Latter was fixed before, but Archetypes should have a sane default behaviour, so its now changed to display 'Yes' and 'No' - and is l10n aware. [jensens] * BooleanWidget offers to show something different than True/ False in view macro using a vocabulary. Unfortunally it passed a boolean to the DisplayList, which raised a TypeError. Now we pass the string representations 'True' and 'False using 'str(key)', so one can define a vocabulary like [('True', 'Yes'), ('False', 'No')]. [jensens] * Fix http://dev.plone.org/archetypes/ticket/686: "zid.pt does not respect the portal wide visible_ids setting". [nouri] * The last change expected portal_type global available. This is true for all good archetypes products ;-) but failed with CacheSetup, where editmacros was called w/o setting it. Archetypes now ignores this missing global and inititalize it to 'unknowntype'. [jensens] * for better css styling hpeter added a class and a id to edit_macros form element, which enables per-type styling of base_edit. [jensens] * Fix unicodeEncode skin method to deal with sequences; fixes SelectionWidget with underlying LinesField case where the current value was not reflected in the edit widget. Fixes issue #705. [mj] * BaseContent.PUT will now also fire the object modified event. [nouri] * Update the base folder types to use sane permissions for manage_copyObjects, manage_pasteObjects, manage_renameObject(s) rather than the default 'View management screens' given by OFS.CopySupport (the permission mapping used is from Plone.PloneFolder) [alecm] * Backported the catalog unindexing silencer code from trunk, as in contrast to the former code on this branch it doesn't use any private attributes. [hannosch] * Fixed translation domain of two messages in go_back.cpy. These were missing from the Archetypes translation files. [hannosch] 1.4.2-final - 2006-12-15 ======================== * Fixed missing declaration of timestamp property in TextAreaWidget for append_only mode. It may need a better intregration of plone datetime format property. [encolpe] * Fixed missing i18n statement for the text format label on visual widgets. This closes http://dev.plone.org/archetypes/ticket/687. [hannosch] * Fixed a minor issue of FixedPointField: It now works with integer default value. [jensens] * Add a try: finally: clause in AllowedTypesByIfaceMixin when deleting the typeinfo "temporarily" Fixes http://dev.plone.org/plone/ticket/5314 [alecm] * Fix the unique name finder during initial rename on create so that it checks the names validity. Fixes http://dev.plone.org/plone/ticket/5044 [alecm] * Fix BaseObject.isBinary to not assume AttributeStorage. Fixes http://dev.plone.org/plone/ticket/5822 [alecm] * Silenced more catalog unindexing log error messages by checking if an object exists in the catalog before uncataloging. [rocky] * Fixed #5963. Now all the first headers of the page have "documentFirstHeading" class applied. http://dev.plone.org/plone/ticket/5963 [spliter] * Fixed #5929. UID catalog rebuild broke path convention. http://dev.plone.org/plone/ticket/5929. [hannosch] * Made tests use layers for AT site setup. [stefan] 1.4.1-final - 2006-09-08 ======================== * Fix #635. Large files were truncated on `setFileName`. In `setFilename` of FileField, we now set the `filename` attribute directly instead of retrieving the BaseObject, setting the filename and setting the object again. [nouri] * Fixed log_exc function in debug.py to print the actual exception including the traceback. [hannosch] * base_edit (anything calling processForm, actually) now fires off appropriate IObjectCreatedEvent and IObjectModifiedEvent zope 3 events [rocky] * Made the BaseObject __bobo_traverse__ fallback on Five traversal except in those cases where it would return something different. This allows views to override acquired attributes. (this change is not intended for Zope 2.10, which behaves differently) [alecm] * Fixed simple xhtml non-compliance and some erroneous i18n markup. [hannosch] * Make all WebDAV request types return NullResources on failure, not just PUT and MKCOL. This fixes a test failure resulting from some Zope traversal machinery tweaks. Thanks to sidnei for webdav guidance. [alecm] * Safari uses HTTP_ACCEPT=='*/*', which meant that the image widget never rendered an image due to some faulty boolean logic. [alecm] * Backport of fix for #585 from trunk [nouri] * Add a multiple catalog aware reindexObjectSecurity to BaseObject. This fixes problems with security checks in catalogs when objects are changed through other means than normal editing (such as workflow changes). [wichert] * Fix #670: addCreator function fails with AttributeError in ExtensibleMetadata. This closes http://dev.plone.org/archetypes/ticket/670 [nouri] 1.4.0-final - 2006-06-16 ======================== * Undeprecated 'public', there are too many products relying on it and it's just a name change without any real benefit. [hannosch] 1.4.0-RC1 - 2006-06-02 ====================== * Use zope.contenttype in favor of zope.app.content_types if available. [hannosch] * Added a new GenericSetup profile 'sample_content' which installs all available sample content types. This should mainly be used as a basis for the test setup. [hannosch] 1.4.0-beta1 - 2006-05-12 ======================== * Added support for entries to be added to the GenericSetup profile description of portal types to enable registration w/ multiple catalogs in the archetype_tool. [rafrombrc] * Fixed a problem in Field.py which could split mutibyte characters at a wrong position, which could cause encoding problem in mimetypes_registry. This closes http://dev.plone.org/plone/ticket/5214. [hannosch] * Add GenericSetup support for importing/exporting the catalog map from ArchetypeTool [wichert] * Use portal type instead of meta type for the catalog map. Add an option to config.py to switch back to the old behaviour. [wichert] * Removed some old commented out code. [hannosch] * Added a archetypes historyaware mixin, providing access to archetypes persistent revisions (including annotations). [mj] * Moved 'index_method' computation out from Extensions/utils.py into Field. Because we want SearchableText of BaseObject to use the 'index_method' too. This fixes http://dev.plone.org/archetypes/ticket/645 [nouri] * Avoid DeprecationWarnings for manageAddDelete methods and converted the logging infrastructure to use Python's logging module in favor of zLOG. [hannosch] * Removed reST-test-kludge. reStructuredText of Zope < 2.8 is buggy, don't bother with test failures. [stefan] * converted remaining interfaces and unconverted metadata due to issues with CMF1.5's bridges [whit] * converted add following modules to zope3 interfaces w/ backward bridges:: interfaces/_annotations.py interfaces/_field.py interfaces/_layer.py interfaces/_marshall.py interfaces/_metadata.py interfaces/_referenceengine.py interfaces/_schema.py interfaces/_storage.py [whit] * added makeBridgeMaker, makeZ3Bridges, and makeZ2Bridges to util to assist in bridging [whit] * removed superfluous bridge statements from zcml * Spring-cleaning of tests infrastructure. [hannosch] 1.4.0-alpha03 - 2006-03-26 ========================== * Fixed some bizarro bug where the __call__ method of BaseFolder (i.e. render the default view) was instantiating a new CMFCore PortalFolderBase object and returning it (unrendered even). [alecm] * fixes #617: Do not catch KeyboardInterrupt. [jensens] * marked PhotoField as deprecated. After work done on ATImage and ImageField this one isnt needed anymore in Archetypes core. PhotoField and its supporting classes will be removed in AT 1.5 [jensens] * fixed #600: Auto-generated attributes are not protected by permissions. Attention: Enabling protection is a minor change in the config.py. Some products with code doing direct attribute access will break. People using and relying on those products can disable attribute protection, but better fix those Products. [jensens] * fixed #608: Protect id field by 'Copy or Move' [jensens] * fixed #637: Schema.moveField( ... after ) does incorrect reordering. Needed fixing of a buggy doctest. [jensens] * merged in code of Daniel Nouri to support multiple references with the same name between two objects, thsi is needed for example with Relations product. Thx Daniel. [jensens] * removed superfluos code from ClassGen. [jensens] * Removed some nonsense on PUT that would look at REQUEST._steps and try to catch a exception (which would never occur!). Made it use 'PATH_INFO' instead, with a fallback to 'self.getId()' which should suffice (PATH_INFO is always available as long as the request came in through ZPublisher.Publish). [sidnei] * PdataStreamIterator could potentially end up loading a persistent object after the ZODB connection had been closed. Made it use a temporary file to stream out the content so that large files don't end up using all the available memory. [sidnei] 1.4.0-alpha02 - 2006-02-23 ========================== * Added check for duplicate 'accessor', 'edit_accessor' and 'mutator' method names on a schema's fields. Helps Joe Schmoe to get unstuck, hopefully. [sidnei] * dont generate 'Schema' method any more. its now part of BaseObject. [jensens] * seperated UIDCatalog from ReferenceEngine. [jensens] 1.4.0-alpha01 - 2006-01-26 ========================== * Remove BBB code for CMFBTreeFolder import location. [hannosch] * make import from 'Products.Archetypes.atapi import *' default and deprecate 'public'. [jensens] * Integrated 'generator' into Archetypes. [jensens] * Changed transactions use to new API and removed some Plone 2.0 backwards compatibility code [hannosch] * Changed imports of CMFCore.CMFCorePermissions to CMFCore.permissions [k_vertigo, hannosch] * DisplayLists should be a little less strict on their values. Now not only unicode itself but also types inherited from unicode are allowed. This is needed to handle zope.i18nmessageid.MessageID objects correctly. [hannosch] 1.3.10-final2 - 2006-09-14 ========================== * Check mimetype before schema update and reapply type after. This fixes http://dev.plone.org/archetypes/ticket/618 [alecm] * Fixed import of NotFound in getBestIcon.py which broke CMF1.4 compatibility. This closes http://dev.plone.org/archetypes/ticket/656. [hannosch] 1.3.9-final - 2006-05-16 ======================== * Add a new generateNewId method to BaseObject which is used to suggest a new id when automatically renaming an object after creation. This makes it easier to used custom naming in derived types. [wichert] * Fix visual widget to not lose formatting if there's only one allowed content type - without passing this variable along, the field will revert to text/plain or MIME type guessing the second time it's saved. [optilude] 1.3.8-final - 2006-04-30 ======================== * Cleanup of CatalogMultiplex: removed superfluos code, added docstring and comments. [jensens] * Moved 'index_method' computation out from Extensions/utils.py into Field. Because we want SearchableText of BaseObject to use the 'index_method' too. This fixes http://dev.plone.org/archetypes/ticket/645 [nouri] * Removed reST-test-kludge. reStructuredText of Zope < 2.8 is buggy, don't bother with test failures. [stefan] * Fixed WebDAV MOVE breaking references and cleaned up flagging of reference copying for good measure. Fixes http://dev.plone.org/archetypes/ticket/642 [sidnei] * Fixed up some templates that were abusing tabindexes to get unique ids on form elements. Tabindexes can no longer be used for this reliably since Plone 2.1.3, and repeat/var/number is cleaner anyway. [optilude] * fixed http://dev.plone.org/plone/ticket/5072 [jensens] * fixed #637: Schema.moveField( ... after ) does incorrect reordering. Needed fixing of a buggy doctest. [jensens] * Removed some nonsense on PUT that would look at REQUEST._steps and try to catch a exception (which would never occur!). Made it use 'PATH_INFO' instead, with a fallback to 'self.getId()' which should suffice (PATH_INFO is always available as long as the request came in through ZPublisher.Publish). [sidnei] * PdataStreamIterator could potentially end up loading a persistent object after the ZODB connection had been closed. Made it use a temporary file to stream out the content so that large files don't end up using all the available memory. [sidnei] * Changed sidneis last 'fix'. Dont raise an exception. This is changed behaviour and I cant accept this in a bugfix release. Prints out a deprecation message instead now, to not break Products relying on the old - odd - behaviour. [jensens] * Added check for duplicate 'accessor', 'edit_accessor' and 'mutator' method names on a schema's fields. Helps Joe Schmoe to get unstuck, hopefully. [sidnei] * Backported fix for failing Windows mime types: Original fix: http://dev.plone.org/archetypes/changeset/6005 Bug details here: http://dev.plone.org/plone/ticket/5109 [limi] * Cleanup of CatalogMultiplex: removed superfluos code, added docstring and comments. [jensens] * Fixed missing import of PersistentMapping. Closes http://dev.plone.org/plone/ticket/5182 [hannosch] * Usability fix for file widget ( widgets/file.pt ) so that the radiobuttons with 'Keep existing file' and similar are no longer shown if there is no file uploaded. * fixed bug in getBestIcon.py, use NotFound class but not 'NotFound' string in exception. [panjunyong] * fixed bug in AllowedTypesByIface, prevented to copy, paste, rename objects using the mixin. [jensens] * fixed problems introduced by last 'fix' of IdWidget zid.pt: Member and widget settings was ignored :-( [jensens] 1.3.7-final - 2006-01-16 ======================== * fixed problems with IDWidget ignore_visible_ids in some setups. [sidnei, rafrombrc] 1.3.6-final - 2006-01-07 ======================== * enable IDWidget to ignore global visible_ids setting and enable ids by adding a property ignore_visible_ids=False (default). If it is True the id (short name) is shown and the global or by-member setting is ignored. This is useful for types where control over the id is needed. [jensens] * 'Renderer' is used to set locals to context of rendered widgets. added prefix support for fieldnames in widgets to enable archetypes for multi- object edit forms. [jensens] * debug.ClassLog -> generateFrames calls pythons 'inspect' function. This breaks on at least one OS-X Tiger system with an IndexError (normal setup). Now IndexError is catched and ignored. [jensens] * cleanup of install_indexes magic to add index and metadata-columns to a catalog. also added an alternative method than 'schema()' to use, for example if a CatalogTool itself is archetypes based. The alternative i method is 'zcschema' and does not conflict with Archetypes schema attribute. [jensens] * Moved the byline to the header to be consistent with Plone 2.1. [limi] 1.3.6-RC1 - 2005-12-29 ====================== * Make rename-after-creation resolve duplicates by appending -n, where n is a number, to the id when an existing object exists in the parent folder. This closes http://dev.plone.org/plone/ticket/4510. * Return the new PdataStreamIterator when a Pdata-like chain is found (we always assume this if the marshaller didn't return a string). This way it works better with ExternalEditor. [dreamcatcher] * PrimaryFieldMarshaller was overriding already computed 'length' with len(data). Yuck. [dreamcatcher] * Fixed http://trac.plone.org/plone/ticket/4768 - wrong status message. [hannosch] * Fixed typo in BaseBTreeFolder.__init__. Thanks jenner. [stefan] * Fixed http://plone.org/collector/4840. Resync some texts with Plone. [hannosch] * Fixed http://plone.org/collector/4981. BaseObject.__bobo_traverse__ now also handles HEAD requests. [stefan] * Made basically compatible with Zope 2.9 by using a wrapper around the transaction module. [hannosch] * Lower the bar for making folderish content implement WebDAV/FTP 'PUT' and 'GET' by adding a new flag ``__dav_marshall__`` that just needs to be flipped to 'True' for folderish content. [dreamcatcher] * Finally changing the last toPortalTime call to toLocalizedTime [hannosch] * Permission for setting creation date and modification date: Portal Manager should it be allowed to set it manually! [yenzenz] 1.3.5-final - 2005-10-11 ======================== * Fixed http://members.plone.org/collector/4709 __bobo_traverse__ calls will not be passing a RESPONSE argument. [alecm] * Fixed filename detection for temporary files on Windows. [dreamcatcher] * Fixed [ 1289596 ]. Field.ImageField.tag did not escape alt and title attributes. [elro] [stefan] * Repaired ClassGen as to not stomp over declarePublic and declarePrivate security declarations. Patch by Jens Vagelpohl. [dreamcatcher] * Fixed some places where a session was being created nedlessly. Now sessions will only be created when they are really used. I hope this is the last occurrence. [dreamcatcher] * Fixed at_post_create_script hook to only be called once (was previously called after every edit) and added an at_post_edit_script hook to be called on every subsequent edit (but not the first create/edit). [elro] 1.3.4-final - 2005-08-30 ======================== * added tests if the test engine i working fine, this shows the effect of http://plone.org/collector/4487 verbose. [yenzenz] * applied patch to BaseObject.unmarkCreationFlag() with unwanted acquisition of at_post_create_script. thx Aparajita Fishman [yenzenz] * enabled renaming of fields while copy them. it eases field recycling. [yenzenz] * fixed [ 1265581 ] Deleting a file withn optional FileField/FielWidget breaks [yenzenz] * Fixed a number of issues related to the oversimplicity of CatalogMultiplex.manage_after*. Workflow state was not being reset on object copy, which is a minor security issue. Discussions were not being removed from the catalog when the parent was deleted. Copied discussions were not being added to the catalog. The owner local role was not being set on copy. CMFUid objects were not being removed on copy (critical for CMFEditions). CatalogMultiplex now delegates manage_after* methods to CMFCatalogAware (except manage_afterClone which it overrides to do a full reindex before delegating). Removed calls in BaseFolder to PortalFolder manage_after*, as those are just inherited directly from CMFCatalogAware whose methods are now used in CatalogMultiplex. [alecm] * Fixed an issue where copying a BaseBTreeFolder resulted in references on subobjects of that folder being duplicated due to bad inheritance of _getCopy. [alecm] * download of files from FileField: filenames where cutted at first space character in filename. report, fix/patch by LaurenceRowe, thx! [yenzenz] 1.3.4-rc3 - 2005-08-07 ====================== * import of CMFBTreeFolder changed with CMF 1.5.3, kept it backward compatible. thx to TresEquis. [yenzenz] * FileField: On download provide a filename. Patch form Tim Hicks applied. Needs optional UI to change filename, atm it uses the name of the uploaded file. thx tim2p. [yenzenz] * theres no application/octet. http://www.iana.org/assignments/ thanks to lalo for this pick. [yenzenz] 1.3.4-rc2 - 2005-08-01 ====================== * Skip image scales with a size of (0,0) [tiran] * Fixed handling of boolean usage in allowDiscussion for the CMF 1.5 DiscussionTool. [alecm] * Fixed two Marshaller bugs. PrimaryFieldMarshaller wasn't using the mutator for a field and RFC822 marshaller was trying to add field, image and object fields to the header. Fields of these types contain binary data or instances of OFS.Image.Image and can't be marshalled as header. [tiran] * Fixed [ 1209047 ] edit method broken on BaseBTreeFolder. Also added some im_func fu to BaseBTreeFolder. [tiran] * Fixed [ 1236601 ] bug in method getAvailableSizes() [tiran] * Fixed critical bug in RFC822 Marshaller w/ CMF 1.5 The CMFDefault.utils.parseHeadersBody function capitalizes the header names and breaks demarshalling. Marshall contains a light weight reimplementation. [tiran] * Added ftests for id autogeneration. [alecm] 1.3.4-rc1 - 2005-07-17 ====================== * Fixed http-etag test. It now 1) refreshs etag on reindexObject and 2) also must update etag on metadata modification (like Title). [yenzenz] * Fixed bug when get full BaseUnit object from FileField [panjunyong] * Fixed file edit widget to disable upload by default when javascript enabled [panjunyong] * Fixed at_download to return values from field.download [panjunyong] * Tiny change to image.pt widget template to render a link directly to the image object [rafrombrc] * Added Five/Zope3 interface bridges [tiran] * Fix http://plone.org/collector/4268 Type descriptions were not translated and fixed the usage of archetype_name in templates. [hannosch] * Prefer isIDAutogenerated from plone_tool over the script if available. [alecm] * some minor i18n tweaks [hannosch] * Added options for PIL quality and resize algo to ImageField. [tiran] * Fixed #1212048: ReferenceField "set" broken for BaseBTreeFolder-based objs. [dpunktnpunkt] * Fixed #1230645: unnecessary call to str() method in SQLMethod. [dpunktnpunkt] 1.3.4-beta2 - 2005-07-06 ======================== * Fixed outstanding errors with ImageField. ImageField is now using the same api and processing methods as FileField. Empty images are neither created nor returned by the accessor/mutator. [tiran] * Added a wrapper for indexing object in the uid catalog to fix unicode issues. [tiran] * Added AllowedTypesByIface, a mix-in that allows you to restrict allowed_content_types by interface. We want a better way to do this for 1.4. ArchGenXML support is under way. [dpunktnpunkt] * Reworked ArchetypeTool.listPortalTypesWithInterfaces. Note that the former version only returned AT types as well. [dpunktnpunkt] * Moved mark creation flag code from ATContentTypes 1.0 to AT. This is the right place for the code. It requires Plone 2.1 but doesn't barf if no or and older version is installed. [tiran, alecm] * As a part of the mark creation flag code the _renameAfterCreation() method is added. It can be turned on by setting _at_rename_after_creation to True. Thx to Alec Mitchell for his code! [tiran, alecm] * Fixed issue with ImageField where an empty string was passed down to PIL resulting in an exception. [tiran] * Updated the type registration code to be compatible with CMF 1.5 and to support method aliases and CMFDynamicViewFTI. [tiran] * Made utils.filterTypes compatible with CMF 1.5 [tiran] * generalised the interface detetection for types and listings of it in archetypes_tool and adapted TemplateMixin lists and detection to use this code. [yenzenz] * calendar_slot has been renamed to calendar_macros in Plone [hannosch] * Fixed failed test in ISchema: removed 'self' in interface method. [yenzenz] * Expose field creators of ExtensibleMetadata. [yenzenz, optilude, alecm] * Make it easy to rename fields and keep its content. Introduced a property old_field_name. Patch from Kai Hoppert. Thx! [yenzenz] * Merged madduck-refactor-content-edit-1_3 branch r4283:4363 into release-1_3-branch: - content_edit.cpy cannot be called directly by other .cpy scripts, because FormController seems to bestow control upon content_edit.cpy on invocation. This patch moves the code (unchaned) to content_edit_impl.py and replaces content_edit.cpy with a simple call to this .py. As a result, SQLWindowStorage can use AT's content_edit and needs no code duplication, and AT continues to work as before. For reference, please see: http://thread.gmane.org/gmane.comp.web.zope.plone.archetypes.devel/4959 http://thread.gmane.org/gmane.comp.web.zope.plone.user/35620 [madduck] * Merged madduck-renderingfixes-1_3 branch r3956:4361 into release-1_3-branch: - Reworked base_{view,edit} wrt CSS and Javascript. previously, CSS and Javascript were both rendered into the javascript_head_slot and there was no way to influence it really, other than on a per-field basis with helper_css and helper_js. No way to do it per-type though. My patch splits CSS into the css_slot and makes both templates look in the user templates for optional CSS/Javascript macros ('css' and 'javascript') much in the same way that the header/typedescription/body/footer parts are acquired. For base_edit, this is trivial since edit_macros is defined inside the css and javascript macros provided by the user (they are evaluated in the context of base_edit itself, which defines edit_macros). For base_view, this is not possible. Thus there is code duplication, which I documented in the form of comments in the templates. - Added a condition to the errors span for each field in widgets/field.pt such that in the absence of an error, no HTML is generated. This avoids some rendering problems when multiple widgets are to be rendered on the same HTML line. [madduck] * Introduced manage_afterPUT and manage_afterMKCOL hooks that are called after a webdav or ftp PUT/MKCOL operation. [tiran] * Fixed MKCOL of BaseBTreeFolder to call the right MKCOL method from BaseFolder resp. SkinnedFolder. [tiran] * Moved document_actions above title on base.pt. [deo] 1.3.4-beta1 - 2005-05-20 ======================== * Fixed [ 1192453 ] Typo in Extensions/utils.py on line 117. Thanks to salmacis. [yenzenz] * Solved unicode encoding problem on set of textfield. [yenzenz] * Unquoted filename when uploaded from ftp/webdav. [panjunyong] * Fixed [ 1184475 ] Template Mixin UI still borked. Attention: All types are bound to portal_type know. If you're using a type where meta_type!=portal_type you have to rebind your templates to the type! This should affect not too many people. [yenzenz] * Fix issue [ 1174598 ] default action title overrides custom title if set using 'name' instead of 'title'. [alecm] * Made the show_hm flag for CalendarWidget work. [alecm] * Added hidden macro to boolean widget fixes issue [ 1144139 ]. [alecm] 1.3.3-final - 2005-04-22 ======================== * Changed default for Language metadata field to empty string (''). Also removed the undesired fallback magic. [stefan] * Fixed [ 1187630 ] AT rebuilds reference catalog by default on product install. [yenzenz] 1.3.3-rc3 - 2005-04-21 ====================== * Added optional 'visible_only' argument to Schemata.editableFields(); modified base_edit to use 'visible_only=True' so the edit form will not display schemata that contain no visibly editable fields. Default behaviour for editableFields should remain the same. [rafrombrc] * Applied two performance optimizations: - BaseObject.getCharset() no longer calls the PythonScript of same name. This method is called bazillions of times and using a script here is enormously wasteful. The script has been kept as fallback. - ExtensibleMetadata.listCreators() now calls getOwnerTuple() instead of getOwner() to avoid lookup of user folder and user. [stefan] 1.3.3-rc2 - 2005-04-01 ====================== * Fixed plone bug #3959 (http://plone.org/collector/3959), made OrderedContainer.moveObjectsByDelta not throw an error when passed the id of a non-contentish object. [alecm] * Fixed [ 1061971 ] maintain order in InAndOut and PickLists across edits. [alecm] * Fixed hidden variant of MultiSelectionWidget. [tiran] * Changed warnings.warn(...) to deprecated(..) from Archetypes.debug. [yenzenz] * Fixed [ 1171059 ] Archetypes should not set language explicitly on content. Default is set to None by default. For backward compatibility reasons, I added a switch in config to enable old behaviour. [yenzenz] * Added subject to SearchableText. [tiran] * Added ComputedAttributes for effective_date and expiration_date. [tiran] 1.3.3-rc1 - 2005-03-25 ====================== * Fixed [ 1163878 ] Field.toString() always return the same thing. Thanks to flacoste for the patch. [yenzenz] * Fixed [ 1153525 ] zid.pt hidden mode hardcode field name. Thanks to flacoste for the patch. [yenzenz] * Fixed Referencefield making it possible to completely avoid ugly paths in the selectionlist (set vocabulary_display_path_bound=-1 to never get the paths). [elvix] * Fixed problem with encoding enforcement on TextField. Now has same behavior as StringField, but is neutral to old behaviour. If you call 'get' on a TextField and give a kwarg 'encoding' it has been ignored, now its used. It returns the encoding requested. [yenzenz] * Fixed [ 1160362 ] AT 1.3.2-final bug on PrimaryFieldMarshaller by adding the missing import of shasattr in Marshall. [tiran] * textarea.pt and image.pt were broken under 2.7.2 (newline in python expression). [gotcha] * Correct getMsgId on DisplayList (when using int keys) and IntDisplayList Fixes [ 1159248 ] IntDisplayList.getValue triggers DeprecationWarning. [gotcha] * Made ComputedFiled inherits from Field instead of ObjectField (which should only be used with fields that handle storages). [deo] 1.3.2-final - 2005-03-05 ======================== * Made deprecation warnings less verbose. If someone wants them, switch DEBUG in config.py to True. [yenzenz] * Added IntDisplayList to the public module. [tiran] * Added Sidney's AttributeValidator to BaseObject. It's disabled for now because it might break third party software which relies on a broken behavior. You can enable it by setting ATTRIBUTE_SECURITY to True. [tiran] 1.3.2-rc1 - 2005-02-26 ====================== * Using registerType without a package name is deprecated. Explict is better than implicit! [tiran] * Fixed DisplayList for int keys. The warning module was missing *blush* [tiran] * Added IntDisplayList to utils.py. Also I've coded some nice doc tests for DisplayList and IntDisplayList. [tiran] * Fixed[ 1118780 ] Bad validation for required IntegerFields with value zero Also the default values for IntegerField and FloatField are None instead of 0. [tiran] * Applied patch from [ 1076738 ] PrimaryFieldMarshaller: wrong length. [dmaurer] * Changed the reference tab permission to modify or review according to [ 1087990 ] 'References' action visible for everyone. [tiran] * Fixed customizationpolicy.py not to break if CMFPlone isn't available. [tiran] * Updated the requirements to Zope 2.7.4+. It may work with older versions of Zope 2.7.4 but due some serious memory leaks and some important bug fixes you should really use Zope 2.7.4! [tiran] * Backported CMFTestCase/PloneTestCase based test suite from AT 1.4 branch to AT 1.3. The unit test suite of AT 1.3 was horrible. Yeah you are allowed to beat me up but in excuse I must say it was first try in using ZopeTestCase. I've learned my lessons. In order to run the unit tests you have to install either CMF 1.4.7 + CMFTestCase + ZopeTestCase or Plone 2.0.5 + PloneTestCase + ZopeTestCase. For now only the CVS versions from sf.net collective are working properly. To run the unit tests go into the root of your testing instance and run: ZOPE_HOME/bin/test.py -v -C etc/zope.conf --libdir Products/Archetypes/ [tiran] * Fixed [ 1103955 ] ObjectManager raises (usually) AttributeError. [dmaurer] * Fixed [ 1074236 ] DDocument and Fact are broken in 1.3.1 final. [tiran] * Fixed [ 1093042 ] log warning for int keys in DisplayList. [tiran] * Fixed [ 1067212 ] missing security declaration for BaseFolder.manage_addFolder. [biza] * Fixed [ 1114892 ] should set to field, not fieldname in ObjectField.getRaw(). [madduck] * More OrderedDict fixes... wasn't overriding 'pop' method from base class, causing keys list and data to get out of sync if it were ever called. [rafrombrc] * Fixed broken implementation of moveObjectsByDelta in ordered base folder by copying my code from CMFPlone. I've fixed it in Plone over an year ago but I forgot to fix it in AT. [tiran] * Fixed [ 1114362 ] use format name instaed that mime type inside RichWidget. [dan_t] * Filtering schemata from showing up on base_edit unless user actually has edit privs to some of the fields. [rafrombrc] * Fixed utils.OrderedDict problems: - constructor was failing w/ non-empty argument - infinite loop when copy() was called [rafrombrc] * Changed UI for Image/File widgets. Should be a lot better now. [_ender_] * BaseUnit backward compability on very old bad migrated Archetypes 1.0 sites. Thanks to Brent M Hendricks . [yenzenz] * Commented out the View/Edit links for ordinary display - feel free to enable these in your site, but they should definitely not be there by default. [limi] * Added the last (and only) info that isn't being handled by AT for FTI: allow_discussion. Now you can define it at class level, as any other FTI property. The module level modify_fti method still exists for any advanced configuration. [deo] * Improved test for [ 1003868 ] to demonstrate the real problem: default_charset isn't respected. Now when db_encoding isn't defined, we give precedence to site_encoding and then fallback to utf-8. Bonus: there's no more need to mess with 'sys.getdefaultencoding()' to make tests run... ;-) [deo] * The subobject Wrapper class is now based on Acquisition.Explicit. And BaseObject's subobject works now. [panjunyong] * Applied ApeSupport changes needed for APE 1.0. Thanks to Roch?ompaan. Changed comment to doc-string. [yenzenz, zwork] * Added Italian translation. Thanks to Mirto Silvio Busico. [deo] * Change permission of OrderedBaseFolder's manage_renameObject to make FTP works. [panjunyong] * Fixedi [ 1053960 ] Cancel goes back to previous schemata page, thanks to Alec Mitchell. [yenzenz] * Fix redirect of ZMI constructor, fix ZMI base_add and base_edit. [__gotcha] * Fixed [ 1058669 ] Wrong i18n:translate in widgets/field.pt. [yenzenz] * Use method getFilename in at_download.pt instead of direct attribute access, which ignores BaseUnit. [yenzenz] * Fixed [ 1084278 ] In www/generateDebug.zpt error in * getTypeInfo(type['name']). [yenzenz] * Applied patch in [ 1076864 ] schemata links need css declaration, thanks to David Convent. [yenzenz] * Fixed [ 1067923 ] Field.py: ImageField.get_size does not work properly. [yenzenz] * Fixed bugs in the reference graph feature that was broken for me. [yenzenz] * Fixed [ 1066884 ] Field.py: getAvailableSizes 1.3.1-rc4. Thanks to Steve McMahon. [yenzenz] * Fixed path to kernel uuid pseudo file. [tiran] * Don't use the format selector from wysiwyg. [tiran] * Fixed __pkginfo__.py: use version.txt instead of coping a string to several places; changed license to the current license "BSD-like". [yenzenz] * Fixed reference cataloging when dealing with BTree folders. [brcwhit] * Fixed [ 948385 ] Allow wysiwyg editors to override RichWidget format pulldown. [duncanb, ender] * Fixed traversal/WebDAV for the nth time, now with tests. [dreamcatcher] * Fixed a possible problem when installing uid_catalog. [zopezen] * Added multi-field support to getFilename/setFilename and also getContentType/setContentType. Bonus: reformated ChangeLog... ;-) [deo] * Updated Catalan translation. Thanks to Albert Lombarte. [deo] 1.3.1-final - 2004-11-15 ======================== * Some visual fixes to RichWidget and Field code + removed stray comments. [limi] * Fixed field tests. [yenzenz] 1.3.1-rc4 - 2004-11-06 ====================== * reverted the patch from duncan because of too many bugs :( final decicion for 1.3.x: we keep the 1.3.0-final reference copy behaviour. [hazmat, geoffd, yenzenz] * fixed reference_slot, wasnt adapted to the new style reference engine. [yenzenz] 1.3.1-rc3 - 2004-11-05 ====================== * There where lots of discussions about the behaviour of references while copying. it ends up in 1.3.0-final with the default behaviour to do not copy references if a object is copied. now this is for several use-cases a great problem, and it's also difficult to copy them afterwards. finally we decided to make it configureable per reference in 1.4.x. A solution for 1.3 is provided by the patch from duncan booth we applied here. its transparent to the 1.3.0-final behaviour. you now can set in archetypes tool the copying behaviour. it defaults to not copy references. [duncanb, yenzenz] * Changed boolean widget so that the checkbox is displayed before the label and not below the help text. Makes more sense UI wise. [_ender_] * Fix manage_delObjects of BaseFolderMixin that did not return anything. [__gotcha] * Allow comma as dezimal delimiter in FixedPointField and convert it immediatly to a point-delimited-value. The whole process needs a rewrite in 1.4, this here is only a quick non-immersive usability enhancement. [yenzenz] 1.3.1-rc1 - 2004-10-17 ====================== * Fixed [ 1037265 ] Bug in ArchetypeTool:getWidgets(). Thanks to Tommy from IBAS for the catch. [deo] * Fixed a bug with TemplateMixin on folderish types: in navtree and on view tab the choosen template has been ignored, cause it felt back to an action folderlisting, which now is set to view instead. [yenzenz] * Applied patch contributed in [ 1038107 ] Problems with addable_types handling in ReferenceWidget. Thanks to Alec Mitchell for the patch. [yenzenz] * Added Archetypes Site customization policy. [tiran] * Changed it so that Title is not shown twice in view mode (once in the headline is fine, thank you ;) [limi] * Fixed [ 1042076 ] missing import in SQLMethod.py: atoi and time were missing. [tiran] * Fixed [ 1043114 ] WEBDAV folder creation broken. [tiran] * Updated quickref. Thanks to Jean Jordaan for his great work! [neaj, tiran] * Fixed [ 1037803 ] "AT Document Details" should be "Document Details" in edit Now Archetypes is using the portal type name by default instead of the archetype_name. You can change the new behavior by using a different type_name var in the templates. [tiran] * Added some ugly hacks to ship around [ 1040623 ] FTP upload broken. You may say it's fixed for AT 1.3 but for AT 1.4 we will have a much better implementation. [tiran] * Fixed [ 1038404 ] BaseFolder.mange_delObjects proteced by wrong permission. Now the method is protected by CMFCorePermissions.DeleteObjects instead of CMFCorePermissions.ModifyPortalContent which is exactly like Plone 2.x. [tiran] * Fixed [ 1038428 ] Unicode string in Subjects break base_metadata page. [tiran] * Partly fixed [ 1038450 ] Unauthorized due to BaseObject.__bobo_traverse__. Now __bobo_traverse__ is raising an AttributeError instead of returning None when the object can't be traversed. [dmauerer, tiran] * Added workaround for [ 1040514 ] AttributeError on some types after migration 1.2.4rc5->1.3.0 to BaseUnit. Somehow and sometimes the binary attribute gets lost magically. [tiran] * Extensions/utils.py (install_additional_templates): Added a method to automagically register classes that inherit from TemplateMixin. [deo] * Added Catalan translation file. Thanks to Albert Lombarte. [deo] * Added viewableFields() and editableFields() to Schema. The methods are returning only those fields that the current user is allowed to see/edit in the current context. [tiran] * Archetypes edit form is raising unauthorized if no editable fields are available. [tiran] * BaseContent.PUT and BaseUnit.PUT is also trying to get the uploaded data from BODY if BODYFILE is empty. [tiran] 1.3.0 - 2004-09-30 ================== * Fixed [ 1034649 ] Typo breaks catalog index creation: index_acessor -> index_accessori. [ronnix] 1.3.0-rc4 - 2004-09-25 ====================== * Fixed [ 1032587 ] Error in field.Vocabulary. Thanks to Danny Bloemendaal for the catch. [deo] * Disabled two unit tests in test_marshaller because they were causing a memory fault in glibc. It's probably the cause of either wvWare or the test doc file. [tiran] * Added transaction_note to PloneCompat and use it instead of the one from Plone to keep backward comp. with CMF as requested on the mailing list. [tiran] 1.3.0-rc3 - 2004-09-18 ====================== * Fixed misc unit tests that where broken or relied on a broken behavior. [dreamcatcher] * Merged patch from [ 1026732 ] base_metadata can not use 'add $type' reference button. [tiran] * Fixed [ 1029648 ] getBestIcon needs to be better. [tiran] * Partly fixed [ 1024966 ] Reference migration problem: 1.3a2 --> 1.3rc2. References without a relationship name will get the relationship name EMPTY_RELATIONSHIP which is 'related' by default. That should be fine for all people. [tiran] * Added 'swallowResizeExceptions' attribute to ImageField. When the property is set to True all exceptions raised by PIL are captured and the specified scale isn't created. Note: Some scales might be created when PIL fails only for some sizes. [tiran] * Field.ReferenceField: Simplify code a bit. Fix a typo on exception name. [dreamcatcher] * Fixed [ 1023153 ] isEmpty validator must return empty string by using the new isEmptyNoError validator. [tiran] * Fixed [ 1029231 ] base_metadata doesn't use JS scripts properly, also cleaned up the base_metadata and added support for helper CSS. [tiran, kai] * Fixed [ 1025842 ] Missing i18n:translate in widgets/field.pt