#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 )
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)
Change History (10)
Changed 17 years ago by
| Attachment: | keywordsuggest.py added | 
|---|
comment:1 Changed 17 years ago by
| Cc: | Dave added; anonymous removed | 
|---|
comment:2 Changed 17 years ago by
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 17 years ago by
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 17 years ago by
thanks daveappendix! with suggested version of iniadmin (r3915) it works.
comment:5 Changed 15 years ago by
| Summary: | Patch to use new configuration API → [Patch] Use new configuration API | 
|---|
comment:6 Changed 14 years ago by
| Description: | modified (diff) | 
|---|
comment:7 Changed 14 years ago by
| 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 14 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
(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.



Modified keywordsuggest.py to use new configuration api