Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:01 +0200] rev 6381
[repo threads] Add several safety when looking for a callable name.
We lookup __name__ attribute, then func_name attribute. object repr is a last
fallback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 16:53:35 +0200] rev 6380
[facets] support for `no_relation` on RelationFacet
e.g. to filter en entities *without* a given relation as well as with a
particular relation. Proposed or not by default according to relation
cardinality.
Also, try to guess i18nable properly from the schema by default.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 16:07:03 +0200] rev 6379
[R] use dbhelper.binary_value to process passwords and other Bytes fields
(instead of dbapi_module.Binary or hardcoding buffer()).
This requires (esp. in serverctl) version 1.3.1 of logilab.database.
Dependencies updated.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:38 +0200] rev 6378
[3.10 migration] fix migration of cwproperties related to components/boxes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 15:45:00 +0200] rev 6377
[schema] introduce some new sets categorizing entity/relation types and benefits from them where possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:24:21 +0200] rev 6376
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:09:25 +0200] rev 6375
[schema] introduce new WORKFLOW_RTYPES set and use it to build SYSTEM_RTYPES/DONT_CHECK_RTYPES_ON_ADD/DONT_CHECK_RTYPES_ON_DEL sets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 11:08:31 +0200] rev 6374
[rset] support for delitem on repeat list (may be necessary in pyro source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:26:17 +0200] rev 6373
merged timeline changes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Oct 2010 09:25:39 +0200] rev 6372
timeline view minor enhancements
* support dates < 1900 by using logilab.common.date.ustrftime
* make the timeline a public member of the TimeLineWidget
* let buildWidget return the created widget, so that we can manipulate it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:35:01 +0200] rev 6371
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:40 +0200] rev 6370
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 15:00:30 +0200] rev 6369
[test] more update to unittest2 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 30 Sep 2010 14:58:57 +0200] rev 6368
[repo] properly mark object as saved once added to its source (code much probably gone during a merge...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:46:47 +0200] rev 6367
fix merge, some buffers weren't saved...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 16:16:32 +0200] rev 6366
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 14:22:12 +0200] rev 6365
[test] must now commit file creation since the later ValidationError trigger a rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:54:35 +0200] rev 6364
cleanup and micro-optimization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:53:30 +0200] rev 6363
[web action] has_editable_relations should not filter out final relations, fix regression introduced in 6358:22c95c5ef12d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:44:11 +0200] rev 6362
[c-c] fix RuntimeError: 'maximum recursion depth exceeded while calling a Python object' we get when creating/upgrading/shelling an instance: hasattr() call __getattribute__, creating an infinite recursion error catched by the interpretor. Avoid this by testing the method is available on the class instead of the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:18:06 +0200] rev 6361
[transaction] to avoid potential db corruption, we should rollback systematically in case of ValidationError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:17:26 +0200] rev 6360
[selector] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:16:28 +0200] rev 6359
[sync schema] take care rdef may not be final, in which case we want to use type of eid attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:15:10 +0200] rev 6358
[web action] has_permission_update checked implicitly by has_editable_relation, don't check it twice
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 12:13:44 +0200] rev 6357
[muledit] form may contains subforms with nothing editable that will be s kipped, so ensure we choose one with something to display when rendering table headers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:01:57 +0200] rev 6356
[c-c i18n] namespace/line wrap cleanup + dynamically compute available language + make it works in installed mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 29 Sep 2010 09:00:54 +0200] rev 6355
[i18n] no more necessary, those msgids are no more generated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 18:53:45 +0200] rev 6354
[wf component] reversing selectors here may be a huge performance win on big rsets, since EntityVComponent selector starts with one_line_rset
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:52:45 +0200] rev 6353
don't add another encoding if already present in content-type
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 16:50:34 +0200] rev 6352
[book] note about different encryption on Unix and Windows
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 14:52:45 +0200] rev 6351
make reset-admin-pwd work with sqlserver as db backend
the pyodbc sqlserver db backend depends on being passed the cw_upassword value
as a buffer object to bind it to a binary column (which is usually done when
CW is dealing with passwords).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 28 Sep 2010 12:22:17 +0200] rev 6350
[book] updated FAQ 'How to reset the password for user joe' with SQL Server syntax