Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 09:50:20 +0200] rev 5576
[deprecation] fix 3.9 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 09:50:12 +0200] rev 5575
no more Image type w/ cw 3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 18:40:26 +0200] rev 5574
[fti] fix name conflict introduced by the new IFTIAdapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 18:39:40 +0200] rev 5573
[entity] clearing adapters cache in clear_relations_cache avoid weird caching issue, notably on repository session's user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:06:29 +0200] rev 5572
[vreg] should raise exception on select ambiguity when running in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:05:44 +0200] rev 5571
[adapters compat] make implements_adapter_compat selector compatible with attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:04:56 +0200] rev 5570
[test] no more Image type w/ cw 3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:04:29 +0200] rev 5569
[adapters] refactoring fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:56 +0200] rev 5568
[selectors] ensure selector return an int
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:42 +0200] rev 5567
[selectors] adaptable selector should not accept None in rset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:14 +0200] rev 5566
[selectors] lltrace appobject_selectable selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:01:46 +0200] rev 5565
[selectors] allow to override `accept_none` value of EClassSelector / EntitySelector based selector by specifying a value in selection context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:00:01 +0200] rev 5564
[selectors] move lltrace decorator and traced_selection cm to appobject module so we can apply lltrace to And/Or/Not selectors, fixing #662565
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:35:08 +0200] rev 5563
with cw 3.9, no more Image type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:34:52 +0200] rev 5562
[vreg] on registration completed, don't crash if an object depends on an unexistant registry, simply kick the object out
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:34:03 +0200] rev 5561
[selectors] ensure adaptable('IDownloadable') takes precedence over implements('Any')
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 08:45:25 +0200] rev 5560
[primary view] fix name error on dispctrl w/ pre 3.5 box definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 07:56:39 +0200] rev 5559
[entity] fix access to attribute which has been renamed two revisions ago
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:50:03 +0200] rev 5558
[schema migration] make some stuff to ease file 1.9 migration : we want to kill the Image entity so that existing image are turned into (existing entity type) File entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:50:00 +0200] rev 5557
[entity] continue cleanup of Entity/AnyEntity namespace
* prefix by cw_ or _cw all '2nd zone' attributes / methods, other
most commonly used will be done later (some methods used by client
are made private anyway when they are for internal purpose anyway)
* kill set_eid, use direct affectation instead
* kill the auto-transmutation feature (pre_add_hook), hence releasing
3.9 will require releasing file cube as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:47:55 +0200] rev 5556
[entity] introduce a new 'adapters' registry
This changeset introduces the notion in adapters (as in Zope Component Architecture)
in a cubicweb way, eg using a specific registry of appobjects.
This allows nicer code structure, by avoid clutering entity classes and moving
code usually specific to a place of the ui (or something else) together with the
code that use the interface.
We don't use actual interface anymore, they are implied by adapters (which
may be abstract), whose reg id is an interface name.
Appobjects that used to 'implements(IFace)' should now be rewritten by:
* coding an IFaceAdapter(EntityAdapter) defining (implementing if desired)
the interface, usually with __regid__ = 'IFace'
* use "adaptable('IFace')" as selector instead
Also, the implements_adapter_compat decorator eases backward compatibility
with adapter's methods that may still be found on entities implementing
the interface.
Notice that unlike ZCA, we don't support automatic adapters chain (yagni?).
All interfaces defined in cubicweb have been turned into adapters, also
some new ones have been introduced to cleanup Entity / AnyEntity classes
namespace. At the end, the pluggable mixins mecanism should disappear in
favor of adapters as well.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:47:13 +0200] rev 5555
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:45:28 +0200] rev 5554
[config] move web specific config to the web section of the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:45:21 +0200] rev 5553
* * *
[server] move daemonize code to lgc.daemon. Fix on the way pb w/closed standard output on repository config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:55:33 +0200] rev 5552
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:41:36 +0200] rev 5551
[migration] fix storage_change migraction to avoid exhausting the server's memory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:40:57 +0200] rev 5550
[repo] set log methods on the actually desired class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:40:33 +0200] rev 5549
[bfss] ensure base name doesn't contain path separator