]> saetta.ns0.it Git - rust/zakform/log
rust/zakform
10 months agoc2rs: added set_text for zak_cgi_text field. c2rs
Andrea Zagli [Fri, 10 May 2024 10:12:14 +0000 (12:12 +0200)]
c2rs: added set_text for zak_cgi_text field.

10 months agoc2rs: missing NaiveDateTime type.
Andrea Zagli [Fri, 10 May 2024 10:11:34 +0000 (12:11 +0200)]
c2rs: missing NaiveDateTime type.

10 months agoc2rs: typo.
Andrea Zagli [Fri, 10 May 2024 09:36:02 +0000 (11:36 +0200)]
c2rs: typo.

10 months agoc2rs: added db struct.
Andrea Zagli [Fri, 10 May 2024 07:21:20 +0000 (09:21 +0200)]
c2rs: added db struct.

10 months agoc2rs: added form struct.
Andrea Zagli [Fri, 10 May 2024 07:12:10 +0000 (09:12 +0200)]
c2rs: added form struct.

10 months agoc2rs: form_element_email to text (for now).
Andrea Zagli [Fri, 10 May 2024 06:57:43 +0000 (08:57 +0200)]
c2rs: form_element_email to text (for now).

14 months agoc2rs: added support for dbtype.
Andrea Zagli [Sun, 21 Jan 2024 14:31:07 +0000 (15:31 +0100)]
c2rs: added support for dbtype.

14 months agoc2rs: added support for validator is_number.
Andrea Zagli [Sun, 21 Jan 2024 08:59:31 +0000 (09:59 +0100)]
c2rs: added support for validator is_number.

14 months agoc2rs: typo.
Andrea Zagli [Sun, 21 Jan 2024 08:38:04 +0000 (09:38 +0100)]
c2rs: typo.

14 months agoc2rs: added support for validator date.
Andrea Zagli [Sun, 21 Jan 2024 08:35:28 +0000 (09:35 +0100)]
c2rs: added support for validator date.

14 months agoc2rs: added support for validator notempty.
Andrea Zagli [Sat, 20 Jan 2024 11:00:35 +0000 (12:00 +0100)]
c2rs: added support for validator notempty.

14 months agoMissing some ; in output code.
Andrea Zagli [Sat, 20 Jan 2024 09:04:34 +0000 (10:04 +0100)]
Missing some ; in output code.

14 months agoOutput of a "complete" rust file.
Andrea Zagli [Sat, 20 Jan 2024 09:03:55 +0000 (10:03 +0100)]
Output of a "complete" rust file.

17 months agoc2rs: missing semicolons in generated code.
Andrea Zagli [Sat, 7 Oct 2023 12:25:26 +0000 (14:25 +0200)]
c2rs: missing semicolons in generated code.

17 months agoMerge branch 'validators' into c2rs
Andrea Zagli [Sat, 7 Oct 2023 12:20:11 +0000 (14:20 +0200)]
Merge branch 'validators' into c2rs

17 months agoFieldFile: added validate.
Andrea Zagli [Sat, 7 Oct 2023 12:18:34 +0000 (14:18 +0200)]
FieldFile: added validate.

17 months agoc2rs: some adjustments based on branch validators.
Andrea Zagli [Sat, 7 Oct 2023 10:01:32 +0000 (12:01 +0200)]
c2rs: some adjustments based on branch validators.

17 months agoMerge branch 'validators' into c2rs
Andrea Zagli [Sat, 7 Oct 2023 09:35:08 +0000 (11:35 +0200)]
Merge branch 'validators' into c2rs

17 months agoMerge branch 'validators' into c2rs
Andrea Zagli [Tue, 31 Oct 2023 07:54:24 +0000 (08:54 +0100)]
Merge branch 'validators' into c2rs

17 months agoMerge branch 'refactoring' into validators
Andrea Zagli [Sat, 7 Oct 2023 09:31:43 +0000 (11:31 +0200)]
Merge branch 'refactoring' into validators

17 months agoAdded File field. refactoring
Andrea Zagli [Sat, 7 Oct 2023 09:25:12 +0000 (11:25 +0200)]
Added File field.

17 months agoAdded inline property to Radio field.
Andrea Zagli [Sat, 7 Oct 2023 07:12:26 +0000 (09:12 +0200)]
Added inline property to Radio field.

18 months agoAdded script to re-build gettext catalogs on cargo build.
Andrea Zagli [Sat, 30 Sep 2023 10:02:45 +0000 (12:02 +0200)]
Added script to re-build gettext catalogs on cargo build.

18 months agoMerge branch 'validators' into c2rs
Andrea Zagli [Sat, 30 Sep 2023 09:31:41 +0000 (11:31 +0200)]
Merge branch 'validators' into c2rs

18 months agoImplemented compare for number validator.
Andrea Zagli [Sat, 30 Sep 2023 08:48:48 +0000 (10:48 +0200)]
Implemented compare for number validator.

18 months agoStarted number validator.
Andrea Zagli [Sat, 30 Sep 2023 07:48:23 +0000 (09:48 +0200)]
Started number validator.

18 months agoImplemented validator date compare.
Andrea Zagli [Fri, 29 Sep 2023 16:44:16 +0000 (18:44 +0200)]
Implemented validator date compare.

18 months agoImplemented validator regex.
Andrea Zagli [Fri, 29 Sep 2023 13:55:12 +0000 (15:55 +0200)]
Implemented validator regex.

18 months agoAdded i18n via gettext.
Andrea Zagli [Fri, 29 Sep 2023 13:23:08 +0000 (15:23 +0200)]
Added i18n via gettext.

18 months agoMerge branch 'refactoring' into validators
Andrea Zagli [Wed, 27 Sep 2023 15:07:10 +0000 (17:07 +0200)]
Merge branch 'refactoring' into validators

18 months agoTypo.
Andrea Zagli [Wed, 27 Sep 2023 15:07:01 +0000 (17:07 +0200)]
Typo.

18 months agoMerge branch 'refactoring' into validators
Andrea Zagli [Wed, 27 Sep 2023 15:01:39 +0000 (17:01 +0200)]
Merge branch 'refactoring' into validators

18 months agoNot passed class and placeholder to template rendering.
Andrea Zagli [Wed, 27 Sep 2023 14:59:50 +0000 (16:59 +0200)]
Not passed class and placeholder to template rendering.

18 months agoDate validator.
Andrea Zagli [Wed, 27 Sep 2023 14:32:05 +0000 (16:32 +0200)]
Date validator.

18 months agoForm validate.
Andrea Zagli [Wed, 27 Sep 2023 13:39:54 +0000 (15:39 +0200)]
Form validate.

18 months agoField validate.
Andrea Zagli [Wed, 27 Sep 2023 13:10:25 +0000 (15:10 +0200)]
Field validate.

18 months agoValidator massage.
Andrea Zagli [Wed, 27 Sep 2023 12:55:15 +0000 (14:55 +0200)]
Validator massage.

18 months agoStarted field validators.
Andrea Zagli [Mon, 25 Sep 2023 13:46:20 +0000 (15:46 +0200)]
Started field validators.

18 months agoc2rs: added check field.
Andrea Zagli [Mon, 25 Sep 2023 12:52:43 +0000 (14:52 +0200)]
c2rs: added check field.

18 months agoc2rs: placeholder and class atrribute.
Andrea Zagli [Sun, 24 Sep 2023 11:12:04 +0000 (13:12 +0200)]
c2rs: placeholder and class atrribute.

18 months agoMerge branch 'refactoring' into c2rs
Andrea Zagli [Sun, 24 Sep 2023 10:40:23 +0000 (12:40 +0200)]
Merge branch 'refactoring' into c2rs

18 months agoAdded field text placeholder attribute.
Andrea Zagli [Sun, 24 Sep 2023 10:38:58 +0000 (12:38 +0200)]
Added field text placeholder attribute.

18 months agoAdded field class attribute.
Andrea Zagli [Sun, 24 Sep 2023 10:32:50 +0000 (12:32 +0200)]
Added field class attribute.

18 months agoc2rs: write to file.
Andrea Zagli [Sun, 24 Sep 2023 08:58:05 +0000 (10:58 +0200)]
c2rs: write to file.

18 months agoc2rs: added submit/button field.
Andrea Zagli [Sun, 24 Sep 2023 07:48:15 +0000 (09:48 +0200)]
c2rs: added submit/button field.

18 months agoc2rs: added clap command line arguments.
Andrea Zagli [Sun, 24 Sep 2023 07:11:14 +0000 (09:11 +0200)]
c2rs: added clap command line arguments.

18 months agoc2rs: added to_load/to_save/editable.
Andrea Zagli [Sat, 23 Sep 2023 13:11:52 +0000 (15:11 +0200)]
c2rs: added to_load/to_save/editable.

18 months agoc2rs: not camel but capitalcase filter.
Andrea Zagli [Sat, 23 Sep 2023 08:22:25 +0000 (10:22 +0200)]
c2rs: not camel but capitalcase filter.

18 months agoAdded lowercase and capitalcase filters.
Andrea Zagli [Sat, 23 Sep 2023 08:21:44 +0000 (10:21 +0200)]
Added lowercase and capitalcase filters.

18 months agolibzakform conversion: moved source in bin directory.
Andrea Zagli [Wed, 20 Sep 2023 15:34:12 +0000 (17:34 +0200)]
libzakform conversion: moved source in bin directory.

18 months agolibzakform conversion: some attributes not defined.
Andrea Zagli [Wed, 20 Sep 2023 15:19:00 +0000 (17:19 +0200)]
libzakform conversion: some attributes not defined.

18 months agolibzakform conversion: moved to quick-xml from yaserde (due to the problem attribute...
Andrea Zagli [Wed, 20 Sep 2023 15:15:00 +0000 (17:15 +0200)]
libzakform conversion: moved to quick-xml from yaserde (due to the problem attribute and element with same name).

18 months agolibzakform conversion: printed code for select/radio options.
Andrea Zagli [Wed, 20 Sep 2023 14:41:00 +0000 (16:41 +0200)]
libzakform conversion: printed code for select/radio options.

18 months agolibzakform conversion: added select option.
Andrea Zagli [Wed, 20 Sep 2023 14:20:01 +0000 (16:20 +0200)]
libzakform conversion: added select option.

18 months agoStarted conversion from libzakform file format.
Andrea Zagli [Wed, 20 Sep 2023 14:13:00 +0000 (16:13 +0200)]
Started conversion from libzakform file format.

2 years agoAdded Field::remove_option.
Andrea Zagli [Sun, 5 Mar 2023 09:22:43 +0000 (10:22 +0100)]
Added Field::remove_option.

2 years agoIn Form::remove_field, return after item found.
Andrea Zagli [Sun, 5 Mar 2023 09:17:12 +0000 (10:17 +0100)]
In Form::remove_field, return after item found.

2 years agoAdded Form::remove_field.
Andrea Zagli [Sun, 5 Mar 2023 09:15:35 +0000 (10:15 +0100)]
Added Form::remove_field.

2 years agoAdded field property db_type.
Andrea Zagli [Sun, 5 Mar 2023 09:11:21 +0000 (10:11 +0100)]
Added field property db_type.

2 years agoField: added to_render.
Andrea Zagli [Sat, 4 Mar 2023 15:12:41 +0000 (16:12 +0100)]
Field: added to_render.

2 years agoField: added type button.
Andrea Zagli [Sat, 4 Mar 2023 14:58:12 +0000 (15:58 +0100)]
Field: added type button.

2 years agoField: to_load/save default to true.
Andrea Zagli [Sat, 4 Mar 2023 14:23:45 +0000 (15:23 +0100)]
Field: to_load/save default to true.

2 years agoField: added set_template.
Andrea Zagli [Sat, 4 Mar 2023 14:21:34 +0000 (15:21 +0100)]
Field: added set_template.

2 years agoField: added get/set_to_load/save.
Andrea Zagli [Sat, 4 Mar 2023 14:11:23 +0000 (15:11 +0100)]
Field: added get/set_to_load/save.

2 years agoForm::fields returns mutable.
Andrea Zagli [Sat, 4 Mar 2023 12:08:59 +0000 (13:08 +0100)]
Form::fields returns mutable.

2 years agoFilters' support.
Andrea Zagli [Sat, 4 Mar 2023 11:53:59 +0000 (12:53 +0100)]
Filters' support.

2 years agoEscaped quote on field values.
Andrea Zagli [Sat, 4 Mar 2023 09:15:04 +0000 (10:15 +0100)]
Escaped quote on field values.

2 years agoAdded methods get/set_disabled/invisible/help/value.
Andrea Zagli [Sat, 18 Feb 2023 09:42:29 +0000 (10:42 +0100)]
Added methods get/set_disabled/invisible/help/value.

2 years agoRendered html select.
Andrea Zagli [Sat, 18 Feb 2023 09:25:10 +0000 (10:25 +0100)]
Rendered html select.

2 years agoAdded methods get/set_label. Rendered html checkbox.
Andrea Zagli [Sat, 18 Feb 2023 09:20:36 +0000 (10:20 +0100)]
Added methods get/set_label. Rendered html checkbox.

2 years agoAdded methods get/set_maxlen and get/set_rows.
Andrea Zagli [Sat, 18 Feb 2023 08:59:55 +0000 (09:59 +0100)]
Added methods get/set_maxlen and get/set_rows.

2 years agoRendered html textarea.
Andrea Zagli [Sat, 18 Feb 2023 08:00:38 +0000 (09:00 +0100)]
Rendered html textarea.

2 years agoForm::get_field now return a mutable Box.
Andrea Zagli [Sat, 11 Feb 2023 16:28:00 +0000 (17:28 +0100)]
Form::get_field now return a mutable Box.

2 years agoUse of Box and Any for polymorphism.
Andrea Zagli [Sat, 11 Feb 2023 15:05:10 +0000 (16:05 +0100)]
Use of Box and Any for polymorphism.

2 years agoAdjustments due to files structures.
Andrea Zagli [Sat, 11 Feb 2023 10:53:48 +0000 (11:53 +0100)]
Adjustments due to files structures.

2 years agoAdded field::get_name.
Andrea Zagli [Sat, 11 Feb 2023 10:52:52 +0000 (11:52 +0100)]
Added field::get_name.

2 years agoRefactoring files structure.
Andrea Zagli [Sat, 11 Feb 2023 10:31:02 +0000 (11:31 +0100)]
Refactoring files structure.

2 years agoRefactoring started.
Andrea Zagli [Sat, 11 Feb 2023 10:13:32 +0000 (11:13 +0100)]
Refactoring started.

2 years agoRendered html radio element.
Andrea Zagli [Mon, 6 Feb 2023 15:51:47 +0000 (16:51 +0100)]
Rendered html radio element.

2 years agoRendered html check element.
Andrea Zagli [Mon, 6 Feb 2023 15:06:54 +0000 (16:06 +0100)]
Rendered html check element.

2 years agoAdded function Field::set_template.
Andrea Zagli [Tue, 7 Feb 2023 16:14:41 +0000 (17:14 +0100)]
Added function Field::set_template.

2 years agoRendered html select element.
Andrea Zagli [Tue, 7 Feb 2023 15:53:12 +0000 (16:53 +0100)]
Rendered html select element.

2 years agoForm as_json_string.
Andrea Zagli [Fri, 6 Jan 2023 11:10:23 +0000 (12:10 +0100)]
Form as_json_string.

2 years agoGet field's name.
Andrea Zagli [Fri, 6 Jan 2023 10:31:17 +0000 (11:31 +0100)]
Get field's name.

2 years agoField's filters.
Andrea Zagli [Fri, 6 Jan 2023 10:27:46 +0000 (11:27 +0100)]
Field's filters.

2 years agoForm get fields and field by name.
Andrea Zagli [Fri, 6 Jan 2023 09:22:49 +0000 (10:22 +0100)]
Form get fields and field by name.

2 years agoGet/set field's properties.
Andrea Zagli [Fri, 6 Jan 2023 08:48:59 +0000 (09:48 +0100)]
Get/set field's properties.

2 years agoField rendering.
Andrea Zagli [Fri, 6 Jan 2023 08:38:00 +0000 (09:38 +0100)]
Field rendering.

2 years agoFirst commit. Started form and field structs.
Andrea Zagli [Fri, 6 Jan 2023 08:00:55 +0000 (09:00 +0100)]
First commit. Started form and field structs.