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
Eric Steele
5b28e9d7c2
Preparing release 2.1.3
2013-05-26 21:10:19 -04:00
Eric Steele
8ab4d12695
Zap gremlins.
2013-05-23 21:58:29 -04:00
Elizabeth Leddy
65e13486d9
Merge pull request #15 from eleddy/missing_files_patch
...
Gracefully handle missing schema lookups
2013-04-11 16:15:22 -07:00
Elizabeth Leddy
2fb1d726b8
merge latest
2013-03-18 16:14:40 -07: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
Eric Steele
9bf10a6fc6
Back to development: 2.1.3
2013-03-05 18:38:41 -05:00
Eric Steele
777a41435b
Preparing release 2.1.2
2013-03-05 18:38:08 -05:00
Ross Patterson
8f6fed05e5
Merged Rafael Oliveira's (@rafaelbco) @content-core views
...
from collective.cmfeditionsdexteritycompat.
2013-02-08 16:07:51 -08:00
Eric Steele
ea1ceb7053
Back to development: 2.1.2
2013-01-17 22:02:57 -05:00
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
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
Maurits van Rees
ceaedb6e2b
Move babel config out of setup.py.
...
Use the setup as shown here:
https://github.com/mauritsvanrees/maurits.i18ntalk/blob/master/talk.rst
2013-01-02 11:55:45 +01: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
Rok Garbas
8eb5ca33de
Merge pull request #13 from gbastien/master
...
Make it possible to define a SchemaPolicy for the FTI
2012-12-17 05:12:32 -08:00
Gauthier Bastien
ff16a44ae7
Update docs/HISTORY.txt
2012-12-17 14:08:28 +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
3b11b0d4da
adding to Changelog for #11
2012-12-06 05:30:23 +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
David ichimdav
b7f013e8b8
Merge pull request #12 from petri/master
...
fix Finnish translation po file's Domain header
2012-12-04 11:30:26 -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
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
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
Headnet
8b909457b8
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-06 15:33: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
fd32e11102
Merge pull request #9 from headnet/master
...
Default value provided by subtype field
2012-10-26 06:07:20 -07:00
Malthe Borch
4ee6216de6
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-10-26 14:53:29 +02: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