Commit Graph

101 Commits

Author SHA1 Message Date
Eric Steele c2cf42edb8 Preparing release 2.1.1 2013-01-17 22:02:28 -05:00
Thomas Desvenain 5753a95a9c Update docs/HISTORY.txt
cedricmessiant contributed to this change
2013-01-16 10:08:27 +01:00
David Glick b385afa525 don't add title & description fields by default 2013-01-15 16:14:16 -08:00
Wichert Akkerman 56879c86bf Check FTI when pasting content.
Conflicts:
	docs/HISTORY.txt
	plone/dexterity/content.py
	plone/dexterity/tests/test_content.py
2013-01-11 22:45:29 -08:00
David Glick 681510ab6e fix changelog 2013-01-04 15:49:23 -08:00
David Glick a5bb50a94a Merge remote-tracking branch 'headnet/schema-cache-fix' 2013-01-04 15:31:16 -08:00
Eric Steele 951dae0d82 Fix version number. 2013-01-01 22:13:25 -05:00
Eric Steele ee8db0305d Back to development: 2.1 2013-01-01 22:12:46 -05:00
Eric Steele 6bda27317f Preparing release 2.1 2013-01-01 21:23:08 -05:00
Gauthier Bastien ff16a44ae7 Update docs/HISTORY.txt 2012-12-17 14:08:28 +01:00
Rok Garbas 3b11b0d4da adding to Changelog for #11 2012-12-06 05:30:23 +01:00
Rok Garbas e3130cc7f1 Added changelog entry and fixed language code 2012-11-25 22:41:55 +01:00
Malthe Borch bc5bbb017b Merge branch 'schema-cache-fix' of github.com:headnet/plone.dexterity into schema-cache-fix 2012-11-21 14:58:48 +01:00
Malthe Borch 7563951b00 Fixed schema caching.
Previously, a non-persistent counter would be used as part of the
cache key, and changes made to this counter in one process would
obviously not propagate to other processes.

Instead, the cache key now includes the schema and subtypes which are
both retrieved from a FTI-specific volatile cache that uses the
modification time as its cache key.

Note that the tests are failing in this particular changeset. It's a
little tedious to instruct the mocker to respond naturally to the
volatile caching attempts. Maybe the passthrough-mode can be used,
combined with a single test case that examines the cache invariant.
2012-11-21 14:49:43 +01:00
Gaudenz Steinlin 2233d0b535 Use IConstrainTypes adapters for dexterity content
Overrride allowedContentTypes and invokeFactory from PortalFolder
to mimic the behavior of Archetypes based folders. This allows the
registration of IConstrainTypes adapters to actually have the
expected effect.
2012-11-01 19:20:22 -07:00
Malthe Borch 79f4255b41 Fixed schema caching.
Previously, a non-persistent counter would be used as part of the
cache key, and changes made to this counter in one process would
obviously not propagate to other processes.

Instead, the cache key now includes the schema and subtypes which are
both retrieved from a FTI-specific volatile cache that uses the
modification time as its cache key.

Note that the tests are failing in this particular changeset. It's a
little tedious to instruct the mocker to respond naturally to the
volatile caching attempts. Maybe the passthrough-mode can be used,
combined with a single test case that examines the cache invariant.
2012-10-26 14:32:48 +02:00
Malthe Borch dd491480b8 Default attribute accessor now returns a field default for a field provided by a subtype. 2012-10-18 10:29:18 +02:00
Malthe Borch ef63c932e0 Adding test and changelog entry. 2012-09-20 13:12:07 +02:00
Eric Steele 0edb12bebd Back to development: 2.0.1 2012-08-30 17:13:00 -04:00
Eric Steele 7e7a1ae263 Prepare plone.dexterity 2.0. 2012-08-30 17:12:20 -04:00
Eric Steele fbf3c123de Preparing release 2.0 2012-08-30 17:11:23 -04:00
David Glick 1e2e55c55d add UID method for Dexterity items 2012-08-13 17:50:55 -07:00
David Glick b39cb308af remove hard dependency on zope.app.content 2012-05-20 14:24:33 -04:00
David Glick 54376fc281 no need for rwproperty 2012-05-19 16:10:04 -04:00
David Glick 5d874457ed update history from 1.x branch 2012-02-25 18:14:11 -08:00
David Glick d30c65282c override manage_delObjects to check the delete permission for each item, like Archetypes does 2012-02-19 17:20:42 -08:00
David Glick 8df920d75d fix UnicodeDecodeError for FTI title/description with non-ASCII chars
This overrides the accessors from CMF to fix a possible UnicodeDecodeError
(msgids must not contain non-ASCII characters or the translation machinery
will break, since it does a unicode(msgid) without specifying the encoding)
2011-12-30 15:15:53 -08:00
David Glick 9bcedcc102 merge pull request #4 from zedr/master (add Italian translation) 2011-11-25 17:06:19 -05:00
Jamie Lentin 92d0b132ce Ensure that a factory utility really isn't needed before removing it. 2011-11-22 18:05:43 +00:00
zedr 621e185685 Updated changelog 2011-11-22 10:17:47 +01:00
Thomas Buchberger f9727ac8fe Make sure the Title() and Description() accessors of containers return an
encoded bytestring as expected for CMF-style accessors.
2011-10-18 09:36:57 +02:00
Thomas Buchberger a36f40743d Merged bd50119 from 1.x branch
add zh_TW translation
2011-10-18 09:24:27 +02:00
David Glick 4f802e1d68 merge r52078 from 1.x branch
svn path=/plone.dexterity/trunk/; revision=52079
2011-09-17 22:21:30 +00:00
David Glick f7f8ae2d6c merge r52073 from 1.x branch
svn path=/plone.dexterity/trunk/; revision=52074
2011-09-17 21:46:25 +00:00
David Glick 8ccccdd559 merge r51295 from 1.x branch
svn path=/plone.dexterity/trunk/; revision=51296
2011-07-19 06:04:52 +00:00
David Glick c46ae9b1fa add pt_BR translation
svn path=/plone.dexterity/trunk/; revision=50971
2011-07-04 16:56:04 +00:00
Jonas Baumann 6f6d52afae Merge branch jbaumann-locking into trunk
svn path=/plone.dexterity/trunk/; revision=50586
2011-06-21 07:23:15 +00:00
David Glick 65ff531298 always give Dexterity items UUIDs
svn path=/plone.dexterity/trunk/; revision=50359
2011-06-11 01:42:32 +00:00
David Glick 9ddc12676c remove CMF 2.1 and Zope 2.10 compatibility code
svn path=/plone.dexterity/trunk/; revision=49939
2011-05-21 18:03:00 +00:00
David Glick 9015b8268c update dependencies
svn path=/plone.dexterity/trunk/; revision=49938
2011-05-21 17:54:32 +00:00
David Glick fc21c7c408 Prepare plone.dexterity 1.0.
svn path=/plone.dexterity/trunk/; revision=49888
2011-05-20 22:05:50 +00:00
David Glick 81c39442d5 changelog
svn path=/plone.dexterity/trunk/; revision=49793
2011-05-19 04:31:18 +00:00
David Glick 955d43c40d fix Title and Description accessors to return bytestrings
svn path=/plone.dexterity/trunk/; revision=49405
2011-05-11 01:43:20 +00:00
David Glick 20fc5b65c8 vb
svn path=/plone.dexterity/trunk/; revision=49220
2011-04-30 18:46:19 +00:00
David Glick 1e3fdcbcd5 Prepare plone.dexterity 1.0rc1.
svn path=/plone.dexterity/trunk/; revision=49218
2011-04-30 18:44:56 +00:00
David Glick 5814086ae2 merge maurits-behaviorassignable branch
svn path=/plone.dexterity/trunk/; revision=49181
2011-04-30 17:17:53 +00:00
David Glick bb915d4985 we depend on permissions configured in CMFCore
svn path=/plone.dexterity/trunk/; revision=49165
2011-04-29 13:56:31 +00:00
David Glick 00b4443cd2 revert commit to wrong branch
svn path=/plone.dexterity/trunk/; revision=49024
2011-04-22 06:43:54 +00:00
David Glick d6310d116a bulk of the implementation
svn path=/plone.dexterity/trunk/; revision=49023
2011-04-22 06:42:38 +00:00
David Glick 544766024a fix edit redirect for files/images a different way (in CMF immediate_url is just for right after an item is constructed)
svn path=/plone.dexterity/trunk/; revision=48641
2011-04-10 01:03:16 +00:00