Yafowil

Latest version: v3.0.1

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

2.1

----------------

- Consider ``YAFOWIL_FORCE_DUMMY_TSF`` os.environ variable which can be used
to force dummy translation string factory when running tests.
[rnix, 2014-05-13]

- Add translations.
[rnix, 2014-04-30]

- Add ``yafowil.tsf`` module, which is used to create yafowil related
translation string factory.
[rnix, 2014-04-30]

- Re-add ``yafowil.utils.Unset`` class (import from ``node.utils``) for
backward compatibility reasons.
[rnix, 2014-04-30]

- Return ``UNSET`` in number extractor if received extracted value is empty
string.
[rnix, 2014-03-20]

- Use ``generic_html5_attrs`` in ``tag_renderer``.
[jensens, 2013-03-06]

- Add default CSS class for ``checkbox`` and ``textarea`` blueprints.
[rnix, 2013-03-06]

- Float number input seperator may also be comma.
[rnix, 2013-12-02]

- Don't generate an id attribute for structural widgets. Fixes 6, where the
same id for all structural elements in a form was generated.
[thet, 2013-05-27]

- Blueprints accept ``data`` property for generic HTML5 data attributes.
[rnix, 2013-04-11]

- Introduce ``yafowil.utils.generic_html5_attrs`` helper function.
[rnix, 2013-04-11]

- Introduce ``with_label`` property for ``checkbox`` blueprint. Useful for
cross browser compatible checkbox CSS.
[rnix, 2013-03-29]

- Use json.dumps for data atrribute values to convert Python types to JSON.
Enclose data-attribute values in single quotes to meet the JSON requirements.
Convert camelCase data attribute names into camel-case. Since jQuery 1.6 they
are automatically converted back to camelCase after calling .data().
[thet]

- Import ``node.utils.UNSET`` in ``yafowil.utils`` instead of providing own
unset marker class and instance.
[rnix, 2013-02-10]

- Add helper function for creating a data-attributes dictionary from a list of
attribute-keys which can be passed to tag-renderer.
[thet, 2012-12-05]

- Allow passing of a custom html attributes dictionary to textarea_renderer,
select_edit_renderer and input_generic_renderer. A dictionary is used instead
of passing them as function parameters to avoid namespace conflicts.
[thet]

2.0.2

-----

- Consider ``maxlength`` in ``input_attributes_common``.
[rnix, 2012-11-03]

2.0.1

-----

- Use ``attr_value`` wherever possible to lookup attribute values.
[rnix, 2012-10-25]

- Introduce ``attr_value`` utility.
[rnix, 2012-10-25]

- Textarea can have ``title`` attribute.
[rnix, 2012-10-25]

2.0

---

- Fix default help text.
[rnix, 2012-10-10]

- fixed bug in factory returned wrong renderes on call of display_renderers
[jensens, 2012-10-09]

- renamed plans to macros.
[rnix, jensens]

- custom chains can be passed as dictionary to the factory.
[rnix, 2012-09-28]

- introduce ``display_proxy`` property for mode ``display``.
[rnix, 2012-08-08]

- add generic ``tag`` blueprint.
[rnix, 2012-08-08]

- adopt to ``plumber`` 1.2.
[rnix, 2012-07-29]

- adopt to ``node`` 0.9.8.
[rnix, 2012-07-29]

- pep8ify
[jensens, 2012-06-08]

- make TBSupplement compatible with both: zExceptions and
zope.exceptions. Major change: html output is no longer default and
the kwarg of getInfo is now as_html (was html).
Also added blueprints to the supplement as info to make it easier to identify
the form part.
[jensens, 2012-06-07]

1.3.2

-----

- Check with 'if not value' instead of 'if value is None' in
``generic_display_renderer``.
[thet, 2012-05-23]

- Add a title attribute to the label blueprint.
[thet, 2012-05-02]

- Fix file extractor.
[rnix, 2012-04-21]

- Avoid rendering of value attribute in file blueprint.
[rnix, 2012-04-21]

1.3.1

-----

- Label property can be callable.
[rnix, 2012-02-19]

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.