Modify

Opened 4 months ago

Closed 2 months ago

Last modified 2 months ago

#13972 closed enhancement (fixed)

Make plugin compatible with Trac 1.2 and Trac 1.4

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: PeerReviewPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

The plugin only works with Trac 1.0 right now because it uses deprecated methods.

Attachments (0)

Change History (12)

comment:1 Changed 4 months ago by Cinc-th

In 18049:

PeerReviewPlugin: replaced decorator with_transaction from trac.db with env.db_transaction context manager. Replace env.get_read_db() with env.db_query context manager.

Refs #13972

comment:2 Changed 3 months ago by Cinc-th

In 18050:

PeerReviewPlugin: no longer use deprecated wiki_to_html() and Context.from_request().

Refs #13972

comment:3 Changed 3 months ago by Cinc-th

In 18051:

PeerReviewPlugin: fix environment upgrade. Db connection was missing in some codepath.

Refs #13972

comment:4 Changed 3 months ago by Cinc-th

In 18052:

PeerReviewPlugin: provide a copy of path_links.html for use with Genshi. It was turned into Jinja2 code with Trac 1.4.

Refs #13972

comment:5 Changed 3 months ago by Cinc-th

In 18053:

PeerReviewPlugin: removed compatibility code for Trac 0.12. Make sure Genshi template is loaded when using Trac 1.4.

Refs #13972

comment:6 Changed 2 months ago by Cinc-th

In 18237:

PeerReviewPlugin: prepare tagging of current release.

Refs #13972

comment:7 Changed 2 months ago by Cinc-th

In 18238:

PeerReviewPlugin: tag for release 3.2. This is the last version supporting Trac 1.0 and 1.2.

Refs #13972

comment:8 Changed 2 months ago by Cinc-th

In 18239:

PeerReviewPlugin: bump version from 3.2 to 3.3.0dev0 for Trac 1.4 development.

Refs #13972

comment:9 Changed 2 months ago by Cinc-th

In 18241:

PeerReviewPlugin: fixed rendering of workflow actions for Trac 1.4.

Refs #13972

comment:10 Changed 2 months ago by Cinc-th

The plugin now works with Trac 1.4 as far as testing shows. See also #13584 for some previous compatibility patches.

comment:11 Changed 2 months ago by Cinc-th

Resolution: fixed
Status: newclosed

comment:12 Changed 2 months ago by Cinc-th

In 18257:

PeerReviewPlugin: on the changeset page some Genshi template rendering was still used.

Refs #14005, #13972, #13980

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
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.