Modify

Opened 10 days ago

Closed 9 days ago

Last modified 9 days ago

#13993 closed enhancement (fixed)

Create Jinja2 templates and remove usage of Genshi

Reported by: Cinc-th Owned by: Cinc-th
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

Genshi is deprecated and removed in Trac 1.5/1.6.

Todo:

  • Replace all templates with Jinja2
  • Don't use Transformer() from genshi.filters.transform

Attachments (0)

Change History (8)

comment:1 Changed 10 days ago by Cinc-th

Owner: changed from Ryan J Ollos to Cinc-th
Status: newassigned

comment:2 Changed 10 days ago by Cinc-th

In 18136:

Tagged current trunk as v0.12 because with switching to Jinja2 (see #13993) some translations will be lost.

Refs #13993

comment:3 Changed 10 days ago by Cinc-th

In 18137:

TagsPlugin: change admin template to Jinja2. Some translations are gone unfortunately.

Refs #13993

comment:4 Changed 10 days ago by Cinc-th

In 18138:

TagsPlugin: change rest of templates to Jinja2. Some translations are gone unfortunately.

Refs #13993

comment:5 Changed 10 days ago by Cinc-th

In 18140:

TagsPlugin: mo longer use Genshi Transformer and ITemplateStreamFilter for TagTimelineEventFilter.

Refs #13993

comment:6 Changed 9 days ago by Cinc-th

Resolution: fixed
Status: assignedclosed

In 18141:

TagsPlugin: mo longer use Genshi Transformer and ITemplateStreamFilter for adding tags towiki pages.

The plugin no longer uses Genshi now.

Closes #13993

comment:7 Changed 9 days ago by Cinc-th

In 18142:

TagsPlugin: use a builder for creating the Tags html tags for the timeline instead of string formatting. That's the way it used to be before and is less confusing.

Refs #13993

comment:8 Changed 9 days ago by Cinc-th

In 18145:

TagsPlugin: fixes test cases for missing stream filter and additional data in data dict.

Refs #13993

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.