Modify

Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#2606 closed enhancement (fixed)

[Patch] 0.11 Support

Reported by: simon@… Owned by: rjollos
Priority: normal Component: SimpleTicketPlugin
Severity: normal Keywords:
Cc: hasienda Trac Release: 0.11

Description

Attached is a version with 0.11b1 support. This is my first foray into trac and python for that matter. Fields listed in the trac.ini are hidden from both the new ticket page and the view ticket page.

Now works in a similar way to HideValsPlugin. If a user has TICKET_SIMPLE then the listed fields will be hidden. All other permissions are as before.

Attachments (3)

0.11b1-support.patch (4.4 KB) - added by simon@… 6 years ago.
0.11 support
simpleTicketPlugin-0.11.tgz (1.6 KB) - added by simon@… 6 years ago.
0.11 complete source
daa_simpleticket_0.11.patch (1.7 KB) - added by datallah 6 years ago.
Updated patch to work against the current 0.11 source in svn

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by simon@…

0.11 support

comment:1 Changed 6 years ago by Leos

Hello,

I've got some questions about the 0.11 version of SimpleTicketPlugin:

  • Does this patch works? If so, why is there "NOTE: This plugin is not compatible with the current trunk (0.11dev)." in the SimpleTicketPlugin page?
  • Where can I get it? the link to 0.11b1-support.patch shows only a diff.
  • How do I install it?

Sorry for these 'silly' questions but I'm new to trac.

Leos

comment:2 Changed 6 years ago by simon@…

Hi

This patch does work, at least for me. We are currently running it on 0.11 beta 1. It has not been tested on anything newer than that but if you do try it and could report back that would be great. I contributed an update but it has not been rolled into svn so technically 0.11 support is still not there, hence the note.

As for installing it the instructions at http://trac.edgewall.org/wiki/TracPlugins should help out. Basically just install setup tools and run "python setup.py bdist_egg" in the plugin root directory, then install with the tracs web admin interface.

Complete 0.11 source is attached

Changed 6 years ago by simon@…

0.11 complete source

Changed 6 years ago by datallah

Updated patch to work against the current 0.11 source in svn

comment:3 Changed 6 years ago by datallah

I've uploaded an updated patch that works against the current source in svn.
It doesn't appear correctly in the diff viewer (existing trac bug), but you can download it and it should work fine

comment:4 Changed 5 years ago by rjollos

  • Summary changed from 0.11 Support to [Patch] 0.11 Support

Has anyone testing this on an installation with the PrivateTicketsPlugin?

Does the plugin author have an opinion about this patch?

comment:5 Changed 3 years ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

comment:6 Changed 3 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [10987]) Fixes #2606: (Version 3.0) Implemented support for Trac 0.11. Patch by datallah.

comment:7 Changed 3 years ago by rjollos

  • Cc hasienda added

Patch seems to be working well with Trac 0.11.7. Please create a new ticket if you have any issues.

comment:8 Changed 3 years ago by rjollos

I got a bit mixed up here, and the version on the trunk was already working with Trac 0.11. I'll do a partial revert of these changes now.

comment:9 Changed 3 years ago by rjollos

(In [10988]) Refs #2606: Partial revert of [10987] to get a cleaner 0.11 implementation.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.