Fri, 15 Apr 2011 15:42:17 +0200 [server] improve the speed of setting relations between entities (closes #1625257)
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 :-)
Fri, 15 Apr 2011 16:05:20 +0200 added test case to monitor speed improvements in the repository code.
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
Wed, 20 Apr 2011 08:28:52 +0200 backport stable changes to default
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 20 Apr 2011 08:28:52 +0200] rev 7235
backport stable changes to default
Mon, 18 Apr 2011 19:39:22 +0200 [js] update jquery.corner.js to the latest version (uses native css support for browser that provide it); closes #1625065
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
Mon, 18 Apr 2011 19:34:20 +0200 [js/css] remove old versions of ui.tabs/slider etc.; closes #1625085
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
Mon, 18 Apr 2011 08:03:46 +0200 [devtools] make return value of get_response_header(raw=True) consistent wrt get_header(raw=True) stable
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.
Fri, 15 Apr 2011 12:58:31 +0200 [widgets] handle no value label for tristate radios, put default separator on class for easier redefinition - closes #1624839
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
Fri, 15 Apr 2011 11:58:33 +0200 [doc] update of the update stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 15 Apr 2011 11:58:33 +0200] rev 7230
[doc] update of the update
Fri, 15 Apr 2011 08:22:38 +0200 [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: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
Fri, 15 Apr 2011 08:18:59 +0200 [tz support] more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:59 +0200] rev 7228
[tz support] more tests
Fri, 15 Apr 2011 08:18:06 +0200 [dataimport] actually commit every desired number...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 15 Apr 2011 08:18:06 +0200] rev 7227
[dataimport] actually commit every desired number...
Wed, 06 Apr 2011 12:33:39 +0200 [doc] major update of the install documentation stable
Alain Leufroy <alain.leufroy@logilab.fr> [Wed, 06 Apr 2011 12:33:39 +0200] rev 7226
[doc] major update of the install documentation
Thu, 14 Apr 2011 11:36:47 +0200 [facets] make rangefacet comply with start_unfolded (closes #1615869) stable
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)
Thu, 14 Apr 2011 14:19:21 +0200 [testlib] make a clear distinction between input / output HTTP headers stable
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
Thu, 14 Apr 2011 14:18:46 +0200 [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:46 +0200] rev 7223
[entity] create_entity/cw_instantiate should initialize entity's cache to avoid later queries
Thu, 14 Apr 2011 14:18:44 +0200 [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 14:18:44 +0200] rev 7222
[testlib] refactor create_user and grant_permission to make them usable from pre_setup_database
Thu, 14 Apr 2011 11:38:10 +0200 [3.12 regression] don't access to __class__ directly, it may raise AttributeError
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
Wed, 13 Apr 2011 14:02:04 +0200 [testlib] fix typos / NameErrors in devtools/__init__.py stable
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
Wed, 13 Apr 2011 12:50:31 +0200 [schema serialization] add warning on missing group stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 12:50:31 +0200] rev 7219
[schema serialization] add warning on missing group
Wed, 13 Apr 2011 11:46:00 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:46:00 +0200] rev 7218
backport stable
Wed, 13 Apr 2011 11:34:53 +0200 [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. 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.
Wed, 13 Apr 2011 11:03:42 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 13 Apr 2011 11:03:42 +0200] rev 7216
backport stable
Wed, 13 Apr 2011 09:58:19 +0200 [schema diagram] proper url generation (closes #1621276) 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)
Wed, 13 Apr 2011 09:46:29 +0200 [testlib] fix readlb config handling, avoid systematic recreation of db with postgres (closes #1618089) stable
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)
Wed, 13 Apr 2011 08:38:24 +0200 [entities] fix cw_instantiate typo stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 13 Apr 2011 08:38:24 +0200] rev 7213
[entities] fix cw_instantiate typo
Tue, 12 Apr 2011 17:32:06 +0200 [entities/test] add failing test for cw_instantiate stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Apr 2011 17:32:06 +0200] rev 7212
[entities/test] add failing test for cw_instantiate
Tue, 12 Apr 2011 14:09:39 +0200 [timezone] ensure tzinfo is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 14:09:39 +0200] rev 7211
[timezone] ensure tzinfo is None
Tue, 12 Apr 2011 13:05:16 +0200 [entity] use a list comprehension stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 12 Apr 2011 13:05:16 +0200] rev 7210
[entity] use a list comprehension
Mon, 11 Apr 2011 22:28:57 +0200 Added tag cubicweb-debian-version-3.12.2-1 for changeset 6d418fb3ffed
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
Mon, 11 Apr 2011 22:28:56 +0200 Added tag cubicweb-version-3.12.2 for changeset 5a9b6bc56538 cubicweb-debian-version-3.12.2-1
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
Mon, 11 Apr 2011 22:19:24 +0200 [packaging] prepare the release of version 3.12.2 cubicweb-version-3.12.2
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
Mon, 11 Apr 2011 20:43:30 +0200 merge changes from stable branch
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 11 Apr 2011 20:43:30 +0200] rev 7206
merge changes from stable branch
Mon, 11 Apr 2011 18:33:18 +0200 [facet] ignore range extremas to avoid filtering out rows where value is NULL (closes #1251192) stable
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)
Mon, 11 Apr 2011 16:51:49 +0200 Backed out changeset e0e802afa8e1, widgets are actually defined below stable
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
Mon, 11 Apr 2011 16:12:02 +0200 [facet] refactor: a simple class attribute is enough stable
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
Mon, 11 Apr 2011 13:29:41 +0200 [native source] eid_creation_lock actually lock the eid connection creation and usage stable
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
Mon, 11 Apr 2011 13:28:59 +0200 [dataimport] allow to specify columns on which result should be sorted in lazydbtable stable
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
Fri, 08 Apr 2011 09:02:55 +0200 [entity creation] ensure this is a relation and not an attribute before moving things into pending_relations because value is a list stable
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)
Thu, 07 Apr 2011 18:10:07 +0200 [fckeditor] fix fckeditor relative url: use baseuri() stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Apr 2011 18:10:07 +0200] rev 7199
[fckeditor] fix fckeditor relative url: use baseuri()
Thu, 07 Apr 2011 00:27:47 +0200 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:47 +0200] rev 7198
Added tag cubicweb-debian-version-3.12.1-1 for changeset 07e2c9c7df26
Thu, 07 Apr 2011 00:27:46 +0200 Added tag cubicweb-version-3.12.1 for changeset 59701627adba cubicweb-debian-version-3.12.1-1
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
Wed, 06 Apr 2011 23:31:06 +0200 3.12.1 cubicweb-version-3.12.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:06 +0200] rev 7196
3.12.1
Wed, 06 Apr 2011 23:31:00 +0200 i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:31:00 +0200] rev 7195
i18n update
Wed, 06 Apr 2011 23:24:19 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 23:24:19 +0200] rev 7194
backport stable
Wed, 06 Apr 2011 23:23:48 +0200 [sql generation] fix missing join with outer joins w/ rhs invariant variable... 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
Wed, 06 Apr 2011 23:01:58 +0200 [test, cw props] ensure we can't add user specific / system-wide properties stable
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).
Wed, 06 Apr 2011 22:52:52 +0200 [ms planner] fix buggy temp table name generation, may generate duplicated unique id with subqueries/union stable
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
Wed, 06 Apr 2011 22:52:51 +0200 [system source] drop now useless bw compat stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:51 +0200] rev 7190
[system source] drop now useless bw compat
Wed, 06 Apr 2011 22:52:50 +0200 [test] silent warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 22:52:50 +0200] rev 7189
[test] silent warning
Wed, 06 Apr 2011 22:52:39 +0200 [ms planner] use an index to avoid doing the same step twice stable
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
Wed, 06 Apr 2011 16:01:19 +0200 [views] extend HTMLStream API to be able to change doctype / xmldecl
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.
Wed, 06 Apr 2011 16:00:56 +0200 [test] drop some warnings introduced by new test dabase handling stable
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
Wed, 06 Apr 2011 10:17:48 +0200 rephrase stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:17:48 +0200] rev 7185
rephrase
Wed, 06 Apr 2011 10:10:21 +0200 backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 06 Apr 2011 10:10:21 +0200] rev 7184
backport stable
Mon, 04 Apr 2011 14:10:52 +0200 [web] fix CalendarView : both icalendarable.start and icalendarable.stop dates can be None 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
Thu, 31 Mar 2011 14:23:11 +0200 [edit controller] fix subform formid in EditController (would need further improvement) stable
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)
Wed, 06 Apr 2011 09:57:28 +0200 [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 stable
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
Tue, 05 Apr 2011 13:24:02 +0200 backport fix from oldstable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:24:02 +0200] rev 7180
backport fix from oldstable
Tue, 05 Apr 2011 13:23:47 +0200 backport fix from oldstable stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 13:23:47 +0200] rev 7179
backport fix from oldstable
Tue, 05 Apr 2011 08:39:49 +0200 fileConfig is in logging.config oldstable cubicweb-version-3.10.x
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 05 Apr 2011 08:39:49 +0200] rev 7178
fileConfig is in logging.config
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip