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 26 and Version 27 of ChangeLog


Ignore:
Timestamp:
03/07/08 16:26:32 (11 years ago)
Author:
chrisz
Comment:

Version 1.0.4.4

Legend:

Unmodified
Added
Removed
Modified
  • ChangeLog

    v26 v27  
    11= Change Log = 
     2 
     3 
     4== 1.0.4.4 (March, 7, 2008): == 
     5 
     6=== Changes === 
     7 
     8    * `cherrypy.request.sa_transaction` is now always the SQLAlchemy transaction. 
     9      In the case of SQLAlchemy >= 0.4, this had been set to the SQLAlchemy session 
     10      before. You should't use this to explicitly commit or rollback transactions, 
     11      use `database.session.commit()` or `database.session.rollback()` instead. 
     12    * Identities now have a `login` method creating the link to the visit; 
     13      this is not done in the provider method `validate_identity` any more. 
     14    * TurboGears does not use a permanent visit cookie any more by default, i.e. 
     15      the cookie will not be discarded when the browser is closed (#1729). If you 
     16      want a permanent cookie to be used, set `visit.cookie.permanent` to True. 
     17      The `visit.timeout` setting controls how long the cookie is valid. 
     18 
     19=== Features === 
     20 
     21    * Identies now have additional `user_id` and `group_ids` attributes. 
     22    * Added an AutoCompleteTextField that can more easily replace an ordinary 
     23      TextField in a form (the AutoCompleteField is a CompoundWidget). 
     24 
     25=== Fixes === 
     26 
     27    * Toolbox did not run on projects using Genshi (#1494). 
     28    * Toolbox loading will no more crash on a missing SQLObject import (#1620). 
     29    * The PasteScript bug mentioned in the 1.0.4.1 changelog below has been fixed 
     30      in PasteScript 1.6.2, so TurboGears requires the new version now (#1624). 
     31    * The new config parameter `tg.ignore_parameters` allows ignoring other 
     32      paramers besides `tg_random` when `tg.stric_parameters` ist set (#1653). 
     33    * FieldStorageUploadConverter didn't support `not_empty=False` (#1705). 
     34    * Fixed `tg-admin shell` encoding problems (#1714). 
     35    * Template params now always keep their given order (#1718). 
     36    * Compatibility with SQLAlchemy 0.4.3 (#1721). 
     37    * `tg-admin shell` now runs with Python 2.3 if you install subprocess. 
     38    * Better handling of external redirects. 
     39 
     40=== Contributors (in alphabetic order) === 
     41 
     42Florent Aide, Matej Barič, Jorge Godoy, Christoph Zwerschke. 
     43 
     44 
     45== 1.0.4.3 (January, 31, 2008): == 
     46 
     47=== Fixes === 
     48 
     49    * Added a new config option (app.cfg) which controls the kind of redirection 
     50      the framework will raise in case of identity errors. By default TG used an 
     51      internal CherryPy redirect in such cases. But the problem was that if you 
     52      tried to use a failure url such as https://somewhere then CP raised a 404 
     53      error and that was all. Using this new system, you can activate _external_ 
     54      redirects for identity errors by using the identity.force_external_redirect 
     55      in app.cfg. This will permit redirecting your clients to any HTTPS url that 
     56      is managed by an external apache or nginx rewrite rule. 
     57    * Fixed the behavior of tg.mochikit_suppress which wasn't actually working. 
     58    * Small improvements of the AutoCompleteField (Javascript clean-up; 
     59      nicer box for auto completions and no garbage when it is empty; 
     60      cursor jumps to end of text on update; with `search_param = '*'` 
     61      you can now pass all form fields to the controller; the spinner can 
     62      now be suppressed with `show_spinner = False`; the hidden field 
     63      is now optional in the Javascript code so that it can be reused if you 
     64      want to build a simpler TextField based widget; added parameter docs) 
     65 
     66=== Project Updates === 
     67 
     68SQLObject version has been bumped so TG accepts 0.10.0 final. 
     69 
     70=== Contributors (in alphabetic order) === 
     71 
     72Florent Aide, Diez B. Roggisch, Christoph Zwerschke. 
     73 
    274 
    375== 1.0.4.2 (January, 21, 2008): == 
     
    1385== 1.0.4.1: (January, 20, 2008): == 
    1486 
    15     * lower down the dependency on PasteScript because 1.6.1 and 1.6.1.1 
     87    * Lower down the dependency on PasteScript because 1.6.1 and 1.6.1.1 
    1688      break tg-admin quickstart command. We will release an updated 
    1789      version when the fix is implemented 
     
    44116=== Changes === 
    45117 
    46     * Pagination can be disabled by using ``allow_limit_override`` and 
    47       ``tg_paginate_limit=0``, allowing all results been returned on one single 
     118    * Pagination can be disabled by using `allow_limit_override` and 
     119      `tg_paginate_limit=0`, allowing all results been returned on one single 
    48120      page (#1629). 
    49121 
     
    68140=== Deprecations === 
    69141 
    70     * Paginate ``default_order`` has been greatly improved. Use of the  
    71       ``default_reversed`` parameter has been deprecated. It will still be used 
     142    * Paginate `default_order` has been greatly improved. Use of the  
     143      `default_reversed` parameter has been deprecated. It will still be used 
    72144      if it is informed, but a !DeprecationWarning will be displayed. 
    73145 
     
    78150    * !PaginateDataGrid template now makes use of paginate attributes to render 
    79151      the links for first/previous/next/last page (#1617). 
    80     * ``paginate.href_last`` returns a special URL that allows paginate decorator 
     152    * `paginate.href_last` returns a special URL that allows paginate decorator 
    81153      to compute the correct last page number at server-side (#1617). 
    82     * The ``start-<project>.py`` script in a quickstarted project is now only a 
    83       wrapper for the ``start()`` function in a new ``commands`` module in the  
    84       project's package. The ``setup.py`` in new project also creates a console 
     154    * The `start-<project>.py` script in a quickstarted project is now only a 
     155      wrapper for the `start()` function in a new `commands` module in the  
     156      project's package. The `setup.py` in new project also creates a console 
    85157      script entry point for this, so easy_install can create a start script 
    86158      when the project's egg is installed. It also allows to package a default 
     
    88160    * Installation of TurboGears now does not require installation of an ORM. 
    89161      Instead, a project that relies on SQLObject or SQLAlchemy will have a 
    90       ``setup.py`` file written with the proper requirements (#1501,#1620). 
     162      `setup.py` file written with the proper requirements (#1501,#1620). 
    91163 
    92164=== Features === 
    93165 
    94166    * Introduction of tg.mochikit_suppress to (see "Changes"). 
    95     * Workaround in paginate for databases without ``OFFSET`` (#1601). 
     167    * Workaround in paginate for databases without `OFFSET` (#1601). 
    96168    * The database module exports a mapper which is either session.mapper 
    97169      for SQLAlchemy >= 0.4, or something similar to assign_mapper 
    98170      for SQLAlchemy < 0.4, but compatible with SQLAlchemy 0.4 and Elixir. 
    99     * The ``tg-admin quickstart`` command has now an option ``-r`` 
    100       ``(--svn-repository)`` allowing automatic creation of the project in the 
     171    * The `tg-admin quickstart` command has now an option `-r` 
     172      `(--svn-repository)` allowing automatic creation of the project in the 
    101173      specified SVN repository. 
    102     * Introduction of ``paginate.redirect_on_out_of_range`` and 
    103       ``paginate.redirect_on_last_page``, which determine if paginate decorator 
     174    * Introduction of `paginate.redirect_on_out_of_range` and 
     175      `paginate.redirect_on_last_page`, which determine if paginate decorator 
    104176      should raise a redirect when current page is out of bound and the 
    105177      last page is requested, respectively. 
    106     * Paginate ``default_order`` can now be a string or a list of strings. 
     178    * Paginate `default_order` can now be a string or a list of strings. 
    107179      The list of string is used to specify the ordering of multiple columns. 
    108       Every string starting with a dash (``-``) indicates that the column will  
     180      Every string starting with a dash (`-`) indicates that the column will  
    109181      have its default ordering reversed (#1618). 
    110182    * turbogears.url() allows to to create an url with multiple values for the  
     
    117189      processing instructions and comments as well as script and style sections. 
    118190    * Fixed SQLAlchemy and Elixir issues (#1458, #1599 and #1604). 
    119     * Fixed issues with ``tg-admin update`` on a project in SVN (#1608). 
     191    * Fixed issues with `tg-admin update` on a project in SVN (#1608). 
    120192    * Fix pagination of SQLAlchemy Query ordering by backrefs and synonyms' 
    121193      attributes. It also supports SQLAlchemy 0.4.1, which removed the 
    122       ``properties`` accessor on Mapper (#1582). 
     194      `properties` accessor on Mapper (#1582). 
    123195    * Ensure paginate links bring the same result when using ordering columns 
    124196      with a custom datagrid template (#1605). 
    125197    * Fix pagination of out of bound pages (#1617). 
    126     * ``tg-admin i18n`` now supports Unicode strings in Kid templates (#1397). 
     198    * `tg-admin i18n` now supports Unicode strings in Kid templates (#1397). 
    127199    * Fixed testutil to properly use the soClasses attribute in the model 
    128200      in order to pick up only the classes defined in this list and not 
     
    130202    * Fixed the command line interface to i18n collection. Command line now 
    131203      processes also the templates (#1436). 
    132     * toolbox loading will no more crash on a missing SQLObject import. (#1620). 
    133204    * Identity bug when using non-ASCII characters in the URL. (#1598, #1407, 
    134205      #1022)