Modify

Opened 4 years ago

Last modified 6 months ago

#8576 new enhancement

Some patches to use more Trac built in features

Reported by: pipern Owned by: rjollos
Priority: normal Component: TicketModifiedFilesPlugin
Severity: normal Keywords: patch
Cc: Trac Release: 0.12

Description (last modified by rjollos)

Here is a patch to :

  • Use ListOption
  • Use add_warning()
  • Use add_ctxtnav()
  • Avoid unnecessary ITemplateStreamFilter
  • get_read_db()

Attachments (2)

ticketmodifiedfilesplugin-8576-1.patch (5.9 KB) - added by pipern 4 years ago.
Reduce amount of code by using Trac functions
ticketmodifiedfilesplugin-8576-2.patch (800 bytes) - added by pipern 4 years ago.
Use get_read_db() rather than get_db_cnx(), see http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.12#get_db_cnx

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by pipern

Reduce amount of code by using Trac functions

Changed 4 years ago by pipern

Use get_read_db() rather than get_db_cnx(), see http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.12#get_db_cnx

comment:1 Changed 3 years ago by rjollos

  • Description modified (diff)
  • Owner changed from e2jk to rjollos
  • Trac Release changed from 0.11 to 0.12

Add Comment

Modify Ticket

Action
as new The owner will remain rjollos.
Author


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

 
Note: See TracTickets for help on using tickets.