Wed, 25 Aug 2010 11:22:47 +0200 merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 11:22:47 +0200] rev 6143
merge
Wed, 25 Aug 2010 10:29:18 +0200 [session] cleanup hook / operation / entity edition api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:18 +0200] rev 6142
[session] cleanup hook / operation / entity edition api Operation api ~~~~~~~~~~~~~ * commit_event killed, recently introduced postcommit_event is enough and has a better name * kill SingleOperation class, it's a) currently never used b) superseeded by set_operation if needed. Entity edition api ~~~~~~~~~~~~~~~~~~ edited_attributes turned into a special object holding edition specific attributes: - attributes to be edited (simply mirrored in cw_attr_cache, actual values are there) - former _cw_skip_security set (cw_edited) and querier_pending_relations It has also been renamed to `cw_edited` on the way (it may also contains inlined relations) The entity dict interface has been deprecated. One should explicitly use either cw_attr_cache or cw_edited according to the need. Also, there is now a control that we don't try to hi-jack edited attributes once this has no more effect (eg modification have already been saved) At last, _cw_set_defaults/cw_check internal methods have been moved to this special object Hook api ~~~~~~~~ hook.entity_oldnewvalue function now moved to a method of cw_edited object.
Wed, 25 Aug 2010 10:29:07 +0200 [web api] unify 'contentnav' (VComponent) and 'boxes' registries as 'ctxcomponents' (CtxComponent)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:29:07 +0200] rev 6141
[web api] unify 'contentnav' (VComponent) and 'boxes' registries as 'ctxcomponents' (CtxComponent)
Wed, 25 Aug 2010 10:01:11 +0200 [boxes] introduce new boxes system
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 10:01:11 +0200] rev 6140
[boxes] introduce new boxes system * separate box content generation from its layout * refactor css classes to allow moving boxes and still get consistent ui On the way to contentnavigation/boxes unification (in a later patch) * * * some fixes for the previous (default_new_boxes_system) patch * * * some fixes for the previous (default_new_boxes_system) patch
Wed, 25 Aug 2010 09:43:12 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:43:12 +0200] rev 6139
backport stable
Wed, 25 Aug 2010 09:42:55 +0200 update to lgc.clcommands 0.51 api stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 Aug 2010 09:42:55 +0200] rev 6138
update to lgc.clcommands 0.51 api
Tue, 24 Aug 2010 11:59:07 +0200 [css] make sure the toolbar is clickable because layered over title stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:59:07 +0200] rev 6137
[css] make sure the toolbar is clickable because layered over title
Tue, 24 Aug 2010 11:57:45 +0200 [dataimport] refactor commitevery to gain readability stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 24 Aug 2010 11:57:45 +0200] rev 6136
[dataimport] refactor commitevery to gain readability
Mon, 23 Aug 2010 12:49:28 +0200 [win32] no os.getuid on windows stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 12:49:28 +0200] rev 6135
[win32] no os.getuid on windows
Mon, 23 Aug 2010 09:07:20 +0200 use logilab.common.date.ustrftime in json encoder to work around datetime.strftime limitation on dates < 1900 stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 09:07:20 +0200] rev 6134
use logilab.common.date.ustrftime in json encoder to work around datetime.strftime limitation on dates < 1900
Mon, 23 Aug 2010 08:46:24 +0200 use iter_and_commit in example stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 23 Aug 2010 08:46:24 +0200] rev 6133
use iter_and_commit in example
Fri, 20 Aug 2010 17:08:08 +0200 [c-c check-mapping] fix dumb name error and add a warning about inlined crossed relation stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 17:08:08 +0200] rev 6132
[c-c check-mapping] fix dumb name error and add a warning about inlined crossed relation
Fri, 20 Aug 2010 10:59:57 +0200 [ms] more planning bug fixes stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 10:59:57 +0200] rev 6131
[ms] more planning bug fixes * fix sourcesterms w/ constant: all occurences of the same constant should be there once one of them is * fix handling of constant and relation in expand_terms: * we should always consider system source there for constants * for relation, we should check its lhs and rhs are in selected terms, not that the relation is in linkedterms (this has no chance to be true) This fixes 3 tests that were either passing erroneously (syt should be punished for copy/paste output as test reulst without triple checking it) or were not optimal.
Fri, 20 Aug 2010 08:36:58 +0200 oops, missing part of 6125:628cf5213154 (mapping file checking) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:36:58 +0200] rev 6130
oops, missing part of 6125:628cf5213154 (mapping file checking)
Fri, 20 Aug 2010 08:35:10 +0200 [ms] fix two planner bugs: one occuring query such as X created_by U where X in a external source and U may come from an ldap source. The other being that when we've to merge input maps, we were modifying the same tree/solutions while a copy were needed. Also, ensure we add type restrictions, necessary for pyro source stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:35:10 +0200] rev 6129
[ms] fix two planner bugs: one occuring query such as X created_by U where X in a external source and U may come from an ldap source. The other being that when we've to merge input maps, we were modifying the same tree/solutions while a copy were needed. Also, ensure we add type restrictions, necessary for pyro source
Fri, 20 Aug 2010 08:31:02 +0200 cleanups stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:31:02 +0200] rev 6128
cleanups
Fri, 20 Aug 2010 08:29:48 +0200 [ms, c-c] new command checking for consistency / potentian flaws and enhancements of mapping file of a multi-sources instance stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:29:48 +0200] rev 6127
[ms, c-c] new command checking for consistency / potentian flaws and enhancements of mapping file of a multi-sources instance
Fri, 20 Aug 2010 08:21:15 +0200 [repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:21:15 +0200] rev 6126
[repository] enabled sources refactoring: to avoid error, we should always have all known source in repo.sources_by_uri and only enabled ones in repo.sources, so we still have access to the definition of temporarily disabled sources
Fri, 20 Aug 2010 08:17:04 +0200 [migration] enhance RqlForIterator so we can do 'for e in rqliter(...).entities()' stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:17:04 +0200] rev 6125
[migration] enhance RqlForIterator so we can do 'for e in rqliter(...).entities()'
Fri, 20 Aug 2010 08:16:03 +0200 [ms] when entity is coming from an external source, don't add non final relations on complete stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:16:03 +0200] rev 6124
[ms] when entity is coming from an external source, don't add non final relations on complete
Fri, 20 Aug 2010 08:15:06 +0200 [querier] add_types_restriction_cleanups: remove useless try/except (we already filtered out variables not in newroot.defined_vars) and dict accss. Also systematically set computed solutions instead of modifying existing ones stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 Aug 2010 08:15:06 +0200] rev 6123
[querier] add_types_restriction_cleanups: remove useless try/except (we already filtered out variables not in newroot.defined_vars) and dict accss. Also systematically set computed solutions instead of modifying existing ones
Fri, 20 Aug 2010 08:46:32 +0200 improvements in dataimport.py stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 20 Aug 2010 08:46:32 +0200] rev 6122
improvements in dataimport.py * updated the docstrings * fixed small issues in ucsvreader_pb * help user in using RQLObjectStore
Thu, 19 Aug 2010 11:14:55 +0200 add missing semi colon in js stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 19 Aug 2010 11:14:55 +0200] rev 6121
add missing semi colon in js
Wed, 18 Aug 2010 16:53:05 +0200 [book] some more documentation and cleanups stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 16:53:05 +0200] rev 6120
[book] some more documentation and cleanups * merged existing facets documentation with the one I've just written and put almost everything within the code * added a note about __depends__ and __recommends__ and about the recommends semantic (extracted from a post on the ml) * added a note about write security checking (extracted from a post on the ml) * fixed some dumb sphinx errors
Wed, 18 Aug 2010 13:58:12 +0200 new RelationAttributeFacet + other fixes and cleanup + facets test stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 13:58:12 +0200] rev 6119
new RelationAttributeFacet + other fixes and cleanup + facets test * added documentation to Relation[Attribute]Facet and AttributeFacet explaining how to configure them * fixed behaviour of sorting for various combinaison of attribute values
Wed, 18 Aug 2010 10:36:02 +0200 [migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 Aug 2010 10:36:02 +0200] rev 6118
[migration] remove bad test when constructing attributes to copy in rename_entity_type: the old entity type is not in the fschema due to schema deserialization trick
Tue, 17 Aug 2010 15:25:29 +0200 cleanup stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:29 +0200] rev 6117
cleanup
Tue, 17 Aug 2010 15:25:17 +0200 [migration] fix rename_entity_type: avoid removal of attributes on the new entity type from the schema during migration stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:25:17 +0200] rev 6116
[migration] fix rename_entity_type: avoid removal of attributes on the new entity type from the schema during migration
Tue, 17 Aug 2010 15:23:59 +0200 [migration] we can now specify attributes to backport to rename_entity_type using its attrs argument stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:23:59 +0200] rev 6115
[migration] we can now specify attributes to backport to rename_entity_type using its attrs argument
Tue, 17 Aug 2010 15:22:57 +0200 [formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 Aug 2010 15:22:57 +0200] rev 6114
[formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans
(0) -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 +3000 tip