Modify

Opened 16 years ago

Closed 13 years ago

Last modified 13 years ago

#3868 closed enhancement (fixed)

[Patch] Use new configuration API

Reported by: Dave Owned by: Ryan J Ollos
Priority: normal Component: KeywordSuggestPlugin
Severity: normal Keywords:
Cc: Dave Trac Release: 0.11

Description (last modified by Ryan J Ollos)

I modified this plugin to use the new(ish) Option, BoolOption, etc. API so that I could modify the keywords from the admin panel with IniAdminPlugin.

I based it on r4357.

It is worth noting that I slightly modified the help page url to be fully qualified URL as it was coming up as http://blah/trac/ticket/wiki/TicketKeywords.

Attachments (1)

keywordsuggest.py (4.6 KB) - added by Dave 16 years ago.
Modified keywordsuggest.py to use new configuration api

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by Dave

Attachment: keywordsuggest.py added

Modified keywordsuggest.py to use new configuration api

comment:1 Changed 16 years ago by Dave

Cc: Dave added; anonymous removed

comment:2 Changed 16 years ago by phaidros

I tried the patched keywordsuggest.py, but the options don't show up in the IniAdminPlugin. I'm using trac 0.11.1 release.

comment:3 Changed 16 years ago by Dave

I'm also on Trac 0.11.1. I'm using IniAdminPlugin r3915, if that's any help.

I didn't do anything out of the ordinary to get it to work, just recompiled TracKeywordSuggest-0.2-py2.5.egg, shoved it in /path/to/trac/plugins and reloaded apache.

comment:4 Changed 16 years ago by phaidros

thanks daveappendix! with suggested version of iniadmin (r3915) it works.

comment:5 Changed 14 years ago by Ryan J Ollos

Summary: Patch to use new configuration API[Patch] Use new configuration API

comment:6 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)

comment:7 Changed 13 years ago by Ryan J Ollos

Owner: changed from scratcher to Ryan J Ollos

Thanks for submitting these changes. Submitting your changes as a patch is always preferred, but it will work okay this time.

comment:8 Changed 13 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [10431]) Fixes #3868: Use Trac's new configuration API for handling options from trac.ini. Bumped version of plugin to 0.3.

Thanks to daveappendix for the patch.

comment:9 Changed 13 years ago by Ryan J Ollos

(In [10739]) Refs #3868: Removed egg that was accidentally committed in [10431].

Modify Ticket

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