entity.py
Fri, 16 Mar 2012 10:29:15 +0100 Sylvain Thénault backport stable
Mon, 13 Feb 2012 17:44:44 +0100 Sylvain Thénault [entity url] rest path fallback should be the url used as cwuri. Closes #2186039 stable
Fri, 10 Feb 2012 16:53:52 +0100 Sylvain Thénault backport stable
Wed, 08 Feb 2012 14:22:48 +0100 Florent Cayré [entity] fix crash when using cw_instantiate with empty related entity list; closes #2094462 stable
Mon, 23 Jan 2012 13:25:02 +0100 Sylvain Thénault [vreg] move base registry implementation to logilab.common. Closes #1916014
Fri, 21 Oct 2011 14:32:37 +0200 Julien Cristau Record a log of datafeed source imports (closes #2026097)
Fri, 21 Oct 2011 14:32:37 +0200 Sylvain Thénault [diet] drop pre 3.6 API compatibility (but attempt to keep data cmopatibility). Closes #2017916
Thu, 20 Oct 2011 16:03:51 +0200 Florent Cayré [entity] restrict creation form field vocabulary using __linkto information (closes #1799997)
Mon, 17 Oct 2011 19:27:54 +0200 Sylvain Thénault [entity related rql] 'is' relation target constant should have 'etype' type, not String
Mon, 17 Oct 2011 15:08:25 +0200 Sylvain Thénault [entity] fix dumb name error introduced by 3.14 entity refactoring
Fri, 07 Oct 2011 11:59:20 +0200 Sylvain Thénault backport stable
Thu, 06 Oct 2011 16:14:08 +0200 Sylvain Thénault [request, ui] printable_value is now a method of request, and may be given dict of formatters to use (closes #1984743)
Thu, 06 Oct 2011 10:09:42 +0200 Sylvain Thénault [xml/rdf views] handle case where the user hasn't read access to a relation (closes #1984598) stable
Tue, 04 Oct 2011 12:23:52 +0200 Sylvain Thénault backport stable
Fri, 30 Sep 2011 18:05:57 +0200 Alexandre Fayolle fix typo in comment stable
Tue, 27 Sep 2011 18:47:11 +0200 Adrien Di Mascio [views] implement json / jsonp export views (closes #1942658)
Thu, 22 Sep 2011 16:12:28 +0200 Sylvain Thénault [entity] rename Entity._rest_attr_info into cw_rest_attr_info (closes #1942759)
Thu, 22 Sep 2011 16:12:23 +0200 Sylvain Thénault [entity] upgrade fetch_[unrelated_]order to benefit from changes introduced in 3.14 (closes #1942758)
Wed, 21 Sep 2011 17:38:44 +0200 Sylvain Thénault [entity doc] fix typo (rest_var instead of rest_attr) and cleanup doc
Fri, 16 Sep 2011 14:01:17 +0200 Sylvain Thénault some minor cleanups
Fri, 16 Sep 2011 10:36:46 +0200 Florent Cayré [entity fetchattrs] also fetch ambiguous rtypes even if we do not recurse on them (closes #1720823)
Thu, 15 Sep 2011 16:40:52 +0200 Florent Cayré refactor entity fetch_rql method to use a RQL syntax tree instead of RQL strings ; closes #1585650
Tue, 26 Jul 2011 19:34:43 +0200 Adrien Di Mascio [entities] skip_copy_for should be considered for object relations too (closes #1857474)
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
less more (0) -120 tip