Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 11:45:37 +0100] rev 4214
[skeleton] remove unused os.path.dirname import, use dname instead of dirname as an additional safetly belt
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 07 Jan 2010 17:41:50 +0100] rev 4213
[web/views] if view has attribute paginable=False, do not try to paginate it
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Jan 2010 16:52:32 +0100] rev 4212
update copyright: welcome 2010
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 07 Jan 2010 08:02:52 +0100] rev 4211
[views] backport progressbar template from shingouz
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 05 Jan 2010 22:11:37 +0100] rev 4210
[forms] fix multiple edit bug introduced by changeset cebdf8ee5ad7
Changeset cebdf8ee5ad7 assumed that edited entity was either explicitly
passed to the form or found in first row / first col of the resultset
because of the one_line_rset() selector.
But one_line_rset() is actually trickier : the selector returns 1
if the resultset has more than one row **if** an explicit row is
specified during selection process. This is exactly what is done
in the 'muledit' form :
for row in xrange(len(self.rset)):
form = self.vreg['forms'].select('edition', self.req,
rset=self.rset, row=row, #...
This changeset thus takes row in consideration to find edited entity
if 'row' was explcitly specified.
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 05 Jan 2010 18:28:27 +0100] rev 4209
do not recompute the plot on subsequent onload events #615338
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 05 Jan 2010 17:04:29 +0100] rev 4208
fix stripEmptyTextNodes for IE (part of #615337)
this does not seem to make the function really work but it does not fail any more
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 04 Jan 2010 19:02:09 +0100] rev 4207
[javascript] upgrade jquery.flot.js to v0.6 to fix IE6-related bugs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 04 Jan 2010 18:58:35 +0100] rev 4206
[forms] edited_entity must be set before calling session_key()
EntityFieldsForm.__init__ calls FieldsForm.__init__ which in turn
calls self.session_key().
self.session_key() uses self.edited_key to compute the correct session
key. We thus need edited_entity to be set **before** calling super's __init__.
The bug only occured when EntityFieldsForm was selected because of its
one_line_rset() selector instead of match_kwargs('entity').
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 13:05:53 +0100] rev 4205
must escape user_rql_callback
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 12:20:10 +0100] rev 4204
backport stable branch
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 11:57:03 +0100] rev 4203
Added tag cubicweb-debian-version-3.5.11-1 for changeset 4920121d41f2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 11:57:02 +0100] rev 4202
Added tag cubicweb-version-3.5.11 for changeset f48b2f193961
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 10:27:33 +0100] rev 4201
3.5.11
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 09:07:17 +0100] rev 4200
i18nupdate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:59:01 +0100] rev 4199
must now properly use Binary for password (see 4180:42247d70105b). XXX Though this is somewhat backend related (eg store password using a binary type), this should be either well document or handled properly in the db helper.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:56:38 +0100] rev 4198
TYPE_MAPPING expected to be a mapping from yams type to db type, and timestamp is the Datetime yams type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Dec 2009 08:22:18 +0100] rev 4197
quick and dirty fix to avoid crash when running db-create command with an sqlite source
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 23:45:43 +0100] rev 4196
add es.po to default skel, closes #591625
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 21:02:37 +0100] rev 4195
closes #601987
1) sqlutils.restore_from_file have to use its confirm argument when
a command fail, to propose to continue there (this can't be handled
by the caller)
2) source.restore method hence needs to take this confirmation callback
as argument
3) properly fix places where 'drop' was given instead of 'confirm'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 20:06:24 +0100] rev 4194
missing one litle char
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 20:05:52 +0100] rev 4193
closes #607344 by simply appending '/' to base url if necessary instead of insulting the user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:51 +0100] rev 4192
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:48 +0100] rev 4191
test update. All cw tests OK
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:27:26 +0100] rev 4190
fix bad merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:26:59 +0100] rev 4189
make groupmap argument optional / sort for testing purpose
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:26:12 +0100] rev 4188
fix virtual relation detection: erschema is no more a relation type but a relation def in _synchronize_permissions
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:25:08 +0100] rev 4187
necessary to fix some security test, unclear why did I set perms below at some point...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 19:23:59 +0100] rev 4186
import cleanup, check data file exists
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 18:25:53 +0100] rev 4185
should turn password into a Binary properly
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:16:17 +0100] rev 4184
should not simplify previous to preprocess
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:14:34 +0100] rev 4183
use ._cw instead of .req (reintroduced by merge of stable)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 13:13:53 +0100] rev 4182
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 10:27:49 +0100] rev 4181
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Dec 2009 14:18:48 +0100] rev 4180
more extra_args cleanup
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 22 Dec 2009 13:43:24 +0100] rev 4179
only give extra_args if there is something to be fed (breaks some db connectors otherwise)
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 11:07:07 +0100] rev 4178
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 09:38:08 +0100] rev 4177
SqlServer: support single sign on / Windows credential authentication
This is done through a new db-extra-arguments section in instance_dir/sources
which is passed as a string to the extra_args named argument of
lgc.db.get_connection. If this argument is Trusted_Connection, windows
authentication is used instead of login/password.
This change requires at least revision 5475ec3f6412 of logilab.common which
will be included in logilab-common 0.46. debian/control updated to mention this
new dependency.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Tue, 22 Dec 2009 09:33:08 +0100] rev 4176
SQL Server port: convert Password to Binary
This conversion is required because pyodbc uses buffers for Binary fields
and won't be able to cast a string/unicode value to the db VARBINARY column
type otherwise.
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 Dec 2009 10:42:51 +0100] rev 4175
[javascript] cleanup, remove tabs
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Tue, 22 Dec 2009 10:42:39 +0100] rev 4174
[javascript] remove ajaxHtmlHead from dom response once it has been processed.
This fixes #549138: treeview: folding is broken
The new, systematic, pageid management (introduced by rev 37b376bb4088) made
the treeview return :
<ul class="treeview">...</ul>
<div class="ajaxHtmlHead">...</div>
which was then processed by getDomFromResponse and wrapped into
a single div node :
<div>
<ul class="treeview">...</ul>
<div class="ajaxHtmlHead">...</div>
</div>
In the treeview case, the node inserted into the tree was the wrapping
<div> instead of the <ul>, causing the folding bug mentioned in the
ticket.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2009 09:27:28 +0100] rev 4173
msg isn't defined there, but we've to give traceback information to record error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:28:08 +0100] rev 4172
all web tests OK
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:28:01 +0100] rev 4171
make new editcontroller works, based on a _cw_edited_fields hidden input
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:27:14 +0100] rev 4170
crecord introduced junk...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:26:52 +0100] rev 4169
strip string by default
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:26:30 +0100] rev 4168
nicer StringField __init__
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:25:58 +0100] rev 4167
fix render (formerly form_render) prototype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:24:47 +0100] rev 4166
process_posted yield field instead of field's name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:23:56 +0100] rev 4165
proper field's role handling: may be 'subject' / 'object' *in case
of entity's relation*, but None in other case. So you should correctly
specify it to field_by_name
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:21:56 +0100] rev 4164
form_add_hidden -> add_hidden
form_needs_multipart -> needs_multipart
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:18:53 +0100] rev 4163
substitute _render_attrs by values_and_attributes method, keeping bw compat
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:04:33 +0100] rev 4162
replace form_field_[encoding|vocabulary] methods on form by encoding|vocabylary(form) methods on fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 20:00:18 +0100] rev 4161
refactor vocabulary handling to avoid having to define methods
on form objects, use .choices instead even for non final relations.
Details:
* deprecated support of <role>_<relation>_vocabulary methods on forms
* new utility functions for relations vocabulary
* most logic now on the RelationField class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:52:21 +0100] rev 4160
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:45:24 +0100] rev 4159
refactor form field value handling, to get a nicer api and an easier algorithm to get field's value
Details:
* new .typed_value / .display_value on fields
* droped form_field_value on form
* .value attribute of field instead of .initial
* nicer field's __init__, allowing to give a lambda as value's value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:25:07 +0100] rev 4158
missing imports
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:20:45 +0100] rev 4157
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 19:18:49 +0100] rev 4156
drop form_field_name/form_field_id methods from form object, in favor of field.input_name(form) / field.dom_id(form)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:46:46 +0100] rev 4155
NothingToEdit is not a ValidationError, simplify