Commit Graph

379 Commits

Author SHA1 Message Date
Martin Aspeli c69dff81f6 Add tests for directives
svn path=/plone.dexterity/trunk/; revision=21307
2008-06-29 13:08:21 +00:00
Martin Aspeli 5b2c28ef0e Add standard icons.
Add a grokker for content classes that can do the registerClass dance, set
security (not yet, but soon) and set default values for properties defined in
schemata which are not set on the class already. Doesn't yet have tests.

svn path=/plone.dexterity/trunk/; revision=21301
2008-06-28 21:02:08 +00:00
Martin Aspeli e32ffb4b14 Fix support for read-only fields
svn path=/plone.dexterity/trunk/; revision=21299
2008-06-28 20:24:30 +00:00
Martin Aspeli 02deb010a7 No need for import tricks anymore
svn path=/plone.dexterity/trunk/; revision=21298
2008-06-28 20:21:51 +00:00
David Glick 4f020ded82 removing pieces that belong in plone.app.dexterity
svn path=/plone.dexterity/trunk/; revision=21274
2008-06-26 07:31:33 +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 3a38e2a5a8 load_model can now use a file tagged onto a dynamically generated interface. This makes the xml_schema() pattern more useful.
svn path=/plone.dexterity/trunk/; revision=21248
2008-06-24 23:36:10 +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 58ea1f40bc Update to-do list somewhat
svn path=/plone.dexterity/trunk/; revision=21245
2008-06-24 21:50:58 +00:00
Martin Aspeli 8da67fcd85 Add two missing tests
svn path=/plone.dexterity/trunk/; revision=21244
2008-06-24 20:27:48 +00:00
David Glick 20dccdde10 event handler to serialize updated schema when it is editing using plone.app.schemaeditor
svn path=/plone.dexterity/trunk/; revision=21242
2008-06-24 09:14:53 +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 366ee4c28c Explicit protect the add view with the add permission
svn path=/plone.dexterity/trunk/; revision=21197
2008-06-17 00:46:27 +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 bfd10cb505 Refactor FTI - there is now only one FTI type that covers a broader range of
use cases including hybrids with a specified schema, but a specific model
file.

svn path=/plone.dexterity/trunk/; revision=21189
2008-06-15 22:25:23 +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 0304d8f1e5 Add some proper unit tests
svn path=/plone.dexterity/trunk/; revision=21153
2008-06-11 01:26:14 +00:00
Martin Aspeli 75a9377e69 Fix schema lookup for dynamic and concrete types. Both now basically work.
svn path=/plone.dexterity/trunk/; revision=21152
2008-06-11 00:19:34 +00:00
Martin Aspeli 85e32f33d1 Aesthetics
svn path=/plone.dexterity/trunk/; revision=21151
2008-06-10 23:33:39 +00:00
Martin Aspeli e98108acad Declare dependencies better.
Fix up standard FTI attributes.
Fix bug in events.py.
Make add view hide border in plone.

svn path=/plone.dexterity/trunk/; revision=21150
2008-06-10 23:32:40 +00:00
Martin Aspeli 977bde1b44 Fix schema sync, including support for deleting superfluous fields, and sync schema when FTI is modified.
svn path=/plone.dexterity/trunk/; revision=21120
2008-06-06 22:51:07 +00:00
Martin Aspeli 6d3bac5cc4 Add design notes here
svn path=/plone.dexterity/trunk/; revision=21106
2008-06-06 02:44:48 +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