web/formfields.py
Tue, 17 Aug 2010 15:22:57 +0200 Sylvain Thénault [formwidgets] new allow_none attribute on BooleanField allowing a third None value for booleans stable
Tue, 10 Aug 2010 08:39:06 +0200 Adrien Di Mascio [forms] callable field kwargs now always take form _and_ field parameters
Mon, 12 Jul 2010 12:25:19 +0200 Sylvain Thénault [form] take care to not unicodify None values
Wed, 07 Jul 2010 12:08:10 +0200 Sylvain Thénault [form fields] smarter __str__ / __repr__
Tue, 06 Jul 2010 19:31:50 +0200 Sylvain Thénault [form] vocab function must now return values as unicode
Tue, 06 Jul 2010 17:11:44 +0200 Sylvain Thénault [forms] bw compat code for vocabulary function returning typed values
Mon, 21 Jun 2010 15:58:13 +0200 Sylvain Thénault [form] apply patch #933771: format_single_value / vocabulary methods should *always* return actual value as an unicode string
Wed, 16 Jun 2010 14:51:17 +0200 Sylvain Thénault backport stable
Wed, 16 Jun 2010 09:33:04 +0200 Stephanie Marcu [filefield] normalized file names to deal with windows files stable
Thu, 10 Jun 2010 14:16:47 +0200 Sylvain Thénault [form] refactor meta-attributes handling: hide them by default using uicfg.afs instead of returning None (or not, according to skip_meta_attr flag argument) in guess_field
Wed, 09 Jun 2010 12:32:54 +0200 Sylvain Thénault [form] fix untested (unread?) has_been_modified implementation...
Mon, 07 Jun 2010 13:22:24 +0200 Sylvain Thénault backport stable
Mon, 07 Jun 2010 12:39:15 +0200 Sylvain Thénault [edit ctrl] fix bad interaction with fields: the loop on actual fields should be done in has_been_modified
Thu, 03 Jun 2010 16:37:01 +0200 Aurelien Campeas [web/formwidgets] check on list (entity.related_cache swapped from tuple to list a while ago without known reasons), do not unicode wrap the eids stable
Thu, 20 May 2010 20:50:00 +0200 Sylvain Thénault [entity] continue cleanup of Entity/AnyEntity namespace
Thu, 06 May 2010 16:23:39 +0000 Alexandre Fayolle Handle new way of reporting unmodified FileFields stable
Wed, 28 Apr 2010 12:24:20 +0200 Sylvain Thénault backport oldstable changes stable
Wed, 28 Apr 2010 12:15:52 +0200 Sylvain Thénault replace logilab-common by CubicWeb in disclaimer oldstable
Wed, 28 Apr 2010 12:14:22 +0200 Sylvain Thénault backport default into stable: stable is now cw 3.8
Wed, 28 Apr 2010 10:06:01 +0200 Sylvain Thénault proper licensing information (LGPL-2.1). Hope I get it right this time. stable
Fri, 23 Apr 2010 12:42:53 +0200 Sylvain Thénault backport stable
Wed, 21 Apr 2010 16:53:47 +0200 Sylvain Thénault [book] start documenting the HTML form system stable
Wed, 21 Apr 2010 16:53:25 +0200 Sylvain Thénault [form] small api cleanup and refactoring before documenting the form system stable
Thu, 15 Apr 2010 12:46:08 +0200 Sylvain Thénault [etwist] allow to specify max size for POST request in the configuration. We should deal with this nicely on the js form validation code.
Tue, 13 Apr 2010 19:43:51 +0200 Sylvain Thénault backport stable
Mon, 12 Apr 2010 16:49:35 +0200 Aurelien Campeas [doc/book] complete chapter on hooks & ops stable
Tue, 06 Apr 2010 16:50:53 +0200 Adrien Chauve Switched from TwistedWeb2 to TwistedWeb
Tue, 30 Mar 2010 17:54:28 +0200 Sylvain Thénault [form] CompoundField should not return itself in actual_fields, this avoid error on iliane with 3.7.2 where it's marked as required (from the schema) while value are provided by subfields stable
Mon, 29 Mar 2010 13:25:13 +0200 Sylvain Thénault [form] consider autoform_field_kwargs for meta fields; allow required customization stable
Fri, 26 Mar 2010 13:33:32 +0100 Sylvain Thénault [form] fix validation error handling stable
Fri, 26 Mar 2010 08:28:22 +0100 Sylvain Thénault [form] put qualified name on validation error, should fix #784299 stable
Fri, 12 Mar 2010 10:43:32 +0100 Sylvain Thénault [form] fix bug introduced by 4871:a34b76593ab2 with field using multiple input with different suffix: the suffix should be considered in the cache key stable
Thu, 11 Mar 2010 19:16:35 +0100 Sylvain Thénault [form fields] fix severe memory leak due to @cached on field.input_name stable
Tue, 23 Feb 2010 12:51:20 +0100 Sylvain Thénault [form] cache field value in form.formvalues using (field, form) key since in some case the same field instance may be shared accross multiple forms, which may share the formvalues dict in case of sub-forms stable
Tue, 23 Feb 2010 12:43:15 +0100 Sylvain Thénault [form] add a new ignore_req_params attribute on field controlling value's retreival stable
Thu, 18 Feb 2010 11:08:00 +0100 Sylvain Thénault [form fields] nicer behaviour of the password field: don't put internal field value on edition (triggering validation error if one validation without removing the value, due to confirmation mismatch), and don't show the field as required in such case stable
Mon, 15 Feb 2010 15:20:45 +0100 Sylvain Thénault cleanup stable
Mon, 15 Feb 2010 15:18:38 +0100 Sylvain Thénault [forms] fix RelationField bug with pending eids (eg inlined forms): we have to override process_form_value to avoid caching when recomputing is needed stable
Wed, 10 Feb 2010 13:58:11 +0100 Sylvain Thénault provides a fallback_on_none_attribute field attribute, allowing to specify default value for attributes of *existing* entities
Wed, 10 Feb 2010 12:00:37 +0100 Sylvain Thénault split introduced in the wrong place
Tue, 09 Feb 2010 19:50:31 +0100 Sylvain Thénault quick fix for typed formfield validation: accept empty string, split
Mon, 08 Feb 2010 13:29:23 +0100 Sylvain Thénault avoid to see the same warning twice, one for 3.6 another for 3.3
Mon, 08 Feb 2010 12:25:15 +0100 Sylvain Thénault unvisible field may have been modified, for instance relation added by an hidden input
Fri, 05 Feb 2010 15:44:34 +0100 Sylvain Thénault hidden usage of datetime function which has been moved to lgc
Wed, 03 Feb 2010 20:34:44 +0100 Sylvain Thénault start documenting forms
Wed, 27 Jan 2010 10:00:35 +0100 Sylvain Thénault cleanup
Wed, 27 Jan 2010 09:59:55 +0100 Sylvain Thénault systematically call bool on BooleanField values
Wed, 27 Jan 2010 09:59:13 +0100 Sylvain Thénault by default this is not the widget responsability to turn empty string into None,
Wed, 27 Jan 2010 09:56:16 +0100 Sylvain Thénault [forms] propagate aguments given to .vocabulary to .choices if it's a callable.
Wed, 27 Jan 2010 09:25:40 +0100 Sylvain Thénault [forms] fix backward compat for field.choices arguments
Tue, 26 Jan 2010 20:30:35 +0100 Sylvain Thénault 3.6 api update, cleanup
Tue, 26 Jan 2010 20:22:13 +0100 Sylvain Thénault fix label handling: when label is explicitly set to None, don't try to guess it
Tue, 26 Jan 2010 16:47:45 +0100 Sylvain Thénault by default use new jquery widgets for Time/Date/DateTime fields
Tue, 26 Jan 2010 16:40:42 +0100 Sylvain Thénault introduce new _ensure_correctly_typed method on fields, responsible
Tue, 26 Jan 2010 16:37:54 +0100 Sylvain Thénault 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 Sylvain Thénault cleanup module namespace but only importing the formwidgets module
Tue, 26 Jan 2010 10:34:29 +0100 Sylvain Thénault fix Bytes submission pb on POST, due to multiple call to field.process_form_value
Tue, 26 Jan 2010 10:26:51 +0100 Sylvain Thénault must catch UnmodifiedField exception in has_been_modified
Mon, 25 Jan 2010 19:16:35 +0100 Sylvain Thénault to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument
Thu, 21 Jan 2010 10:42:37 +0100 Sylvain Thénault refactor field's value retreiving from the widget (eg 'display value' concept):
Thu, 21 Jan 2010 10:39:12 +0100 Sylvain Thénault dom_id now accepts a suffix argument as input_name
Thu, 21 Jan 2010 10:38:46 +0100 Sylvain Thénault cleaner input_name implementation
Tue, 19 Jan 2010 18:22:05 +0100 Sylvain Thénault fix dumb name error
Tue, 19 Jan 2010 18:21:59 +0100 Sylvain Thénault missing import
Tue, 19 Jan 2010 18:10:01 +0100 alex & cheb remove deprecation warnings + name error
Mon, 18 Jan 2010 19:21:30 +0100 Sylvain Thénault backport stable branch
Mon, 18 Jan 2010 19:05:08 +0100 Sylvain Thénault fix pb with bytes field processing: currently when an existing file is edited
Thu, 14 Jan 2010 11:14:40 +0100 Sylvain Thénault fix dumb name errors
Wed, 13 Jan 2010 16:00:42 +0100 Sylvain Thénault has_been_modified shouldn't raise ProcessFormError
Wed, 13 Jan 2010 16:00:06 +0100 Sylvain Thénault related entities are returned as tuple since a few months ago
Wed, 13 Jan 2010 15:59:31 +0100 Sylvain Thénault should skip INTERNAL_FIELD_VALUE
Wed, 13 Jan 2010 15:57:57 +0100 Sylvain Thénault should use a set for pending fields
Wed, 13 Jan 2010 15:56:31 +0100 Sylvain Thénault fix process_form_values: we should handle value errors and properly raise ProcessFormError
Fri, 08 Jan 2010 12:14:29 +0100 Adrien Di Mascio [forms] make it easier to override StringField's mininum size stable
Thu, 07 Jan 2010 16:52:32 +0100 Adrien Di Mascio update copyright: welcome 2010 stable
Tue, 22 Dec 2009 10:27:49 +0100 Sylvain Thénault backport stable
Mon, 21 Dec 2009 20:28:01 +0100 Sylvain Thénault make new editcontroller works, based on a _cw_edited_fields hidden input
Mon, 21 Dec 2009 20:27:14 +0100 Sylvain Thénault crecord introduced junk...
Mon, 21 Dec 2009 20:26:30 +0100 Sylvain Thénault nicer StringField __init__
Mon, 21 Dec 2009 20:24:47 +0100 Sylvain Thénault process_posted yield field instead of field's name
Mon, 21 Dec 2009 20:23:56 +0100 Sylvain Thénault proper field's role handling: may be 'subject' / 'object' *in case
Mon, 21 Dec 2009 20:04:33 +0100 Sylvain Thénault replace form_field_[encoding|vocabulary] methods on form by encoding|vocabylary(form) methods on fields
Mon, 21 Dec 2009 20:00:18 +0100 Sylvain Thénault refactor vocabulary handling to avoid having to define methods
Mon, 21 Dec 2009 19:52:21 +0100 Sylvain Thénault cleanup
Mon, 21 Dec 2009 19:45:24 +0100 Sylvain Thénault refactor form field value handling, to get a nicer api and an easier algorithm to get field's value
Mon, 21 Dec 2009 19:25:07 +0100 Sylvain Thénault missing imports
Mon, 21 Dec 2009 19:18:49 +0100 Sylvain Thénault drop form_field_name/form_field_id methods from form object, in favor of field.input_name(form) / field.dom_id(form)
Thu, 17 Dec 2009 17:22:36 +0100 Sylvain Thénault call super class if choices specified to get std behaviour stable
Thu, 10 Dec 2009 18:00:15 +0100 Arthur Lutz [mq]: fix_for_forms
Wed, 09 Dec 2009 19:27:46 +0100 Arthur Lutz [mq]: fix_typo_and_forms
Tue, 08 Dec 2009 18:12:31 +0100 Pierre-Yves David fix guess_field to handle non internationalizable definition
Tue, 08 Dec 2009 16:46:56 +0100 Sylvain Thénault card referenced later
Tue, 08 Dec 2009 10:58:56 +0100 Sylvain Thénault drop common subpackage
Tue, 08 Dec 2009 09:10:16 +0100 Sylvain Thénault yams api update
Fri, 20 Nov 2009 19:35:54 +0100 Sylvain Thénault backport stable branch (one more time painfully)
Wed, 18 Nov 2009 12:50:23 +0100 Adrien Di Mascio [formfields] allow fields ordering with autoform_field_kwargs stable
Wed, 18 Nov 2009 12:32:57 +0100 Adrien Di Mascio [web] remove widget.render backward compatibility stable
Mon, 02 Nov 2009 16:37:19 +0100 Julien Jehannet [B] web: weird display with internationalizable (Closes: #503071) stable
Mon, 19 Oct 2009 15:16:41 +0200 Sylvain Thénault backport stable
Thu, 15 Oct 2009 20:29:21 +0200 Sylvain Thénault follow yams 0.25 api changes to improve performance stable
Wed, 07 Oct 2009 12:31:08 +0200 Sylvain Thénault backport stable branch
Tue, 06 Oct 2009 17:49:42 +0200 Sylvain Thénault remove useless code stable
Tue, 06 Oct 2009 17:45:10 +0200 Sylvain Thénault [forms] fix generated label for fields stable
Tue, 06 Oct 2009 16:56:22 +0200 Alexandre Fayolle fix label in generated form for relations stable
Wed, 30 Sep 2009 18:57:42 +0200 Sylvain Thénault backport stable branch
Wed, 30 Sep 2009 17:32:29 +0200 Sylvain Thénault nicer deprecation messages stable
Tue, 29 Sep 2009 15:58:44 +0200 Sylvain Thénault backport stable branch
Tue, 29 Sep 2009 12:37:47 +0200 Sylvain Thénault rename form_build_context to build_context, and call it from form, not renderer stable
Mon, 28 Sep 2009 12:37:01 +0200 Sylvain Thénault backport stable
Mon, 28 Sep 2009 11:01:32 +0200 Sylvain Thénault support name metadata on guess_field; add name_field to FileField stable
Wed, 23 Sep 2009 19:40:19 +0200 Adrien Di Mascio [api] work in progress, use __regid__, cw_*, etc.
Tue, 22 Sep 2009 13:08:42 +0200 Adrien Di Mascio backport old changesets corresponding to new form / controller implementation
Wed, 05 Aug 2009 09:15:56 +0200 Adrien Di Mascio [forms] work-in-progress, big editcontroller refactoring: let fields/widgets process posted data
Wed, 05 Aug 2009 09:10:32 +0200 Adrien Di Mascio [forms] work-in-progress: let guess_field and RichTextField.get_format_field handle eidparam of meta fields
Wed, 05 Aug 2009 09:05:40 +0200 Adrien Di Mascio [forms] work-in-progress: get rid of edits- / edito-
Mon, 21 Sep 2009 18:02:48 +0200 Sylvain Thénault fix vocab param to avoid deprecation warning stable
Mon, 21 Sep 2009 11:55:50 +0200 Sylvain Thénault remove debug raise stable
Mon, 21 Sep 2009 11:41:17 +0200 Sylvain Thénault fix sort of fields vocabulary: should consider option groups stable
Fri, 18 Sep 2009 09:16:40 +0200 Sylvain Thénault fix generated label for object relation 3.5
Thu, 17 Sep 2009 19:43:42 +0200 Aurelien Campeas make it easier to subclass 3.5
Wed, 16 Sep 2009 21:29:17 +0200 Adrien Di Mascio [gettext] provide GNU contexts to avoid translations ambiguities 3.5
Wed, 16 Sep 2009 14:33:24 +0200 Sylvain Thénault stop setting sort to false by default on relation field and explain why 3.5
Fri, 07 Aug 2009 12:12:50 +0200 Sylvain Thénault backport stable branch
Fri, 07 Aug 2009 12:11:03 +0200 Sylvain Thénault format field should inherit from parent field's eidparam stable
Fri, 07 Aug 2009 12:10:32 +0200 Sylvain Thénault don't set display: block on hidden input stable
Tue, 04 Aug 2009 17:11:50 +0200 Sylvain Thénault [R] use req.entity_from_eid
Tue, 04 Aug 2009 17:01:00 +0200 Sylvain Thénault use yams api
Thu, 30 Jul 2009 11:30:06 +0200 Sylvain Thénault d-t-w
Wed, 29 Jul 2009 09:08:04 +0200 Sylvain Thénault [R forms] use a subfields(form) method to get a chance to adapt to context
Mon, 27 Jul 2009 18:43:28 +0200 Sylvain Thénault some new field/widgets classes: CompoundField, IntervalWidget, HorizontalLayoutWidget
Mon, 27 Jul 2009 18:42:49 +0200 Sylvain Thénault widget.render now takes the renderer as third argument (keeping minimal bw compat)
Mon, 27 Jul 2009 18:41:29 +0200 Sylvain Thénault new fieldset attribute on field, use to group fields by the default form renderer
Thu, 23 Jul 2009 15:57:15 +0200 Sylvain Thénault move RichString and co to yams, keeping only a small monkeypatch for cw-page-template here
Thu, 09 Jul 2009 19:35:32 +0200 Aurelien Campeas oops stable
Thu, 09 Jul 2009 16:44:34 +0200 Aurelien Campeas [formwidgets,formfields] hum, this way stable
Thu, 09 Jul 2009 15:15:18 +0200 Aurelien Campeas [formfields,formwidgets] move default size and maxlength from field to widget init (that is quite still unsatisfactorily) stable
Thu, 09 Jul 2009 13:04:28 +0200 Aurelien Campeas [formwidgets] ensure textarea for richstring has not ridicuously small size (close #344547) stable
Thu, 09 Jul 2009 12:38:33 +0200 Aurelien Campeas oops stable
Thu, 09 Jul 2009 12:06:14 +0200 Aurelien Campeas [formfields] set a reasonable minimal minimum length to input/text, also set the max length if applicable (closes #344538) stable
Wed, 08 Jul 2009 19:47:36 +0200 Aurelien Campeas [reledit] try to be smart at getting a good default vid for relations, factor computing cardinality from reledit and formfields stable
Tue, 07 Jul 2009 13:26:44 +0200 Sylvain Thénault use xml_escape stable
Thu, 02 Jul 2009 12:59:16 +0200 Sylvain Thénault missing import stable
Mon, 29 Jun 2009 17:14:05 +0200 Sylvain Thénault vocabulary method (eg field.choices) should now take the form instance as argument stable
Tue, 23 Jun 2009 13:43:39 +0200 Sylvain Thénault edit[s|o] field's value should be formatted as the associated field stable
Wed, 10 Jun 2009 18:45:06 +0200 Sylvain Thénault avoid overriding specified values when guessing field stable
Wed, 10 Jun 2009 14:51:48 +0200 Sylvain Thénault don't set select widget when a vocabulary widget is already specified on the field class stable
Wed, 10 Jun 2009 12:08:57 +0200 Sylvain Thénault fix TimeField format_prop, use format_single_value directly in render_example stable
Thu, 28 May 2009 18:46:04 +0200 Sylvain Thénault set default select size to 1 into the widget
Thu, 28 May 2009 18:45:51 +0200 Sylvain Thénault if choices is set and widget not explicitly specified, use Select in base field
Thu, 28 May 2009 18:32:12 +0200 Sylvain Thénault move widget selection's logic on fields
Thu, 28 May 2009 09:20:07 +0200 Adrien Di Mascio big bunch of copyright / docstring update
Tue, 19 May 2009 10:05:56 +0200 Sylvain Thénault connect format field to form_field_format for its initial value stable
Mon, 18 May 2009 11:50:43 +0200 Florent fix StringField widget selection with SizeConstraint and StaticVocabularyConstraint constraints stable
Thu, 14 May 2009 12:31:23 +0200 Aurelien Campeas let the StringField have a default TextArea widget, only TextInput on small size constraint & no static vocabulary tls-sprint
Wed, 13 May 2009 15:55:08 +0200 Aurelien Campeas fix vertical alignment pb. with descr. format list and textarea inputs tls-sprint
Tue, 12 May 2009 20:18:19 +0200 sylvain thenault some widget adjustments tls-sprint
Tue, 12 May 2009 11:49:30 +0200 sylvain thenault should not override potential explicit widget tls-sprint
Wed, 06 May 2009 17:24:48 +0200 sylvain thenault use yams.schema method for initial value tls-sprint
Wed, 06 May 2009 03:28:55 -0700 Sandrine Ribeau Use widget TextInput instead of DateTimePicker. tls-sprint
Thu, 30 Apr 2009 12:36:14 +0200 sylvain thenault should set field's choices tls-sprint
Thu, 30 Apr 2009 10:38:11 +0200 sylvain thenault drop text field usage tls-sprint
Thu, 30 Apr 2009 10:34:15 +0200 sylvain thenault drop TextField, this is simply a StringField with a text area widget tls-sprint
Thu, 30 Apr 2009 08:51:54 +0200 sylvain thenault merge tls-sprint
Wed, 29 Apr 2009 19:52:56 +0200 Aurelien Campeas [forms/widgets] fix relation field not sorting its vocabulary, revert hack on Select widget tls-sprint
Thu, 30 Apr 2009 01:20:59 +0200 sylvain thenault fix StringField/TextField handling (XXX remove one of them?, ensure textarea has rows/cols attributes) tls-sprint
Tue, 28 Apr 2009 15:38:06 +0200 sylvain thenault set size=1 on select widget when a single choice is allowed tls-sprint
Thu, 23 Apr 2009 17:22:02 +0200 sylvain thenault guess_field now takes an entity schema as first argument, not an entity class tls-sprint
Wed, 22 Apr 2009 20:01:28 +0200 sylvain thenault delete-trailing-whitespaces tls-sprint
Tue, 21 Apr 2009 19:20:56 +0200 sylvain thenault remove spaces tls-sprint
Fri, 17 Apr 2009 12:13:16 +0200 sylvain thenault cleanup, more docstring tls-sprint
Fri, 17 Apr 2009 11:14:19 +0200 sylvain thenault refactor the way field value/display value are handled to avoid getting a 'display' value when expected a 'typed' value tls-sprint
Wed, 08 Apr 2009 20:37:22 +0200 sylvain thenault new form_init callback tls-sprint
Wed, 08 Apr 2009 20:36:39 +0200 sylvain thenault bool handling tls-sprint
Wed, 08 Apr 2009 20:36:11 +0200 sylvain thenault cleanup, remove some unnecessary (sometime buggy) stuff tls-sprint
Tue, 07 Apr 2009 19:51:11 +0200 sylvain thenault get field's help in guess_field tls-sprint
Tue, 07 Apr 2009 17:18:54 +0200 sylvain thenault handle sort/internationalizable on Field base class + fix guess_field to deal with internationalizable and default values tls-sprint
Fri, 27 Mar 2009 12:31:42 +0100 sylvain thenault cleanup, various fix to get something working tls-sprint
Thu, 26 Mar 2009 18:59:01 +0100 sylvain thenault more form works tls-sprint
Thu, 12 Mar 2009 20:44:58 +0100 sylvain thenault give field id in __repr__ tls-sprint
Thu, 12 Mar 2009 19:58:58 +0100 sylvain thenault more guess_field tests and fixes tls-sprint
Thu, 12 Mar 2009 19:39:34 +0100 sylvain thenault unification of meta-attributes handling: tls-sprint
Thu, 12 Mar 2009 16:33:29 +0100 sylvain thenault test and fix guess_field, some pylint fixes tls-sprint
Wed, 11 Mar 2009 23:25:29 +0100 sylvain thenault move fields and widgets to their own module tls-sprint
less more (0) tip