Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13759 closed enhancement (fixed)

1.4 compatibility

Reported by: david@… Owned by: david@…
Priority: normal Component: LastModifiedMacro
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

Made the trunk code compatible with Trac 1.4.

Added the format keyword parameter to set the display format of the last modified timestamp.

Removed unused author/username extraction.

Attachments (1)

LastModified.py (4.0 KB) - added by david@… 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by david@…

Attachment: LastModified.py added

comment:1 Changed 5 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

Thanks. For future, please consider submitting a patch per TracDev/SubmittingPatches.

comment:2 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 17679:

Make compatible with Trac 1.3+

  • Require Trac >= 1.0
  • Add keyword argument for specifying timestamp format
  • Fix SQL injection vulnerability

Includes contributions from david@santinoli.com

Fixes #13759.

comment:3 Changed 5 years ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to david@…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain david@….
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.