Modify

Opened 9 years ago

Closed 6 years ago

Last modified 6 years ago

#2606 closed enhancement (fixed)

[Patch] 0.11 Support

Reported by: simon@… Owned by: Ryan J Ollos
Priority: normal Component: SimpleTicketPlugin
Severity: normal Keywords:
Cc: Steffen Hoffmann 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@… 9 years ago.
0.11 support
simpleTicketPlugin-0.11.tgz (1.6 KB) - added by simon@… 9 years ago.
0.11 complete source
daa_simpleticket_0.11.patch (1.7 KB) - added by Daniel Atallah 9 years ago.
Updated patch to work against the current 0.11 source in svn

Download all attachments as: .zip

Change History (12)

Changed 9 years ago by simon@…

Attachment: 0.11b1-support.patch added

0.11 support

comment:1 Changed 9 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 9 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 9 years ago by simon@…

Attachment: simpleTicketPlugin-0.11.tgz added

0.11 complete source

Changed 9 years ago by Daniel Atallah

Attachment: daa_simpleticket_0.11.patch added

Updated patch to work against the current 0.11 source in svn

comment:3 Changed 9 years ago by Daniel Atallah

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 8 years ago by Ryan J Ollos

Summary: 0.11 Support[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 6 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:6 Changed 6 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

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

comment:7 Changed 6 years ago by Ryan J Ollos

Cc: Steffen Hoffmann added; anonymous removed

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

comment:8 Changed 6 years ago by Ryan J Ollos

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 6 years ago by Ryan J Ollos

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.