Webhelpers

Latest version: v1.3

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

Scan your dependencies

Page 4 of 5

0.3.4

----------------
* Fixed missing javascripts dir.

0.3.3

----------------
* Fixed strip_unders so that it won't explode during iteration when the size
changes.
* Updated feedgenerator with the latest changes from Django's version (only
a few additional attributes).

0.3.2

----------------
* Added capability to pass pagination a SA 0.4 Session object which will be
used for queries. This allows compatibility with Session.mapper'd objects
and normal SA 0.4 mapper relations.
* Updated SQLAlchemy ORM pagination for SA 0.4 Session.mapper objects.
* Updated Scriptaculous to 1.7.1 beta 3 (1.7.0 is incompatible with Prototype
1.5.1). Thanks errcw. Fixes 288.

0.3.1

----------------
* Added the secure_form_tag helper module, for generating form tags
including client-specific authorization tokens for preventing CSRF
attacks. Original patch by David Turner. Fixes 157.
* current_url now accepts arguments to pass along to url_for. Fixes 251.
* Updated prototype to 1.5.1.1.
* Added image support to button_to. Patch by Alex Conrad. Fixes 184.
* Fix radio_button and submit_to_remote not handling unicode values.
Fixes 235.
* Added support for the defer attribute to javascript_include_tag. Suggested
by s0undt3ch. Fixes 214.
* Added a distutils command compress_resources, which can combine CSS
and Javascript files, and compress Javascript via ShrinkSafe. Add
"command_packages=webhelpers.commands" in [global] in setup.cfg to
enable this command for your package.

0.3

----------------
* WARNING: paginate now takes arguments intended for the collection object as
query_args. This could affect backwards compatibility. This fixes a common
issue that non-keyword arguments passed into paginate get eaten by
paginate's keyword arguments instead of being in \*args to go on to the
collection.
* Added environ checking with Routes so that page will be automatically pulled
out of the query string, or from the Routes match dict if available.
* Added ability for paginate to check for objects that had SQLAlchemy's
assign_mapper applied to them.
* Added better range checking to paginator to require a positive value that is
less than the total amount of pages available for a page.
* WARNING: Due to a typo, the Text helper highlight function no longer
highlights text with the CSS class name 'hilight' by default: it now uses
the CSS class name 'highlight' instead. The function's 'hilighter' keyword
argument has also been deprecated, use 'highlighter' instead.
* Fixed the broken markdown function.
* Upgraded markdown from 1.5 to 1.6a.
* Sync'd Prototype helper to 6057.
* Sync'd Urls helper to 6070.
* Sync'd Text helper to 6096.
* Sync'd Date helper to 6080.
* Sync'd Tags helper to 5857.
* Sync'd Asset tag helper to 6057.
* Sync'd Rails Number helper to 6045.
* Updated Ajax commands to internally use ``with_`` to avoid name conflicts with
Python 2.5 and beyond. Reported by anilj. Fixes 190.
* Applied patch from David Smith to decode URL parts as Routes does.
Fixes 186.
* Changed pagination to give better response if its passed an invalid object.
Patch from Christoph Haas.
* Fixed scriptaculous helper docs example. Fixes 178.
* Updated scriptaculous/prototype to Prototype 1.5.0 and Scriptaculous 1.7.0.
* Updated scriptaculous javascripts to 1.6.5. Fixes 155.
* Updated remote_function doc-string to more clearly indicate the arguments
it can receive.
* Synced Rails Javascript helper to 5245 (escape_javascript now escaping
backslashes and allow passing html_options to javascript_tag).

0.2.2

----------------
* Fixed tag_options function to not str() string and let html_escape handle
it so unicode is properly handled. Reported with fix by Michael G. Noll.
* Added sqlalchemy.Query support to the pagination orm wrappers, patch from
Andrija Zarić
* Fixed python 2.3 compliance in webhelpers.rails (use of sorted()) (Thanks
Jamie Wilkinson)

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.