Edgewall Software

Changes between Version 82 and Version 83 of TracUpgrade


Ignore:
Timestamp:
Nov 5, 2010, 1:49:10 PM (13 years ago)
Author:
Remy Blank
Comment:

Added a section about microsecond timestamps.

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v82 v83  
    9999The authz permission checking has been migrated to a fine-grained permission policy. If you use authz permissions (aka `[trac] authz_file` and `authz_module_name`), you must add `AuthzSourcePolicy` in front of your permission policies in `[trac] permission_policies`. You must also remove `BROWSER_VIEW`, `CHANGESET_VIEW`, `FILE_VIEW` and `LOG_VIEW` from your global permissions (with `trac-admin $ENV permission remove` or the "Permissions" admin panel).
    100100
     101===== Microsecond timestamps =====
     102All timestamps in database tables (except the `session` table) have been changed from "seconds since epoch" to "microseconds since epoch" values. This change should be transparent to most users, except for custom reports. If any of your reports use date/time columns in calculations (e.g. to pass them to `datetime()`), you must divide the values retrieved from the database by 1'000'000. Similarly, if a report provides a calculated value to be displayed as a date/time (i.e. with a column named "time", "datetime", "changetime", "date", "created" or "modified"), you must provide a microsecond timestamp, that is, multiply your previous calculation with 1'000'000.
     103
    101104==== Upgrading from Trac 0.10 to Trac 0.11 ====
    102105===== Site Templates and Styles =====