Edgewall Software

Ticket #6985 (closed enhancement: fixed)

Opened 7 months ago

Last modified 7 months ago

A configurable timeline daysback limit

Reported by: jonas Owned by: jonas
Priority: normal Milestone: 0.11
Component: timeline Version: devel
Severity: normal Keywords:
Cc:

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

timeline_max_daysback.patch (1.0 kB) - added by jonas 7 months ago.
Proposed patch

Change History

Changed 7 months ago by jonas

Proposed patch

Changed 7 months ago by cboos

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).

Changed 7 months ago by jonas

  • owner changed from cboos to jonas

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.

Changed 7 months ago by jonas

  • status changed from new to closed
  • resolution set to fixed

Add/Change #6985 (A configurable timeline daysback limit)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.