Modify

Opened 4 years ago

Closed 4 years ago

#13987 closed enhancement (fixed)

Create Jinja2 templates

Reported by: anonymous Owned by: Cinc-th
Priority: normal Component: ChildTicketsPlugin
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release:

Description

With Trac 1.4 Genshi is deprecated as a template engine and support will be removed with 1.6.

To use the plugin for Trac releses > 1.4.x a Jinja2 version of each template must be created.

The method filter_stream() must be removed.


@rjollos:

Would you give me write access to the plugins repo? I've got quite a few enhancements to this plugin developed over time. Adding them with patch files seems cumbersome.

Attachments (0)

Change History (8)

comment:1 Changed 4 years ago by Cinc-th

Owner: changed from Mark Ryan to Cinc-th
Status: newassigned

Forgot to login...

comment:2 in reply to:  description Changed 4 years ago by Ryan J Ollos

Replying to anonymous:

@rjollos:

Would you give me write access to the plugins repo? I've got quite a few enhancements to this plugin developed over time. Adding them with patch files seems cumbersome.

You should now have rw access.

comment:3 Changed 4 years ago by Cinc-th

Subversion is asking for a certificate instead of name/password. I guess there is some additional configuration missing.

I use svn 1.10.x.

comment:4 Changed 4 years ago by Ryan J Ollos

The error logs show:

Access denied: 'Cinc-th' PUT svn:/childticketsplugin/trunk/childtickets/templates/admin_childtickets.html

I'm not sure about that svn:/ URI. Is the client trying to use SVN protocol rather than HTTPS?

comment:5 Changed 4 years ago by Cinc-th

Strange thing. PyCharm shows a https URI and I used https: to checkout. Will try on the command line.

comment:6 Changed 4 years ago by Cinc-th

Seems to be a problem with my working copy.

With a fresh checkout and using the command line client I succeeded. Something seems to be broken with this PyCharm project :-/.

Thanks for your support.

comment:7 Changed 4 years ago by Cinc-th

In 18109:

ChildTicketsPlugin: add Jinja2 template for admin pages.

Refs #13987

comment:8 Changed 4 years ago by Cinc-th

Resolution: fixed
Status: assignedclosed

In 18113:

ChildTicketsPlugin: no longer use filter_stream(), thus Genshi is gone. Bump version to 2.6.0.

Closes #13987

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.