Frédéric Péters
fe8b9c2045
handle corner case of content rule of changing id on cut/paste ( #4559 )
2014-03-24 14:24:02 +01:00
Frédéric Péters
656cc50f65
don't bother with immediate_view if we didn't get an object ( #4468 )
2014-03-13 16:21:06 +01:00
Frédéric Péters
5a9641cd6a
hardcode a different label for new links to folder ( #4456 )
2014-03-13 12:42:32 +01:00
Frédéric Péters
7c7bb6c2ae
hack add form title to include container name ( #4314 )
2014-02-24 11:06:36 +01:00
Elizabeth Leddy
12f24e4ea2
fail gracefully when a schema lookup fails do to import error in lookupSchema
2013-03-18 16:13:10 -07:00
Ross Patterson
8f6fed05e5
Merged Rafael Oliveira's (@rafaelbco) @content-core views
...
from collective.cmfeditionsdexteritycompat.
2013-02-08 16:07:51 -08: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
7df9330db4
remove .mo file which should be ignored
2013-01-04 15:49:14 -08:00
David Glick
a5bb50a94a
Merge remote-tracking branch 'headnet/schema-cache-fix'
2013-01-04 15:31:16 -08:00
Maurits van Rees
8ed3213159
babel update_catalog
2013-01-02 12:06:29 +01:00
Maurits van Rees
a63ed1e1f0
extract messages
2013-01-02 11:55:55 +01:00
Frédéric Péters
6778c2c23b
Add tests for the schema_policy attribute
2012-12-14 16:45:49 +01:00
Frédéric Péters
afb4b96ebf
Add a schema policy attribute to Dexterity FTI
2012-12-13 17:45:36 +01:00
Rok Garbas
ceeb72b61a
Merge pull request #11 from plone/attribute-lookup-optimization
...
Return early for attributes that begin with two underscores
2012-12-05 20:29:01 -08:00
Petri Savolainen
a32b5340ff
fix Finnish translation po file's Domain header
2012-12-04 08:16:17 +02:00
Rok Garbas
e3130cc7f1
Added changelog entry and fixed language code
2012-11-25 22:41:55 +01:00
Jukka Ojaniemi
2293fa1777
Added Finnish translations.
2012-11-25 22:37:57 +01:00
Bo Simonsen
6e1bf67401
Merge branch 'attribute-lookup-optimization' of https://github.com/plone/plone.dexterity into schema-cache-fix
2012-11-23 14:36:39 +01:00
Malthe Borch
00a098bc15
Update plone/dexterity/content.py
...
Oops.
2012-11-23 14:32:50 +01:00
Malthe Borch
8b85633bfe
Include a small comment on this optimization.
2012-11-21 15:02:57 +01:00
Headnet
412e370d28
Fixed a bug in malthes rewrite of the schema cache, since invalidate on the schema cache can be invoked for a non-registered FTI, which caused an error, furthermore invalidate schema was called for an unregistered FTI, which was definitely also a mistake.
2012-11-21 14:49:43 +01:00
Malthe Borch
75d2b6dd5d
Allow for the disabling of the schema cache (for testing purposes), and fix some expectations (we now expect more schema lookups in the test since the schema cache is disabled).
2012-11-21 14:49:43 +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
Malthe Borch
e2fca426d9
Return early for attributes that begin with two underscores (typically '__conform__').
2012-11-21 14:43:37 +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
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
26d27cb66f
Return an empty tuple if an FTI is not found, instead of ``None``.
2012-10-18 10:25:18 +02:00
Malthe Borch
29e2f52976
Refactor.
2012-10-18 10:17:38 +02:00
Malthe Borch
ef63c932e0
Adding test and changelog entry.
2012-09-20 13:12:07 +02:00
Bo Simonsen
85f2fc8a3d
Now looking up the behavior utility and using that utility to get the interface
2012-09-20 11:34:08 +02:00
Thomas Clement Mogensen
8a809657eb
add danish translation
2012-09-06 14:00:31 +02:00
David Glick
be242e9269
Merge pull request #5 from retsu/master
...
Added Japanese translation.
2012-08-15 08:56:22 -07:00
Maurits van Rees
060ec82887
Dutch: Bewaar -> Bewaren, like elsewhere in Plone
2012-08-15 14:42:13 +03:00
retsu
f23923ee72
First translation for Ja
2012-08-15 20:08:03 +09:00
David Glick
1e2e55c55d
add UID method for Dexterity items
2012-08-13 17:50:55 -07:00
Karl Johan Kleist
4feebbe0cf
http://effbot.org/zone/default-values.htm
2012-06-29 15:17:26 +03:00
JC Brand
438821612c
Add Afrikaans and Bulgarian translations
2012-06-27 11:09:11 +02:00
David Glick
b39cb308af
remove hard dependency on zope.app.content
2012-05-20 14:24:33 -04:00
Hanno Schlichting
e464f00043
Use getSite from zope.component
2012-05-20 11:41:03 -04:00
David Glick
54376fc281
no need for rwproperty
2012-05-19 16:10:04 -04:00
David Glick
1f990e9f34
fix test failure in Zope 2.13.13
2012-05-13 16:41:51 -07:00
Radim Novotny
2d56b36395
Added Czech i18n
2012-02-26 13:57:39 +01:00
David Glick
ef8006ad7a
forward port a change on the 1.x branch that got missed
2012-02-25 18:16:50 -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
Rafael Oliveira
d31a08d2e1
content.Container class declaraction was missing due to a typo.
2012-02-17 09:40:57 -02:00
Mikel Larreategi
12a49ecb3e
add basque translation
2012-02-09 17:19:08 +01: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