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...)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 19:59:56 +0200] rev 5091
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 19:55:20 +0200] rev 5090
[repo creation] removing existing entities of 'single' cardinality relatino should be considered as 'activeintegrity' hook. Also don't disable that category during repo creation to avoid pb such as two default workflows for one entity types
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 30 Mar 2010 18:41:17 +0200] rev 5089
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 30 Mar 2010 16:29:32 +0200] rev 5088
handle Service Close request correctly (closes #736039)
The windows event self._stop_event was not used, and twisted was not getting a
chance of terminating cleanly by calling its shutdown event handlers (which
would eventually call pyro_unregister). Fixed by calling reactor.stop()
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:59:18 +0200] rev 5087
[js form validation] fix case where we've None/null keys in the errors dictionnary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:56:10 +0200] rev 5086
[cleanup] exists imported, use it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:54:28 +0200] rev 5085
[form] CompoundField should not return itself in actual_fields, this avoid error on iliane with 3.7.2 where it's marked as required (from the schema) while value are provided by subfields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:50:09 +0200] rev 5084
[repo] we want a hooks manager and hooks initialized event on quick start (we trigger events such as server_backup / server_restore for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 17:29:03 +0200] rev 5083
[distribution] sql extensions files now have proper extension, fix manifest file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 14:32:03 +0200] rev 5082
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:32:01 +0200] rev 5081
[events manager] onevent decorator may be given extra arguments to give to em.bind
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:31:21 +0200] rev 5080
[cleanup] some notes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:29:55 +0200] rev 5079
[reload] on registry reloading, we should change class of users of opened session
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:28:19 +0200] rev 5078
[appobject imports] don't include __init__ in package's name. See comment for more info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 13:27:30 +0200] rev 5077
[rset] cubes such as iliane hi-jack rset description by poping some lines from it. Handle this on RepeatList
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:18:31 +0200] rev 5076
[undo] basic support for undoing of entity creation / relation addition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:17:50 +0200] rev 5075
[undo] init entity cache when undoing an entity deletion
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:17:21 +0200] rev 5074
[undo] consistent is/is_instance_of processing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:15:57 +0200] rev 5073
[repo] don't need rset description on those queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:15:08 +0200] rev 5072
[cleanup] style fixes, add nodes, 0.2 cents refactorings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:06:13 +0200] rev 5071
[undo] during undoing, call hooks in the [active]integrity and undo categories
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 11:01:34 +0200] rev 5070
[repo] refactor fti operation to use set_operation and a single operation whatever the number of entities to ft index
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:57:42 +0200] rev 5069
[querier] introduce RepeatList class, used to optimize size of data returned for result set description
When rql query has no ambiguity, we used to return the same description * N
where N is the size of the result set. Returning RepeatList class avoid
that multiplication.
According to quick benchmark this improve performance for result set whose
size is ~ > 50, has very small penalty for rset < 50, and in any case improve
the size of data to be transfered over the network through pyro connection.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:50:46 +0200] rev 5068
[repo] on add entity, set cache as soon as possible + fill type/source cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:39:16 +0200] rev 5067
[repo] more efficient eid cache operations handling based on set_operation; refactor
* split CleanupEidTypeCache operation into one operation for deleted eids
and another for added eids, and put them in cw.server.hook
* for consistency, move fti unindexing handling from the repository
to the system source
* handling of deleted eids is done in plan execution (ssplanner), no
needs to redo it in *delete_info
-> no more need for _prepare_delete_info method, killed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:28:41 +0200] rev 5066
[repo] move eschema_eid function from hooks.metadata to server.utils
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:20:03 +0200] rev 5065
[primary view] skip virtual rtypes anyway
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:18:23 +0200] rev 5064
[test] CubicWebTC.create_user expect an actual query, and we don't need to give session here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 30 Mar 2010 10:17:29 +0200] rev 5063
[dataimport] stop disabling undo ; commit return transaction id
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 29 Mar 2010 19:10:22 +0200] rev 5062
[logging] demote static file served to debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:34:24 +0200] rev 5061
[cleanup]
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:34:06 +0200] rev 5060
[repo] optimize massive insertion/deletion by using the new set_operation function
Idea is that on massive insertion, cost of handling the list of operation
become non negligeable, so we should minimize the number of operations in
that list.
The set_operation function ease usage of operation associated to data in
session.transaction_data, and we only add the operation when data set isn't
initialized yet, else we simply add data to the set. The operation then
simply process accumulated data.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:28:41 +0200] rev 5059
[repo] make etype which should go in deleted_entities configurable: we only need this for types imported from other multi-sources instances
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:26:20 +0200] rev 5058
[repo] don't execute child step twice in EntitiesDeleteStep
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 13:25:13 +0200] rev 5057
[form] consider autoform_field_kwargs for meta fields; allow required customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 11:51:46 +0200] rev 5056
[workflow] support for automatic transition starting from the initial state
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 11:51:02 +0200] rev 5055
[testlib] create_user support extra kwargs to give to create_entity(CWUser)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 29 Mar 2010 10:20:01 +0200] rev 5054
fix dataimport for 3.7.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:22:04 +0100] rev 5053
use lgc.testlib.TestCase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:21:17 +0100] rev 5052
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:20:49 +0100] rev 5051
Added tag cubicweb-debian-version-3.7.2-1 for changeset 8fda29a6c219
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 19:20:48 +0100] rev 5050
Added tag cubicweb-version-3.7.2 for changeset d010f749c21d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 17:07:41 +0100] rev 5049
take care to empty string in cubes search path
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:15:41 +0100] rev 5048
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:15:16 +0100] rev 5047
[ms] fix name error introduced by rql 0.26 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 16:13:27 +0100] rev 5046
add note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:54:35 +0100] rev 5045
3.7.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:54:01 +0100] rev 5044
[selectors] new is_in_state select to avoid common error when writing state based selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 15:53:07 +0100] rev 5043
[repo config] cleanup read_instance_schema / bootstrap_schema / creating mess
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 14:13:34 +0100] rev 5042
fix #726167: i18ninstance use data in bootstrab_cubes instead of the database one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:45:48 +0100] rev 5041
[cleanup] remove 3.7 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:45:21 +0100] rev 5040
[form controller] clear caches in case some attribute participating to the rest path has been modified, avoid redirection to a no more existant page (fix #753567)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:33:47 +0100] rev 5039
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:33:32 +0100] rev 5038
[form] fix validation error handling
* type when possible ValidationError raised by the edit controller
* don't rely on repository to check required field
* turn css class used for field error message to errorMsg to avoid
confusion with the error class added to input
* fix css when errors are added by the form renderer
* fix form renderer to add the error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:23:25 +0100] rev 5037
[captcha] handle captcha validation properly in the captcha widget
also, avoid error if pil isn't installed (only a recommendation)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:21:25 +0100] rev 5036
[testlib] __errorurl may be a relative path, check we're actually removing base url first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 13:20:42 +0100] rev 5035
[i18ncube] clear_rtag_objects imported when generating cube's .po file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 09:19:09 +0100] rev 5034
[maintainance] don't crash if we've no in-memory repository
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 09:18:21 +0100] rev 5033
[db dump/restore] fix '#615840: db-dump must be always runnable' by setting repairing on config. Also, avoid to read the whole schema from the database on dump/restore: the bootstrap schema is enough.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:32:32 +0100] rev 5032
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:30:25 +0100] rev 5031
__missing__ main
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 08:28:22 +0100] rev 5030
[form] put qualified name on validation error, should fix #784299
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Mar 2010 06:57:52 +0100] rev 5029
[test] fixes when executed under apycot environment (also added ldap1 to test host /etc/hosts)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:32:10 +0100] rev 5028
...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:46:26 +0100] rev 5027
[config] move ConfigurationProblem to migration + refactor it to benefit from config methods
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:46:22 +0100] rev 5026
[config] more cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:38:58 +0100] rev 5025
deprecate __use__ and __recommend__
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 25 Mar 2010 20:33:03 +0100] rev 5024
add egg support with dependencies auto-installation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 20:32:52 +0100] rev 5023
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 19:32:04 +0100] rev 5022
fix _cubes dir
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 17:55:24 +0100] rev 5021
handle nicely typical installation other than debian package / mercurial forest
* new _find_prefix method to detect installation prefix (maybe specified using
CW_INSTALL_PREFIX environment variable)
* set various resource accessors according to this, cleanup on the way
* remove no more necessary APYCOT_ROOT hacks
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 25 Mar 2010 15:11:44 +0100] rev 5020
When a TC failed to initiliase the database, the following test are SKIPPED
When a TC failed to initiliase the database, the other test of the same TestCase
are skipped with an explicite message instead of failing later for with an
unrelated message.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 15:08:27 +0100] rev 5019
[c-c] new server_maintenance hook, called on c-c shell / upgrade
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:49:24 +0100] rev 5018
[appobject] add version number to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:33:50 +0100] rev 5017
update rql dependency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:26:13 +0100] rev 5016
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:25:44 +0100] rev 5015
fix migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 14:00:01 +0100] rev 5014
[cleanup] useless try except
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:59:47 +0100] rev 5013
[source storage] refactor source sql generation and results handling to allow repository side callbacks
for instance with the BytesFileSystemStorage, before this change:
* fspath, _fsopen function were stored procedures executed on the database
-> files had to be available both on the repository *and* the database host
* we needed implementation for each handled database
Now, those function are python callbacks executed when necessary on the
repository side, on data comming from the database.
The litle cons are:
* you can't do anymore restriction on mapped attributes
* you can't write queries which will return in the same rset column
some mapped attributes (or not mapped the same way) / some not
This seems much acceptable since:
* it's much more easy to handle when you start having the db on another host
than the repo
* BFSS works seemlessly on any backend now
* you don't bother that much about the cons (at least in the bfss case):
you usually don't do any restriction on Bytes...
Bonus points: BFSS is more efficient (no queries under the cover as it
was done in the registered procedure) and we have a much nicer/efficient
fspath implementation.
IMO, that rocks :D
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:49:07 +0100] rev 5012
[bfss] fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:46:55 +0100] rev 5011
[source storage] on deletion, entity has no edited_attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:44:24 +0100] rev 5010
[cleanup] rename dbms_helper to dbhelper for consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:42:17 +0100] rev 5009
[entity] we also have to override dict.pop to properly maintain edited_attributes consistency
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:41:26 +0100] rev 5008
[bfss test] some minor refactoring. Test deletion + creation/update/deletion rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Mar 2010 13:27:09 +0100] rev 5007
don't put hooks deleting orphan composites into the 'integrity' category, we usually want it when integrity is deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:38:23 +0100] rev 5006
[facet] allow to specify a target type on relation facets for case such as Keyword/CodeKeyword where we only targets Keyword
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:38:19 +0100] rev 5005
don't rewrite config's url during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 18:04:59 +0100] rev 5004
le patch rql26 a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 17:58:05 +0100] rev 5003
backport stable
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 24 Mar 2010 15:18:48 +0100] rev 5002
[D] book: update backup procedures in additional tips
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:42:23 +0100] rev 5001
[cleanup] remove accidentaly commited print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:40:57 +0100] rev 5000
[test] don't try to reset session manager during test,
this leads to weird failures when running multiple tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:22:01 +0100] rev 4999
don't update dontcheck until everything went fine:
see usage in after_update_entity, where if we got an Unauthorized at
hook time, we will retry and commit time.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:21:21 +0100] rev 4998
[test] having two eid relations is now forbiden by rql
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:09:49 +0100] rev 4997
[web test] a basic test, to be completed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:09:21 +0100] rev 4996
[test] don't clear rtags during tests, may cause breakage with manually import appobjects modules (see unittest_tracker for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 15:08:24 +0100] rev 4995
[web] move workflow related uicfg stuff to the workflow module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:17:01 +0100] rev 4994
dont get eid from entity's dict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:12:47 +0100] rev 4993
[notification] don't create 'changes' in transaction data until actually needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 14:11:01 +0100] rev 4992
backport pending_operations on hi-jacked session, see comment
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 13:51:52 +0100] rev 4991
[entity] fix dumb name error on .set_relations(rel=None)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 13:40:53 +0100] rev 4990
[security] don't add attribute into skip_security if already in edited_attributes, else we may accidentaly skip a desired security check
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:15:57 +0100] rev 4989
[repo entity] we have to provide a __delitem__ implementation as well, see example in the docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:00:51 +0100] rev 4988
[yams] on creation, specify relations anyway so we don't get spurious warning for accessing eid through the dict api on yams validation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 11:00:02 +0100] rev 4987
[repo] fix warning message and implementation of bw compat unsafe_execute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 10:23:57 +0100] rev 4986
stable is now 3.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 10:23:31 +0100] rev 4985
oldstable is now 3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:42:49 +0100] rev 4984
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:40:21 +0100] rev 4983
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:40:00 +0100] rev 4982
Added tag cubicweb-debian-version-3.6.3-1 for changeset f9fce56d6a0c
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:39:59 +0100] rev 4981
Added tag cubicweb-version-3.6.3 for changeset 9c342fa4f1b7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:55:31 +0100] rev 4980
Added tag cubicweb-debian-version-3.7.1-1 for changeset 9194740f070e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:55:30 +0100] rev 4979
Added tag cubicweb-version-3.7.1 for changeset 6b0832bbd1da
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 08:04:32 +0100] rev 4978
backport debian control changes done in 3.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Mar 2010 07:52:15 +0100] rev 4977
3.6.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 18:35:04 +0100] rev 4976
ticket #636927, add ajaxhtmlhead in controller js_component
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 18:16:35 +0100] rev 4975
[widget] allow kwargs passed to Select widget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:08:50 +0100] rev 4974
take care to empty breadcrumbs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:06:05 +0100] rev 4973
fix bug with damned transmutation functionality, occuring when using an INSERT query which also add relation to the entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 17:05:05 +0100] rev 4972
update skeleton for __pkginfo__.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Mar 2010 09:19:42 +0100] rev 4971
don't use optional on final relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 17:58:03 +0100] rev 4970
fix security issue introduced by 4967:04543ed0bbdc: attributes explicitly set by hooks should not be checked by security hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 16:33:29 +0100] rev 4969
[form js] apply vgodard patch fixing #750056: reorderTabindex js function crashes when form dom id is not 'entityForm'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 22 Mar 2010 11:11:00 +0100] rev 4968
missing unittest_main
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Sun, 21 Mar 2010 18:21:27 +0100] rev 4967
[server] add unit tests for storages
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:25:53 +0100] rev 4966
[registry] trigger reload events on set_schema()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:24:34 +0100] rev 4965
[source] only consider edited_attributes in source.preprocess_entity()
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 19 Mar 2010 19:21:31 +0100] rev 4964
[source] implement storages right in the source rather than in hooks
The problem is that Storage objects will most probably change entity's
dictionary so that values are correctly set before the source's
corresponding method (e.g. entity_added()) is called.
For instance, the BFSFileStorage will change the original binary
data and replace it with the destination file path in order to store
the file path in the database. This change must be local
to the source in order not to impact other hooks or attribute access
during the transaction, the whole idea being that the same
application code should work exactly the same whether or not a
BFSStorage is used or not.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 15:27:45 +0100] rev 4963
i18n update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:47:34 +0100] rev 4962
3.7.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:47:09 +0100] rev 4961
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:43:49 +0100] rev 4960
[etwist] cleanup, use cProfile instead of hotshot
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:43:15 +0100] rev 4959
[repo] start looping task on repo only config (though I bet more work is needed to get it actually working
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 14:42:35 +0100] rev 4958
[repo] call server_startup event in start_looping_task the repo is fully started (registered in pyro for instance)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 10:10:18 +0100] rev 4957
[security] take care uidrels may contains a relation targetting something else than a constant node (eg IN function)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 10:07:30 +0100] rev 4956
[ms] this test is already done before putting a relation in uidrels
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 09:08:09 +0100] rev 4955
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 09:08:00 +0100] rev 4954
[security] experimental rqlst cache for read security: to activate using a 'security-rqlst-cache' flag in transaction data when you'll issue a lot of identic queries with only kwargs varying
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Mar 2010 08:18:31 +0100] rev 4953
[read security] minor optimizations
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 18 Mar 2010 23:22:40 +0100] rev 4952
[web] get rid of spurious '[Errno 2] No such file or directory' on load
This was caused by can_do_pdf_conversion() which tries to use
'/usr/bin/fop'. When fop was not available, an OSError was raised
by suprocess.Popen.
This changeset first checks for /usr/bin/fop presence, then tries
to run fop. If an error occurs, log it instead of printing it.
NOTE for later: why do we test explicitly for "/usr/bin/fop"
rather than simply "fop" ?
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:39:17 +0100] rev 4951
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:37:55 +0100] rev 4950
[schema sync] fix another potential name error on synchronizing rdefs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:36:08 +0100] rev 4949
[schema sync] don't try to synchronize infered relation defs, fixing a name error on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:33:54 +0100] rev 4948
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:33:35 +0100] rev 4947
don't update constraints when it's not necessary
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:33:03 +0100] rev 4946
[repo] don't call server_shutdown hooks when creating/repairing instance to be consistence with server_startup hooks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:31:22 +0100] rev 4945
[migration] new build_descr argument to rqlexec on the migration helper
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:28:59 +0100] rev 4944
fix migration when upgrading from cw < 3.6 to cw 3.7
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:17:50 +0100] rev 4943
disable security when undoing
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 18 Mar 2010 17:16:17 +0100] rev 4942
merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 18 Mar 2010 14:06:53 +0100] rev 4941
[sql] fix FSPATH implementation
plpy.execute() returns a list of dictionaries with column names as
keys and corresponding values as values.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 17:14:01 +0100] rev 4940
[web deletion] must use set_message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 15:51:53 +0100] rev 4939
fix limited_rql w/ UNION query
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 11:57:48 +0100] rev 4938
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 09:12:54 +0100] rev 4937
fix import
Adrien Chauve <adrien.chauve@logilab.fr> [Thu, 18 Mar 2010 09:07:10 +0100] rev 4936
Fixed some of the documentation warnings when building the book with sphinx.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Mar 2010 09:05:49 +0100] rev 4935
move pdf icon component with it's template so we don't see it when the template isn't available due to missing dependancies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 11:37:47 +0100] rev 4934
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 11:36:47 +0100] rev 4933
add missing warn imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 11:30:39 +0100] rev 4932
add missing warn imports
Stephanie Marcu <stephanie.marcu@logilab.fr> [Wed, 17 Mar 2010 09:58:37 +0100] rev 4931
improve documentation for uicfg and rtags
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:23:27 +0100] rev 4930
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:23:17 +0100] rev 4929
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:21:58 +0100] rev 4928
[cleanup] objtype not used
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:21:13 +0100] rev 4927
[schema sync] test and fix bug when updating multiple constraint for the same rdef in the same transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:19:02 +0100] rev 4926
3.6 want __regid__, not id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:17:14 +0100] rev 4925
[migration] disable notification by default during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:16:30 +0100] rev 4924
[session] fix hijack_user: most transaction_data should be copied (everything but the entity cache
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:23:05 +0100] rev 4923
Added tag cubicweb-debian-version-3.7.0-1 for changeset 0c9ff7e496ce
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Mar 2010 09:23:04 +0100] rev 4922
Added tag cubicweb-version-3.7.0 for changeset 270aba1e6fa2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 18:10:59 +0100] rev 4921
fix control file by using virtual packages
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:59:50 +0100] rev 4920
fix common/rql dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:56:04 +0100] rev 4919
3.7.0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:55:54 +0100] rev 4918
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:44:42 +0100] rev 4917
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:44:32 +0100] rev 4916
fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 17:19:10 +0100] rev 4915
fix test broken by recent rql rewrite / querier changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 16:32:36 +0100] rev 4914
backport stable into default
Katia Saurfelt <katia.saurfelt@logilab.fr> [Mon, 01 Mar 2010 11:26:14 +0100] rev 4913
server/web api for accessing to deleted_entites
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 10 Mar 2010 16:07:24 +0100] rev 4912
[R] dataimport: changes
- deprecate checkpoint() in favour of commit()
- filter on None value in mk_entity
- rearrange log messages order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:40:59 +0100] rev 4911
#750055: make it easier to change post logout url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:34:29 +0100] rev 4910
[web auth] fix authentication pb when anonymous are allowed, avoiding the first authentifier to return an anon connection while a following one may find correct authentication info. This make things simpler (eventually)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 12:31:06 +0100] rev 4909
[web server] simplify base-url handling on startup. Ensure config['base-url'] is correctly set once started
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Mar 2010 10:54:59 +0100] rev 4908
[rql rewrite] until a better solution is found raise BadSchemaDefinition when two inlined relations with security on an optional variable is used, explaining how to bypass it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 18:07:54 +0100] rev 4907
[rql rewriting] handle case where we've and optional inlined relation in the original query. Also, we should append EXISTS even in subquery to avoid inserting duplicates in results
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 18:06:32 +0100] rev 4906
[rql rewriting] handle case where we want to insert snippet on a variable that has previously been moved to a subquery
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 11:18:51 +0100] rev 4905
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Mar 2010 11:16:40 +0100] rev 4904
[backup] fix misplaced paren
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:53:18 +0100] rev 4903
fix bad conflict resolution
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:23:21 +0100] rev 4902
backport stable
Katia Saurfelt <katia.saurfelt@logilab.fr> [Fri, 12 Mar 2010 16:21:13 +0100] rev 4901
LazySuggestField : remote version of RestrictedSuggestField
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:15:33 +0100] rev 4900
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 16:11:56 +0100] rev 4899
backport stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 12 Mar 2010 15:53:31 +0100] rev 4898
Add a rssitem_id attribut to RSSView to easly choose the view used for items.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:05:33 +0100] rev 4897
[web] start a new message system based on id of message stored in session's data
instead of using __message as today, which is problematic (allow message injection).
Also we can have html in messages. Removed the __createdpath hack used to escape those
limitation.
The old system should still work though (and will probably for a while, though
we should progressivly move to the new system where it's possible).
Cleanup request paramaters handling on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:01:52 +0100] rev 4896
[notification] fix dumb name error in hijack user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:00:54 +0100] rev 4895
[dbapi] return default argument instead of None when no connection set yet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 15:00:25 +0100] rev 4894
[cleanup selectors] use authenticated_user, check for form params instead of handling potential key error on missing params
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:55:41 +0100] rev 4893
[db backup] fix name error in backup_to_file: we've to pass .confirm all along the chain as for restore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:52:22 +0100] rev 4892
[cleanup] use iteritems
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:51:59 +0100] rev 4891
[url] new rebuild_url method on base request
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 14:50:54 +0100] rev 4890
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 12:09:27 +0100] rev 4889
fix apycot detection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:50:27 +0100] rev 4888
provide logilab.database compat when creating database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:49:29 +0100] rev 4887
update debian changelog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:49:05 +0100] rev 4886
[db creation] fix some bugs introduced by the migration to logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 11:34:35 +0100] rev 4885
[debian] packaging fixes
* remove postgresql-contrib from cubicweb dependency (using tsearch
which is included with postgres >= 8.3)
* add postgresql-client | mysql-client to cubicweb-server dependencies, necessary
for dump/restore of database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:53:25 +0100] rev 4884
[web] yes this is used
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:53:15 +0100] rev 4883
[web] cleanup: move delete_entities to the edit controller
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:52:43 +0100] rev 4882
[web] stop using deprecated merge_dicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:52:04 +0100] rev 4881
[utils] improve dump_class by copying back original class doc and module name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:51:30 +0100] rev 4880
[utils] make_uid imrovment: using .hex already remove '-', make key argument optional, document it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:50:37 +0100] rev 4879
deprecates merge_dicts
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:49:42 +0100] rev 4878
kill unused method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:45 +0100] rev 4877
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:28 +0100] rev 4876
Added tag cubicweb-debian-version-3.6.2-1 for changeset f3b4bb9121a0
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:46:28 +0100] rev 4875
Added tag cubicweb-version-3.6.2 for changeset bfebe3d14d53
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 12 Mar 2010 10:43:32 +0100] rev 4874
[form] fix bug introduced by 4871:a34b76593ab2 with field using multiple input with different suffix: the suffix should be considered in the cache key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:55:29 +0100] rev 4873
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:49:40 +0100] rev 4872
prepare 3.6.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:16:35 +0100] rev 4871
[form fields] fix severe memory leak due to @cached on field.input_name
occuring on forms with persistent fields. Has been triggered in 3.6.1 on
our public sites because:
* the login form use persistent field since 3.6
* it's displayed on every anonymous request
* another bug (fixed during the latest mini-sprint) made it also displayed
for authenticated user
see explanation in code for more detail.
moral: be very careful with @cached...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 19:07:45 +0100] rev 4870
[debug] allow to specify maxlevel to gc_info
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 18:28:38 +0100] rev 4869
[write security] we must check perm with read security disabled + add missing eid argument to check_perm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:59 +0100] rev 4868
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:43 +0100] rev 4867
[session] del session's thread local store on close
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:49:07 +0100] rev 4866
[debug] a new view to help debugging memory leaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:48:38 +0100] rev 4865
[debug] minor improvments to the registry view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:43:00 +0100] rev 4864
[web req] check latest url in breadcrumbs is not the same as the current one to keep more valuable information
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:42:13 +0100] rev 4863
[pyviews] add thead/tbody to pyvaltable view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Mar 2010 16:41:43 +0100] rev 4862
[repo stats] add cache size
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:52:33 +0100] rev 4861
[javascript] upgrade from version 1.0.2 to 1.1 of jquery.autocomplete.js
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:37:34 +0100] rev 4860
[web] fix #736332: iespec functionality for add_css
Patch provided by vgodard.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 10 Mar 2010 12:19:55 +0100] rev 4859
[javascript] use jQuery.one('ajax-loaded') instead of jQuery.bind() in add_onload to avoid multiple callback executions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Mar 2010 12:08:45 +0100] rev 4858
[widgets] fix typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:59:44 +0100] rev 4857
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:58:30 +0100] rev 4856
req has no more a cursor attribute
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:57:47 +0100] rev 4855
when some authentication plugin fail, we may try another one
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 19:57:04 +0100] rev 4854
logilab.db compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 14:38:41 +0100] rev 4853
[goa] i know goa is broken but that's still that we won't have to fix later :)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 09 Mar 2010 19:39:50 +0100] rev 4852
[documentation] fix errors in book chapter instance-config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:34 +0100] rev 4851
remove deprecation warning introduced by add_onload api change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:07:16 +0100] rev 4850
[refactor] drop rset.vreg attribute, vreg should be accessed through rset.req. Also kill decorate_rset, simply set rset.req where we were calling this method.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 12:03:26 +0100] rev 4849
missing rename
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:54:27 +0100] rev 4848
rename logilab.db into logilab.database
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:42:06 +0100] rev 4847
move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:27:41 +0100] rev 4846
[widget] allow to specify hour/minute separator on the JQueryTimePicker (vgodard patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:05:29 +0100] rev 4845
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:01:44 +0100] rev 4844
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 11:00:48 +0100] rev 4843
fix hooks control method name + other litle cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:50 +0100] rev 4842
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:59:44 +0100] rev 4841
move SLINK_DIRECTORIES creation to a function avoid unnecessary import (and kill that damed warning of psyco not being installed)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:55 +0100] rev 4840
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:53:38 +0100] rev 4839
[schema hooks] properly check for changes of schema properties avoid useless costly operation (such as full-text reindexing all entities of a type). Refactor inlined handling and fix a bug trying to reindex a final entity type on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:51:08 +0100] rev 4838
[hook] entity_oldnew_value may cause bug on attributes explicitly set to None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:49:57 +0100] rev 4837
misc fixes to ensure logilab.db compatibility
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 10:48:46 +0100] rev 4836
[sql generation] fti_need_distinct quere was not anymore used, potentially causing duplicates on has_text queries with sqlite backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Mar 2010 08:59:43 +0100] rev 4835
[repo] enhanced security handling: deprecates unsafe_execute, in favor of explicit read/write security control using the `enabled_security` context manager. Also code executed on the repository side is now unsafe by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 19:02:35 +0100] rev 4834
move hooks activation control on session object, so we can have a per transaction control. Added a new `hooks_control` context manager for usual modification of hooks activation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:31:36 +0100] rev 4833
3.7 depends on python >= 2.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 18:08:24 +0100] rev 4832
rename deprecated file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 17:57:29 +0100] rev 4831
[repo] use logilab.db instead of lgc.adbh/lgc.db/lgc.sqlgen/indexer, test new date extranction functions
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 08 Mar 2010 19:11:47 +0100] rev 4830
[javascript] fix #736185: add_onload / jQuery.bind() vs. jQuery.one()
This patch introduces a new 'server-response' event and
deprecates the 'ajax-loaded' event.
- 'server-response' is triggered by postAjaxLoad() (instead of
'ajax-loaded').
- 'server-response' is also triggered on document.ready().
- The add_onload() method binds the javascript code the
'server-response' event whether or not it's an ajax
request, thus removing the need of the jsoncall hackish
parameter. The binding is done with jQuery.one() instead
of jQuery.bind().
- The javascript callbacks will be passed two extra parameters :
a boolean to indicate if it's an ajax request or not, the DOM
node (result of the HTTP query). As javascript is what it is,
callbacks can safely ignore those two parameters if they don't
need them.
Backward compatibility is maintained by triggerring an 'ajax-loaded'
event when a 'server-response' is emitted.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:51:29 +0100] rev 4829
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:05:17 +0100] rev 4828
[cleanup] fti_* method already try/except exception, no need for additional catch here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:04:36 +0100] rev 4827
[hook] use entity instead of values dict, check for edited_attributes on rtype change
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:03:43 +0100] rev 4826
[schema hook] fulltext_container is a relation *type* property. Test and fix (+ more fti properties change testing)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 09:00:23 +0100] rev 4825
fix name error fixed in wrong branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Mar 2010 08:59:07 +0100] rev 4824
[test] don't use an internal url for test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:39 +0100] rev 4823
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:20:18 +0100] rev 4822
merge
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 18:57:13 +0100] rev 4821
Added tag cubicweb-debian-version-3.6.1-2 for changeset 0a16f07112b9
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:52 +0100] rev 4820
[pkg/debian] prepare 3.6.1-2
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 16:26:22 +0100] rev 4819
[pkg/debian] Remove python-elementtree from Depends
elementTree is included in python2.5 and all supported distrib are 2.5 or above.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 18:07:39 +0100] rev 4818
le patch massiveimport a été importé
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:29:24 +0100] rev 4817
fix bad test fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:24:01 +0100] rev 4816
repair stuff broken by fti handling changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 17:22:41 +0100] rev 4815
update test broken by fulltextindexed change on workflow entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:05:47 +0100] rev 4814
fix another name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 13:04:46 +0100] rev 4813
fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 12:18:22 +0100] rev 4812
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:39:34 +0100] rev 4811
eschema_type_eid become eschema_eid and always get a schema as argument + misc cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:35:06 +0100] rev 4810
don't issue critical warning about missing text index when we're creating the instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Mar 2010 09:24:55 +0100] rev 4809
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:06:03 +0100] rev 4808
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:04:26 +0100] rev 4807
[cleanup] add index_entity to abstract source, add docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 18:02:33 +0100] rev 4806
[fti] refactor and fix full text indexation handling
* moved logic from repository to the native source
* avoid creating a FTIndexOp when no full text indexation is needed
* entities with fulltext_container set are not indexed even when not
related to a container
* avoid duplicated unindexation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:58:31 +0100] rev 4805
[schema] do not fulltext index workflow entities'description
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:51:19 +0100] rev 4804
no key error subsequent to test module import error
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:51:27 +0100] rev 4803
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 04 Mar 2010 17:50:17 +0100] rev 4802
[views/breadcrumbs] fix bad signature
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:31 +0100] rev 4801
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:49:14 +0100] rev 4800
nicer explanation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 17:48:55 +0100] rev 4799
fix schema serialization bug: groupmap considered as addrdef argument
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 04 Mar 2010 16:58:40 +0100] rev 4798
[cwctl] list will warn about a badly formatted version constraint instead of crashing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:23 +0100] rev 4797
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:08:09 +0100] rev 4796
oops, 'not' missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 12:07:54 +0100] rev 4795
[repo] fix bug introduced by 4757:ec9c20c6b9f7, testing for select.selection is not enough to avoid the substep query, we should check there is no interesting restriction (test added)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 11:45:29 +0100] rev 4794
[rql2sql] fix potential crash when testing _q_invariant on a ColumnAlias instead of a Variable by always considering _q_invariant to false for them
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:58:28 +0100] rev 4793
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:46 +0100] rev 4792
fix test broken by meta relation permissions tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:56:27 +0100] rev 4791
fix schema serialization, bad repartition of changes between stable and default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:23:20 +0100] rev 4790
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:22:21 +0100] rev 4789
remove stuff from default introduced accidentally in stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 10:16:48 +0100] rev 4788
applied vgodard patch for jquery rounded corner w/ MSIE >= 8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 09:57:40 +0100] rev 4787
backport stable
Adrien Chauve <adrien.chauve@logilab.fr> [Thu, 04 Mar 2010 09:43:16 +0100] rev 4786
[fix] #731915 use add_onload instead of plain <script> tag for progress bar.
This changeset fixes : #731915: missing inprogress style on the project page
Content fetched with ajax have their <script> tags removed. (see #734414) We
now use the _cw.html_headers.add_onload method to execute the javascript code
necessary to draw the progress bar.
In the process we removed the ProgressBarWidget and merged it in
ProgressTableView.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 04 Mar 2010 09:35:34 +0100] rev 4785
add render_description method to RSSItemView to improve modularity.
The construction of the description marker of and rss entry is currently built
by the main cell_call function. This make the job hard for RSSItemView subclass
to change the default behaviour. The changeset fix this issue by extracting the
description creation into a render_description method. Such extraction are
already in place for various rss marquer.
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 26 Feb 2010 17:00:42 +0100] rev 4784
le patch documentation-admin-tips a été importé
Julien Jehannet <Julien Jehannet <julien.jehannet@logilab.fr>> [Tue, 02 Mar 2010 21:48:36 +0100] rev 4783
[F] views: fix 2 unicode errors
1. You can now use valid unicode strings in ValidationError exception.
Previously, if 'err' contains unicode, UnicodeDecodeError was raised by format_errors()
>>> templstr = '<li>%s</li>\n'
>>> e = ValidationError(None, {None: u'oué, une exception en unicode!'})
>>> templstr % e
'<li>None (None): ou\xc3\xa9, une exception en unicode!</li>\n'
>>> templstr = u'<li>%s</li>\n'
>>> templstr % e
u'<li>None (None): ou\xe9, une exception en unicode!</li>\n'
2. The message of an Exception can contains unicode. But it now properly managed by “informal” string representation.
We can easily fix the problem by using the Exception.message attribute that still contains the original message.
>>> a = AssertionError(u'séfdsdf')
>>> a.message
u's\xe9fdsdf'
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
>>> a = ValueError(u'fsdfsdéfsdfs')
>>> str(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a
ValueError(u'fsdfsd\xe9fsdfs',)
>>> unicode(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 6: ordinal not in range(128)
>>> a.message
u'fsdfsd\xe9fsdfs'
Julien Jehannet <julien.jehannet@logilab.fr> [Mon, 22 Feb 2010 17:23:46 +0100] rev 4782
le patch fix-3.6-deprecation-warning a été importé
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:27 +0100] rev 4781
Suppress the hidden logform when the user is already connected
by adding a conditionned logform
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:21 +0100] rev 4780
fix a Depression Warning
replace self.req._(... by self._cw._(...
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 04 Mar 2010 08:50:03 +0100] rev 4779
fix: Prevent multi pass in restore_previous_post
by adding a conditional return add the top of the methode.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 04 Mar 2010 08:48:51 +0100] rev 4778
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:20:03 +0100] rev 4777
[test] check _shutting_down, not empty dict (empty dict test should go in pytestgc patch)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:03:52 +0100] rev 4776
assert we are not already shutting down
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 19:02:36 +0100] rev 4775
[test] call super class teardown after perms restoration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:57:41 +0100] rev 4774
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:56:37 +0100] rev 4773
[testlib] properly close dumb sessions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:54:07 +0100] rev 4772
[debug] more (dirty) gc debuging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:56 +0100] rev 4771
custom rest publisher instead of using rest_publish. Avoid to keep a ref on the latest context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:52:01 +0100] rev 4770
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:33:56 +0100] rev 4769
[rest] cleanup, avoid deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:32:21 +0100] rev 4768
delete pyro proxy on connection close, properly raise programming error when working on a closed connection
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:31:08 +0100] rev 4767
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:30:25 +0100] rev 4766
[test] get a chance to get proper garbage collection when running pytest on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 18:12:28 +0100] rev 4765
more tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:59:05 +0100] rev 4764
[repo] improve planning of insert/update queries: do not select affected constants so the don't go and back to/from the source.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:56:04 +0100] rev 4763
schema serialization optimization by using eids instead of type names. Heavy refactoring/cleanup on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:51:49 +0100] rev 4762
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:49:24 +0100] rev 4761
[testlib] automatic test shouldn't try to populate default_workflow
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:48:08 +0100] rev 4760
minor schema serialization optimization:
* remove verbose handling, no more necessary since server.set_debug
* remove old bw compat code
* other cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:42:19 +0100] rev 4759
cleanups
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 03 Mar 2010 17:39:22 +0100] rev 4758
fix code and tests broken by 4744:13a5d3a7410e (proper permission on eid/has_text/identity relations)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:58:39 +0100] rev 4757
do not check for use template permission when session is super session or integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:57:32 +0100] rev 4756
do not check for existant entity when relation of single card is added but integrity hooks are deactivated
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:44:26 +0100] rev 4755
[schema] tweaks meta-relations and schema/workflow entities attributes permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 15:43:26 +0100] rev 4754
[schema] new constants for permissions definitions
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 03 Mar 2010 14:06:05 +0100] rev 4753
[book/ldap] note on the role of two options
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:32:46 +0100] rev 4752
[book/cwctl] reorganize a bit this page (very messy)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:15:26 +0100] rev 4751
[book] more id -> __regid__
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 19:11:46 +0100] rev 4750
[book/entities] a bit of flesh to the interface chapter
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:46:58 +0100] rev 4749
[book/admin/pyro] fix pyro options, give a small setup example
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 18:10:03 +0100] rev 4748
[book/faq] cleanup & complete a bit
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 16:06:36 +0100] rev 4747
[book/admin/setup] notes about configuration of sql server
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:47:26 +0100] rev 4746
[book] remove seemingly unused old cruft
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:51 +0100] rev 4745
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:37:45 +0100] rev 4744
[book] cleanup (deleting/moving) old stuff
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 15:11:11 +0100] rev 4743
[book] a few autoclasses for renderers, misc tweaks
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 02 Mar 2010 14:39:06 +0100] rev 4742
[primary] navcontentbottom sections should be in the content table as navcontenttop
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 13:00:41 +0100] rev 4741
[book/controllers] add some content (overview, api super sketch) for the cubicweb controllers
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 12:04:33 +0100] rev 4740
[book/ldap] add missing LDAP section
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 02 Mar 2010 11:21:29 +0100] rev 4739
[reledit] add ajax html head div, which allows to get additional css/js up to the browser #620569
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Mar 2010 16:02:22 +0100] rev 4738
fix open/close/open subnode bug #730709
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:39:33 +0100] rev 4737
backport stable to default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4736
Added tag cubicweb-debian-version-3.6.1-1 for changeset b9cdfe3341d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 17:38:12 +0100] rev 4735
Added tag cubicweb-version-3.6.1 for changeset 4ae30c9ca11b
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 16:51:41 +0100] rev 4734
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:39:59 +0100] rev 4733
3.6.1 depending on yams 0.28
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:36:30 +0100] rev 4732
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4731
Added tag cubicweb-debian-version-3.6.0-1 for changeset d2ba93fcb8da
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:34:15 +0100] rev 4730
Added tag cubicweb-version-3.6.0 for changeset 450804da3ab2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:32:32 +0100] rev 4729
3.6.1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:28:15 +0100] rev 4728
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 26 Feb 2010 15:27:55 +0100] rev 4727
tabs/lazy views: provide a link for the no js user agents (lynx, blinds, google) #693670
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 15:22:22 +0100] rev 4726
[test] XXX fix to have pytest succeed on whole cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:56:06 +0100] rev 4725
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:31:10 +0100] rev 4724
fix test, broken by the merge of debug and info views
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:46 +0100] rev 4723
ensure we don't break xhtml
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:30:24 +0100] rev 4722
pylint suggested refactorings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:24:47 +0100] rev 4721
pylint style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:21:13 +0100] rev 4720
don't use module doc string as usage string
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:19:14 +0100] rev 4719
kill dead/useless code as suggested by pylint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:12:01 +0100] rev 4718
avoid module import in c-c plugins module, and remind it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:10:16 +0100] rev 4717
proper deprecation warning when import class that should be imported from yams
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 13:09:12 +0100] rev 4716
fix some pylint detected errors
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:32 +0100] rev 4715
[test] fix test broken by arthur processinfo patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 09:54:03 +0100] rev 4714
merge debug and info views
plus enhancements:
* nicer presentation
* proper translations
* kill dead (modpython!) code
* fix repository stats (active thread count / add looping tasks information)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:27 +0100] rev 4713
[i18n] nothing to translate here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 08:46:03 +0100] rev 4712
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:55 +0100] rev 4711
[test] we should properly use vreg method to compute solutions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:58:02 +0100] rev 4710
[pool] properly close existing connection before reconnection
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 26 Feb 2010 07:44:18 +0100] rev 4709
[web] fix #724769: Use RemoteCallFailed in the publisher's error_handler
On json_request, errors handled by the publisher should raise RemoteCallFailed
exceptions instead of standard StatusResponse so that errbacks get called
normally on the client side.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:26:47 +0100] rev 4708
#687194: cubicweb-ctl exlog : fix help message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:08:11 +0100] rev 4707
merge
arthur [Fri, 26 Feb 2010 07:07:28 +0100] rev 4706
added stats for munin collecting #615844 - from 027bbff3659f
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:04:52 +0100] rev 4705
[dbapi] no more need to monkey patch this in 3.6: vreg/schema/config are all properly accessed through ._cw
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 07:03:38 +0100] rev 4704
[session] fix memory leak: local thread data living in a thread that never finishes (eg, the main thread) may not be properly freed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:59:16 +0100] rev 4703
[session] user.login is usually an unicode string, so implements __unicode__ instead of __str__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:57:02 +0100] rev 4702
fix docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 26 Feb 2010 06:55:43 +0100] rev 4701
[facet] before 3.6 we were sure to have a cw_rset attribute. Restore this for facets
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 25 Feb 2010 17:42:51 +0100] rev 4700
[iprogress] missing js file
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:43:11 +0100] rev 4699
[hooks] match_rtype and match_rtype_sets don't need to extend match_search_state
The only method actually used by those 2 classes is __str__ that is defined
on ExpectedValueSelector, not match_search_state.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:40:47 +0100] rev 4698
[uicfg] section='inlined' is acceptable for inlined forms
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 25 Feb 2010 11:39:49 +0100] rev 4697
[web] fix muledit rendering bug
form.cw_col might be None and explicitly passing None to the selector
chain may crash. Most __call__ methods of selectors are defined as in :
def __call__(self, cls, req, rset, row=None, col=0, **kwargs)
and then manipulate col as if it's an integer.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:08:13 +0100] rev 4696
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:07:17 +0100] rev 4695
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:37 +0100] rev 4694
simplejson may not be available with python 2.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 15:00:15 +0100] rev 4693
ensure make_uid return something that may be used as dom id
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:53 +0100] rev 4692
[test] also hide this message during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 12:57:30 +0100] rev 4691
[test] fix test inter-dependancies pb. Pytest ok in each individual test dir, though not yet for whole cubicweb, but for different reasons
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:53:36 +0100] rev 4690
[testlib] provide ability to control schema/vreg reset using reset_schema/reset_vreg test class attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:52:11 +0100] rev 4689
[test] skipping versions checking during test is enough, no need for monkey patch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:48:24 +0100] rev 4688
[goa] we don't use mx anymore
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:21:51 +0100] rev 4687
[integrity] skip auto-delete for internal sessions (but *not* for super session, see 4642:921737d2e3a8)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:20:13 +0100] rev 4686
[integrity] temporary fix auto-delete relation (see 4673:6f8b925a29f4 and 4642:921737d2e3a8): we want no read perms, though we want to check delete perms. Should be properly fixed in 3.7 once we've proper security control and [unsafe_]execute behaviour on the repository side
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:14:14 +0100] rev 4685
use set_action_permissions is clearer and avoid @cached issue across tests
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 24 Feb 2010 12:49:55 +0100] rev 4684
[cwctl] use l.c.changelog for version comparison
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:11:27 +0100] rev 4683
[form] only set __form_id for the main form, not for sub-forms. Should fix regression introduced by 4668:9f82f81bf13d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:05:01 +0100] rev 4682
don't issue critical message when trying to alter sqlite db during test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 11:04:28 +0100] rev 4681
[test] cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:56:47 +0100] rev 4680
[test] update tests broken by changes on attributes permissions handling in yams (add/delete replaced by update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:37:37 +0100] rev 4679
remove #<formid> from url used to redirect after a validation error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:35:06 +0100] rev 4678
[test] no more __cubicweb_internal_field__ value displayed on password widget
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:34:37 +0100] rev 4677
[test] inline-creation requires petype argument to be selectable. Fix arguments order to make it clearer that 'template' is an argument of the test class .view method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:33:31 +0100] rev 4676
[test] skip test when fop failed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:32:22 +0100] rev 4675
[test] don't display progress bar when testing checkintegrity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 24 Feb 2010 10:30:31 +0100] rev 4674
[test api] rename _user_session to user_groups_session, fix its arguments and return only the session, not (user, session) to make things clearer
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:23:46 +0100] rev 4673
auto-delete relation with single cardinality using execute, not unsafe_execute, so permissions are correctly checked
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 20:22:40 +0100] rev 4672
fix tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 18:21:30 +0100] rev 4671
add */*.py to default MANIFEST.in to avoid pb such as #719282 in the future
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:39:13 +0100] rev 4670
fix #615379 by checking admin user exists instead of making think everything is fine
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:43 +0100] rev 4669
cleanup, typos
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 17:32:31 +0100] rev 4668
[form] fix #719285, due to multiple calls to restore_previous_post, by proper refactorings
* move __init__ code from FieldsForm to Form. Must behaviour here should actually be in the Form base class
* avoid buggy duplicated call to restore_previous_post
* move some code that was in the form renderer to the form'__init__ method (__redirectpath & __form_id hidden input handling))
* 'formvid' should now be specified on form selection, not on form rendering
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 18 Feb 2010 14:30:23 +0100] rev 4667
[fix] Apply fulltextindexed change in the actual index
Change of the fulltextindexed attribute of a CWAttribute did actually change
anything for already existing entity (but apply to new one). This patch fix this
behaviour:
* A new SingleLastOperation, UpdateFTIndexOp, to reindex entity whose
ftindexation changed during a commit. This data is read from
session.transaction_data['fti_update_etypes']
* The SourceDbRDefUpdate operation to store Etype who modify they fulltextindexed
of attribute in session.transaction_data['fti_update_etypes'].
* A new test is added to check the behaviour
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:40:55 +0100] rev 4666
3.6 api update (introduced by merge)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 13:19:16 +0100] rev 4665
when validating a form, we should properly call 'actual_fields(form) on edited field else compound field are not correctly processed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:59:30 +0100] rev 4664
#714109: [selectors] non_final_entity should implement score_class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:57 +0100] rev 4663
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:52:40 +0100] rev 4662
add XXX note
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:51:20 +0100] rev 4661
[form] cache field value in form.formvalues using (field, form) key since in some case the same field instance may be shared accross multiple forms, which may share the formvalues dict in case of sub-forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:49:37 +0100] rev 4660
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:46:56 +0100] rev 4659
[form] complete 25de2eb0432b by ignore req parameters by default for all hidden fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 12:43:15 +0100] rev 4658
[form] add a new ignore_req_params attribute on field controlling value's retreival
for such field, such as eid/__type in entity forms, we don't want to consider values
from req.form since we may get undesired value (as reported by #714766). This new
attribute allow do specify that we don't want to consider req.form in such case.
Also, it seems that retreival of form values after a validation error suffer from
the same problem, so don't use form_previous_values for field with ignore_req_params
set to True (XXX though I suppose that may not be correct in some cases).
Charles Hébert <charles.hebert@logilab.fr> [Tue, 23 Feb 2010 12:43:16 +0100] rev 4657
[css] fix disappearing image in menu when a:hover
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Tue, 23 Feb 2010 08:41:06 +0100] rev 4656
[cwctl] modify command list to check for cube dependency problems
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 10:57:51 +0100] rev 4655
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 23 Feb 2010 08:54:04 +0100] rev 4654
docstring improvement
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:53:01 +0100] rev 4653
import cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Feb 2010 09:52:38 +0100] rev 4652
restore 3.5 compat for date functions moved to lgc.date in 3.6 (closes #716055)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 19:25:04 +0100] rev 4651
[devtools/fill] fix date generation and its test
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 22 Feb 2010 18:22:54 +0100] rev 4650
typo: capitalize migration confirmation messages
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 15:12:46 +0100] rev 4649
[views/deleteconf] remove action ppty (useless & clashes with form attr, replace buggy non_final_entity selector with implements workaround
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 12:53:35 +0100] rev 4648
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:12:33 +0100] rev 4647
[workflow] fix potential destination for go back transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 10:04:24 +0100] rev 4646
[workflow] finish refactoring introduced by 021035b9a7ab for 'go back' transition:
* fix SubWorkflowTransition.destination() prototype (must now take an entity as argument)
* fix the change state for to give the entity to the transition's destination() method
* we need a new method to draw workflow since we've no entity to give and 'go back'
transition usually go back to multiple states
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:37:03 +0100] rev 4645
deprecate Transition.set_transition_permissions in favor of set_permissions (after all we know we're on a transition entity)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:36:26 +0100] rev 4644
introduce 'go back' transition: transition without destination state will go to the state we were coming from
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 19 Feb 2010 09:34:14 +0100] rev 4643
fix optimisation with super session that may lead to integrity loss
at some point I've decided to stop ensuring ?1 cardinality was respected
when adding a new relation using a super session, to avoid the cost of
the delete query. That was yet discussable because it introduced unexpected
difference between execute and unsafe_execute, which is imo not worth it.
Also, now that rql() in migration script default to unsafe_execute, we
definitly don't want that implicit behaviour change (which already cause
bug when for instance adding another default workflow for an entity type:
without that fix we end up with *two* default workflows while the schema
tells we can have only one.
IMO we should go to the direction that super session skip all security
check, but nothing else, unless explicitly asked.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 19 Feb 2010 12:14:35 +0100] rev 4642
[auto/inline forms] reallow nested inline forms #703910
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:29 +0100] rev 4641
[reledit] fix #713217: reledit doesn't check 'update' permission on attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 15:42:09 +0100] rev 4640
fix dumb name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:27:00 +0100] rev 4639
cleanup internal forms parameters in postlogin
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:07:56 +0100] rev 4638
grmmbl, bad resolve
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:06:17 +0100] rev 4637
missed conflict
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 14:02:48 +0100] rev 4636
backport lost stable head
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:31:03 +0100] rev 4635
fix sync_schema_props_perms test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:30:37 +0100] rev 4634
fix create_user function introduced in d6ae30c5d055 for database initialization: messup admin user groups when anon is created due to missing restriction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 13:28:38 +0100] rev 4633
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:58:52 +0100] rev 4632
fix unittest_hooks: attributes have now update_permission instead of [add/delete]_permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:57:57 +0100] rev 4631
when modifying a persistent schema, erschema may miss some permissions which wil trigger a key error, but we don't want to crash on such cases
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:52:34 +0100] rev 4630
fix #694445: related entity generates weird RQL which in turn generates weird SQL which fails on SQL Server
quick fix to reuse modification_date if already retreived by the rql query.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 12:13:36 +0100] rev 4629
fix 4626:c26b4df9fc90 (#703911): use can't rely on peid since it's not an actual eid when we're creating the parent entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:08:00 +0100] rev 4628
[form fields] nicer behaviour of the password field: don't put internal field value on edition (triggering validation error if one validation without removing the value, due to confirmation mismatch), and don't show the field as required in such case
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 11:06:40 +0100] rev 4627
minor cleanup: don't use builtin 'id' as variable name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:57:50 +0100] rev 4626
[forms/inline] fix #703911: add new link disappears if inline box removed. Since we've the information, we must specify the target type else we get random cardinality on ambiguous relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:55:41 +0100] rev 4625
this is not the form renderer responsability to check for update permissions. Move this to autoform editable_attributes relation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 10:54:50 +0100] rev 4624
turn default logging threshold to warning (we usually want them), and log 'no schema for eid' pb using warning instead of error, so we see them in logs but not during migration
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:26:04 +0100] rev 4623
pfff, sorry to keep messing with default/stable...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 09:22:04 +0100] rev 4622
specify db port on backup/restore commands (require forth comming lgc 0.48.1)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 08:39:30 +0100] rev 4621
move captcha view to a place where it will be loaded by the registry...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 18 Feb 2010 07:29:13 +0100] rev 4620
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 20:22:12 +0100] rev 4619
[security] allow to call .check on rql expression with a user eid specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:42:52 +0100] rev 4618
[facet] rqlst should be the select node
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:27:01 +0100] rev 4617
oops, should have been in my previous commit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 16:21:34 +0100] rev 4616
fix table view facet retreival, necessary since 95ccd84c892b. Also some cleanup in facet box
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:58:09 +0100] rev 4615
Fix: RangeFacet is selected (valid rset) but without any values
Charles Hébert <charles.hebert@logilab.fr> [Wed, 17 Feb 2010 15:57:03 +0100] rev 4614
fix the bad rqlst syntax tree usage during facets initialization by copying it
Julien Jehannet <julien.jehannet@logilab.fr> [Wed, 17 Feb 2010 10:39:35 +0100] rev 4613
[R] dataimport: refine error detection
Consider only None as non-expected value after parsing the input file.
False is now allowed because of the boolean yesno checker that returns False by default.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:23:36 +0100] rev 4612
added a function to create admin/anon user during db initialization process so one get a chance to monkey patch it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:16:50 +0100] rev 4611
fix unittest_schema, remove deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:12:35 +0100] rev 4610
when creating an instance, ask for cubes specific options properly (fix #607349)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 13:11:30 +0100] rev 4609
avoid loading twice site_cubicweb files on instance creation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:25:17 +0100] rev 4608
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 12:21:28 +0100] rev 4607
[schema security] fix so that when cheking attributes perms for an entity being created, 'owners' and has_*_permission in erqlexpr are considered satisfied
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:26:09 +0100] rev 4606
dont add CUBES_DIR to cubes search path if it doesn't exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:46 +0100] rev 4605
fix dumb name error triggering crash when some directory in cubes search path doesn't exist
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 11:25:12 +0100] rev 4604
remove 3.6 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:49 +0100] rev 4603
login form style fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:13:00 +0100] rev 4602
proper deprecation of TabedPrimaryView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 17 Feb 2010 09:12:42 +0100] rev 4601
missing call to toolbox in tabbed primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:51 +0100] rev 4600
use needs_css so you can change login form css without redefining LogFormView
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 14:39:28 +0100] rev 4599
bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:31:12 +0100] rev 4598
backport fixes done accidentaly in default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 11:30:52 +0100] rev 4597
use class, not klass, in widget.attrs
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:42:04 +0100] rev 4596
specify login form dom id, don't render progress div
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 10:33:48 +0100] rev 4595
backport crypto/captcha utilities from the registration cube
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:27:15 +0100] rev 4594
use an actual form for the login form ease customization from external cubes (eg rememberme)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:25:18 +0100] rev 4593
add space between a checkbox and its label
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:24:40 +0100] rev 4592
ensure cnx is set first (necessary to introduce of a form object to handle the login form)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 16 Feb 2010 09:23:35 +0100] rev 4591
don't let set_schema making commit_event fail
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:57 +0100] rev 4590
use constant
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:50 +0100] rev 4589
fix permission of the condition permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 19:37:35 +0100] rev 4588
fix *_permissions schema: using the same cardinality/composite properties for cwgroup/rqlexpr leads to important pbs...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:44:47 +0100] rev 4587
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 18:36:34 +0100] rev 4586
DEFAULT_ATTRPERMS is now public
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 17:47:50 +0100] rev 4585
[inlined formos] don't pop attributes from kwargs, so they end-up in
cw_extra_kwargs which is then passed to the edition form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:22:01 +0100] rev 4584
[notification] we should use unsafe_execute here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:45 +0100] rev 4583
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:20:06 +0100] rev 4582
[calendar view] fix related to the date_range mess (max value exclusion). Calendar views authors should check if more similar fixes needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:18:38 +0100] rev 4581
[forms] fix RelationField bug with pending eids (eg inlined forms): we have to override process_form_value to avoid caching when recomputing is needed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:17:24 +0100] rev 4580
[shell] rql() should use unsafe_execute when possible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:16:08 +0100] rev 4579
[autoform] we should consider role when checking delete permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:50 +0100] rev 4578
don't update modification_date in repairing_mode (eg upgrade or shell)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:14:27 +0100] rev 4577
[security] we should save back edited_attributes in case of multiple modification of an entity during the same transaction
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:47 +0100] rev 4576
tune startup logging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:13:31 +0100] rev 4575
[schema] fix RelationSchema.has_perm to properly works with attribute relations
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:12:57 +0100] rev 4574
[schema] refactor/cleanup check_permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:49 +0100] rev 4573
use a close_form method for consistency w/ open_form and allow overriding
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:18 +0100] rev 4572
add version info to deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:11:02 +0100] rev 4571
remove debug print
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:10:25 +0100] rev 4570
follow yams api change: attributes permissions are now defined for
an 'update' action, no more 'add' / 'delete' which makes no sense in such case.
fix afs.relations_by_section permissions checking of object relation on the way.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:05:15 +0100] rev 4569
fix dumb name error causing error when non managers try to change his properties
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 15 Feb 2010 15:04:44 +0100] rev 4568
fix typo in deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:19:08 +0100] rev 4567
remove crappy basket specific code
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 23:34:19 +0100] rev 4566
[views] toolbox must be rendered before the title to appear at top right
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 22:40:44 +0100] rev 4565
[uicfg] make deprecation message easier to understand
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 12 Feb 2010 16:48:57 +0100] rev 4564
[uicfg] allow autoform_section's formtype parameter to be a tuple
Typical usage is:
afs.tag_attribute(('X', 'y'), formtype=('main', 'muledit'), section='attributes')
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 15:18:00 +0100] rev 4563
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 14:34:38 +0100] rev 4562
branch oldstable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 14:17:52 +0100] rev 4561
create oldstable branch, remove 3.5 tag
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:35:12 +0100] rev 4560
merge 3.6 default/stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:33:54 +0100] rev 4559
merge 3.5/stable heads
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 12 Feb 2010 13:32:14 +0100] rev 4558
Added tag 3.5 for changeset a0571ff0cb5d
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 10 Feb 2010 14:24:05 +0100] rev 4557
[http cache/json controller] ensure json_view does proper cache validation #390986
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:56 +0100] rev 4556
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:57:14 +0100] rev 4555
typo fix in help string
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 12 Feb 2010 12:55:49 +0100] rev 4554
use subprocess instead of os.popen to run diff
this avoids argument quoting issues (spaces in path, etc)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 12 Feb 2010 12:13:07 +0100] rev 4553
[migration] abort becomes possible when asked for confirmation before migration script
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 11 Feb 2010 12:18:46 +0100] rev 4552
sort on sortvalue, not dc_title to allow customization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:54 +0100] rev 4551
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 16:32:32 +0100] rev 4550
fix bug when value is None
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:20 +0100] rev 4549
Added tag cubicweb-debian-version-3.6.0-1 for changeset 17e88f2485d1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 15:49:19 +0100] rev 4548
Added tag cubicweb-version-3.6.0 for changeset 5f957e351b0a
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 14:31:22 +0100] rev 4547
added jquery.ui image files
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:58:11 +0100] rev 4546
provides a fallback_on_none_attribute field attribute, allowing to specify default value for attributes of *existing* entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 13:57:29 +0100] rev 4545
fix match_transition selector: for instance w/ forge version change state form overiding, we want the form with the publication_date selected by the editcontroller, whatever the transition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 12:00:37 +0100] rev 4544
split introduced in the wrong place
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:57:28 +0100] rev 4543
packaging fix: no more test in common (2).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:52:15 +0100] rev 4542
packaging fix: no more test in common. Should remove test from the hooks subpackage in rules for hardy
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:48:33 +0100] rev 4541
drop cubicweb-client package (there was only hercule.py inside)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:40:41 +0100] rev 4540
remove ref to hercule.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 10:14:14 +0100] rev 4539
cw 3.6, itself
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:40 +0100] rev 4538
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:34 +0100] rev 4537
i18n msg fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 09:44:20 +0100] rev 4536
cleanup 2.5 __future__ imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:54:47 +0100] rev 4535
update translatable docstring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:27:23 +0100] rev 4534
fix test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:08:17 +0100] rev 4533
rephrase
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:07:53 +0100] rev 4532
fix auto-rollback on unauthorized error:
* don't rollback if a commit is processing
* don't free pool on rollback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:06:02 +0100] rev 4531
fix ldap test, our ldap server name has changed
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 10 Feb 2010 08:05:43 +0100] rev 4530
fix name error introduced by bad merging of stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:51:19 +0100] rev 4529
fix 'click here to see the created entity' link, which may not appear according to language settings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 19:50:31 +0100] rev 4528
quick fix for typed formfield validation: accept empty string, split
Julien Jehannet <julien.jehannet@logilab.fr> [Fri, 05 Feb 2010 17:13:53 +0100] rev 4527
[R] devtools: improve default data import mechanism
Validation chain is now possible with checkers
Before that the expected values needed to be coherent.
Now, we can use ObjectStore to validate the input data
* add new input transformers:
- uppercase
- lowercase
* add new input checkers (raise AssertionError on error):
- decimal: take care of possible comma character as number separator
- integer: cast to int()
- yesno: to validate boolean value
- isalpha
- required: input value *must* not be empty
* new control checker:
- optional: block possible exception
we delete field in the returned dict instead of raising AssertionError
(exclusive with required)
Helper methods to manipulate indexes:
* build_rqlindex() is used to build index based on already created entities
* fetch() replace get_one()/get_many() methods by factorizing code
Minor changes in reporting:
* use tell() for all printing
* let new value for askerrors to display automatically the report (used in crontab)
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 18:49:12 +0100] rev 4526
merge
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:16:29 +0100] rev 4525
backport stable branch
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 09 Feb 2010 08:15:20 +0100] rev 4524
[cw-shell] do not set arbitrary limit on number of arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:45 +0100] rev 4523
use 'edit' as defaut path for expect_redirect_publish
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:17 +0100] rev 4522
propagation hooks cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 16:20:01 +0100] rev 4521
missing import for 2.4 compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 13:45:05 +0100] rev 4520
don't play with the custom_workflow relation in autofill
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:55:08 +0100] rev 4519
fix bug w/ object relation used as inlined form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:54:44 +0100] rev 4518
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:41:44 +0100] rev 4517
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:39:23 +0100] rev 4516
turn down some info logs into debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:38:59 +0100] rev 4515
turn down some info logs into debug
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 12:37:47 +0100] rev 4514
fix constraint hook: a session may be involved in multiple transaction at time
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 09 Feb 2010 11:22:40 +0100] rev 4513
fix and begin to document autofill algorithm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 22:41:07 +0100] rev 4512
unset_attribute_storage, for testing purpose at least
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:29:59 +0100] rev 4511
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:27:30 +0100] rev 4510
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:22:10 +0100] rev 4509
when no context specified, should return non-zero score as documented
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:50 +0100] rev 4508
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 21:21:31 +0100] rev 4507
no need for a specific vid argument here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:35:07 +0100] rev 4506
backport stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:34 +0100] rev 4505
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 15:28:18 +0100] rev 4504
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 13:42:22 +0100] rev 4503
add a note about modifying read only attribute
cf. syt's commit message in 81021d62138f
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 08 Feb 2010 10:07:52 +0100] rev 4502
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 05 Feb 2010 17:57:51 +0100] rev 4501
use calendar.gmtime instead of time.mktime to avoid UTC/localtime issues with Flot
This is suggested by the Flot documentation on http://people.iola.dk/olau/flot/API.txt
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:33:09 +0100] rev 4500
must use in-place modification, pending_operations is a read-only property
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:29:23 +0100] rev 4499
avoid to see the same warning twice, one for 3.6 another for 3.3
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:05:19 +0100] rev 4498
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:03:38 +0100] rev 4497
fix session's commit handling: when an operation failed in [pre]commit, call rollback_event as well for already processed operation, not only the revert<event> callback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 13:02:05 +0100] rev 4496
race condition may makes this assertion fail, we don't want that
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:25:15 +0100] rev 4495
unvisible field may have been modified, for instance relation added by an hidden input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:05:56 +0100] rev 4494
AdaptedList -> SameETypeList
*NO BW COMPAT*, benefit from cw 3.6 releasing of folder,file and blog
which use it to get update at the same time.
CMHN and PEGASE will need update (but won't go to 3.6 without update,
so seem fine).
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:03:03 +0100] rev 4493
now raise UnknownProperty, not KeyError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:02:32 +0100] rev 4492
fix test broken by introduction of ViewSameEType action
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 12:01:15 +0100] rev 4491
kill register_appobject_class method, simplifying autoregistration. Update test accordingly (test which manually registers object should also properly call there __register__ method). Drop the disable-appobjects config file entry: no one used it since its introduction years ago.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 11:08:55 +0100] rev 4490
backport stable branch and some vreg cleanups:
* move initialization_completed from cwvreg to base VRegistry class
allowing simplification of CWVregistry
* cleanup initialization process: __registered__ is now called after
initialization completed, by the relevant registry.
* fix/remove deprecated tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 10:06:40 +0100] rev 4489
fix security issue #36564 (integrity error w/ RQLUniqueConstraint) by using a global lock serializing commit when some RQLUniqueConstraint is encountered.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 08 Feb 2010 09:57:25 +0100] rev 4488
errors on postcommit should never occurs, log it as critical
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:37:09 +0100] rev 4487
missing test data
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:35 +0100] rev 4486
reminder, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:34:26 +0100] rev 4485
initialize property once initialization has been fully completed, close #666573
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 10:31:27 +0100] rev 4484
fix duplicated vregistry initialization during tests
Sylvain Thénault <sylvain.thenault@logilab.fr> [Sat, 06 Feb 2010 08:45:14 +0100] rev 4483
cleanup, don't fail if no context set on the sourcecode directive
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:53:25 +0100] rev 4482
we should not use inheritance there but proper view redirection, so if one adapt listitem view, he gets the same thing by default with the adapted list
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 15:44:34 +0100] rev 4481
hidden usage of datetime function which has been moved to lgc
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:58:46 +0100] rev 4480
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:46:34 +0100] rev 4479
replace DevCubeConfiguration/DevDepsConfiguration by a single DevConfiguration, fixing recently introduced by w/ i18ncube command on the way
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 14:45:39 +0100] rev 4478
moved to lgc.date as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:33:54 +0100] rev 4477
oops, forgot that part of 3.2 bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:16:52 +0100] rev 4476
hercule (aka c-c client command) have not (ever?) been used for years, stop supporting it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:14:36 +0100] rev 4475
kill most pre 3.2 bw compat code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:13:48 +0100] rev 4474
kill mx compat code (dropped since 3.2), more efficient merge_args implementation
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:24 +0100] rev 4473
this test is now useless here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:05:10 +0100] rev 4472
3.6 test api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:48 +0100] rev 4471
db fill api has changed, update test accordingly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 12:04:25 +0100] rev 4470
no needs for a views package, 3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:58:11 +0100] rev 4469
need post_build_callbacks attribute with earlier yams version
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:57:52 +0100] rev 4468
update yams/rql dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:56:57 +0100] rev 4467
fix long-waiting symetric typo: should be spelled symmetric. Add auto database migration on schema deserialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 05 Feb 2010 11:54:23 +0100] rev 4466
moved generic datetime manipulation function to lgc