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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:47:09 +0100] rev 7075
default (3.11.X) is now stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Mar 2011 09:46:45 +0100] rev 7074
stable (3.10.X) is now oldstable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:22 +0100] rev 7073
[test] add some tags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 15:18:21 +0100] rev 7072
[test] properly close connections
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 14:59:21 +0100] rev 7071
[devtools] fix anonymous user handling in test classes
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:04:46 +0100] rev 7070
[web] provide a data_url() method on req and get_rid of explicit datadir_url usage (#1438736)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 12:03:37 +0100] rev 7069
[views] #1499661 get rid of base tag
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Mar 2011 11:58:57 +0100] rev 7068
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 10 Mar 2011 11:56:35 +0100] rev 7067
[tabs] forward url parameters to lazy tabs views
If
http://www.cubicweb.org/project/foo?x=12&y=13
dislays a LazyTabView, this patch forwards {x: 12, y: 13} to
subsequent lazy tabs (i.e. called through ajax queries).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 18:26:43 +0100] rev 7066
[testlib] fix regression introduced in 7065:6a6ea9966931
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 07 Dec 2010 12:18:20 +0100] rev 7065
[testlib] simplify code by using a class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Mar 2011 13:42:55 +0100] rev 7064
[repo] fix multi-threads bug with get_option_value: pyro proxy can't be used from a thread to another without caution (closes #1535206)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 09 Mar 2011 12:24:50 +0100] rev 7063
fix editable_attributes bug (closes #1534802)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 22:35:19 +0100] rev 7062
[http test] fix typo in super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:32:19 +0100] rev 7061
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:21:40 +0100] rev 7060
[testlib] New assertion method assertSentEmail() to test presence of emails in system mailbox
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 18 Feb 2011 15:26:00 +0100] rev 7059
[tests] Fix web test for windmill and forms
- new component 'inout' needed to be clicked (windmill)
- renamed id will fail html tests (windmill and unittest_forms.py)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:16:44 +0100] rev 7058
[uilib] fix eid_param implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:32 +0100] rev 7057
[test] fix bad super call
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 18:08:12 +0100] rev 7056
[dbapi] split in_memory_cnx functions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:38 +0100] rev 7055
Remove trailing white space
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:15 +0100] rev 7054
Add a "closed" property on session
This will simplify check and allow nicer error thatn the current "no _tx_data"
attribute error.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 17:55:02 +0100] rev 7053
[test] Improve tagging and error message of TwistedCWIdentTC
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:52:35 +0100] rev 7052
[test/windmill] Gracefully skip windmill test if windmill can't be imported.
If windmill import fails the windmill module is set to None and a dummy
CubicWebWindmillUseCase test class is create. This class contains a test that
skip itself with a proper warning message.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 03 Mar 2011 11:49:32 +0100] rev 7051
[devtools/qunit] had "qunit" test for tag.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 08 Mar 2011 16:00:25 +0100] rev 7050
[3.10.9 migration] don't display progress bar if stdout is not a tty
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 23:16:22 +0100] rev 7049
[source host alias] match_host is the attribute, match is the method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7048
Added tag cubicweb-debian-version-3.11.1-1 for changeset 77318f1ec4aa
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 22:17:23 +0100] rev 7047
Added tag cubicweb-version-3.11.1 for changeset d0410eb4d8bb
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:22:00 +0100] rev 7046
3.11.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:21:54 +0100] rev 7045
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:29 +0100] rev 7044
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:19:00 +0100] rev 7043
some copyrigh updates
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:17:07 +0100] rev 7042
[sql generation] fix exists table scope pb: when iterating other solutions inner to an EXISTS subquery, we should reset variables which have this exists node as scope
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 17:15:06 +0100] rev 7041
[sql generation] fix table scope pb: when an inlined relation is used as principal for the rhs variable, we should adjust lhs variable'scope
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 07 Mar 2011 17:02:15 +0100] rev 7040
merge stable changes into default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:41:04 +0100] rev 7039
[testlib] backport some useful testing utilities from tracker's testutils module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 07 Mar 2011 10:40:07 +0100] rev 7038
[testlib] fix rql generation bug w/ groups given as unicode string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 17:50:13 +0100] rev 7037
[multi-sources] add missing close method on ConnectionWrapper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:57 +0100] rev 7036
[c-c db-check] new checks for entities missing a mandatory relation/attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 16:05:34 +0100] rev 7035
[c-c db-check] factorize code by introducing notify_fixed dumb function
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 03 Mar 2011 15:44:07 +0100] rev 7034
[migration] cleanup corrupted database, pb noticed on several instances
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 03 Mar 2011 12:55:29 +0100] rev 7033
[dataimport] remove eid_key deprecation warning and prints
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:14:19 +0100] rev 7032
[config] fix option group clash causing anonymous user configuration to end in the MAIN section instead of the WEB section if cubicweb-dev is installed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 28 Feb 2011 14:12:42 +0100] rev 7031
[config refactoring] rename eproperty_definition method to cwproperty_definition
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:33:10 +0100] rev 7030
allow configuring the level of the configuration settings for cw-ctl add-source and db-init (which may call add-source)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Feb 2011 21:30:32 +0100] rev 7029
add some tips for users who want to bind to an AD server
adjust the level of the different configuration parameters so that the condfiguration becomes usable outside Logilab
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:31:18 +0100] rev 7028
[c-c upgrade] rename force-componant-version option to force-cube-version and cleanup code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Feb 2011 10:28:59 +0100] rev 7027
[repo querier] fix rqlst cache no limit issue, comment the code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 18:18:42 +0100] rev 7026
[migration] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:45 +0100] rev 7025
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:07:40 +0100] rev 7024
[source hooks] filter out case where source configuration doesn't have to be reloaded
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:11:00 +0100] rev 7023
Added tag cubicweb-debian-version-3.11.0-1 for changeset 8daabda9f571
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 17:10:59 +0100] rev 7022
Added tag cubicweb-version-3.11.0 for changeset 37432cede4fe
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 16:30:02 +0100] rev 7021
[schema sync] we don't want to react on after_update_entity, it may only causes bug. CWUniqueConstraint should be deleted then a fresh one readded on change (as we do in sync_schema_props_perms)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:21 +0100] rev 7020
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 12:40:17 +0100] rev 7019
[source ui] uicfg tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:27:34 +0100] rev 7018
3.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 10:18:28 +0100] rev 7017
[web test] fix some tests broken by recent (and various) changesets
notice test_jscript and test_windmill are still broken, a pain to
maintain and so breaks apycot test since we can't see state change
from green to red (they are always red due to those two tests)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 18 Feb 2011 09:33:51 +0100] rev 7016
[web/views] add a generic rdf view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:49 +0100] rev 7015
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 09:33:32 +0100] rev 7014
[testlib pageinfo] extract matching_node method from has_tag to ease looking for a node with a given set of attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Feb 2011 08:04:10 +0100] rev 7013
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:43:45 +0100] rev 7012
[schema serialization] for relation type, ertidx contains the relation type as string, for relation def, the RelationDefinitionSchema instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 18:23:41 +0100] rev 7011
[schema deserialization] enhance fix done in 7010:fa707848a88a to properly deal with cw 3.9 database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 17:46:10 +0100] rev 7010
[schema deserialization] _unique_together should hold string, not schema instance (may lead to crash during sync_schema_props_perms for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:38 +0100] rev 7009
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:25 +0100] rev 7008
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:46:18 +0100] rev 7007
[web test] ensure we're using proper instance home
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:09:06 +0100] rev 7006
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:20 +0100] rev 7005
[config] we should load available configuration before search for an instance configuration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:19 +0100] rev 7004
[dbapi] fix for cases where one want to use 'connect' for an in-memory connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Feb 2011 16:08:09 +0100] rev 7003
[skel] avoid pylint warning for newly generated cube
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:26:50 +0100] rev 7002
[sobjects/parsers] compatibility with xml view of cw <= 3.10
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 17 Feb 2011 10:24:45 +0100] rev 7001
[sobjects/parsers] on validationerror, skip entity and continue processing feed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 17:59:58 +0100] rev 7000
[web test] fix test name conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:30:09 +0100] rev 6999
merge default heads
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 10:29:47 +0100] rev 6998
merge default heads
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 16 Feb 2011 09:02:00 +0100] rev 6997
[tabs] use datadir_url to build image url instead of hardcoding data/
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:54:09 +0100] rev 6996
[wdoc] fallback to english title when no translation found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Feb 2011 08:40:25 +0100] rev 6995
[datafeed] don't crash if python-kerberos isn't installed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 15 Feb 2011 23:32:32 +0100] rev 6994
[sobjects/parsers] add gssapi auth handler to urllib2 opener
applied patch gssapiauth.diff
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Feb 2011 23:30:01 +0100] rev 6993
[data operation] add new remove_data method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 23:18:20 +0100] rev 6992
[migtration] fix migration script for 'dont cross' relations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:47:15 +0100] rev 6991
backport stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 17:46:08 +0100] rev 6990
[dataimport] implement create_entity() on ObjectStore to provide a consistent interface
(+fix typo s/attribute_edited/edited_attributed/)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Feb 2011 16:46:49 +0100] rev 6989
[dataimport] make it possible to insert 'empty' (i.e. no-attrs) entities
In such cases (e.g. ternary relations), generated RQL must be
'INSERT MyEntityType' instead of 'INSERT MyEntityType:'
nico [Mon, 14 Feb 2011 09:38:03 +0100] rev 6988
[hooks] do not break if no entity created or updated during feed update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Feb 2011 09:37:17 +0100] rev 6987
[ajax box] fix ajaxBoxShowSelector w/ mono-valued fields + minor cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6986
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6985
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 16:45:43 +0100] rev 6984
[ldap test] use get_available_port from cw.devtools.httptest
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:38:40 +0100] rev 6983
[test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:22 +0100] rev 6982
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 13:23:09 +0100] rev 6981
[test] missing future import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 12:17:47 +0100] rev 6980
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:37:10 +0100] rev 6979
[testlib] take care, validator may be None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:29:23 +0100] rev 6978
[testlib] extract get_validator method from _check_html, move assertDocTestFile
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 11:28:46 +0100] rev 6977
[testlib] new method on page info object to ensure some tag with arbitrary attributes is found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 11 Feb 2011 10:57:35 +0100] rev 6976
[packaging, test] include ldap test files in sdist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 17:17:54 +0100] rev 6975
[test] python 2.5 specifix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:35 +0100] rev 6974
add a note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:21:23 +0100] rev 6973
[manage view] get etypes first to avoid xhtml validation error if no one found
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 16:20:49 +0100] rev 6972
[datafeed] return empty dict when source is fresh avoid crash in the looping task because None returned
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 10 Feb 2011 13:26:41 +0100] rev 6971
[manage view] fix skipping of startup views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Feb 2011 12:28:31 +0100] rev 6970
[parser host mapping] take care to cases where apphome is None (c-c i18ncube command for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:25 +0100] rev 6969
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 19:00:14 +0100] rev 6968
[test] update cwxml tests: computed cwuri have changed, and parser.parse isn't anymore a static method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:57:09 +0100] rev 6967
[testlib] by default skip new 'manage' action's category
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:49:41 +0100] rev 6966
[manage view] filter before displaying anything avoid xhtml errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:47:29 +0100] rev 6965
[test] update cwuri test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:08:40 +0100] rev 6964
[test] test extracted from unittest_hooks + new test for unique constraint check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:29 +0100] rev 6963
[datafeed] introduce a host mapping so dev instance may transparently redirect request to another host than the actual's one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:27 +0100] rev 6962
[management ui] add views to manage sources similarly to users
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:25 +0100] rev 6961
[manage view] cleanup manage view and user menu
* drop code that shouldn't be there (e.g. folders handling)
* add a section displaying site management actions, some of them
were initially in the user's drop down menu, which now only have
a 'manage' link with regards to management actions
* stop displaying 'system' and 'schema' entities by default, only
'application' entities
* put 'gc', 'registry' and 'info' views as tabs of a generic
'server information' view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:24 +0100] rev 6960
[datafeed] add parser to import cubicweb xml
this parser is configurable through a mapping, which basically
tells which entity's relation should be copied. Multiple actions
to control backport of data are available:
* 'copy': copy the external entities locally (though marked as
coming from the data feed source)
* 'link': find similar entity internaly (e.g. for states)
* 'link-or-create': try to find a similar entity internaly, and create
it if necessary (won't be marked as coming from the data feed source,
e.g. for tags)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:19 +0100] rev 6959
[xml] enhance default entity xml view
* format attributes according to their type in a predictable way
* move eid/cwuri as top level tag attributes
* control which relations should be in using 'relation' form param
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:18 +0100] rev 6958
[pyro source] benefit from addition of latest_retrieval on CWSource
to avoid using a CWProperty to store pyrorql source latest synchronization.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:17 +0100] rev 6957
[repository] #1460066: backport datafeed cube as cubicweb source
* add some attributes to CWSource to handle this kind of source
(not natural to put everything in 'config' string). Adding a CWSource
subclass has been attempted then rollbacked because it adds pain
to handle multi-sources planning and it introduce an ambiguity on
a generic relation (cw_source), which may be a penalty in multiple
case
* data feed sources are a new kind of source, namely 'copy based',
which have no effect on the query planner
* a data feed source is associated to a list of url and a parser (appobjects
in the 'parsers' registry
* entities imported by a data feed have cwuri set to their url on the distant
site, their cw_source relation point to the data feed source, though their
source stored in the entities table (returned by cw_metainformation) is their
physical source, hence 'system'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Feb 2011 18:06:13 +0100] rev 6956
backport stable