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