Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6985 closed enhancement (fixed)

A configurable timeline daysback limit

Reported by: Jonas Borgström Owned by: Jonas Borgström
Priority: normal Milestone: 0.11
Component: timeline Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

There is currently no top limit on the daysback parameter for the timeline page. Since timelines for a large number of days can be fairly expensive we need to add a configurable limit with a good default value.

This is something I would like to see go into 0.11 (beta2).

Any objections?

Attachments (1)

timeline_max_daysback.patch (1.0 KB ) - added by Jonas Borgström 16 years ago.
Proposed patch

Download all attachments as: .zip

Change History (4)

by Jonas Borgström, 16 years ago

Attachment: timeline_max_daysback.patch added

Proposed patch

comment:1 by Christian Boos, 16 years ago

I'd prefer the default to be unlimited.

Rationale: when one wants to discover a small or moderately sided project using Trac, one would want to see all the project's history at a glance (when did it started, when was the activity period). In this case, giving a high daysback is handy.

If we set the default to limited, I think the above trick won't be doable as people probably won't bother changing the limit up even if their project could afford it.

Other than that I'm OK with the patch (and even for the default settings, I only stated a personal preference, so do as you see fit).

comment:2 by Jonas Borgström, 16 years ago

Owner: changed from Christian Boos to Jonas Borgström

Ok, I've committed it as [6681]. I kept the original default value since I believe it's better to have a safe default value than a convenient but potentially dangerous one.

comment:3 by Jonas Borgström, 16 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.