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