Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 15:17:18 +0200] rev 5283
[config] better *-session-time documentation and usage in session handler
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 15:16:01 +0200] rev 5282
[facet] fix #873742: erroenously use self.cw_rset instead of context rset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 15:14:21 +0200] rev 5281
[vreg] fix traced_selection
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 15 Apr 2010 14:29:58 +0200] rev 5280
added note about interesting page about SQL implementation differences
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 15 Apr 2010 14:27:43 +0200] rev 5279
use MB for Megabytes, instead of french Mo
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 14:07:47 +0200] rev 5278
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 14:07:25 +0200] rev 5277
[doc] save idiotic changes to some drawing
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 14:06:33 +0200] rev 5276
[devtools/validators] add an Xml validator able to degrade to Html validation because of views perusing demote_to_html
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 14:01:29 +0200] rev 5275
[vreg] fix bug introduced in 5273:c4caef6f09c9 : we should not force_reload in vreg reset done because of a set_schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 12:48:40 +0200] rev 5274
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 12:47:29 +0200] rev 5273
[vreg] refactor the [re]loading process so things get clearer and fix spurious errors on edge cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 12:47:02 +0200] rev 5272
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 12:46:57 +0200] rev 5271
[dbapi] fix user handling on dbapi request. Avoid getting None as _user and remove the need for a property.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 15 Apr 2010 12:46:08 +0200] rev 5270
[etwist] allow to specify max size for POST request in the configuration. We should deal with this nicely on the js form validation code.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 12:04:48 +0200] rev 5269
[doc/book] missing .svg files, refresh .pngs, fixlets
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 11:00:44 +0200] rev 5268
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 10:59:49 +0200] rev 5267
[devtools] do not forbid use of postgres as a source for tests (but it still needs proper dump/restore support)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 15 Apr 2010 10:58:21 +0200] rev 5266
[doc/book] regroup views chapters under common umbrella (in the development part) & some fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 18:54:28 +0200] rev 5265
section moved to the book
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 18:33:56 +0200] rev 5264
fix the dosctring
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 18:24:17 +0200] rev 5263
[doc/book] merge controller/editcontroller
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 18:10:47 +0200] rev 5262
[doc/book] move a big chunk of primary view customisation example in the primary view chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 18:10:09 +0200] rev 5261
[doc/book] refresh the style
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 17:19:52 +0200] rev 5260
[doc/book] kill remaining warnings
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 17:02:07 +0200] rev 5259
[doc/book] add a ref from hooks to adv tutorial
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:57:55 +0200] rev 5258
[doc/book] add a better standard theme
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:56:33 +0200] rev 5257
[doc/book] misc fixes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:33:30 +0200] rev 5256
[doc/book] reorg. a bit the top-level toc, complete the windows setup part
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:32:20 +0200] rev 5255
[doc/book] complete the unit tests chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:31:20 +0200] rev 5254
[doc/book] update primary view layout pic: added missing elements, removed main layout around
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 14 Apr 2010 16:15:08 +0200] rev 5253
[doc/book] include sylvain great advanced tutorial, move tutorials in one proper section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 18:24:20 +0200] rev 5252
[etwist] upgrade post max size to 200Mo until it's configurable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 17:38:24 +0200] rev 5251
[web session] fix web session id bug on automatic reconnection. The web session id should keep the first connection id, then differ of the repo connection id once some reconnection has been done (since the session cookie isn't updated in such cases). Also, use a lock to avoid potential race condition on reconnection.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 17:31:41 +0200] rev 5250
[packaging] 3.8 depends on lgc 0.50 (new argument to dot generator in lgc.graph)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 16:26:34 +0200] rev 5249
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 16:26:20 +0200] rev 5248
[views] fix bug on gc debugging view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 16:26:02 +0200] rev 5247
[testlib] ctrl_publish now allow to specify the controller id as argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 11:26:36 +0200] rev 5246
[web] stop having actions configurable through cwproperties: this clutter site management and .po files for a useless fonctionnality (which, where and how actions are displayed is handled by code)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 10:31:09 +0200] rev 5245
[testlib] we should not replace db-name in sources, this cause undesired side effect (when running pytest on whole cw for instance). Proper fix in logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 10:29:38 +0200] rev 5244
[web] put a fake object that raise Unauthorized on any attribute access as req.cnx and req._user, so we are properly asked to authenticated on any view that tries to do something with one of those attributes (instead of doing defensive programming everywhere we're doing that)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 10:25:51 +0200] rev 5243
[etwist] we must call all error not handled in _render_request, else the thread fail silently and nothing ends up on the ui
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 09:38:08 +0200] rev 5242
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 09:11:42 +0200] rev 5241
[test] fix unittest_viewselector
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 14 Apr 2010 08:58:57 +0200] rev 5240
[tests] fix bfss tests to match new uniquify implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 14 Apr 2010 08:49:23 +0200] rev 5239
[schema view] the final touch. Things are getting nicely displayed, and code clean
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 19:43:51 +0200] rev 5238
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 19:43:30 +0200] rev 5237
[schema view] fixes
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 13 Apr 2010 19:41:20 +0200] rev 5236
catalogs update
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 06 Apr 2010 12:23:10 +0200] rev 5235
ticket #344404, cwgroup primary view improvement, use tabs to display nicely permissions
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Tue, 06 Apr 2010 12:23:05 +0200] rev 5234
ticket #787103, relation schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Thu, 25 Mar 2010 08:30:53 -0700] rev 5233
ticket #787103, entity schema view enhancements
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 24 Mar 2010 15:31:37 -0700] rev 5232
ticket #787032, schema view improvement
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 Apr 2010 19:22:46 +0200] rev 5231
[doc/book] misc fixes/enhancements & notes
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 Apr 2010 19:21:20 +0200] rev 5230
[doc/book] remove refs to aafig (it uses a sphynx extension unavailable as a .deb)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 Apr 2010 19:19:37 +0200] rev 5229
[doc/book] expand tesing material
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 Apr 2010 19:18:06 +0200] rev 5228
[doc/book] add sections to the FAQ, try to reorder stuff
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 13 Apr 2010 19:16:30 +0200] rev 5227
[doc/book] primary view section enhancements
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 15:46:46 +0200] rev 5226
[session] better readability
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 15:46:44 +0200] rev 5225
[facet] don't crash in rset_vocabulary if an unauthorized error was raised in rqlexec
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 13:21:10 +0200] rev 5224
[mq]: worklfow view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 13 Apr 2010 12:19:24 +0200] rev 5223
#773448: refactor session and 'no connection' handling, by introducing proper web session. We should now be able to see page even when no anon is configured, and be redirected to the login form as soon as one tries to do a query.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 12 Apr 2010 19:36:51 +0200] rev 5222
[doc/book] more flesh to views/primary view
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 12 Apr 2010 16:57:11 +0200] rev 5221
[doc/book] remove merged chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 12 Apr 2010 16:49:35 +0200] rev 5220
[doc/book] complete chapter on hooks & ops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Apr 2010 15:28:26 +0200] rev 5219
[storage] missing qrefresh in previous patch applied: fix comment, error message, and use a storage specified encoding, not cubicweb's encoding
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 12 Apr 2010 15:21:08 +0200] rev 5218
[fix] fix path unicity process in BytesFileSystemStorage.new_fs_path
The previous implementation was bugged (prefixing the whole path with '_'
instead of the base name). A new version (using number) replace it.
* * *
Improve BytesFileSystemStorage.new_fs_path to use available metadata
This version try to get some hint about how to name the file using metadata.
Using the real file name and extension when available. Keeping the extension
might be usefull for exemple in the case of processing that use filename
extension to detect content-type.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Apr 2010 15:15:00 +0200] rev 5217
[source] small refactoring to avoid being doomed by a wrong assertion message on buggy storage raising attribute error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 12 Apr 2010 14:41:01 +0200] rev 5216
[twisted] fix LongTimeExpiringFile and getChild implementation
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 12 Apr 2010 15:11:23 +0200] rev 5215
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 12 Apr 2010 15:05:37 +0000] rev 5214
fix cwctl db-init -d on SQL Server
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.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:55:19 +0200] rev 5093
[optimization] improve massive write performance by optimizing hooks selection
profiling on some massive deletion showed up that 2/3 of the time was spent
in hooks selection. Those changes make it much more acceptable (through
selection is still not negligeable):
* use one registry for each event, so we've much less hooks to check
when emiting an event as well as no more need for the match_event
selector. This required ability to put one appobject
into several registries, using a __registries__ class attribute.
* check for deprecated .enabled at registry initialization time instead
of at selection time
A very simple HooksManager class has been reintroduce to choose the
right registry on call_hooks.
Those optimisations leads to a ~x3 factor of time necessary to delete
16000 entities.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 31 Mar 2010 09:45:14 +0200] rev 5092
[upgrade] after upgrade, fork command to start instance avoid grave uicfg pb (explicit rules all removed...)