Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 12:17:42 +0100] rev 4216
[forms] make it easier to override CWProperty form buttons
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 08 Jan 2010 12:14:29 +0100] rev 4215
[forms] make it easier to override StringField's mininum size
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
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)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 17:22:36 +0100] rev 4131
call super class if choices specified to get std behaviour
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 16:18:36 +0100] rev 4130
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 16:17:57 +0100] rev 4129
check name changed first
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 17 Dec 2009 11:52:44 +0100] rev 4128
no 3.6 code in 3.5...
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Dec 2009 11:17:51 +0100] rev 4127
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 16 Dec 2009 10:06:00 +0100] rev 4126
make cubicweb-ctl db-init -d work with postgresql backend
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Dec 2009 09:11:41 +0100] rev 4125
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Dec 2009 09:11:00 +0100] rev 4124
fix backout
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 15 Dec 2009 17:01:33 +0100] rev 4123
merge
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 15 Dec 2009 17:00:58 +0100] rev 4122
fix NameError
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Dec 2009 12:24:38 +0100] rev 4121
backout a75a6e770717, unmeetable condition and introduce a bug with boolean values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 15 Dec 2009 11:30:44 +0100] rev 4120
load site_cubicweb as a module instead of execing it, avoid reimport pbs
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 17:54:45 +0100] rev 4119
fix name error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 16:25:25 +0100] rev 4118
quick and dirty fix trying to avoid rest directive conflicts when using sphinx (which seems to import the code)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 15:35:21 +0100] rev 4117
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 15:33:33 +0100] rev 4116
oops
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 15:02:07 +0100] rev 4115
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 14:58:41 +0100] rev 4114
Passwords need to be considered as binary fields
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 14 Dec 2009 14:57:10 +0100] rev 4113
TIMESTAMP column type has a special meaning for SQLServer,
avoid using it for that driver (with help from logilab.common.adbh)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 14:49:37 +0100] rev 4112
merge
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 14 Dec 2009 14:49:18 +0100] rev 4111
use edited_attributes and uniformize attribute schema retreival
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 10 Dec 2009 18:00:15 +0100] rev 4110
[mq]: fix_for_forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 17:59:32 +0100] rev 4109
fix deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 17:59:23 +0100] rev 4108
schema view fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 16:20:43 +0100] rev 4107
disable everything but metadata hooks while inserting schema
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 16:20:02 +0100] rev 4106
more advanced hooks control
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 12:55:25 +0100] rev 4105
fix 3.6 bug