Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Jun 2011 12:31:55 +0200] rev 7548
[datafeed] catch all exception, we should continue to process other urls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 17:49:32 +0200] rev 7547
fix 3.13.1 migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7546
Added tag cubicweb-debian-version-3.12.7-1 for changeset a07517985136
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 15:34:15 +0200] rev 7545
Added tag cubicweb-version-3.12.7 for changeset 628fe57ce746
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 21 Jun 2011 14:47:24 +0200] rev 7544
3.12.7
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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:17 +0200] rev 7495
[hooks] use local variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 17:21:11 +0200] rev 7494
[integrity hooks] remove dead code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 16:54:20 +0200] rev 7493
[rql2sql] fix for some queries where eid variable used and entities picked as variable's table
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 10 Jun 2011 15:35:59 +0200] rev 7492
[js] add missing jquery.qtip.min.js
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:47 +0200] rev 7491
Added tag cubicweb-debian-version-3.13.0-1 for changeset a96137858f57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 10 Jun 2011 08:04:46 +0200] rev 7490
Added tag cubicweb-version-3.13.0 for changeset b661ef475260
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 20:18:49 +0200] rev 7489
3.13
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 18:13:14 +0200] rev 7488
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7487
Added tag cubicweb-debian-version-3.12.6-1 for changeset 105767487c70
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:56:03 +0200] rev 7486
Added tag cubicweb-version-3.12.6 for changeset a18dac758150
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:10:22 +0200] rev 7485
3.12.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 16:09:23 +0200] rev 7484
[repo test] fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 09 Jun 2011 15:29:55 +0200] rev 7483
[doc, apache] add ProxyPreserveHost hint + note about https /w http configuration
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 09 Jun 2011 14:37:32 +0200] rev 7482
[doc] Small addition to apache configuration in book
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:31:28 +0200] rev 7481
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 12:27:35 +0200] rev 7480
[parsers] format read by web/views/xmlrss is relation=%s-%s not %s_%s
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 09 Jun 2011 12:16:10 +0200] rev 7479
[sql] implement #1631319: ask user before creating postgresql languages
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:32:34 +0200] rev 7478
[parsers] improve url construction by using stdlib's urllib instead of str concatenation
fix a s/_/-/ bug on the way.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 09 Jun 2011 12:20:57 +0200] rev 7477
[bfss] Catch EnvironmentError instead of OSError when trying to read attributes bffstored
This will also catch IOError (as file not found) that might be encountered expectable too.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:37:01 +0200] rev 7476
merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 09 Jun 2011 10:36:28 +0200] rev 7475
[views/iprogress] rename to make things easier to read and understand
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:10:39 +0200] rev 7474
[datafeed cwxml parser] cache processed urls/entities to avoid unnecessary http requests and processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 17:08:00 +0200] rev 7473
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 08 Jun 2011 15:11:45 +0200] rev 7472
[rql2sql] fix missing sql restriction w/ attribute restriction where value comes from a subquery
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 16:07:06 +0200] rev 7471
[dataimport] fix #1732685: cached entity and shared cw_edited data with NoHookRQLObjectStore
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 12:54:45 +0200] rev 7470
[parsers] fix python2.5 compat problem introduced by 7466:395c966a1cb3
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 26 May 2011 14:38:49 +0200] rev 7469
[test] update cubicweb/test/unittest_schema.py (to follow yams#.....)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 07 Jun 2011 10:17:36 +0200] rev 7468
[server] fix NameError (missing VIRTUAL_RTYPES import) in checkintegrity.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 10:07:58 +0200] rev 7467
[schema] fix computing of has_text relation: when a fulltext_container relation is added, we need to recompute has_text for the target entity type as well. Also, avoid computation when not needed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 07 Jun 2011 10:03:31 +0200] rev 7466
[parsers] remove build_search_rql() that duplicates find_entities()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Jun 2011 08:02:11 +0200] rev 7465
[vreg] help understanding assertion error
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 19:54:37 +0200] rev 7464
[datetime] by default display 'UTC' string when displaying TZDatetime
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 17:44:43 +0200] rev 7463
[test] update test to avoid failure
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 16:33:21 +0200] rev 7462
[web] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:19:19 +0200] rev 7461
[datafeed] fix stupid error introduced by 'just before qfinish' refactoring...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 16:13:09 +0200] rev 7460
[schema] support for BigInt type. Closes #1720995
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:52:53 +0200] rev 7459
[test,i18n] update test and i18n catalog to follow addition of 'synchronizing' attribute on sources
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:44:48 +0200] rev 7458
[i18n] update yams error messages (requires yams#67668)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:21:24 +0200] rev 7457
[datafeed] provide a source-sync command to launch source synchronization through the command line. Closes #1725692
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:17:55 +0200] rev 7456
[datafeed] use a boolean flag on CWSource to ensure we don't have concurrent synchronizations. Closes #1725690
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 06 Jun 2011 15:11:29 +0200] rev 7455
[views] add columns parser and latest_retrieval to cwsource admin view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 15:03:00 +0200] rev 7454
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:58 +0200] rev 7453
Fix name error introduced in c21d845836e4
c21d845836e4 use a ``vocab`` variable but doesn't define it. I assumed ``vocab`` is
``field.vocabulary(form)``.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 06 Jun 2011 15:00:05 +0200] rev 7452
Fix conditionnal logic broken in 195b24fe3a03
195b24fe3a03 replace:
if not req.cnx:
by
if getattr(req, 'cnx', True):
The "not" diseapeared in the process.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 06 Jun 2011 14:41:00 +0200] rev 7451
[session] provide a simple transaction context manager for session. Closes #1725640
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 01 Jun 2011 10:20:58 +0200] rev 7450
[formwidgets] make the select size a class attribute (more easily tuned)
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 30 May 2011 16:16:19 +0200] rev 7449
[bfss] Make ``current_fs_path`` return None when an attribute has no value
current_fs_path was returning the future fspath when no value was defined.
* This does not make any sense
* This tricks the storage into believing that updating the attribute content is
not necessary. The file was written but the attributes was not updated. as a
result the assignement was not made.
(close #1725446)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 30 May 2011 17:43:29 +0200] rev 7448
[selectors] take care, Session has no cnx
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 13:57:25 +0200] rev 7447
don't crash if we can't fetch data or if xml is malformed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 11:17:02 +0200] rev 7446
[datafeed] extract some methods from pull_data to ease writing custom datafeed sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 May 2011 09:56:26 +0200] rev 7445
drop useless code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:55 +0200] rev 7444
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 18:24:41 +0200] rev 7443
[datafeed] we should use utc timestamp to avoid pb with local times
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:57:15 +0200] rev 7442
[test] fix failure introduced by yams'changeset 644:f9c79356b758
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:32:15 +0200] rev 7441
[testlib] add convenience assertion method to check __message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 26 May 2011 08:12:42 +0200] rev 7440
[test] fix failure introduced by 1719eab69551: the regexp should be fixed, not the error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 18:46:09 +0200] rev 7439
[web test] fix test failures introduced by 7431:cab99ccdb774
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 14:14:08 +0200] rev 7438
backport stable changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 14:08:29 +0200] rev 7437
[ui message] fix regression introduced by 7429:ef5165fa99e0, leading to 'None' message displayed in the ui
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:39:08 +0200] rev 7436
backport stable changes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 13:36:25 +0200] rev 7435
[json controller] fix .exception call msg format string (missing one slot)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 12:35:33 +0200] rev 7434
[test] fix tests broken by 7427:5338d895b891
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:42:31 +0200] rev 7433
merge default heads
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 25 May 2011 11:41:16 +0200] rev 7432
[ui messages, xss] Start migration towards use of _msgid instead of __message (prone to XSS injection) closes #1698245
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:40:10 +0200] rev 7431
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 11:39:54 +0200] rev 7430
[ui messages] make application message component works when request has no cnx set and support for explicit message given through render argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:59:26 +0200] rev 7429
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 10:58:43 +0200] rev 7428
[web session] fix session handling so we get a chance to have for instance the 'forgotpwd' feature working on a site where anonymous are not allowed
fix several pbs:
* we need a session id and a session cookie anyway, else subsequent http queries are unrelated
* this imply some changes in the session attribution workflow for session without a cnx
* some views/selectors must be fixed for cases where session has no cnx
On the way, avoid unnecessary Redirect on successful login.
closes #750543
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 25 May 2011 11:28:58 +0200] rev 7427
[ajax js/css] modconcat fix: load code exactly once (auc, fcayre)
* introduces cw.ajax namespace (currently hosts only recent modconcat functionality)
* handle load-one/load-many-at-once edge case
* properly handle already-loaded js resource
* avoid .appendTo to trigger script evaluation since from jquery 1.5 this results in uncached ajax calls
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 25 May 2011 08:51:45 +0200] rev 7426
[test] update test broken by previous commit
Florent Cayré <florent.cayre@gmail.com> [Wed, 25 May 2011 08:35:20 +0200] rev 7425
[entity fetch_attrs] remove ambiguous relations on different etypes from fetched attrs or it may produce wrong related results; closes #1700896
Arthur Lutz <arthur.lutz@logilab.fr> [Tue, 24 May 2011 10:33:43 +0200] rev 7424
typo : s/undoed/undone/
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 23 May 2011 11:36:43 +0200] rev 7423
[cwvreg] inline function dump_class()
Grepping the entire code base (cubicweb+all the known cubes) shows that
inlining this function is harmless: no one is using it.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 24 May 2011 08:56:55 +0200] rev 7422
[js/ajax] undeprecate (async)remoteExec. closes #1381205
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 24 May 2011 08:49:58 +0200] rev 7421
[rql2sql] closes #1697862: ORDERBY SUM(C) cancel GROUPBY by wrongly adding C to grouped variables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:35:09 +0200] rev 7420
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7419
Added tag cubicweb-debian-version-3.12.5-1 for changeset 6dfe78a0797c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 13:24:54 +0200] rev 7418
Added tag cubicweb-version-3.12.5 for changeset ae33197db1f0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:34:29 +0200] rev 7417
3.12.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 23 May 2011 10:28:03 +0200] rev 7416
i18nupdate
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:27:00 +0200] rev 7415
[views/table (facetform)] introduced in facetbox, was missing in tableview form filter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:22:30 +0200] rev 7414
[web.facet] self.w -> w
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 20 May 2011 19:09:01 +0200] rev 7413
[web/facet|views/table] bump a bit some heights, split table view methods for easier subclassing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:29:50 +0200] rev 7412
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:55 +0200] rev 7411
cleanup and update some copyright
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:33 +0200] rev 7410
[migractions] fix change_attribute_type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:27:15 +0200] rev 7409
[migractions] dropped_constraints should accept only droprequired without cstrtype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 20 May 2011 17:20:51 +0200] rev 7408
[form rendering] some refactoring to ease FormRenderer overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:49:57 +0200] rev 7407
[deprecation] drop remaining warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 18:48:26 +0200] rev 7406
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:46 +0200] rev 7405
[session] new methods on session to ease access to security/hooks control context managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:01 +0200] rev 7404
[workflow] new 'fire_transition_if_possible' method on IWorkflowable to fire a transition if it's possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 17:53:00 +0200] rev 7403
[workflow] new 'incontext-state' view for IWorkflowable entities
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 19 May 2011 16:39:24 +0200] rev 7402
[facets/table] vertically group facets by two when possible in order to have a more compact horizontal layout in table filter form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 15:56:49 +0200] rev 7401
[workflow] add method on IWorkflowable to set initial state of an entity (closes #1686357)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 11:50:54 +0200] rev 7400
[web test] fix test broken by making cw_source editable by managers
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:17 +0200] rev 7399
[multi-sources] support for moving an entity from an external source (closes #343818)
Original need is to move a user from a ldap source to the system source so
we can delete it from ldap without loosing information into the cubicweb
instance.
We can't wait for the user to be deleted from the ldap since it will be too
late then to get back user attributes, so it has to be a manual operation to
operate before actual deletion. This makes sense for other sources as well.
So the idea is to make the "Any cw_source CWSource" relation editable by
managers, and to watch changes of it. We then check the move is possible
(ie from an external source to the system source) and do necessary stuff
(essentially changing source information and copying data into the system
source).
Remaining pb is that we don't want the moved entity to be reimported later.
To distinguish this state, the trick is to change the associated record in
the 'entities' system table with eid=-eid while leaving other fields
unchanged, and to add a new record with eid=eid, source='system'. External
source will then have consider case where `extid2eid` return a negative eid
as 'this entity was known but has been moved, ignore it'.
Notice no ui is provided yet, it has currently to be done in a c-c shell.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:53:11 +0200] rev 7398
[repository api] definitly kill usage of word 'pool' to refer to connections set used by a session
Also document session's data storage and some other internals.
Hopefuly things will get clearer.
Closes #1684860: vocabulary confusion in repository code: notion of 'pool'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:36:26 +0200] rev 7397
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 10:35:20 +0200] rev 7396
[rql2sql] fix in 7394:d11d88bd08e8 was actually not needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:43:23 +0200] rev 7395
[rset] close #1683703: rset.get_entity crash on rql query with subquery and aggregat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 19 May 2011 09:40:44 +0200] rev 7394
[rql2sql] fix generated sql for eid comparison. closes #1638695
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:05:11 +0200] rev 7393
fix some deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 18 May 2011 16:04:47 +0200] rev 7392
[querier test] test groupby function call / column number
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 17 May 2011 07:37:13 +0200] rev 7391
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 21:41:50 +0200] rev 7390
[plot views] don't paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:25:33 +0200] rev 7389
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 16:24:00 +0200] rev 7388
[url rewriting] fix nasty bug in build_rset inner function: the same dictionary is used by all queries, hence triggering potentially important bugs on concurrent requests (this dictionary goes back and forth the repository)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 17:05:22 +0200] rev 7387
[hooks selection optimization] prune hooks when multiple entities are concerned by a hm.call_hooks() (closes: #1672022)
the idea is to make a first pass over all the hooks in the registry and to mark
put some of them in a disabled list. The disabled hooks are the one which:
* are disabled at the session level
* have a match_rtype or an is_instance selector which does not
match the rtype / etype of the relations / entities for
which we are calling the hooks. This works because the
repository calls the hooks grouped by rtype or by etype when
using the entities or eids_to_from keyword arguments
Only hooks with a simple selector or an AndSelector of simple
selectors (is_instance and match_rtype) are considered for disabling.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 11:36:42 +0200] rev 7386
[repo test] datafeed parser's process method should now take raise_on_error argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 16 May 2011 10:17:48 +0200] rev 7385
[datafeed] propagate raise_on_error to parser's process method
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 16 May 2011 10:19:22 +0200] rev 7384
[http] Make a better __repr__ for Status responce exception.
This help debug.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 13 May 2011 18:47:03 +0200] rev 7383
[schema] fix imprecise error message
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 13 May 2011 14:58:16 +0200] rev 7382
fix name error introduced in previous changeset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:51 +0200] rev 7381
[server test] restore logging level after test end
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 13:40:48 +0200] rev 7380
[web data] fix datadir handling to avoid web test failure introduced somewhere in default branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:42:04 +0200] rev 7379
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:41 +0200] rev 7378
[datafeed] extract a generic DataFeedXMLParser from CWEntityXMLParser
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:10:19 +0200] rev 7377
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:54 +0200] rev 7376
[entity] fix cw_instantiate w/ reverse_ relation crash when either multiple entities are given or an eid instead of an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 13 May 2011 10:09:52 +0200] rev 7375
[cw source ui] fix mapping checking for datafeed source (avoid false positive error, but doesn't check that much things)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 12 May 2011 10:22:17 +0200] rev 7374
[web request] don't define pageid js variable when one is found in form parameters (eg, page ajax call)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:03:16 +0200] rev 7373
[repo cache] there are some relations we don't want to cache, they may cause memory leak
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 19:02:27 +0200] rev 7372
[c-c shell] we should commit the migration handler, cnx is not None unless connected through pyro
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:06:41 +0200] rev 7371
[cwpermission, cwgroup] convenience method on CWGroup to grant a local permission (ie CWPermission) on an entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:05:59 +0200] rev 7370
[cleanup] kill some remaining traces of goa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 17:04:29 +0200] rev 7369
[c-c shell] closes #1669147: autocommit in maintenance scripts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:41:21 +0200] rev 7368
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:01 +0200] rev 7367
Added tag cubicweb-debian-version-3.12.4-1 for changeset 7c4d34a5ec57
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 13:39:00 +0200] rev 7366
Added tag cubicweb-version-3.12.4 for changeset 5cd0dbc26882
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:29:12 +0200] rev 7365
3.12.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:11:51 +0200] rev 7364
missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 12:04:56 +0200] rev 7363
don't let windmill/qunit test break apycot warning for all web/test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:42:02 +0200] rev 7362
[selectors] enhance rql_condition to make it usable as a condition on request's user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:39:51 +0200] rev 7361
[repo test] fix test broken by c2452cd57026 by using proper fake session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 May 2011 09:38:44 +0200] rev 7360
[testlib] fake session can be given a vreg
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:30 +0200] rev 7359
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:53:18 +0200] rev 7358
fix some test failures introduced by 7350:c2452cd57026
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:50:13 +0200] rev 7357
[rql2sql] fix bug avoiding outer join relation to be used as a variable principal. Closes #1659395
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 18:17:55 +0200] rev 7356
resurrect code lost by too much patch manipulation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:23:48 +0200] rev 7355
backport stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 02 May 2011 20:41:46 +0200] rev 7354
[parsers] various refactorings
- inline method process_one
- rename value to others in action methods
- turn _complete_url into _complete_item
- turn _related_link callbacks into a boolean parameter create_when_not_found
- fix spelling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 16:15:43 +0200] rev 7353
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:08:41 +0200] rev 7352
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 14:07:14 +0200] rev 7351
fix _set_relation when no target eids, update datafeed source pull_data arguments to raise on error during tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 12:07:54 +0200] rev 7350
[session] enhance session's transaction storage handling to fix cases where commit/rollback is done while in the context of hooks_control/security_enabled managers. Closes #1412648: commit or rollback during postcreate reset hooks control state
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 10 May 2011 10:28:29 +0200] rev 7349
[session] nicer local variable names
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 10 May 2011 07:57:52 +0200] rev 7348
[web server] #1642893 issue a 403 instead of a 500 on Unauthorized exception
To do so, we allow an arbitrary code to be passed to ``error_handler``. Default
error code is still 500.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 09 May 2011 18:16:20 +0200] rev 7347
[css] repair selected slice distinctiveness (with a nice, discrete bg color)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 17:42:28 +0200] rev 7346
[view] ability to define a column header through custom label_column_<colindex> method, useful for table view to customize a specific column without specifying others
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:12:17 +0200] rev 7345
[selectors] test/fix rql_condition to make it works when entity is specified via 'entity' keyword argument instead of rset, row and col
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 16:11:00 +0200] rev 7344
[etwist] fix bug w/ new resources concantenation and https-url enabled sites
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:50:14 +0200] rev 7343
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 21 Apr 2011 12:35:41 +0200] rev 7342
adds support for a portable db import/export format (closes: #1521112)
the db-dump and db-restore cwctl commands are enhanced with a --format option
(defaults to 'native'). If the format is 'portable', then the system database
dump / restore is performed using pure SQL queries and the storage uses picked
Python objects in a zip archive.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 16:33:55 +0200] rev 7341
add a new method iter_process_result which does the same as proces_result but is a generator (closes #1625374)
process_result is reimplemented using the new method, and the two helper
methods are turned into generators.
These generators use cursor.fetchmany instead of cursor.fetchall after setting
cursor.arraysize to 100. This means that the whole result set should never
loaded in memory when using the iter_process_result method. This is used in the
"portable" database dump implementation when we typically to 'SELECT * FROM
table', but could probably be used too in other parts of cubicweb.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:35:10 +0200] rev 7340
[session] lock self._closed and session.close to avoid race conditions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 14:34:23 +0200] rev 7339
[server test] use a lock instead of sleep to have higher green probability :/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:47:49 +0200] rev 7338
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:03:03 +0200] rev 7337
[testlib] create_user may now create user's email address
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 12:02:26 +0200] rev 7336
enhanced comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:14:09 +0200] rev 7335
[i18n] en translation fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:49 +0200] rev 7334
[users management] use an existing msgid...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 09 May 2011 09:13:22 +0200] rev 7333
[cwgroup views] uicfg rules cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:47 +0200] rev 7332
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 10:51:36 +0200] rev 7331
[testlib] grant_permission now accept either an entity or en eid
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 07 May 2011 09:37:07 +0200] rev 7330
[session selector] missing not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:21:31 +0200] rev 7329
[session] new selectors according to session type (eg user or internal
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:58 +0200] rev 7328
[ajax] reload method should return underlying deferred
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 18:20:26 +0200] rev 7327
[user mgmt] should show user login in first column in any case (e.g. application specific override)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:44:40 +0200] rev 7326
[component|i18n] give imgs an alt attribute, refresh i18n po files
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:41:42 +0200] rev 7325
[i18n/es] repair es.po
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 11:28:42 +0200] rev 7324
[testlib] fix deprecation warning stack level
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 06 May 2011 11:07:05 +0200] rev 7323
[nav component/cosmetics] have nice looking arrows insteads of << / >>
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:52:09 +0200] rev 7322
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:26 +0200] rev 7321
Added tag cubicweb-debian-version-3.12.3-1 for changeset ba8fe4f2e408
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 06 May 2011 08:48:25 +0200] rev 7320
Added tag cubicweb-version-3.12.3 for changeset e712bc6f1f71
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:30:43 +0200] rev 7319
3.12.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:21:21 +0200] rev 7318
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:21 +0200] rev 7317
Added tag cubicweb-debian-version-3.11.3-1 for changeset b3c6702761a1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:20:20 +0200] rev 7316
Added tag cubicweb-version-3.11.3 for changeset b7a124f9aed2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 16:01:18 +0200] rev 7315
3.11.3 hopefuly closing the 3.11 serie
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:28:24 +0200] rev 7314
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 15:26:28 +0200] rev 7313
[testlib] fix assertAuthFailure to consider both None and dbapi._NeedAuthAccessMock as meaning 'no connection has been set'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:36:03 +0200] rev 7312
[i18n] update spanish translation, thanks to Celso from CreaLibre
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:34:02 +0200] rev 7311
[i18n] fix french translation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 13:33:53 +0200] rev 7310
[primary, metadata] reuse existing msgids
Florent Cayré <florent.cayre@gmail.com> [Thu, 05 May 2011 12:50:21 +0200] rev 7309
fix ajax loading of concatenated js/ css + prefix concat cache files to ease cache clearing
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 05 May 2011 10:38:23 +0200] rev 7308
[entity] make set_relations() accept entities and eids (closes #1631391)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:54:41 +0200] rev 7307
[CubicWebTC] fix create_user bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 05 May 2011 11:46:29 +0200] rev 7306
[msplanner] fix regression and test failure introduced in 7292:258c92805066
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 04 May 2011 14:55:27 +0200] rev 7305
[repository quick start] should modify class attribute to get this actually working (used by a classmethod)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 04 May 2011 12:25:50 +0200] rev 7304
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 04 May 2011 12:24:41 +0200] rev 7303
[js] use minified jquery
Florent Cayré <florent.cayre@gmail.com> [Wed, 04 May 2011 10:32:15 +0200] rev 7302
[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)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 17:43:53 +0200] rev 7301
[configuration] exit with proper message when sources file is unreadable (you usually started cw while logged with a wrong user). Closes #1631238
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 03 May 2011 13:57:18 +0200] rev 7300
[js] remove facet-loading.png, use plain-text / i18n
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:03:27 +0200] rev 7299
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 03 May 2011 11:02:32 +0200] rev 7298
[selectors] fix on_fire_transition for cases where change_state is called (eg no transition specified)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 17:24:51 +0200] rev 7297
[workflow selectors] introduced new on_fire_transition hook selector, deprecated on_transition
+ minor docstring cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:59:30 +0200] rev 7296
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:46:03 +0200] rev 7295
[migration] new command to get default workflow for an entity type
* * *
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:07:13 +0200] rev 7294
[workflow hooks] reuse metadata/integrity categories instead of a new 'workflow' category and drop useless hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 02 May 2011 15:06:20 +0200] rev 7293
[entity 3.13 api] rename clear_all_caches into cw_clear_all_cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 20:16:54 +0200] rev 7292
[ms planner] ignore neged source relation when trying to restrict query sources
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:34:18 +0200] rev 7291
[users management] show email as text avoid specific primary email rendering (and we don't bother getting a clickable link)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:12:14 +0200] rev 7290
[primary view] display entity source in 'metadata' view if it's not the system source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 12:07:59 +0200] rev 7289
[users management] enhance users table: show state, primary email and data source; show filter form
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:31:25 +0200] rev 7288
merge changes from oldstable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:29:22 +0200] rev 7287
[entity] improve error message
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Apr 2011 19:28:20 +0200] rev 7286
[doc] fix doc and tutorials about hooks and operations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 16:34:31 +0200] rev 7285
[optim] cache rset column structures
When iterating over large resultsets (lot of colcumns, lot of lines)
to build entities, caching column structure (which attribute or relation
is stored in each column) can improve performance noticeably.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:34:53 +0200] rev 7284
[js] make _loadAjaxHtmlHead aware of mod_concat-like urls
_loadAjaxHtmlHead keeps track of already imported resources (js / css)
to make sure they're not included twice, but with mod_concat-like urls,
things get a bit more complicated :
if BASE_URL/data??foo.js,bar.js is already imported, then loading :
BASE_URL/data??bar.js,spam.js should only load spam.js
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 12:12:49 +0200] rev 7283
[etwist] in debug-mode, concat-file is rebuilt if one of the concatenated file is more recent
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:17 +0200] rev 7282
[facets] display splash image while facets are reloading content (closes #1624851)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 14:41:40 +0200] rev 7281
[facets] mark titles of active facets with red dot (closes #1624857)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 10:29:25 +0200] rev 7280
[facet] add missing selector to HasRelationFacet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Apr 2011 09:33:30 +0200] rev 7279
[facets] proper fix for #1625112: we should rather call unicode() as we always manipulate string as unicode internally
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 29 Apr 2011 09:08:30 +0200] rev 7278
merge
Quentin Roquefort <roquefort.quentin@gmail.com> [Thu, 28 Apr 2011 20:41:44 +0200] rev 7277
[etwist] Generates apache's mod_concat-like urls for js and css
Uses the lists of js, css and ie_css included in order to generate
urls compatible with Apache mod_concat (ie: http://test.fr/??file1.js,file2.js).
Css files may use `media` option or may be for IE only ; this patch
does not concatenate css filenames for different media types or
different IE specs.
It concatenates only files served under cubicweb's `data` urls
and keeps original include order.
The generated urls are added to the HTML header as usual.
HOW-TO:
- calling HTMLHead(datadir_url) will enable the url concatenation
- calling HTMLHead() will not benefit of url concatenation
IMPORTANT NOTE:
- fckeditor can no more be served under `/data/` segment
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 20:24:27 +0200] rev 7276
handle js/ css file concatenation with twisted
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 19:42:19 +0200] rev 7275
put data version md5 into a new url segment to ease static serving
Florent Cayré <florent.cayre@gmail.com> [Thu, 28 Apr 2011 17:36:04 +0200] rev 7274
add cwctl command to generate a consolidated data directory with all cubes/ cubicweb data directories content to be delivered statically
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 17:33:56 +0200] rev 7273
[etwist] refactor child resources management
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:38:01 +0200] rev 7272
[vreg] vregistry._select_best was needlessly instanciating NoSelectableObject (closes #1626708)
in large selections, this incurred a non negligible cost (add_relations with
2000 inlined relations runs 7% faster with this patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:30:16 +0200] rev 7271
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:21 +0200] rev 7270
merge stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:29:12 +0200] rev 7269
merge oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:25:46 +0200] rev 7268
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:51 +0200] rev 7267
[page data] don't call unload_page_data too many time (closes #1518398)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:37 +0200] rev 7266
[request] don't init tabindex unnecessarily, since it's added to page data which will makes an ajax call to unload_page_data necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Apr 2011 15:24:11 +0200] rev 7265
[deprecation] kill a remaining 3.6 warning
Florent Cayré [Wed, 27 Apr 2011 15:42:07 +0200] rev 7264
[web config] fix md5 version to ensure cubes order and to include cubicweb version
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:36 +0200] rev 7263
merged stable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 28 Apr 2011 10:11:14 +0200] rev 7262
merged oldstable bugfix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Apr 2011 16:10:10 +0200] rev 7261
place the disable hooks context manager at the right place (closes: #1626694)
hooks control is reset at each commit so we need to have a smaller scope for the CM in the 3.10.9 migration script
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:20:12 +0200] rev 7260
backport stable into default
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:19:42 +0200] rev 7259
backport oldstable into stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Apr 2011 08:18:48 +0200] rev 7258
[js] fix inArray usage in reorderTabIndex() : inArray returns -1 if element is not found, not 'false'
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 12:23:43 +0200] rev 7257
[rql] basic support for regexp-based pattern matching
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Apr 2011 11:37:42 +0200] rev 7256
[rql] support CAST() Function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:55:17 +0200] rev 7255
stable is now 3.12
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:54:22 +0200] rev 7254
oldstable is now 3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:41:55 +0200] rev 7253
[js] delete empty js files (incluced in cw.ajax.js)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Apr 2011 09:32:05 +0200] rev 7252
[sql generation] fix crash on outer join + ambiguous inlined relation + attribute selection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Apr 2011 16:14:43 +0200] rev 7251
[rql rewrite] backout 7177:f2a976cf7dac : since EXISTS is the variable scope, we want to insert snippets here anyway (other solution would be to NOT insert snippets at all in such case). Closes #1625464
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 22 Apr 2011 16:23:34 +0200] rev 7250
[book] fix documentation + add chpasswd.py script
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:24:56 +0200] rev 7249
[facets] fix unicode encode error; closes #1625112
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 22 Apr 2011 16:15:10 +0200] rev 7248
[facets] fix RangeFacet get_widget: do no return a widget unless there are at least 2 values; closes #1625203
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:20:48 +0200] rev 7247
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:17:51 +0200] rev 7246
Backed out changeset 7a58581d842c
This changeset breaks a number of CW tests, which depends on pre add hooks. I'm
backing it out, so that we can start the need-for-speed sprint with green tests
(and possibly rework this changeset)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 12:02:32 +0200] rev 7245
small reformatting (but test still fails)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 11:58:41 +0200] rev 7244
fix tests broken by fcb8932082a5 (continued)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:29:23 +0200] rev 7243
fix bad handling of inlined relations when entities of different etypes are passed as subject to add_relations
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 10:28:26 +0200] rev 7242
fix failing test_migration test caused by schema change
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 22 Apr 2011 09:48:37 +0200] rev 7241
fix tests broken by fcb8932082a5
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 18:10:49 +0200] rev 7240
merge back stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 21 Apr 2011 17:25:32 +0200] rev 7239
fix server/test/unittest_checkintegrity (failing since 70538ea2532d)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 16:55:52 +0200] rev 7238
fix implementation of repository.glob_add_relations (closes ##1625257)
the internal data structure had changed during implementation and the code had
not been updated...
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 15:42:17 +0200] rev 7237
[server] improve the speed of setting relations between entities (closes #1625257)
The main idea is to add methods equivalent to session.add_relation and
repository.glob_add_relation which handle several relations in one call. Speed
gain results from:
* using cursor.executemany to run SQL statements
* factorizing some code which otherwise has to be performed for each relation,
such as context manager creation before calling hooks or to enable security,
creation of the EditedEntity instance (when several inlined relations are set
on a single entity, and consequently when refreshing the cached entity)
benchmark runs 1.1x faster for non inlined entities and 125x faster for inlined
entities :-)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 15 Apr 2011 16:05:20 +0200] rev 7236
added test case to monitor speed improvements in the repository code.
To use it, add a test in a patch, then hack CW to speed it up in another patch,
updating the test if needed. By running the test with and without the second
patch applied you can easily see the speed improvements
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 08:28:52 +0200] rev 7235
backport stable changes to default
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 18 Apr 2011 19:39:22 +0200] rev 7234
[js] update jquery.corner.js to the latest version (uses native css support for browser that provide it); closes #1625065
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 19:34:20 +0200] rev 7233
[js/css] remove old versions of ui.tabs/slider etc.; closes #1625085
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 18 Apr 2011 08:03:46 +0200] rev 7232
[devtools] make return value of get_response_header(raw=True) consistent wrt get_header(raw=True)
i.e. get_response_header(raw=True) now returns the first element of the list rather
than the list itself.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 15 Apr 2011 12:58:31 +0200] rev 7231
[widgets] handle no value label for tristate radios, put default separator on class for easier redefinition - closes #1624839
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 15 Apr 2011 11:58:33 +0200] rev 7230
[doc] update of the update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:22:38 +0200] rev 7229
[tz postgres support] we've to commit the connection once time-zone is set, else we may loose the setting
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:59 +0200] rev 7228
[tz support] more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:06 +0200] rev 7227
[dataimport] actually commit every desired number...
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 06 Apr 2011 12:33:39 +0200] rev 7226
[doc] major update of the install documentation
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 14 Apr 2011 11:36:47 +0200] rev 7225
[facets] make rangefacet comply with start_unfolded (closes #1615869)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 14 Apr 2011 14:19:21 +0200] rev 7224
[testlib] make a clear distinction between input / output HTTP headers
The get_header() / set_header() API is the same as for CubicWebRequestBase :
- get_header() returns the **request** header
- set_header() / add_header() works on the **response** header
FakeRequest adds two additional methods :
- get_response_header() returns the **reponse** header
- set_request_header() adds a **request** header
FakeRequest now uses the `headers_out` ineherited from CubicWebRequestBase.
It also uses a `_headers_in` attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:46 +0200] rev 7223
[entity] create_entity/cw_instantiate should initialize entity's cache to avoid later queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 14:18:44 +0200] rev 7222
[testlib] refactor create_user and grant_permission to make them usable from pre_setup_database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 14 Apr 2011 11:38:10 +0200] rev 7221
[3.12 regression] don't access to __class__ directly, it may raise AttributeError
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 14:02:04 +0200] rev 7220
[testlib] fix typos / NameErrors in devtools/__init__.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 12:50:31 +0200] rev 7219
[schema serialization] add warning on missing group
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:46:00 +0200] rev 7218
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:34:53 +0200] rev 7217
[testlib] fix bug in backup file name generation: it may erroneously replace '-' by '_' in database **parent directories**. This should fix random error when test are run under apycot.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:03:42 +0200] rev 7216
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 09:58:19 +0200] rev 7215
[schema diagram] proper url generation (closes #1621276)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 13 Apr 2011 09:46:29 +0200] rev 7214
[testlib] fix readlb config handling, avoid systematic recreation of db with postgres (closes #1618089)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Apr 2011 08:38:24 +0200] rev 7213
[entities] fix cw_instantiate typo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Apr 2011 17:32:06 +0200] rev 7212
[entities/test] add failing test for cw_instantiate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 14:09:39 +0200] rev 7211
[timezone] ensure tzinfo is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 13:05:16 +0200] rev 7210
[entity] use a list comprehension
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:57 +0200] rev 7209
Added tag cubicweb-debian-version-3.12.2-1 for changeset 6d418fb3ffed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:28:56 +0200] rev 7208
Added tag cubicweb-version-3.12.2 for changeset 5a9b6bc56538
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 22:19:24 +0200] rev 7207
[packaging] prepare the release of version 3.12.2
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 20:43:30 +0200] rev 7206
merge changes from stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 18:33:18 +0200] rev 7205
[facet] ignore range extremas to avoid filtering out rows where value is NULL (closes #1251192)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:51:49 +0200] rev 7204
Backed out changeset e0e802afa8e1, widgets are actually defined below
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 16:12:02 +0200] rev 7203
[facet] refactor: a simple class attribute is enough
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:29:41 +0200] rev 7202
[native source] eid_creation_lock actually lock the eid connection creation and usage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 11 Apr 2011 13:28:59 +0200] rev 7201
[dataimport] allow to specify columns on which result should be sorted in lazydbtable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 08 Apr 2011 09:02:55 +0200] rev 7200
[entity creation] ensure this is a relation and not an attribute before moving things into pending_relations because value is a list
Using a list for attributes may be used for later type specific casting (e.g. timeseries)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Apr 2011 18:10:07 +0200] rev 7199
[fckeditor] fix fckeditor relative url: use baseuri()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:47 +0200] rev 7198
Added tag cubicweb-debian-version-3.12.1-1 for changeset 07e2c9c7df26
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 07 Apr 2011 00:27:46 +0200] rev 7197
Added tag cubicweb-version-3.12.1 for changeset 59701627adba
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:06 +0200] rev 7196
3.12.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:00 +0200] rev 7195
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:24:19 +0200] rev 7194
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:23:48 +0200] rev 7193
[sql generation] fix missing join with outer joins w/ rhs invariant variable...
... where the principal where not the processed relation.
This led to major refactoring in outer join handling, which is now much
clearer and powerful.
Closes #1579228
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:01:58 +0200] rev 7192
[test, cw props] ensure we can't add user specific / system-wide properties
we had this pb on an historical instance in our intranet (eg. running
for about 8 years).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:52 +0200] rev 7191
[ms planner] fix buggy temp table name generation, may generate duplicated unique id with subqueries/union
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:51 +0200] rev 7190
[system source] drop now useless bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:50 +0200] rev 7189
[test] silent warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:39 +0200] rev 7188
[ms planner] use an index to avoid doing the same step twice
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 06 Apr 2011 16:01:19 +0200] rev 7187
[views] extend HTMLStream API to be able to change doctype / xmldecl
When generating RDFa (for instance), the doctype must be :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
This changeset adds a ``set_doctype()`` method on request objects to allow
such changes during page generation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 16:00:56 +0200] rev 7186
[test] drop some warnings introduced by new test dabase handling
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:17:48 +0200] rev 7185
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:10:21 +0200] rev 7184
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 04 Apr 2011 14:10:52 +0200] rev 7183
[web] fix CalendarView : both icalendarable.start and icalendarable.stop dates can be None
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 14:23:11 +0200] rev 7182
[edit controller] fix subform formid in EditController (would need further improvement)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 09:57:28 +0200] rev 7181
[schema synchronization] get back eid when adding a final entity type, else it may cause pb on later schema synchronization during the migration where the type is added
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:24:02 +0200] rev 7180
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:23:47 +0200] rev 7179
backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 08:39:49 +0200] rev 7178
fileConfig is in logging.config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:48:53 +0200] rev 7177
[entity vocab] fix bug introduced in 3.12 vs/ entity vocabulary, leading to some unexpected empty vocabulary. Fix test accordingly.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 12:47:18 +0200] rev 7176
[rql rewriter] take care not to introduce snippets into a neged scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:19:12 +0200] rev 7175
[old css] use aColor property
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:56 +0200] rev 7174
[uipros] drop unused properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:18:03 +0200] rev 7173
[selectors] abstract ExpectedValueSelector now accept a set as single argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 05 Apr 2011 11:15:35 +0200] rev 7172
[igeocodable] import adapter description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:50:10 +0200] rev 7171
[dataimport] tell more and nicely about transaction status
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Apr 2011 14:49:39 +0200] rev 7170
[dataimport] propagate stack
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7169
Added tag cubicweb-debian-version-3.12.0-1 for changeset 92b56939b7c7
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:02:45 +0200] rev 7168
Added tag cubicweb-version-3.12.0 for changeset fd502219eb76
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 16:01:03 +0200] rev 7167
prepare 3.12.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 15:04:47 +0200] rev 7166
[time zone] support for TZDatetime and TZTime data type
Should be usable and cause no crash, though some stuff may still be
refined (test value generation, display in views/forms...)
Proprify some data structures dealing with yams base types along the
way and adding warning when some were missing (eg Interval usually).
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:38:16 +0200] rev 7165
merged test fix from stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 01 Apr 2011 14:34:11 +0200] rev 7164
[http] implement 1587305: provide better implementation of Accept header parsing + tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 14:26:18 +0200] rev 7163
[web test] extract a set_auth_mode method from init_authentication and use it in test_fb_login_concept to avoid bad test interaction
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 14:25:55 +0200] rev 7162
merge stable to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 01 Apr 2011 08:20:25 +0200] rev 7161
fix failing tests before 3.12 release
added a skip in unittest_reledit, I'd like acampeas to give it a look.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:41 +0200] rev 7160
[dataimport] new 'lazydbtable' generator function to feed data from a database table
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:37 +0200] rev 7159
[dataimport] ObjectStore.create_entity should return something that looks like an entity (eg no more using dict protocol to access to attributes)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 01 Apr 2011 01:06:29 +0200] rev 7158
[dataimport] cleanups, update docstring to up-to-date usage
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 21:24:39 +0200] rev 7157
[doc] improve dostring of server.hook
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 17:24:38 +0200] rev 7156
merge back stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 31 Mar 2011 17:12:27 +0200] rev 7155
[cwctl] refactor ui messages aiming for consistency and simplicity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:52 +0200] rev 7154
[entity vocabulary] refactor unrelated rql to allow usage of RQLRewriter to insert schema constraints. Closes #1561806
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:50 +0200] rev 7153
[entity vocabulary] fix unrelated rql generation to skip rql constraints that don't make sense
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:23:46 +0200] rev 7152
[schema, refactoring] use RQLExpression as base class for RQL constraint classes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 31 Mar 2011 15:18:21 +0200] rev 7151
[reledit] fix crash due to wrong attributes usage
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 31 Mar 2011 09:39:51 +0200] rev 7150
merge
Florent Cayré <florent.cayre@gmail.com> [Thu, 31 Mar 2011 09:17:43 +0200] rev 7149
make it easier to inherit from EditionFormView
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 16:40:55 +0200] rev 7148
more TZDatetime/TZTime test fixes
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:51:10 +0200] rev 7147
fix test_knownValues_load_schema
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 30 Mar 2011 15:44:26 +0200] rev 7146
backport stable to default
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 15:09:13 +0200] rev 7145
[doc] fix typo
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 30 Mar 2011 14:55:14 +0200] rev 7144
[doc] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 14:03:10 +0200] rev 7143
[AnyEntity] rename __linkto attribute as cw_linkto to avoid name mangling which make overriding/monkey-patching unnecessarily harder
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 13:59:23 +0200] rev 7142
[sql generation test] avoid lgdb warnings when a db module is faked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:58 +0200] rev 7141
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:17:21 +0200] rev 7140
[c-c create] unification of c-c create and its subcommands handling
* create/db-create/db-init uniformly accept --automatic and --config-level
options, properly passed along the way
* --automatic option fixed so it doesn't need yes or no argument
* closes ##1537265 on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:08:15 +0200] rev 7139
[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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:16 +0200] rev 7138
[rql rewriter] drop unused argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 30 Mar 2011 11:07:07 +0200] rev 7137
[rql rewriter] don't add unnecessary (potentially buggy) exists
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:25:10 +0200] rev 7136
update lgc dependency also in pkginfo
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 10:05:24 +0200] rev 7135
updated lgc dependency
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 29 Mar 2011 08:47:09 +0200] rev 7134
allow CW to act as a Pyro Server without registering the server to a Pyro Nameserver (closes #1528533)
This is achieved by configuring the pyro-ns-host to __NO_PYRONS__ (which is an illegal value for a host name)
The Pyro URI for the server can be retrieved by reading the pyro_uri attribute of the Repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 29 Mar 2011 09:02:49 +0200] rev 7133
[date picker] apply Carlos patch fixing spanish date picker translation file. Closes #1558893
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:58 +0200] rev 7132
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 19:02:47 +0200] rev 7131
[c-c create] we should also skip option with no type, else we may generate title for section without any option to fill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:57:34 +0200] rev 7130
[config] do not set base-url during instance creation, we don't want generated value to ends up in the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:56:55 +0200] rev 7129
[config] generalise config.creating, allowing to drop set_language class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 18:53:54 +0200] rev 7128
[web test] fix broken url in reledit. tests BROKEN ANYWAY (crash due to missing attribute)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:45 +0200] rev 7127
merge
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:26 +0200] rev 7126
Added tag cubicweb-debian-version-3.11.2-1 for changeset 954b5b51cd92
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:31:25 +0200] rev 7125
Added tag cubicweb-version-3.11.2 for changeset 56ae3cd5f855
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 19:20:22 +0200] rev 7124
[packaging] prepare 3.11.2
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 28 Mar 2011 17:58:46 +0200] rev 7123
try to reconstruct the file forgotten by syt in changeset e094b3d4eb95
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 17:39:21 +0200] rev 7122
[javascript] fix loadRemote test for JSON_BASE_URL / baseuri matching
put both url and baseuri() to lowercase since baseuri() might have
uppercase characters.
Thanks to Florent for spotting this.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:54 +0200] rev 7121
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:42:46 +0200] rev 7120
[cwuser, persistent properties] fix recent set_property implementation on CWUser: for_user is automatically handled for non-managers users (this is seriously debatable though)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:41:36 +0200] rev 7119
[repository] fix crash in optimized [add|remove]_relation w/ inlined relation (broken by cw 3.10 refactoring)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 16:39:49 +0200] rev 7118
[server] move EditedEntity class to its own module, to avoid cyclic dependency when needed from e.g. session.py
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 28 Mar 2011 15:23:57 +0200] rev 7117
[facets] closes #1569459 (date-range facet with year < 1900)
use lgc.date.ustrftime() and lgc.date.ticks2datetime to convert js date ticks and
have a chance to handle dates with year < 1900.
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:15:49 +0200] rev 7116
[session] add find_entities and find_one_entity to session/request API (closes #1550045)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 28 Mar 2011 15:16:11 +0200] rev 7115
[web formwidgets] add missing tabindex to jquery date and time widgets (closes #1568475)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 14:49:22 +0200] rev 7114
[c-c create] db-create doesn't not take a verbose option any longer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Mar 2011 12:50:56 +0200] rev 7113
[css] we should use padding instead of margin here, else the element as size greater than <body>, forcing an horizontal scrollbar to appear
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 15:45:38 +0100] rev 7112
[db connection] fix db connections method: verbose should be named interactive, it's not a question of verbosity but wether question should be asked or not
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:51:20 +0100] rev 7111
[cwprops, migration] fix [set_]property to ensure we don't retrieve a user specific value. Add some docstring along the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 25 Mar 2011 12:43:57 +0100] rev 7110
[cwprops] add set_property method on CWUser instances, to ease setting of user specific properties
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 24 Mar 2011 15:21:13 +0100] rev 7109
[merge] backport stable fixes into default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Mar 2011 15:11:38 +0100] rev 7108
Abstract the support for ORDER BY and LIMIT/OFFSET SQL generation
all DB engines do not support the same syntax for these features, MS SQLServer being the bad boy we try to support in CW.
* Use two new methods of dbhelper to add LIMIT/OFFSET clauses and ORDER BY clauses
* added unit tests for sqlserver backend
* changed unittest_rql2sql to lauch the backend tests even if the driver module is not installed on the machine, so
that we can run the sqlserver tests on linux (and the mysql tests too)
* adapt msstep.py to the new interface
closes #1154756
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:31:12 +0100] rev 7107
backport oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:30:14 +0100] rev 7106
[migration] Lesser memory consumption of cwuri fix + actually commit every 100 processed entities
Don't use the ORM as added value is poor while all intentiated object are keept
by rset cache.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:25:57 +0100] rev 7105
[migration] improve fix cwuri progress bar
* Use the progress context manager,
* Adds a title
* Informs that operation have been partially committed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:24:26 +0100] rev 7104
[migration] explicit first step of 3.10.9 migration.
Previously there was on a "commit now" confirmation.
The reason of the request are now explained and both request must be confirmed.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:20 +0100] rev 7103
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:22:10 +0100] rev 7102
[uiprops, css] make header background actually modifiable through uiprops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 24 Mar 2011 13:20:33 +0100] rev 7101
[components] add **kwargs to render method of header components to make them usable as regular components (eg in other places than the header