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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Mar 2011 18:20:34 +0100] rev 7100
[schema views] don't propose 'view all' action for final entity types (closes #1560549)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 23 Mar 2011 11:35:41 +0100] rev 7099
[doc] fix urls pointing to repositories and download sites
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:47:42 +0100] rev 7098
backported tag to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 21 Mar 2011 17:44:57 +0100] rev 7097
Added tag cubicweb-version-3.9.x for changeset 48f468f33704
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:51 +0100] rev 7096
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 17 Mar 2011 13:43:07 +0100] rev 7095
[devtools] missing py2.5 compat import
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:21:36 +0100] rev 7094
merge oldstable into default
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:20:45 +0100] rev 7093
fix stupid typo
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:14:58 +0100] rev 7092
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:07:08 +0100] rev 7091
merge: [testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 12:03:50 +0100] rev 7090
[testlib] require explicite overwriting of TestDataBaseHandler.
A new overwrite (default to False) parametters is added.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 17 Mar 2011 11:38:52 +0100] rev 7089
remove conflict marker
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Mar 2011 18:12:57 +0100] rev 7088
merge old stable into stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7087
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:45:57 +0100] rev 7086
fix pylint helper methods: need a classmathod in cwconfig.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:56 +0100] rev 7085
merged back pylint help changes to stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:40:11 +0100] rev 7084
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Mar 2011 09:37:46 +0100] rev 7083
help pylint by explicitely defining some attributes
* the logging functions automatically set by set_log_methods
* the attributes of Hook classes (eidfrom, entity...):
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 21:36:06 +0100] rev 7082
[doc] fix indentation spelling and grammar of tutorials/advanced/part03_bfss
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 10:38:02 +0100] rev 7081
[doc] complete description of EXISTS in rql/language.rst
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7080
[doc] fix rql/debugging.rst and server.__init__ docstrings
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Mar 2011 09:41:45 +0100] rev 7079
[doc] fix rql/debugging.rst and server.__init__ docstrings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7078
[test] New Handling of database for test.
This patch adds a new TestDataBaseHandler class.
TestDataBaseHandler are in charge of Setup, backup, restore, connection,
repository caching and cleanup for database used during the test.
TestDataBaseHandler reuse code and logic previously found in cubicweb.devtools
functions and devtools.testlib.CubicwebTC. TestDataBaseHandler is an abstract
class and must be subclassed to implement functionalities specific to each
driver.
TestDataBaseHandler can store and restore various database setups.
devtools.testlib.CubicwebTC gains a test_db_id class attribute to specify that
its TestCase uses a specific database that should be cached. The
pre_setup_database class method is used to setup the database that will be
cached. The setup_database method is kept uncached.
The same TestDataBaseHandler are reused for every test using the same config
object. TestDataBaseHandler try to reuse Repository objects as much as
possible.
All cubicweb test have been updated.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 11 Mar 2011 12:17:32 +0100] rev 7077
[reledit] repair some brokennes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 19 Jan 2011 19:19:57 +0100] rev 7076
[reledit] kill the reledit/doreledit duality
* * *
[reledit] use action to determine form content
* * *
[reledit] use self.entity instead of passing entity everywhere