Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 18:00:21 +0200] rev 6444
[c-c i18ncube] proper command class name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 17:59:58 +0200] rev 6443
[i18n cube] skip bw compat registries boxes and contentnavigation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 14:45:25 +0200] rev 6442
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 13:40:18 +0200] rev 6441
TestServerConfig needs default_base_url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:29 +0200] rev 6440
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:27:17 +0200] rev 6439
[test] we must consider default_base_url()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:26:50 +0200] rev 6438
[js test] cleanup, move anonymous_logged handling to the test class (easier to control there
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 12:03:12 +0200] rev 6437
CtxComponent don't have wview
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:05:19 +0200] rev 6436
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 11:02:27 +0200] rev 6435
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:47:22 +0200] rev 6434
[test] fix ldap test when executed from certain hosts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:22 +0200] rev 6433
[test] missing main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 10:14:11 +0200] rev 6432
restore line dropped in 6424:f443a2b8a5c7 which is necessary to have proper base-url on test server config (used for ms tests at least)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:17:54 +0200] rev 6431
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Oct 2010 09:01:14 +0200] rev 6430
[breadcrumb] infinite loop safety belt, bw compatible by hi-jacking 'recurs' argument
Aurelien Campeas <aurelien.campeas@logilab.fr> [Sat, 09 Oct 2010 00:38:07 +0200] rev 6429
[login] fix some previously introduced login box css breakage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:38:02 +0200] rev 6428
[components] refactor main template header: make it much more flexible by using CtxComponent
* rename userlink class (not private) with somewhat bw compat
* make some cosmetic adjustements on log-in/registration components
* update to component api, though this may breaks some sub-classes
(for application customizing the breadcrumbs component for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:52 +0200] rev 6427
[schema / sources] store data sources as cubicweb entities
this implies several changes:
* new CWSource / CWSourceHostConfig entity types
* only the system sources and default admin login/password stored in sources file
(other stuff will be ignored)
* on startup, get sources definition from the database
* every entities have a cw_source relation
* a facet allow filtering
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:50 +0200] rev 6426
[hook/operation] nicer api to achieve same result as set_operation, as described in #1253630
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 09 Oct 2010 00:05:49 +0200] rev 6425
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 08 Oct 2010 15:28:51 +0200] rev 6424
[devtools] refactor http server initialization in a much saner way
Use a new ApptestConfiguration to group server paramater.
Fix base-url mangling between main site and data ressources.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 17:07:46 +0200] rev 6423
[pre 3.10 compat] if CtxComponent as a call() method, emit a deprecation warning but use it. Also ensure default value on class for visible and order, and define wview for bw compat as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 16:11:37 +0200] rev 6422
[reledit] do not reload on the parent node
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 16:11:23 +0200] rev 6421
[js/edition] kill deprecated (& dead) reledit code
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 13:19:07 +0200] rev 6420
[views/wdoc] do not crash on malconstructed stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 13:12:14 +0200] rev 6419
typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 08 Oct 2010 11:54:17 +0200] rev 6418
[views/authentication] fix http auth regression (no message)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:31 +0200] rev 6417
[test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:09 +0200] rev 6416
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 11:11:08 +0200] rev 6415
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 09:43:24 +0200] rev 6414
[test] skip test when dbhelper has no underlying dbapi module available
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:55:11 +0200] rev 6413
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:48:37 +0200] rev 6412
[test] cleanup / unittest2 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:44:22 +0200] rev 6411
[test] don't add unnecessary dependency to blog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Oct 2010 07:43:38 +0200] rev 6410
[test] fix tests broken by transaction behaviour on Unauthorized/ValidationError (no rollback but connection marked as non-commitable)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:04:07 +0200] rev 6409
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 19:02:00 +0200] rev 6408
[testlib] fix mail monkey patching, former patch was applied on stable instead of default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Oct 2010 18:51:13 +0200] rev 6407
[primary view] default to outofcontext view for entities displayed in boxes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Oct 2010 17:25:24 +0200] rev 6406
xml-escape <script> tags generated by HTMLHead
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 06 Oct 2010 15:32:59 +0200] rev 6405
fix some issues in DotGraphView, and enhance reusability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:57:14 +0200] rev 6404
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 06 Oct 2010 14:56:43 +0200] rev 6403
[testlib] Fix mail monkeypatch in testlib
ea26eb5fd388 in stable introduce monkeypatching of SendMailOp.commit_event
8bc6eac1fac1 in default rename SendMailOp.commit_event to postcommit_event
d7f5d873e1b8 merge stable in default without handling the rename.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:56:20 +0200] rev 6402
[selector] fix iterable detection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 14:04:26 +0200] rev 6401
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 06 Oct 2010 11:57:21 +0200] rev 6400
restore vital block of code (gone in 6384:89d5b339ebdd)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:47:29 +0200] rev 6399
[debian] constrain pyro version in debian packaging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Oct 2010 10:46:20 +0200] rev 6398
[test] send mail synchronously during tests
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