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.