Stephanie Marcu <stephanie.marcu@logilab.fr> [Tue, 05 Oct 2010 10:17:24 +0200] rev 6397
[book] improve documentation lisibility for cwconfig chapter and fix some references
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:15:09 +0200] rev 6396
[login ui] cleanup and somewhat bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Oct 2010 10:14:37 +0200] rev 6395
[selectors] move selectors according to their type, add missing ones to documentation
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 05 Oct 2010 08:33:10 +0200] rev 6394
[forms] remove dead code and simplify inlineviews creation
remove AutomaticEntityForm.should_inline_relation_form which is not
used anywhere and comes from a time where uicfg did not exist.
remove test for "force_<rtype>_display" presence in req.form to
determine whether or not the inline creation form should be displayed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:09:09 +0200] rev 6393
include fcayre's patch #1060507 to get extra rql query parameters from form content in rgx_action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 19:05:51 +0200] rev 6392
[forms] catching KeyError closes #961831: migration failure when defining form fields
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:59:32 +0200] rev 6391
[authentication] force retriever implementor to think about it
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:10 +0200] rev 6390
[repo] add a find_users method for under-privileged accounts
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 04 Oct 2010 18:56:05 +0200] rev 6389
refactor login box & form to enable easy pluggability
* vregistry.selectable: get all selectable object of fixed oid with given context
* template headeri, logbox, logform: reorganize a bit the structure
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 18:55:57 +0200] rev 6388
[js] add cubes namespace
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 04 Oct 2010 16:58:34 +0200] rev 6387
new script cwuser_ldap2system
used to migrate ldap users to system source
based on work by adim.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Oct 2010 15:55:55 +0200] rev 6386
[vreg] fix bad copy and paste introduced in 6347:ef47a2100c66
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 18:49:47 +0200] rev 6385
[repo transaction] fix rollback behaviour as discussed on the mailing-list: instead of rollbacking automatically on Unauthorized/ValidationError, mark the transaction as uncommitable and disallow commiting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Oct 2010 17:27:54 +0200] rev 6384
#1256570: remove __method, it is not used in any of the cubes from logilab and encourages bad design by using Redirect (eg ui specific) from entities.py
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:04:09 +0200] rev 6383
Add a fsimport context manage to localy enable fsimporting.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 01 Oct 2010 17:03:50 +0200] rev 6382
[test] improve tag for server/test/unittest_storage.py
Use class level tag.
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 28 Sep 2010 08:36:24 +0200] rev 6349
fix test so that we don't actually depends on file and email cubes
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 13:41:13 +0200] rev 6348
[selectors] multi_lines_rset selector supports now optional operator for richer comparaisons
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 15:00:08 +0200] rev 6347
exception: specify expected parameter in NoSelectableException
Enforce expected parameters, reformat exception message in class itself and change some log messages in calling code.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:14:23 +0200] rev 6346
[testlib] don't wrap main test connection into TestCaseConnectionProxy, it should not be closed afterwards
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 27 Sep 2010 17:13:41 +0200] rev 6345
[doc] add note about propagation on deletion of a watched relation
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:38:24 +0200] rev 6344
[book] add a link in hooks section to test, talk about create_entity in tests section
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:03 +0200] rev 6343
[book] add editable-table in views/table section and add an example to illustrate this view
Stephanie Marcu <stephanie.marcu@logilab.fr> [Fri, 24 Sep 2010 18:37:00 +0200] rev 6342
[book] Talk about RichString in 'Yams schema' section
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 24 Sep 2010 18:08:40 +0200] rev 6341
[tests] import TestSuite from lgc.testlib for further compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:59 +0200] rev 6340
[test] update test to unittest2 api (still using lgc.testlib though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:57 +0200] rev 6339
[foaf] we should encode email addr: even if we know it should be ascii, nothing prevent from putting something else in (tests at least do it)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:45 +0200] rev 6338
add test case demonstrating #1251910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 18:20:16 +0200] rev 6337
stop relying on person cube, it isn't needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:54:20 +0200] rev 6336
[facet] use contextified label when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 24 Sep 2010 12:53:56 +0200] rev 6335
[primary view] refactor label handling (hence render_[attribute|relation]) so we uniformly use _rel_label which provides properly contextified labels
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 24 Sep 2010 11:05:10 +0200] rev 6334
add some styling required by ReST figures