• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3819: TagMePlugin: Add interface to rename and delete tags

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TagMePlugin Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The rename section is working now, but I ran into a small UI problem. On TagMeManage I've put the rename section below the Create New Tag section just below the New Tag form is a list of existing tags. But when I rename a tag, the list of tags is displayed before the tag is renamed, so the list is outdated immediately.

-- TWiki:Main/ArthurClemens - 29 Mar 2007

Solution: create a tab interface for the 'manage' topics Create, Rename and Delete, each on its own page.

-- TWiki:Main/ArthurClemens - 29 Mar 2007

My Cairo TWiki gave an internal server error: Undefined subroutine &TWiki::Func::addToHEAD called at /path/to/twiki/lib/TWiki/Plugins/TagMePlugin.pm line 137.

We need to decide if we want to drop Cairo compatibility or not.

-- TWiki:Main.PeterThoeny - 30 Mar 2007

Ugly. Is there no Cairo way to add css link to head?

Otherwise we might write the css in the topic itself if the version is Cairo.

  • Remarkable that TWiki does not have a standard way to check the release version! I see code like if( $TWiki::Plugins::VERSION >= 1.1 ) and if ($TWiki::Plugins::VERSION eq 1.025) and if( defined $TWiki::cfg{DataDir} )

Regarding maintaining compatibility it probably depends on how many Cairo installations use the plugin.

-- TWiki:Main.ArthurClemens - 31 Mar 2007

Dare I say it, but 12 month is a long enough time to upgrade to TWiki 4. So I think not too much harm is done if this plugin required TWiki 4.0 and up.

The $TWiki::Plugins::VERSION is the right way to check for TWiki version.

-- TWiki:Main.PeterThoeny - 02 Apr 2007

I have created the tab interface for Create, Rename and Delete.

-- TWiki:Main.ArthurClemens - 02 Apr 2007

To Do: Add (optional) access control for Rename and Delete. Possibly let users rename and delete their own tags only, and admins all tags?

-- TWiki:Main.ArthurClemens - 09 Apr 2007

Suggestion: Add a group name (as a plugin setting) that can rename/delete tags. If empty, anyone has access.

-- TWiki:Main.PeterThoeny - 09 Apr 2007

ALLOWTAGCHANGE = SomeGroup, SomeOtherGroup

and

ALLOWUSERCHANGEMYTAGONLY = 1

  • ALLOWTAGCHANGE overrides ALLOWUSERMYTAGCHANGE
  • ALLOWTAGCHANGE set to empty let anyone change tags, unless ALLOWUSERCHANGEMYTAGONLY is set to 1
  • If ALLOWUSERCHANGEMYTAGONLY set to 1, users not in ALLOWTAGCHANGE groups will only see their own tags in Rename and Delete. The exact spec has to be written out still.

-- TWiki:Main.ArthurClemens - 09 Apr 2007

I have implemented tag change permissions with ALLOW_TAG_CHANGE. The idea of users being allowed to change their own tags has to wait a little.

-- TWiki:Main.ArthurClemens - 18 Apr 2007

ItemTemplate
Summary TagMePlugin: Add interface to rename and delete tags
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range TWiki-4.1.2, Mon, 26 Mar 2007, build 13227
AppliesTo Extension
Component TagMePlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:13236 TWikirev:13247 TWikirev:13260 TWikirev:13279 TWikirev:13323 TWikirev:13324 TWikirev:13333 TWikirev:13454 TWikirev:13455 TWikirev:13459
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r28 < r27 < r26 < r25 < r24 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r28 - 2007-04-28 - TWikiUserMapping_KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback