Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 12 Apr 2010 08:22:37 +0200] rev 5213
[repository] fix edited_attributes management in multiple SET queries
entity.edited_attributes was messed up with previous edited entities.
The UpdateStep now gives a new fresh edited_attributes set to
repository.glob_update_entity() so that each entity can modify it
during its "transaction".
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 12 Apr 2010 08:17:35 +0200] rev 5212
[testlib] fix dummy bug in reset_test_database(): s/if/elif
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sun, 11 Apr 2010 11:59:45 +0000] rev 5211
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 09 Apr 2010 15:01:25 +0000] rev 5210
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 09 Apr 2010 15:01:14 +0000] rev 5209
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 08 Apr 2010 10:23:49 +0000] rev 5208
enable tests against sqlserver2005 database
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 20:54:35 +0200] rev 5207
fix bad indentation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 19:46:55 +0200] rev 5206
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 19:46:38 +0200] rev 5205
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 04 Mar 2010 17:56:45 +0100] rev 5204
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 09 Apr 2010 19:19:28 +0200] rev 5203
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 09 Apr 2010 19:18:55 +0200] rev 5202
[doc/book] more about hooks (simple examples with entities and relations)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 15:10:26 +0200] rev 5201
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 15:08:24 +0200] rev 5200
[web] on logout, use the base_url argument of build_url instead of hacking the request to get proper url. This fix a bug on site with http/https versions: the session cookie is badly removed on logout
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 15:07:01 +0200] rev 5199
[entity] move req.create_entity content to a cw_instantiate factory method on entity classes, so cube developpers will be able to easily customize instance creation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 15:04:56 +0200] rev 5198
[controller] refactor send mail controller to use cwconfig.sendmails
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 12:23:39 +0200] rev 5197
[test] properly close session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 14:11:49 +0200] rev 5196
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 13:38:36 +0200] rev 5195
le patch move-pdf-export-to-cubes a été importé
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 09 Apr 2010 13:59:41 +0200] rev 5194
[hooks] fix set_operation options passing (** -> *)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 09 Apr 2010 11:16:00 +0200] rev 5193
[session] no way for queries from an InternalSession to be a dbapi query
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 19:37:00 +0200] rev 5192
[merge]
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 19:36:36 +0200] rev 5191
[doc/book] begin chapter on Hooks/Operations
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 18:05:41 +0200] rev 5190
[doc/book] dbapi: talk about IN exception, simplify
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 17:50:37 +0200] rev 5189
[doc/book] rql/dbapi cleanup, rip cachekey (prematurely ?)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 17:47:52 +0200] rev 5188
[doc/css] cleanup a bit the sphinx default css
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Apr 2010 14:40:18 +0200] rev 5187
[repository] fix bad indentation in glob_update_entity, source.update_entity() should be called once per update
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Apr 2010 12:42:47 +0200] rev 5186
[doc] note on pytestconf, fixlets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 12:32:09 +0200] rev 5185
[test] avoid weird bug when test are changing the cwd
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 11:04:17 +0200] rev 5184
[c-c newcube] #1192: simpler cubicweb-ctl newcube, and more
* new --layout option, to get 'simple' or 'full' cube
* new --licence option to specify license for the cube
* added README and sobjects.py template (the later only added in full layout)
* fixed python file templates to get proper headers according to the config
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 08 Apr 2010 09:59:59 +0200] rev 5183
[storage] consider fs_importing on update operations too
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 10:00:22 +0200] rev 5182
[primary] fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 09:49:00 +0200] rev 5181
[migration] propagate TrInfo.comment permissions fix to existing instances
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 09:43:57 +0200] rev 5180
[xthml] fix #696079, potential empty table cause xhtml validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 08 Apr 2010 09:07:54 +0200] rev 5179
[schema] #847739: test and fix bad permission on TrInfo.comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 14:53:35 +0200] rev 5178
[iprogress] use xml_escape instead of buggy replace
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 14:42:55 +0200] rev 5177
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 14:42:44 +0200] rev 5176
[querier] don't need a Cache instance for rql cacke key cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 14:42:12 +0200] rev 5175
[testlib] properly close connections opened during test in tearDown
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 14:26:35 +0200] rev 5174
#759035: Automate addition of eid cachekey in RQL analysis
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 09:24:00 +0200] rev 5173
[rql annotation] add test and fix for bug introduced by 5004:4cc020ee70e2. While it sounded good, it wasn't because stinfo['relations'] didn't include anymore stinfo['typerels']
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 07 Apr 2010 11:57:37 +0200] rev 5172
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 07 Apr 2010 11:56:30 +0200] rev 5171
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 07 Apr 2010 11:53:11 +0200] rev 5170
merged back old local changeset
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 07 Apr 2010 11:52:25 +0200] rev 5169
fixed indentation error in devtools/__init__.py
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 19:42:37 +0200] rev 5168
SQL Server port: temporary table handling
Together with support from logilab.database, handle temp tables for SQLServer
(which are denoted by a name starting with '#', just don't ask)
Note updated dependency on logilab.database 1.0.2
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 19:27:47 +0200] rev 5167
log RQL query in case of unexpected failure (priceless when porting to new database)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 06 Apr 2010 19:26:28 +0200] rev 5166
enable live test against sqlserver 2005 database
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 04 Mar 2010 17:26:43 +0100] rev 5165
fixed skeleton help strings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 10:05:04 +0200] rev 5164
[wf] should use is_in_group to avoid error with internal manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 09:45:15 +0200] rev 5163
[pkginfo] when only __depends__ is specified, deduced __depends_cubes__ from it (same thing for recommends) ; fix ad skel pkginfo on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 07 Apr 2010 09:43:50 +0200] rev 5162
[hook] fix name error in case of error on hook's .event checking
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 20:10:12 +0200] rev 5161
[ms] fix planning bug introduced with recent rql refactoring for queries with only eids (fix unittest_multisources.test_in_eid)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 19:58:04 +0200] rev 5160
[hook] proper bad .events detection. Fix unittest_hook
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 19:08:07 +0200] rev 5159
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 18:51:17 +0200] rev 5158
[test] _gc_debug deleted from etwist.server
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 18:36:09 +0200] rev 5157
[doc/book] talk about reloadComponent, misc tweaks and notes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 18:03:52 +0200] rev 5156
[doc/book] add q/a on i18n customisation, misc tweaks
Adrien Chauve <adrien.chauve@logilab.fr> [Tue, 06 Apr 2010 16:50:53 +0200] rev 5155
Switched from TwistedWeb2 to TwistedWeb
- added HTTPResponse class in etwist/http.py (could be then abstracted in cubicweb/web)
- added twisted.web2 http_headers.py file in cubicweb/web to handle HTTP headers conversion between raw headers and python object
- deleted caching for base views (except for startup views). A better solution would be using weak entity tags (but they don't seem
to be implemented in twisted.web).
- added forbidden access message when browsing static local directories
- tested with TwistedWeb 8, 9 and 10
TODO:
=====
- Handle file uploading in forms.
twisted.web seems to keep very little information (only file content) about uploaded files in twisted_request.args['input_field_name']. But it doesn't seem to keep track of filenames.
Possible solutions :
- use web2 code to parse raw request content still stored and available in twisted_request.content
- find a magic function in twisted.web API to get the filenames
- More tests.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 16:04:37 +0200] rev 5154
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 16:04:50 +0200] rev 5153
[ldap] fix email synchronization code: bad rql query + avoid integrity error on creating the address + nicer use_email / primary_email handling
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 15:25:56 +0200] rev 5152
[doc/book] adjust a bit
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 06 Apr 2010 15:11:51 +0200] rev 5151
[doc/book] expand the js chapter with an ajax story
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:29:41 +0200] rev 5150
[doc] remove useless directories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:27:02 +0200] rev 5149
temporary move
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:17:18 +0200] rev 5148
[web components] refactor as book recommends :$
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:11:40 +0200] rev 5147
more / cleaner / in code documentation of vreg, selectors and appobject
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 06 Apr 2010 10:10:47 +0200] rev 5146
add note about running repository / client code
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 05 Apr 2010 09:06:16 +0200] rev 5145
added information about the naming conventions in schema.py
also:
* some typo fix
* note about ObjectRelation soon being deprecated
* clarified a few hazy points
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Apr 2010 17:27:53 +0200] rev 5144
[doc/book] a new chapter on how to use the ORM
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 16:10:35 +0200] rev 5143
improved doc on selectors an vregistry
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 16:10:17 +0200] rev 5142
fix rest formatting
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:40:32 +0200] rev 5141
typo fix
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:36:54 +0200] rev 5140
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 14:28:43 +0200] rev 5139
catch and log errors caused by bad json data
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 02 Apr 2010 13:48:16 +0200] rev 5138
list allowed values for ldap protocol setting in help, so that the generated file includes this in a comment
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 02 Apr 2010 13:53:27 +0200] rev 5137
[doc/book] enhance i18n section #656191
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 10:04:33 +0200] rev 5136
[doc] more (doc oriented) feature in list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:56:40 +0200] rev 5135
[doc] enhanced setup section: fix sections'level, more postgres tips, merge environment doc with cwconfig.py module docstring using custom autodocstring directive
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:55:30 +0200] rev 5134
[doc] enhanced concepts section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 02 Apr 2010 09:54:03 +0200] rev 5133
remove ref to no more existing file
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 02 Apr 2010 08:44:00 +0200] rev 5132
[cleaning] simpler implementation of cmd_create_entity
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 02 Apr 2010 08:43:01 +0200] rev 5131
[storages] fix fs_importing side-effect on entity.data
When creating a new File object, if fs_importing is set,
we want entity.data to be the file content instead of the
filepath for the rest of the transaction.
(see test_bfss_fs_importing_transparency) for test implementation
To make this possible, the storage hooks (entity_added / entity_updated)
must return the correct value to set in the entity dict.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 11:48:18 +0200] rev 5130
nicer warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 10:36:56 +0200] rev 5129
[doc] started full features list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:24:53 +0200] rev 5128
[python] take care to this detail of @contextmanager: if an unhandled exception occurs in the block, it is reraised inside the generator at the point where the yield occurred
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:24:11 +0200] rev 5127
[entity] explain why the assert failed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Apr 2010 08:23:57 +0200] rev 5126
[test] fix expected error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 17:02:51 +0200] rev 5125
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 17:02:21 +0200] rev 5124
fix #822890, missing argument on abstract source backup method make backup failed on multi-sources instances
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 16:00:16 +0200] rev 5123
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:59:32 +0200] rev 5122
[schema] ensure we don't remove has_text relation type unfortunatly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:39:09 +0200] rev 5121
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:37:41 +0200] rev 5120
Added tag cubicweb-debian-version-3.7.3-1 for changeset 44c7bf90df71
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:37:40 +0200] rev 5119
Added tag cubicweb-version-3.7.3 for changeset 768beb8e15f1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 15:04:36 +0200] rev 5118
[distrib] fix pkginfo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:55:54 +0200] rev 5117
3.7.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:50:30 +0200] rev 5116
[hooks] better message on bad .event class attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:46:04 +0200] rev 5115
[repository] forbid usage of set_attributes() in before_add_entity
set_attributes() will generate a RQL query that will silently fail.
An explicit error is better.
You can still use the ``entity[attr] = value`` notation that
won't generate a SQL query but still update the inner state
of the entity and its edited_attributes attribute.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:32:19 +0200] rev 5114
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:32:07 +0200] rev 5113
[cleanup] tb already printed by self.exception; add note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:28:40 +0200] rev 5112
[facet] fix 'bookmark this search':
* vid wasn't included in the link generated by the facet box
* proper url quoting in both js / box code (try an has_text search with '&' inside...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 14:27:02 +0200] rev 5111
[widget] more wide textarea on bookmark edition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 13:35:44 +0200] rev 5110
[distribution] the web/data/images directory has to be handled in pkginfo
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 31 Mar 2010 14:25:26 +0200] rev 5109
[test] use the new temporary_appojects CM to simplfy unittest_storage
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:53:24 +0200] rev 5108
[session] try to reconnect on unexpected error in system_sql. We need this for proper reconnection of pool used by hooks or looping task doing sql queries (such as cw_cleanup_transaction)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:51:35 +0200] rev 5107
[source] log attempt to reconnect using warning level. Also, don't relog failed sql (already logged)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:33:47 +0200] rev 5106
[test] avoid critical log by informing the source we consider Personne as a multi-sources type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:33:09 +0200] rev 5105
[test] use new temporary_appobjects context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:32:39 +0200] rev 5104
[test] that doesn't smell good but fix the test...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:22:20 +0200] rev 5103
[vreg] we do want the opposite...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:26:07 +0200] rev 5102
[testlib] simple helper method to register temporary appobjects (hooks for instance) with a context manager
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 12:21:39 +0200] rev 5101
[undo] fix transactions table name in cleanup operation
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 31 Mar 2010 11:52:15 +0200] rev 5100
Add context management methode to dbapi.Connection
the connection is automaticly closed when exiting the context.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 11:41:20 +0200] rev 5099
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 11:41:17 +0200] rev 5098
[i18n] use named substitution to avoid gettext warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 10:56:43 +0200] rev 5097
[dataimport] print transaction id when we get one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:58:44 +0200] rev 5096
[cleanup] add some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:58:20 +0200] rev 5095
[optimisation] _select_best is used very intensivly. Peanuts optimization may count :)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:57:18 +0200] rev 5094
[optimization] traced_selection is used very intensively in debug mode
optimizing it is worth the pain. Basically : don't do stuff unnecessary
when we don't trace anything.