Malthe Borch
26d27cb66f
Return an empty tuple if an FTI is not found, instead of ``None``.
2012-10-18 10:25:18 +02:00
David Glick
b39cb308af
remove hard dependency on zope.app.content
2012-05-20 14:24:33 -04: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
Jonas Baumann
dadc9ac867
Fixed deadlock in synchronized methods of schema cache by using threading.RLock instead of threading.Lock.
...
svn path=/plone.dexterity/trunk/; revision=46891
2011-01-18 08:30:04 +00:00
Wichert Akkerman
16dd41147c
pyflakes
...
svn path=/plone.dexterity/trunk/; revision=35614
2010-04-02 13:18:57 +00:00
Martin Aspeli
cc82d355d9
Changed API methods and arguments to mixedCase to be more consistent with
...
the rest of Zope. This is a non-backwards-compatible change, but it's now or never. :-/
svn path=/plone.dexterity/trunk/; revision=27967
2009-07-12 08:00:05 +00:00
Martin Aspeli
19902b872d
Catch up with plone.behavior
...
svn path=/plone.dexterity/trunk/; revision=27345
2009-06-07 15:37:31 +00:00
Martin Aspeli
4f4051e1c2
Fix http://code.google.com/p/dexterity/issues/detail?id=62 by properly invalidating the subtype marker cache as well
...
svn path=/plone.dexterity/trunk/; revision=27281
2009-06-03 14:08:48 +00:00
Martin Aspeli
cf332e29e2
No need for this now that we have the decorator - and it was broken anyway
...
svn path=/plone.dexterity/trunk/; revision=26684
2009-04-26 16:10:30 +00:00
Martin Aspeli
8c58a73895
Use plone.synchronize
...
svn path=/plone.dexterity/trunk/; revision=26207
2009-03-30 04:55:53 +00:00
Martin Aspeli
db4eae2bf9
Improve __providedBy__ cache speed and reliability
...
svn path=/plone.dexterity/trunk/; revision=26127
2009-03-24 16:15:14 +00:00
Martin Aspeli
7e57aa5211
See http://code.google.com/p/dexterity/issues/detail?id=23 -
...
- Separated read-permission and write-permission tagged values
- Changed the pattern so that we now store an IPermission utility name, not a Zope 2 permission string
- Add permission check to plone.autoform field setup
- Moved supermodel handler and tests to plone.autoform
- Added grokker to plone.directives.form with alias in plone.directives.dexterity (since it really affects both)
- Made the check in plone.dexterity.content take base interfaces into account (may need a cache later)
svn path=/plone.dexterity/trunk/; revision=25083
2009-02-15 15:25:48 +00:00
Martin Aspeli
20483b098d
Implement better _v_ attribute cache. Fixes #22 .
...
svn path=/plone.dexterity/trunk/; revision=24921
2009-02-09 15:29:34 +00:00
Martin Aspeli
ba814b0a97
Make cache a bit more forgiving
...
svn path=/plone.dexterity/trunk/; revision=24239
2009-01-13 00:49:31 +00:00
Martin Aspeli
26d4075f1f
Make use of schema cache in the content __getattr__ as well
...
svn path=/plone.dexterity/trunk/; revision=24238
2009-01-13 00:47:48 +00:00
Martin Aspeli
f107f0d2ed
Implement schema cache to speed up the descriptor
...
svn path=/plone.dexterity/trunk/; revision=24230
2009-01-12 23:30:12 +00:00
Martin Aspeli
2be65c7ca4
Factor grok dependency out to plone.directives.dexterity, and auto-form
...
support to plone.autoform.
svn path=/plone.dexterity/trunk/; revision=23570
2008-12-05 11:55:28 +00:00
Martin Aspeli
ea258fe181
Deal with based-on better - inherit fields and widgets, don't sync transient
...
schema base
svn path=/plone.dexterity/trunk/; revision=22820
2008-10-11 20:40:54 +00:00
Martin Aspeli
ec70acb1a4
Update todo. Make explicit the use of overrides when syncing schemata.
...
svn path=/plone.dexterity/trunk/; revision=21759
2008-07-20 20:04:16 +00:00
Martin Aspeli
e57574b225
Make use of fieldset support in plone.supermodel
...
svn path=/plone.dexterity/trunk/; revision=21531
2008-07-09 21:31:01 +00:00
Martin Aspeli
7e5042eacc
Make schema grokker delay setting actual value until grok time. Add tests for schema grokkers.
...
svn path=/plone.dexterity/trunk/; revision=21516
2008-07-09 12:13:18 +00:00
Martin Aspeli
f7bdee3e1f
Catch up to plone.supermodel refactoring. Use plone.z3cform support for
...
fieldsets and expand the range of declarative form UI hints to cover omitting
fields, setting widget render mode (e.g. 'hidden'), re-ordering and placement
in fieldsets.
svn path=/plone.dexterity/trunk/; revision=21505
2008-07-09 00:48:32 +00:00
Martin Aspeli
49971de33c
Partial attempt at supporting widget hints in the model file. Unfortunately, z3c.form does not seem to be playing ball with custom widgets.
...
svn path=/plone.dexterity/trunk/; revision=21394
2008-07-06 16:41:58 +00:00
Martin Aspeli
c233b0687f
Catch up with plone.supermodel refactoring
...
svn path=/plone.dexterity/trunk/; revision=21266
2008-06-26 01:14:34 +00:00
Martin Aspeli
716491d2df
Keep up with plone.supermodel refactoring
...
svn path=/plone.dexterity/trunk/; revision=21263
2008-06-25 22:26:32 +00:00
Martin Aspeli
5bd2a7c9a0
Support browser default/display menu.
...
Add widget schema adapter (not used in views yet).
Fix typo in xml_schema() convenience methods.
Update todo
svn path=/plone.dexterity/trunk/; revision=21246
2008-06-24 22:46:42 +00:00
Martin Aspeli
b243e9a5da
Add a large number of tests and fix a few issues discovered along the way. Update documentation.
...
svn path=/plone.dexterity/trunk/; revision=21237
2008-06-23 23:26:32 +00:00
Martin Aspeli
609f849aed
Add some more tests and fix a few bugs found with said tests
...
svn path=/plone.dexterity/trunk/; revision=21230
2008-06-23 10:32:26 +00:00
Martin Aspeli
4c9deec9cc
Fix problems caused by supermodel refactoring and update to-do list.
...
svn path=/plone.dexterity/trunk/; revision=21226
2008-06-21 00:32:07 +00:00
Martin Aspeli
acee2fc753
Update docmentation and to-do and start to deal with supermodel refactoring.
...
This is still broken unfortunately.
svn path=/plone.dexterity/trunk/; revision=21225
2008-06-21 00:24:40 +00:00
Martin Aspeli
5b1ca9979e
Begin to add support for instance-level security. This may not work for simple
...
attributes, though, which kind of defeats the point. :)
svn path=/plone.dexterity/trunk/; revision=21196
2008-06-17 00:35:58 +00:00
Martin Aspeli
705fb44c9e
Fix dodgy else: condition that meant we got funny acquisition errors
...
svn path=/plone.dexterity/trunk/; revision=21182
2008-06-14 10:21:04 +00:00
Martin Aspeli
08b92519a9
Forgot to check this in
...
svn path=/plone.dexterity/trunk/; revision=21179
2008-06-12 22:41:55 +00:00
Martin Aspeli
e90fc08084
Generate schema on attribute lookup if possible, and ensure schema is
...
generated exactly once.
svn path=/plone.dexterity/trunk/; revision=21178
2008-06-12 22:33:11 +00:00
Martin Aspeli
b2b6db5cda
Checkpoint - nothing really works yet, but I'm getting scared of not having this checked in anywhere. :)
...
svn path=/plone.dexterity/trunk/; revision=21105
2008-06-06 02:44:08 +00:00