Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:57:25 +0200] rev 7543
[ms, entity metas] add 'actual source' to entities table / base entity metadata cache. Closes #1767090
this is needed since for entities from 'copy based sources' such as
datafeed, we want entity.cw_metainformation() to return as 'source'
the datafeed source, not the system source (ie the source where the
entity is actually stored).
For both performance and bootstraping reasons, we should store this
information in the `entities` table and in the _type_source cache.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:52:19 +0200] rev 7542
fix 3.13.0 migration script (closes #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 10:44:43 +0200] rev 7541
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 20 Jun 2011 14:49:00 +0200] rev 7540
fix 3.12.0 migration script (closes: #1766202)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 19:13:38 +0200] rev 7539
[test] update to 3.13 api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Jun 2011 12:55:40 +0200] rev 7538
[migration] when there are no data migration needed, we still want to rewrite the configuration and to restart the server. Closes #1760927
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sat, 18 Jun 2011 23:27:23 +0200] rev 7537
[migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:53:33 +0200] rev 7536
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:51:01 +0200] rev 7535
[rqlrewrite] test and fix rql snippets insertion when several snippets match an optional variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:50:13 +0200] rev 7534
[datafeed, cw.xml] xml now carry entity's source information, interpreted at the other end so that for instance when an entity from elo is seen when importing cwo, it's properly marked as coming from elo source if one exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 18:49:55 +0200] rev 7533
[datafeed] actually raise on error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:36:52 +0200] rev 7532
[python 2.5] compat fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 16:13:33 +0200] rev 7531
[datafeed, cwxml] parser now try to complete source's urls so one can add url such as <myinstance>/project. Closes #1759908
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 09 Jun 2011 16:41:41 +0200] rev 7530
[server] fix unicode conversion capability in UndoException
By overriding the __unicode__ method, we ensure unicode builtin will return
Unicode object even for python versions that don't have a __unicode__ method by
default (python < 2.6)
In previous versions, when this method is not defined, string conversion is
attempted, and the result of string conversion is converted to Unicode using
the system default encoding which is ascii the most of the time.
Julien Jehannet <julien.jehannet@logilab.fr> [Thu, 16 Jun 2011 12:31:27 +0200] rev 7529
[book] add autoload section from code and fix sphinx warnings
* drop misleading faq entry since clear explanation can be found in internationalization chapter
* use autodata sphinx directive instead of raw text
* fill empty chapter with autodoc:
- devweb/httpcaching.rst
- devweb/resource.rst
- devweb/views/idownloadable.rst
- devweb/views/wdoc.rst
* use shebang in excerpt to denote shell code
* fix some bad indented docstrings in javascript files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 17 Jun 2011 09:37:49 +0200] rev 7528
[controller] fix wrong view name when error occurs in UndoController
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:46:39 +0200] rev 7527
[datafeed] renaming parser attribute to parser_id makes things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:38:28 +0200] rev 7526
cleanup and assert we don't import unexpected stuff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 19:37:59 +0200] rev 7525
[source config] fix synchronization on configuration entity changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 17:02:50 +0200] rev 7524
[ui, sources] configure source form: hide synchronizing and mapping entities, use simple text input for parser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:52:05 +0200] rev 7523
[rql annotation] fix bad invariant variable w/ has_text relation: this is only true when has_text will be used as principal (though we don't know that yet)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:58 +0200] rev 7522
[test] update to new db handler api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:16:22 +0200] rev 7521
[querier] turn remove_clauses/restore_clauses into a context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 15:15:25 +0200] rev 7520
[devtools pg handler] some fixes so we get proper error when pg host is not reachable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 16 Jun 2011 11:29:31 +0200] rev 7519
[rdf] add method so one can call entity.view('rdf')
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:22:05 +0200] rev 7518
[web test] fix unittest_web
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:19:36 +0200] rev 7517
[ajax edition] freeze form button when calling validateForm, so it freeze nicely for e.g. comment submitting form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 19:15:55 +0200] rev 7516
[web page tracking] fix bug introduced by parent revision
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:34:23 +0200] rev 7515
closes #1484510: ajax_replace_url should propagate page id (until an underlying api does it automatically
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:16:19 +0200] rev 7514
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:14:40 +0200] rev 7513
[repo integrity] test and fix glob add relation where several entities are added at once for a relation of 1? cardinality
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 17:13:26 +0200] rev 7512
[packaging] Build the cubicweb-documentation package
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 17:09:44 +0200] rev 7511
[breadcrumbs] closes #1717489: Double escaping in breadcrumbs
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jun 2011 12:48:04 +0200] rev 7510
[donc] Fix building the cubicweb js documentation
Avoids errors such as:
Exception: Bad file id cubicweb.lazy referenced in INDEX_IN_ORDER in ../../../doc/tools/pyjsrest.py, fix this please
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:22 +0200] rev 7509
add an XXX
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 15 Jun 2011 12:41:06 +0200] rev 7508
fix 3.10 cwproperties migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:25 +0200] rev 7507
fix failures introduced by recent refactoring
* * *
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 22:54:20 +0200] rev 7506
[testlib, realdb] we should close connections prior to create a new db using current db as template
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:40 +0200] rev 7505
[migration] this is needed to avoid pb with yams 0.33 / cw < 3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 17:15:39 +0200] rev 7504
[sync schema hooks] consider etype name map before trying to update in-memory schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:10 +0200] rev 7503
[repository] refactor and optimize '?1' relation handling
* only skip auto remove if activeintegrity is explicitly disabled
* do it even for inlined relation, so hooks are properly called
* on entity creation, only cleanup what's needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7502
[session] deprecates schema_rproperty in favor of more optimized rtype_eids_rdef which return the rdef (so reusable to gather other data)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 15:37:09 +0200] rev 7501
[repository] refactor/cleanup entity deletion methods
* kill unused Repository.delete_info_multi (no leading _)
* kill unnecessary system_source.delete_info (almost no benefit over
delete_info_multi)
* stop giving entities list *and* extid list, gather them from
the entity when needed
* move pending eids handling into glob_delete_entities, so one can
call it directly without worrying about that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:46:36 +0200] rev 7500
[repository] new hook selector according to configuration's repairing flag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 13:43:36 +0200] rev 7499
[pyrorql] don't display traceback on connection error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 14 Jun 2011 11:54:41 +0200] rev 7498
[data hook] new .union operation on DataOperationMixIn, only when container is a set, not a list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 11 Jun 2011 09:22:25 +0200] rev 7497
[rql2sql] add test case for 7493:3c46b9390871
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:41:41 +0200] rev 7496
backport stable