entity.py
Wed, 22 Jun 2011 18:53:36 +0200 Sylvain Thénault [datafeed, entities] url for entities from a datafeed source should be on their origin site. Closes #1769391
Tue, 21 Jun 2011 10:57:25 +0200 Sylvain Thénault [ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
Wed, 15 Jun 2011 17:16:19 +0200 Sylvain Thénault backport stable
Wed, 15 Jun 2011 12:41:22 +0200 Sylvain Thénault add an XXX stable
Wed, 25 May 2011 10:59:26 +0200 Sylvain Thénault backport stable
Wed, 25 May 2011 08:35:20 +0200 Florent Cayré [entity fetch_attrs] remove ambiguous relations on different etypes from fetched attrs or it may produce wrong related results; closes #1700896 stable
Fri, 13 May 2011 10:10:19 +0200 Sylvain Thénault backport stable
Fri, 13 May 2011 10:09:54 +0200 Sylvain Thénault [entity] fix cw_instantiate w/ reverse_ relation crash when either multiple entities are given or an eid instead of an entity stable
Thu, 05 May 2011 15:28:24 +0200 Sylvain Thénault backport stable
Thu, 05 May 2011 10:38:23 +0200 Nicolas Chauvat [entity] make set_relations() accept entities and eids (closes #1631391) stable
Wed, 04 May 2011 12:25:50 +0200 Adrien Di Mascio backport stable
Wed, 04 May 2011 10:32:15 +0200 Florent Cayré [entity] fix entity fetch_rql when fetch_attrs contains a rtype with multiple destination etypes which do not have the same fetched attributes themselves (closes #1631282) stable
Mon, 02 May 2011 15:59:30 +0200 Sylvain Thénault backport stable
Mon, 02 May 2011 15:06:20 +0200 Sylvain Thénault [entity 3.13 api] rename clear_all_caches into cw_clear_all_cache
Fri, 29 Apr 2011 19:31:25 +0200 Nicolas Chauvat merge changes from oldstable stable
Fri, 29 Apr 2011 19:29:22 +0200 Nicolas Chauvat [entity] improve error message oldstable
Fri, 22 Apr 2011 12:17:51 +0200 Alexandre Fayolle Backed out changeset 7a58581d842c
Thu, 14 Apr 2011 14:18:46 +0200 Sylvain Thénault [entity] create_entity/cw_instantiate should initialize entity's cache to avoid later queries
Wed, 13 Apr 2011 11:03:42 +0200 Sylvain Thénault backport stable
Wed, 13 Apr 2011 08:38:24 +0200 Aurelien Campeas [entities] fix cw_instantiate typo stable
Tue, 12 Apr 2011 13:05:16 +0200 Sylvain Thénault [entity] use a list comprehension stable
Mon, 11 Apr 2011 20:43:30 +0200 Nicolas Chauvat merge changes from stable branch
Fri, 08 Apr 2011 09:02:55 +0200 Sylvain Thénault [entity creation] ensure this is a relation and not an attribute before moving things into pending_relations because value is a list stable
Tue, 05 Apr 2011 12:48:53 +0200 Sylvain Thénault [entity vocab] fix bug introduced in 3.12 vs/ entity vocabulary, leading to some unexpected empty vocabulary. Fix test accordingly.
Thu, 31 Mar 2011 15:23:52 +0200 Sylvain Thénault [entity vocabulary] refactor unrelated rql to allow usage of RQLRewriter to insert schema constraints. Closes #1561806
Thu, 31 Mar 2011 15:23:50 +0200 Sylvain Thénault [entity vocabulary] fix unrelated rql generation to skip rql constraints that don't make sense
Thu, 31 Mar 2011 15:23:46 +0200 Sylvain Thénault [schema, refactoring] use RQLExpression as base class for RQL constraint classes
Wed, 30 Mar 2011 11:08:15 +0200 Sylvain Thénault [rql rewriter] to properly handle 'relation' rql expressions, rql rewriter must support multiple variables (eg S and O) at once to be given as varmap stable
Wed, 09 Feb 2011 18:04:04 +0100 Sylvain Thénault [doc] update some copyrights stable
Wed, 12 Jan 2011 15:19:10 +0100 Sylvain Thénault typo in deprecation warning stable
Tue, 11 Jan 2011 17:08:52 +0100 Sylvain Thénault [cleanup] pylint detected error (among a ton of false positives due to the dynamic nature of cubicweb's code...) stable
Fri, 07 Jan 2011 15:21:54 +0100 Sylvain Thénault [deprecation] fix bad warning on entity.querier_pending_relations stable
Wed, 27 Oct 2010 20:29:28 +0200 Sylvain Thénault [ms entity] proper error on external entity fetch error
Fri, 15 Oct 2010 11:25:59 +0200 Sylvain Thénault [deprecation] enhanced messages
Fri, 15 Oct 2010 11:25:51 +0200 Sylvain Thénault [bw compat] fix compat for entity.attr assigment
Wed, 13 Oct 2010 07:45:18 +0200 Sylvain Thénault [entity, repo] move prefill_entity_cache function back to repository due to usage of del_existing_rel_if_needed function which is also defined there
Tue, 12 Oct 2010 23:34:55 +0200 Sylvain Thénault [repo, entity] move entity cache initialization to a function, and call it before source.add_entity so it may be used in error handler or such
Sat, 09 Oct 2010 00:05:49 +0200 Sylvain Thénault backport stable
Fri, 08 Oct 2010 13:12:14 +0200 Sylvain Thénault typo stable
Thu, 23 Sep 2010 23:28:58 +0200 Sylvain Thénault backport stable
Thu, 23 Sep 2010 10:48:43 +0200 Sylvain Thénault [entity, url] we should not set base_url in kwargs when actually unset stable
Wed, 22 Sep 2010 18:18:29 +0200 Sylvain Thénault [entity] fix typo in absolute_url method, breaking some code w/ control of absolute url of external entities stable
Thu, 16 Sep 2010 18:56:35 +0200 Sylvain Thénault backport stable into default
Thu, 16 Sep 2010 11:30:09 +0200 Sylvain Thénault [entity] give ordermethod=None to fetch_rql to tell you don't want a specific order stable
Wed, 25 Aug 2010 10:29:18 +0200 Sylvain Thénault [session] cleanup hook / operation / entity edition api
Fri, 20 Aug 2010 08:16:03 +0200 Sylvain Thénault [ms] when entity is coming from an external source, don't add non final relations on complete stable
Wed, 11 Aug 2010 18:11:32 +0200 Sylvain Thénault fix bug introduced by 6098:a0fde9334dd0 stable
Wed, 11 Aug 2010 15:54:44 +0200 Alexandre Fayolle work around Apache's mod_proxy limitation with special chars in URLs by not using Rest urls when such a case is detected stable
Wed, 11 Aug 2010 16:17:05 +0200 Sylvain Thénault [entity] base_url argument may be explicitly specified for other purpose (eg http/https site version control) stable
Tue, 10 Aug 2010 14:20:21 +0200 Sylvain Thénault [entity] entity.view now support initargs as req.view stable
Fri, 16 Jul 2010 11:39:28 +0200 Sylvain Thénault [entity] fix setdefault implementation: should return actual value
Fri, 02 Jul 2010 17:49:23 +0200 Sylvain Thénault restore bw compat on Entity.related_rql
Fri, 18 Jun 2010 18:31:22 +0200 Sylvain Thénault [entity] fix .complete so we don't crash on missing mandatory relation. Also simplify code. Closes #1058267
Wed, 16 Jun 2010 14:51:17 +0200 Sylvain Thénault backport stable
Wed, 16 Jun 2010 09:53:17 +0200 Sylvain Thénault [entity] when .related() is called on a not-yet-saved entity, return an empty rset/list instead of raising an assertion error stable
Fri, 11 Jun 2010 14:59:08 +0200 Sylvain Thénault backport stable
Fri, 11 Jun 2010 13:00:19 +0200 Sylvain Thénault cleanup stable cubicweb-version-3.8.4
Fri, 11 Jun 2010 08:39:21 +0200 Sylvain Thénault [entity] add .clear() for bw compat
Fri, 11 Jun 2010 07:58:52 +0200 Sylvain Thénault [json] fix json serialization for recent simplejson implementation, and test encoding of entities
Fri, 21 May 2010 18:39:40 +0200 Sylvain Thénault [entity] clearing adapters cache in clear_relations_cache avoid weird caching issue, notably on repository session's user
Fri, 21 May 2010 07:56:39 +0200 Sylvain Thénault [entity] fix access to attribute which has been renamed two revisions ago
Thu, 20 May 2010 20:50:00 +0200 Sylvain Thénault [entity] continue cleanup of Entity/AnyEntity namespace
Thu, 20 May 2010 20:47:55 +0200 Sylvain Thénault [entity] introduce a new 'adapters' registry
Wed, 12 May 2010 13:12:03 +0200 Sylvain Thénault [entity] avoid getting w in cw_extra_kwargs when calling .view stable
Wed, 28 Apr 2010 12:24:20 +0200 Sylvain Thénault backport oldstable changes stable
Wed, 28 Apr 2010 12:15:52 +0200 Sylvain Thénault replace logilab-common by CubicWeb in disclaimer oldstable
Wed, 28 Apr 2010 12:14:22 +0200 Sylvain Thénault backport default into stable: stable is now cw 3.8
Wed, 28 Apr 2010 10:06:01 +0200 Sylvain Thénault proper licensing information (LGPL-2.1). Hope I get it right this time. stable
Mon, 19 Apr 2010 13:52:55 +0200 Sylvain Thénault backport stable
Fri, 16 Apr 2010 19:45:11 +0200 Adrien Di Mascio [json] provide a custom json encoder for entities that includes eid in the json object stable
Fri, 09 Apr 2010 15:10:26 +0200 Sylvain Thénault backport stable
Fri, 09 Apr 2010 15:07:01 +0200 Sylvain Thénault [entity] move req.create_entity content to a cw_instantiate factory method on entity classes, so cube developpers will be able to easily customize instance creation stable
Wed, 07 Apr 2010 14:26:35 +0200 Sylvain Thénault #759035: Automate addition of eid cachekey in RQL analysis
Fri, 02 Apr 2010 17:27:53 +0200 Aurelien Campeas [doc/book] a new chapter on how to use the ORM stable
Thu, 01 Apr 2010 08:24:11 +0200 Sylvain Thénault [entity] explain why the assert failed stable
Wed, 31 Mar 2010 14:46:04 +0200 Sylvain Thénault [repository] forbid usage of set_attributes() in before_add_entity stable
Thu, 25 Mar 2010 13:42:17 +0100 Sylvain Thénault [entity] we also have to override dict.pop to properly maintain edited_attributes consistency stable
Wed, 24 Mar 2010 13:51:52 +0100 Sylvain Thénault [entity] fix dumb name error on .set_relations(rel=None) stable
Wed, 24 Mar 2010 13:40:53 +0100 Sylvain Thénault [security] don't add attribute into skip_security if already in edited_attributes, else we may accidentaly skip a desired security check stable
Wed, 24 Mar 2010 11:15:57 +0100 Sylvain Thénault [repo entity] we have to provide a __delitem__ implementation as well, see example in the docstring stable
Wed, 24 Mar 2010 11:00:51 +0100 Sylvain Thénault [yams] on creation, specify relations anyway so we don't get spurious warning for accessing eid through the dict api on yams validation stable
Mon, 22 Mar 2010 17:58:03 +0100 Sylvain Thénault fix security issue introduced by 4967:04543ed0bbdc: attributes explicitly set by hooks should not be checked by security hooks
Fri, 19 Mar 2010 19:24:34 +0100 Adrien Di Mascio [source] only consider edited_attributes in source.preprocess_entity()
Mon, 01 Mar 2010 11:26:14 +0100 Katia Saurfelt server/web api for accessing to deleted_entites
Tue, 09 Mar 2010 12:07:16 +0100 Sylvain Thénault [refactor] drop rset.vreg attribute, vreg should be accessed through rset.req. Also kill decorate_rset, simply set rset.req where we were calling this method.
Tue, 09 Mar 2010 11:54:27 +0100 Sylvain Thénault rename logilab.db into logilab.database
Tue, 09 Mar 2010 08:59:43 +0100 Sylvain Thénault [repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Mon, 08 Mar 2010 17:57:29 +0100 Sylvain Thénault [repo] use logilab.db instead of lgc.adbh/lgc.db/lgc.sqlgen/indexer, test new date extranction functions
Thu, 04 Mar 2010 18:02:33 +0100 Sylvain Thénault [fti] refactor and fix full text indexation handling stable
Wed, 03 Mar 2010 17:42:19 +0100 Sylvain Thénault cleanups stable
Fri, 26 Feb 2010 13:19:14 +0100 Sylvain Thénault kill dead/useless code as suggested by pylint stable
Thu, 18 Feb 2010 12:52:34 +0100 Sylvain Thénault fix #694445: related entity generates weird RQL which in turn generates weird SQL which fails on SQL Server stable
Fri, 05 Feb 2010 08:11:32 +0100 Sylvain Thénault clear rest_path __unique cache in clear_all_caches, fix related test
Thu, 04 Feb 2010 10:17:15 +0100 Adrien Di Mascio misc typos found on my way: NameError / SyntaxError / double __select__, <sigh ...>
Wed, 03 Feb 2010 14:46:32 +0100 Sylvain Thénault backport stable
Fri, 29 Jan 2010 16:54:49 +0100 Sylvain Thénault [entity] small optimization: once an entity has been completed, don't redo it (for nothing) stable
Fri, 29 Jan 2010 16:45:18 +0100 Sylvain Thénault [entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs stable
Tue, 26 Jan 2010 13:27:40 +0100 Sylvain Thénault cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Mon, 18 Jan 2010 19:21:30 +0100 Sylvain Thénault backport stable branch
Thu, 07 Jan 2010 16:52:32 +0100 Adrien Di Mascio update copyright: welcome 2010 stable
Tue, 08 Dec 2009 17:48:26 +0100 Sylvain Thénault 3.5 api update
Tue, 08 Dec 2009 10:58:56 +0100 Sylvain Thénault drop common subpackage
Thu, 03 Dec 2009 17:17:43 +0100 Sylvain Thénault backport stable into default
Wed, 02 Dec 2009 11:53:25 +0100 Sylvain Thénault fix RQLUniqueConstraint behaviour by using a DISTINCT query and allowing stable
Tue, 01 Dec 2009 12:03:42 +0100 Sylvain Thénault support x.set_relations(a_relation=None) to delete a_relation relations from this entity stable
Fri, 27 Nov 2009 09:08:54 +0100 Sylvain Thénault fix nasty pluggable mixins bug, where mixins take precedence other user class stable
Fri, 20 Nov 2009 19:35:54 +0100 Sylvain Thénault backport stable branch (one more time painfully)
Thu, 19 Nov 2009 12:55:47 +0100 Sylvain Thénault reldefsecurity branch : reldefsecurity
Thu, 12 Nov 2009 12:15:19 +0100 Sylvain Thénault close #511810: bad rql generated when looking for vocabulary for a relation on an entity which doesn't exist (yet) stable
Wed, 21 Oct 2009 17:32:20 +0200 Sylvain Thénault backport stable branch
Tue, 20 Oct 2009 13:00:31 +0200 Sylvain Thénault accepts single values as create_entity stable
Mon, 19 Oct 2009 15:16:41 +0200 Sylvain Thénault backport stable
Thu, 15 Oct 2009 20:29:21 +0200 Sylvain Thénault follow yams 0.25 api changes to improve performance stable
Thu, 15 Oct 2009 12:10:48 +0200 Alexandre Fayolle fix related_rql when target_type specified stable
Thu, 15 Oct 2009 11:54:05 +0200 Sylvain Thénault oops stable
Thu, 15 Oct 2009 11:39:41 +0200 Sylvain Thénault only copy when necessary stable
Thu, 15 Oct 2009 10:31:54 +0200 Sylvain Thénault backport stable branch
Thu, 15 Oct 2009 10:13:52 +0200 Sylvain Thénault [entity] make related_rql honors its targettypes argument stable
Wed, 14 Oct 2009 17:45:49 +0200 Sylvain Thénault new set_relations method on entity stable
Wed, 14 Oct 2009 12:49:20 +0200 Sylvain Thénault fix clear_all_cache: ensure we don't remove eid from entity's dict stable
less more (0) -120 tip