WebHelpers ChangeLog 0.3 (03/18/2007) * 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 checking 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 (10/20/06) * 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) 0.2.1 (9/7/06) * Adding counter func to text helpers, patch from Jamie Wilkinson. * Sync'd Rails Text helper to 4994. * Sync'd Rails Asset tag helper to 4999. * Sync'd Rails Form tag helper to 5045, also doesn't apply to our version. * Sync'd Rails Javascript func to 5039, doesn't apply to us. * Updated Scriptaculous to 1.6.3. * Updated Prototype to 1.5.0_rc1. * Updated radio_button so that id's are unique. Brings up to date with Rails changeset #4925, also fixes #103. * More precise distance_of_time_in_words (Follows bottom half of #4989 Rails changeset) * button_to accepts method keyword so you can PUT and DELETE with it. (Follows #4914 Rails changeset) * Fixed auto_link to parse more valid url formats (Thanks Jamie Wilkinson). * Sync'd text helper from latest Rails version. * Fixed form tag's method matching to be case insensitive. 0.2 (8/31/06) * Adding simplejson req, adding use of json'ification. Updated scriptaculous helpers to split out JS generation for use in JS Generation port. * Finished sync'ing Rails ports (urls, tags) in WebHelpers. Closes #69. url and prototype tests updated, url helpers updated to handle method argument. * Sync'd scriptaculous helper. * Sync'd javascript, prototype helpers and prototype.js to latest Rails modifications. Added more prototype tests. * Sync'd form_options, form_tag helpers. form_tag's form function can now accept other HTTP methods, and will include a hidden field for them if its not 'get' or 'post'. * Sync'd number helper, added number unit tests. * Added markdown.py (python-markdown) for new markdown support in text helper. * Added textile.py (PyTextile) for new textilize support in text helper. * Brought asset/date/text helpers up to date with revision info. 0.1.3 (Release) * Brought feedgenerator in line with Django's version, which fixed the missing support for feed categories and updated classes for new-style. Other minor feed updates as well. Now synced as of Django r3143. * Fixed typo in feedgenerator import, reported by tiksin@free.fr. * Added ``webhelpers.rails.asset_tag``, for generating links to other assets such as javascripts, stylesheets, and feeds.