Mon, 01 Feb 2010 18:54:46 +0100 missing jsonize, avoid spurious error w/ ff stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 01 Feb 2010 18:54:46 +0100] rev 4420
missing jsonize, avoid spurious error w/ ff
Mon, 01 Feb 2010 19:11:14 +0100 refactor to use the 3.6 API
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 01 Feb 2010 19:11:14 +0100] rev 4419
refactor to use the 3.6 API
Mon, 01 Feb 2010 17:53:02 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:53:02 +0100] rev 4418
merge
Mon, 01 Feb 2010 17:49:59 +0100 merge stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Mon, 01 Feb 2010 17:49:59 +0100] rev 4417
merge
Wed, 27 Jan 2010 16:08:51 +0100 partial backport of support for adbh's new interface to backup_command and restore_command stable
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Wed, 27 Jan 2010 16:08:51 +0100] rev 4416
partial backport of support for adbh's new interface to backup_command and restore_command these methods can return lists or strings which are passed to subprocess.call without or with the shell=True parameter respectively.
Mon, 01 Feb 2010 16:59:26 +0100 more escapes for the backslashes stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:59:26 +0100] rev 4415
more escapes for the backslashes
Mon, 01 Feb 2010 16:53:00 +0100 escape the backslashes stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 01 Feb 2010 16:53:00 +0100] rev 4414
escape the backslashes
Fri, 29 Jan 2010 21:07:37 +0100 bugfix
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 21:07:37 +0100] rev 4413
bugfix
Fri, 29 Jan 2010 18:57:37 +0100 add action to list entities of the CWEType currently displayed
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Fri, 29 Jan 2010 18:57:37 +0100] rev 4412
add action to list entities of the CWEType currently displayed
Fri, 29 Jan 2010 18:03:10 +0100 should take arbitrary arguments stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:03:10 +0100] rev 4411
should take arbitrary arguments
Fri, 29 Jan 2010 18:02:50 +0100 i18nupdate stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 18:02:50 +0100] rev 4410
i18nupdate
Fri, 29 Jan 2010 17:42:38 +0100 calling unicode instead of gettext... stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 17:42:38 +0100] rev 4409
calling unicode instead of gettext...
Fri, 29 Jan 2010 16:54:49 +0100 [entity] small optimization: once an entity has been completed, don't redo it (for nothing) stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:54:49 +0100] rev 4408
[entity] small optimization: once an entity has been completed, don't redo it (for nothing)
Fri, 29 Jan 2010 16:53:52 +0100 [treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:53:52 +0100] rev 4407
[treeview] ensure items are ordered according to their dc_title, we can't rely on an ordered rset * is_last has to be computed on the caller now, not possible in the callee * rely on b3f61c38526b to use entity.view() with vid in *view*'s arguments
Fri, 29 Jan 2010 16:45:18 +0100 [entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:45:18 +0100] rev 4406
[entity] rename vid argument of .view(...) into __vid to avoid potential conflicts with kwargs
Fri, 29 Jan 2010 16:43:57 +0100 eschema view is gone away stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 29 Jan 2010 16:43:57 +0100] rev 4405
eschema view is gone away
Thu, 28 Jan 2010 14:30:05 +0100 remove misnamed argument stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:30:05 +0100] rev 4404
remove misnamed argument
Thu, 28 Jan 2010 14:29:52 +0100 add version number to deprecation warning stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 28 Jan 2010 14:29:52 +0100] rev 4403
add version number to deprecation warning
Thu, 28 Jan 2010 09:49:50 +0100 [entities] fix CWUser.is_in_group implementation stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 28 Jan 2010 09:49:50 +0100] rev 4402
[entities] fix CWUser.is_in_group implementation use self.groups property instead of self._groups which might not be initialized.
Wed, 27 Jan 2010 14:12:09 +0100 missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 14:12:09 +0100] rev 4401
missing import
Wed, 27 Jan 2010 11:15:32 +0100 must check for relation inlined in main form type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:15:32 +0100] rev 4400
must check for relation inlined in main form type
Wed, 27 Jan 2010 11:14:57 +0100 skip final relations at this point
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 11:14:57 +0100] rev 4399
skip final relations at this point
Wed, 27 Jan 2010 11:26:57 +0100 add missing errno import in etwist/server.py stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 27 Jan 2010 11:26:57 +0100] rev 4398
add missing errno import in etwist/server.py
Wed, 27 Jan 2010 10:17:27 +0100 should not raise KeyError if key's missing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:17:27 +0100] rev 4397
should not raise KeyError if key's missing
Wed, 27 Jan 2010 10:00:58 +0100 choices function should now take the field as argument
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:58 +0100] rev 4396
choices function should now take the field as argument
Wed, 27 Jan 2010 10:00:35 +0100 cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:35 +0100] rev 4395
cleanup
Wed, 27 Jan 2010 10:00:19 +0100 missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 10:00:19 +0100] rev 4394
missing import
Wed, 27 Jan 2010 09:59:55 +0100 systematically call bool on BooleanField values
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:55 +0100] rev 4393
systematically call bool on BooleanField values
Wed, 27 Jan 2010 09:59:13 +0100 by default this is not the widget responsability to turn empty string into None,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:59:13 +0100] rev 4392
by default this is not the widget responsability to turn empty string into None, move this behaviour to the field.
Wed, 27 Jan 2010 09:57:53 +0100 ensure we get a correct key
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:53 +0100] rev 4391
ensure we get a correct key
Wed, 27 Jan 2010 09:57:16 +0100 test fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:57:16 +0100] rev 4390
test fixes
Wed, 27 Jan 2010 09:56:58 +0100 useless, same as test_nonregr_eetype_etype_editing
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:58 +0100] rev 4389
useless, same as test_nonregr_eetype_etype_editing
Wed, 27 Jan 2010 09:56:16 +0100 [forms] propagate aguments given to .vocabulary to .choices if it's a callable.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:56:16 +0100] rev 4388
[forms] propagate aguments given to .vocabulary to .choices if it's a callable. So we can properly uses vocabulary(limit=xxx) in places where we used to call .choices(limit), since field.choices is not meant to be accessed directly. Also, document expected behaviour for custom choices method for relation fields.
Wed, 27 Jan 2010 09:53:48 +0100 reorganize code:
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:53:48 +0100] rev 4387
reorganize code: move everything related to inlined forms and generic relation from editviews/editforms where there are used, eg in autoforms
Wed, 27 Jan 2010 09:25:40 +0100 [forms] fix backward compat for field.choices arguments
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:25:40 +0100] rev 4386
[forms] fix backward compat for field.choices arguments
Wed, 27 Jan 2010 09:24:35 +0100 use field.vocabulary instead of field.choices, skip already related eids. Also consider vocabulary when no etype specified
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:24:35 +0100] rev 4385
use field.vocabulary instead of field.choices, skip already related eids. Also consider vocabulary when no etype specified
Wed, 27 Jan 2010 09:22:07 +0100 [primary view] activate toolbox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:22:07 +0100] rev 4384
[primary view] activate toolbox
Wed, 27 Jan 2010 09:21:38 +0100 it seems that prefixiter is expected to return child *folder* but was relying on a specific .children implementation, fix this
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 27 Jan 2010 09:21:38 +0100] rev 4383
it seems that prefixiter is expected to return child *folder* but was relying on a specific .children implementation, fix this
Tue, 26 Jan 2010 20:30:35 +0100 3.6 api update, cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:30:35 +0100] rev 4382
3.6 api update, cleanup
Tue, 26 Jan 2010 20:29:52 +0100 [forms] let the autoform specify the generic relation field label,
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:29:52 +0100] rev 4381
[forms] let the autoform specify the generic relation field label, no need for a custom fieldset, may be handled as for other fields by the renderer.
Tue, 26 Jan 2010 20:28:56 +0100 simplify messages used for inlined forms
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:28:56 +0100] rev 4380
simplify messages used for inlined forms
Tue, 26 Jan 2010 20:27:48 +0100 should have been in previous commit (moved below in the module)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:27:48 +0100] rev 4379
should have been in previous commit (moved below in the module)
Tue, 26 Jan 2010 20:25:56 +0100 [forms] the last touch: handle inlined relation forms as fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:25:56 +0100] rev 4378
[forms] the last touch: handle inlined relation forms as fields by introducing a simple InlinedRelationField. This makese things more flexible while removing a lost of overriding necessary.
Tue, 26 Jan 2010 20:22:13 +0100 fix label handling: when label is explicitly set to None, don't try to guess it
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 20:22:13 +0100] rev 4377
fix label handling: when label is explicitly set to None, don't try to guess it
Tue, 26 Jan 2010 16:48:41 +0100 surrounding div necessary for proper error localization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:41 +0100] rev 4376
surrounding div necessary for proper error localization
Tue, 26 Jan 2010 16:48:06 +0100 cleanup base class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:48:06 +0100] rev 4375
cleanup base class
Tue, 26 Jan 2010 16:47:45 +0100 by default use new jquery widgets for Time/Date/DateTime fields
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:45 +0100] rev 4374
by default use new jquery widgets for Time/Date/DateTime fields
Tue, 26 Jan 2010 16:47:07 +0100 new jquery based widgets for Time/Date/DateTime, backported from crm
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:47:07 +0100] rev 4373
new jquery based widgets for Time/Date/DateTime, backported from crm
Tue, 26 Jan 2010 16:46:12 +0100 introduce a default render implementation on the base widget, which
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:46:12 +0100] rev 4372
introduce a default render implementation on the base widget, which add_media and then call the newly introduced method _render(form, field, formrenderer), abstract of the base widget class. This allow a litle code factorisation and avoid to forget the call to add_media in subclasses.
Tue, 26 Jan 2010 16:43:51 +0100 [forms] new optional suffix attribute on widget objects, used to generage input name / dom id.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:43:51 +0100] rev 4371
[forms] new optional suffix attribute on widget objects, used to generage input name / dom id. Ease reuse of widgets from another widget. Also move base values computing to a separated values(form, field) method.
Tue, 26 Jan 2010 16:40:42 +0100 introduce new _ensure_correctly_typed method on fields, responsible
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:40:42 +0100] rev 4370
introduce new _ensure_correctly_typed method on fields, responsible to ensure the value return by the widget is suitable for that kind of field. Also factorize date and time fields.
Tue, 26 Jan 2010 16:37:54 +0100 fix typed_value implementation w/ eidparam field which are actual entity's relation and have .value set for their initial value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:37:54 +0100] rev 4369
fix typed_value implementation w/ eidparam field which are actual entity's relation and have .value set for their initial value
Tue, 26 Jan 2010 16:36:00 +0100 cleanup module namespace but only importing the formwidgets module
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 16:36:00 +0100] rev 4368
cleanup module namespace but only importing the formwidgets module
Tue, 26 Jan 2010 13:38:02 +0100 fix deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:38:02 +0100] rev 4367
fix deprecation warnings
Tue, 26 Jan 2010 13:36:55 +0100 fif inlined relation forms pb w/ new ajax forms.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:36:55 +0100] rev 4366
fif inlined relation forms pb w/ new ajax forms. We've to ensure the varmaker is properly initialized when generating a form where we may add new subentities, which will use ajax call to generate the subform while this subform expect a varmaker to be set.
Tue, 26 Jan 2010 13:34:12 +0100 now that we are property initializing autoform_section for the 'inlined' form type, use it...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:34:12 +0100] rev 4365
now that we are property initializing autoform_section for the 'inlined' form type, use it...
Tue, 26 Jan 2010 13:32:54 +0100 [uicfg] fix autoform_section rtags initialization
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:32:54 +0100] rev 4364
[uicfg] fix autoform_section rtags initialization 1. when a relation is marked as inlined in the 'main' form type, we want its opposite (eg when one the other side of the relation) to be marked as hidden in the 'inlined' form type 2. when no section is specified for the 'inlined' form type, use the same as in the 'main' form type to do this properly, we need two initialization stages. The first one to handle 1., the second to handle what was done before and 2. We can't do this in a single stage because we've to know the bare value of the "opposite" tag.
Tue, 26 Jan 2010 13:27:40 +0100 cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:27:40 +0100] rev 4363
cache result of the COUNT query used to see if a non unique attribute may be used as rest path on the entity instance to avoid recomputing it later
Tue, 26 Jan 2010 13:26:41 +0100 incontext view of EmailAddress is a mailto: link
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 13:26:41 +0100] rev 4362
incontext view of EmailAddress is a mailto: link
Tue, 26 Jan 2010 10:35:46 +0100 add CWProperty for_user CWUser when on the user primary view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:46 +0100] rev 4361
add CWProperty for_user CWUser when on the user primary view
Tue, 26 Jan 2010 10:35:23 +0100 move CWProperty rtags from autoform to cwproperties module.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:35:23 +0100] rev 4360
move CWProperty rtags from autoform to cwproperties module.
Tue, 26 Jan 2010 10:34:29 +0100 fix Bytes submission pb on POST, due to multiple call to field.process_form_value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:34:29 +0100] rev 4359
fix Bytes submission pb on POST, due to multiple call to field.process_form_value for a same field. In the case of file, stream.read() doesn't return file's data the second time (since the cursor is at the end of the file). Fix this by having a generic process_form_value method that cache field's value in form.formvalues[field] and so _process_form_value is only called once. You should then override that later method on custom fields.
Tue, 26 Jan 2010 10:30:57 +0100 must skip internal field value from the generic relations combobox
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:30:57 +0100] rev 4358
must skip internal field value from the generic relations combobox
Tue, 26 Jan 2010 10:29:50 +0100 case where 'w' argument is None should be handled in do_paginate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 26 Jan 2010 10:29:50 +0100] rev 4357
case where 'w' argument is None should be handled in do_paginate
(0) -3000 -1000 -300 -100 -64 +64 +100 +300 +1000 +3000 tip