Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:55:18 +0100] rev 3978
finish yesterday work on rql constraints:
* Fix inheritance pb: there are some places where we filter constraints
according to the class hierarchy, so rql unique constraint should'nt
be neither a RQLContraint nor a RQLVocabularyConstraint subclass.
Added test in unittest_schema reflecting this.
* So now we have to get explicitly RQLUniqueConstraint where desired (eg in
server/hooks.py)
* Update i18ncubicweb command to include constraint types in generated pot file
(this should have been there for a while...)
* Update unittest_schemaserial which has been broken when serializing format
for rql constraints has changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 18:36:16 +0100] rev 3977
synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 18:35:31 +0100] rev 3976
oops, should have been updated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 17:39:56 +0100] rev 3975
add a fourth item to 'view box' defintion, dispctrl, so that
we can later globally sort all boxes instead of having view
boxes before component boxes.
'view' boxes order is configured through uicfg.primaryview_display_ctrl,
'component' boxes order through the cwproperty system.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 16:57:17 +0100] rev 3974
slightly adapt title and hide boxes when view is called as a non primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 16:56:28 +0100] rev 3973
allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}