Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:58:07 +0100] rev 3984
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:57:55 +0100] rev 3983
nicer error message on rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:57:32 +0100] rev 3982
implements 'parent' method on workflow entity types
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:53 +0100] rev 3981
this invalid constraint now fails with new constraints checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:28 +0100] rev 3980
this constraint is actually unusable in yams schema for cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Dec 2009 09:56:15 +0100] rev 3979
unused since a long time now
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}
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 Dec 2009 15:08:11 +0100] rev 3972
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:38:17 +0100] rev 3971
new generic urlattr view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:37:19 +0100] rev 3970
update _render_attribute / _render_relation prototype to gain more control on label through uicfg (for attributes and relations). Keep bw compat for crm/iliane
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 14:35:23 +0100] rev 3969
when fields are displayed in a table and label should'nt be displayed, set colspan to 2 on the field value cell
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 02 Dec 2009 13:22:50 +0100] rev 3968
fix format string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:55:51 +0100] rev 3967
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:55:41 +0100] rev 3966
fix workflow consistency: check state/transition name uniqness in the wf when state/transition name is modified ; use the new msg argument of rql constraints to have a nicer error message on failure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:54:16 +0100] rev 3965
nicer __str__ and __repr__ methods on rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:53:46 +0100] rev 3964
refactor so that we can specify an extra argument to constraints which
will be used as error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 12:52:55 +0100] rev 3963
nicer mainvars/expression handling when initializing rql constraints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 11:57:38 +0100] rev 3962
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 02 Dec 2009 11:53:25 +0100] rev 3961
fix RQLUniqueConstraint behaviour by using a DISTINCT query and allowing
to specify variables that should be used in selection. See usage on
state_of / transition_of relations.