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
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:45:42 +0100] rev 4154
fix translation of message to view newly created entity: must be done once language is set...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:45:03 +0100] rev 4153
accord avec 'entité'
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:44:42 +0100] rev 4152
new catch_error context manager, nicer controller __init__ and new iter_and_commit(datakey) method
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:43:16 +0100] rev 4151
this bw compat doesn't work, drop it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:42:53 +0100] rev 4150
don't try to write .row/.col, use new cw_row/cw_col attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 21 Dec 2009 18:27:29 +0100] rev 4149
etype_class('Any') should return bare 'Any' class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 15:59:19 +0100] rev 4148
cubicweb security #36257: les urls /add/EntityName sont accessibles en anonyme
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 18 Dec 2009 15:10:57 +0100] rev 4147
3.6 remove deprecation warning
Pierre-Yves [Fri, 18 Dec 2009 15:10:38 +0100] rev 4146
Improve warning message
Charles Hébert [Fri, 18 Dec 2009 15:08:20 +0100] rev 4145
[mq]: fix_es_po_file_creation
Charles Hébert [Fri, 18 Dec 2009 15:07:54 +0100] rev 4144
[mq]: plural_display_name_fix
Charles Hébert [Fri, 18 Dec 2009 15:07:26 +0100] rev 4143
[mq]: doc
Charles Hébert [Fri, 18 Dec 2009 15:06:55 +0100] rev 4142
Add the search javascript to the html layout
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 16 Dec 2009 14:19:01 +0100] rev 4141
improve error message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:28:29 +0100] rev 4140
tweaks output
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:12:53 +0100] rev 4139
oops
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:10:05 +0100] rev 4138
clearer api: distinguish app_publish / ctrl_publish
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:09:24 +0100] rev 4137
override publisher's error handler to ease debugging
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:08:41 +0100] rev 4136
dataimport refactoring / improvments, keeping bw compat (for now)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 14:07:16 +0100] rev 4135
look for cubicweb-ctl plugins in the ccplugin.py file, keeping bw compat on ecplugin.py
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 13:28:20 +0100] rev 4134
check entity has an eid before using absolute_url
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 13:02:13 +0100] rev 4133
force_session_key default to None in base form class...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 18 Dec 2009 10:26:47 +0100] rev 4132
fix mainvars detection bug with EXISTS (paren, actually)