Changes between Version 6 and Version 7 of TracUpgrade
- Timestamp:
- 04/04/2011 10:03:23 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v6 v7 98 98 The 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). 99 99 100 ===== Microsecond timestamps ===== 101 All 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. 102 100 103 ==== Upgrading from Trac 0.10 to Trac 0.11 ==== 101 104 ===== Site Templates and Styles =====