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
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 10 Dec 2009 11:57:07 +0100] rev 4104
[mq]: small_api_changes_for_3.6
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 10:36:24 +0100] rev 4103
yams api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 10 Dec 2009 10:36:17 +0100] rev 4102
missing underscore leads to infinite recursion error
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 09 Dec 2009 19:27:46 +0100] rev 4101
[mq]: fix_typo_and_forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 19:27:24 +0100] rev 4100
api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 19:27:12 +0100] rev 4099
yams api update
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 14 Dec 2009 10:45:14 +0100] rev 4098
[i18n] use named substitutions for proper localization
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 10 Dec 2009 18:17:28 +0100] rev 4097
remove redundant line
Administrator <> [Thu, 10 Dec 2009 11:35:40 -0800] rev 4096
update sys.path at cubicweb startup
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 10 Dec 2009 09:43:51 +0100] rev 4095
changed log severity from critical to info if a plugin cannot be loaded
Pierre-Yves David <pierre-yves.david@logilab.fr> [Wed, 09 Dec 2009 14:11:53 +0100] rev 4094
fix non-xml_escaped url in box
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 18:28:10 +0100] rev 4093
nicer fix
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 18:24:18 +0100] rev 4092
avoid failure by simply not displaying this section for now"
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:51:19 +0100] rev 4091
rschema doesn't have may_have_permission
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:51:04 +0100] rev 4090
shouldn't be called from here
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:48:04 +0100] rev 4089
typos, api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 17:10:01 +0100] rev 4088
don't use setdefault with a tuple as value, a set is expected
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 16:33:32 +0100] rev 4087
api update
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 09 Dec 2009 16:07:07 +0100] rev 4086
add hook selector
Sandrine Ribeau <sandrine.ribeau@logilab.fr> [Wed, 09 Dec 2009 16:06:27 +0100] rev 4085
api update again
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 16:05:01 +0100] rev 4084
more api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:47:01 +0100] rev 4083
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:19:48 +0100] rev 4082
3.6 api update
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:19:14 +0100] rev 4081
avoid infinite recursion error
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:18:57 +0100] rev 4080
test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 15:18:49 +0100] rev 4079
check a permission has been specified first...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 09 Dec 2009 12:52:30 +0100] rev 4078
api update