Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 36 and Version 37 of ChangeLog


Ignore:
Timestamp:
10/16/09 13:37:52 (10 years ago)
Author:
chrisz
Comment:

Changelog for 1.0.9

Legend:

Unmodified
Added
Removed
Modified
  • ChangeLog

    v36 v37  
    6868      `mapping` keyword arg previously supported by `expose` and `view.render` but 
    6969      which was never passed to the template renderer (r6783). 
    70     * The config setting ``genshi.encoding`` is now ``genshi.default_encoding``. 
     70    * The config setting `genshi.encoding` is now `genshi.default_encoding`. 
    7171      If you used this setting and it was set to something other than `"utf-8"`, 
    7272      you need to change your configuration (r6787). 
     
    9595    * SQLAlchemy forward compatibility fixes (r6576). 
    9696    * Projects with no identity support do not include superfluous code (e.g. in 
    97       model.py) and files (``login.css`` and ``login.html``) any more (#2049). 
     97      model.py) and files (`login.css` and `login.html`) any more (#2049). 
    9898    * Identity failures during a requests to a controller exposed with 
    9999      `tg_format=json` yielded a 500 error instead of 403. Additionally, when 
     
    117117    * Added requirements for tests to quickstart setup file (r6622). 
    118118    * Instead of a plugin name you can now specify a class in dotted-path notation 
    119       for the ``visit.manager`` config setting to use a custom visit manager 
     119      for the `visit.manager` config setting to use a custom visit manager 
    120120      (r6651, thanks to Nic Bellamy fro provding the idea in #2260). 
    121121    * Support for JSONification of SQLAlchemy identity model objects in json.py 
     
    207207      to allow them to be used inside elements, which can not contain other 
    208208      block-level elements (e.g. `SPAN`). A `class` attribute is added to the 
    209       ``SPAN`` element, to allow it to be target by CSS rules easily (r5685). 
     209      `SPAN` element, to allow it to be target by CSS rules easily (r5685). 
    210210    * A new erroneousfield class is added to a rendered form when a validation 
    211211      erorr occured (r5668). 
     
    287287 
    288288 
     289== 1.0.9 (October 16, 2009) == 
     290 
     291=== Changes === 
     292 
     293    * `turbogears.validators` supports the new `formencode.national` module. 
     294    * Lists as return values of controllers are handled like generators again. 
     295    * `tg-admin i18n collect` supports a new option `-e|--js-encoding` to 
     296      set the file encoding of the !JavaScript source files (r6645). 
     297 
     298=== Fixes === 
     299 
     300    * Fixed some problems with non-ascci user names and URLs (#1130 and #2118). 
     301    * Static files were not found when project package was part of a larger 
     302      namespace package (#12). 
     303    * Better error message if validator for option list couldn't be guessed (#978). 
     304    * Fixed Modeldesigner exception (#1109). 
     305    * Multi-level inheritance did not work in model designer (#1092). 
     306    * The !PackageHub for SQLObject now only establishes a connection/transaction 
     307      when really necessary (fixed tickets #763, #817 and #2160). 
     308    * The tgsetup script failed when `find_link` was set in `.pydistutils.cfg` 
     309      as a single string (#2098). 
     310    * A form widget that is displayed without action parameter now produces an 
     311      empty action attribute instead of leaving it out which is invalid (#2292). 
     312    * Wrapping the `CatWalk` controller with `identity.SecureObject` did not 
     313      protect catwalk's sub-controller `Browser` (#2207). 
     314    * `tg-admin sql help` produced an error (#2361, thanks to Izhar Firdaus). 
     315    * `tg-admin i18n collect` !DecodingError when collecting strings from 
     316      !JavaScript files with non-ascii characters (#2183). 
     317    * Removed some obsolete code to handle deleting of related joins from CatWalk 
     318      (#2162, thanks , Daniel Fetchinson). 
     319    * When a visitor requested a page shortly before the `visit.timeout` and 
     320      then again shortly afterwards, he could sometimes be logged of at the 
     321      second request because the visit manager had not yet updated the database. 
     322      This has now been fixed by first looking up visits cached in memory (#2346). 
     323    * The Genshi Buffet interface is now correctly initialized with the 
     324      `default_encoding` setting, not `encoding` (see end of #1963). 
     325    * It was not possible to enter Null values for optional fields using Catwalk. 
     326      Some fixes were made to solve this, particularly for numeric fields (#760). 
     327    * Better error message in Catwalk if foreign key cannot be found (#1412). 
     328    * Primary key strings did not work properly with Catwalk when updating (#1029). 
     329    * Pagination did not work with SQLAlchemy >= 0.6. 
     330    * We now only pass string values as hidden fields in the login form, skipping 
     331      possible file fields which cannot be passed anyway (#1761). 
     332    * Fixed scheduler shutdown problem with method.sequential (#1702). 
     333 
     334=== Features === 
     335 
     336    * Added links to the home pages of the individual packages on the toolbox 
     337      info page (#1155). 
     338    * TurboGears now makes internal use of the `is_active` property provided 
     339      by SQLAlchemy 0.4.9 and newer. 
     340    * Compiled Kid templates are now added when building eggs (#1463). 
     341    * Added default MANIFEST.in to quickstart template to ensure clean builds. 
     342    * Allowed nested validation schemas to be defined by nesting schema class 
     343      definitions and allowed schema classes, not only instances, to be attached 
     344      to form widgets (#2393). 
     345 
     346=== Contributors (in alphabetic order) === 
     347 
     348Peter Russell, Christoph Zwerschke, Christopher Arndt 
     349 
     350 
    289351== 1.0.8 (December 17, 2008) == 
    290352 
     
    305367    * Solved a small problem in the login controller of quickstarted projects since 
    306368      version 1.0.5 that occurred when directly accessing a non-authorized resource. 
    307     * ``tg-admin toolbox`` ignored the ``--config`` option and adopted problematic 
     369    * `tg-admin toolbox` ignored the `--config` option and adopted problematic 
    308370      config settings from the current project. 
    309371    * Fixed an issue with i18n string collection when using the lang option (#2012). 
    310     * Made ``not_anonymous`` internally consistent with others predicates (#2029). 
    311     * ``tg-admin sql`` did not work with SQLAlchemy versions before 0.4.3 (#2057). 
     372    * Made `not_anonymous` internally consistent with others predicates (#2029). 
     373    * `tg-admin sql` did not work with SQLAlchemy versions before 0.4.3 (#2057). 
    312374    * Hidden fields are now always put in an invisible 'div' section since they 
    313375      must be contained in a block-level element to be valid (X)HTML (#2052). 
     
    318380 
    319381    * Made content type delivered for a template format configurable with the 
    320       ``tg.format_mime_types`` setting (see problem with XHTML content above). 
     382      `tg.format_mime_types` setting (see problem with XHTML content above). 
    321383    * TurboGears 1.0.8 now additionally includes MochiKit version 1.4.2, though 
    322384      version 1.3.1 is still used by default. You can use the newer version by 
    323       setting ``tg.mochikit_version`` or ``tg_mochikit.version``  to '1.4' (#2018). 
    324     * Forms have got a new ``use_name`` parameter that allows setting the id 
     385      setting `tg.mochikit_version` or `tg_mochikit.version`  to '1.4' (#2018). 
     386    * Forms have got a new `use_name` parameter that allows setting the id 
    325387      attribute instead of the name attribute of the form, since the latter is 
    326388      deprecated in HTML and invalid in XHTML (#2052). 
     
    334396== 1.0.7 (September 15, 2008): == 
    335397 
    336  
    337 === Changes === 
    338  
     398=== Changes === 
    339399 
    340400    * The standard controller method handling identity.failure_url ("/login") now 
     
    383443 
    384444    * Visit key can now be retrieved also from the request params (#1927). 
    385     * Added ``max_limit`` and ``max_sort`` parameters to the paginate decorator 
    386       and deprecated ``allow_limit_override`` (#1908). Since the last version, 
     445    * Added `max_limit` and `max_sort` parameters to the paginate decorator 
     446      and deprecated `allow_limit_override` (#1908). Since the last version, 
    387447      TurboGears sorts in memory, if sorting with SQL is not possible. Since 
    388448      this may be costly, you can now set limits. 
    389     * TurboGears now respects the ``SCRIPT_NAME`` CGI environment variable. 
    390       This allows better integration with ``mod_wsgi`` and other WSGI middleware 
    391       and more flexibility than using ``sever.webpath`` (#1919). 
    392     * TurboGears now also sets ``request.path_info`` using a CherryPy filter. 
    393       This is the same as ``request.path`` with both ``SCRIPT_NAME`` and 
    394       ``server.webpath`` stripped off. 
    395     * Added a ``unicode_response`` attribute to the ``testutil.BrowsingSession`` 
     449    * TurboGears now respects the `SCRIPT_NAME` CGI environment variable. 
     450      This allows better integration with `mod_wsgi` and other WSGI middleware 
     451      and more flexibility than using `sever.webpath` (#1919). 
     452    * TurboGears now also sets `request.path_info` using a CherryPy filter. 
     453      This is the same as `request.path` with both `SCRIPT_NAME` and 
     454      `server.webpath` stripped off. 
     455    * Added a `unicode_response` attribute to the `testutil.BrowsingSession` 
    396456      object if an encoding is specified in the Content-Type header. Tests can use 
    397457      this much more safely. 
    398     * If ``WidgetsList`` objects are passed in the controller dict, then the CSS 
    399       and JavaScript for all the widgets in the list will be included (#5190). 
     458    * If `WidgetsList` objects are passed in the controller dict, then the CSS 
     459      and !JavaScript for all the widgets in the list will be included (#5190). 
    400460    * The forward/backward/goto links in the paginate data grid can now be styled, 
    401461      and the default style shows them as buttons (way easier to click). 
     
    404464=== Fixes === 
    405465 
    406     * Fixed several problems with ``server.webath`` (#1606, #1939, #1957). 
     466    * Fixed several problems with `server.webath` (#1606, #1939, #1957). 
    407467    * Improved the login mechanism so that you can use secure logins by setting 
    408       ``identity.failure_url`` and ``identity.force_external_redirect``. 
     468      `identity.failure_url` and `identity.force_external_redirect`. 
    409469    * url() now handles URLs with existing query strings correctly (#1862). 
    410470    * Using something like kid.HTMLSerializer as template format works again. 
     
    425485 
    426486    * You can now pass a couple of interesting configuration parameters to 
    427       TurboJson (e.g. ``json.ensure_ascii=True``, and the default is now False). 
     487      TurboJson (e.g. `json.ensure_ascii=True`, and the default is now False). 
    428488    * A new epydoc-based API docs generation script was added. 
    429489 
    430490=== Fixes === 
    431491 
    432     * The widget ``default`` value can now be a function, similar to ``options``. 
    433     * The default content type for JSON was changed from ``text/javascript`` 
    434       to ``application/json`` (#1842). 
     492    * The widget `default` value can now be a function, similar to `options`. 
     493    * The default content type for JSON was changed from `text/javascript` 
     494      to `application/json` (#1842). 
    435495    * The accept header is now reduced to a single value before it is compared 
    436       with ``accept_format`` (#1842). 
     496      with `accept_format` (#1842). 
    437497    * The content type of the response is now determined from the template format 
    438498      parameter, if not otherwise specified (#1842, #1480). 
    439     * Setting ``tg_format=json`` is now allowed even when the format is already 
     499    * Setting `tg_format=json` is now allowed even when the format is already 
    440500      JSON by default (#1459). 
    441     * Small improvements in ``DataGrid``, empty headers are now allowed. 
    442     * Small improvements in the ``DataGrid`` and ``PaginateDataGrid`` templates. 
    443     * Improved ``paginate`` and made it work with the latest SQLAlchemy versions. 
     501    * Small improvements in `DataGrid`, empty headers are now allowed. 
     502    * Small improvements in the `DataGrid` and `PaginateDataGrid` templates. 
     503    * Improved `paginate` and made it work with the latest SQLAlchemy versions. 
    444504      Sorting now works with SQLAlchemy queries and pure Python objects, and 
    445505      nested attributes are supported. 
    446     * Table of contents and ``PaginateDataGrid`` added to the widget browser. 
    447     * ``AutoCompleteField`` now also works with the MochiKit 1.4 dev version. 
     506    * Table of contents and `PaginateDataGrid` added to the widget browser. 
     507    * `AutoCompleteField` now also works with the MochiKit 1.4 dev version. 
    448508    * Added alternate text parameter to ImageButton for better form accessibility. 
    449509    * Fixed params attribute of `JSI18NWidget`. 
     
    451511    * Flash messages with commas did not work on some browsers (#1164). 
    452512    * The error handler did not return JSON when it had been requested from the 
    453       original controller using ``tg_format``. 
    454     * ``tg-admin shell`` now works with "heredocs" and other cases when the 
     513      original controller using `tg_format`. 
     514    * `tg-admin shell` now works with "heredocs" and other cases when the 
    455515      standard input encoding is not defined. 
    456     * ``tg-admin toolbox`` did not work when ``server.socket_host`` was not 
     516    * `tg-admin toolbox` did not work when `server.socket_host` was not 
    457517      set on some platforms (#1713). 
    458     * ``tg-admin i18n collect`` did not work with nested packages (#1779). 
     518    * `tg-admin i18n collect` did not work with nested packages (#1779). 
    459519    * A bug (#1396) made the recursion guard not work correctly and prevented 
    460520      validation to be performed more than once per request. 
    461     * Setting ``tg.defaultview='genshi'`` and ``tg.mochikit_suppress=True`` 
     521    * Setting `tg.defaultview='genshi'` and `tg.mochikit_suppress=True` 
    462522      raised an exception (#1719). 
    463     * ``format_decimal`` in i18n.format now works with ``num_places=0`` (#1647). 
    464     * The ``FeedController`` Atom 1.0 template didn't include proper author (#1730). 
     523    * `format_decimal` in i18n.format now works with `num_places=0` (#1647). 
     524    * The `FeedController` Atom 1.0 template didn't include proper author (#1730). 
    465525    * The quickstarted default app.cfg file now sets the package name (#1631). 
    466526    * Under rare circumstances, testutil could use a wrong module name (#1821). 
     
    511571=== Contributors (in alphabetic order) === 
    512572 
    513 Florent Aide, Matej Barič, Jorge Godoy, Christoph Zwerschke. 
     573Florent Aide, Matej Baric, Jorge Godoy, Christoph Zwerschke. 
    514574 
    515575 
     
    704764    * Ticket #1582: Paginate allows ordering by attributes from related objects 
    705765      (SQLAlchemy Query objects only). 
    706     * JavaScript i18n-features added 
     766    * !JavaScript i18n-features added 
    707767 
    708768=== Fixes ===