Modify

Opened 11 years ago

Last modified 4 years ago

#10901 new task

Adoption request - move user rename function to AccountManagerPlugin

Reported by: Steffen Hoffmann Owned by: obs
Priority: high Component: RenameTracUsersScript
Severity: normal Keywords: adoption rename user
Cc: Trac Release:

Description

A single pending ticket from 11-Sep-2010 suggests, that this script is not too buggy. Additionally its tagged as unmaintained as of today.

I'm interested in bringing user rename function into AccountManagerPlugin, because I feel, that this would fit there very well.

I the original author still around? I'd like to especially agree about license for taking code from this script. Other comments and thoughts?

In case of no response I'll continue to execute my plan after two weeks, as that's the usual, agreed procedure for adopting hacks here.

Attachments (0)

Change History (7)

comment:1 Changed 11 years ago by Steffen Hoffmann

Type: defecttask

See #10900 and #10902 as related requests.

comment:2 Changed 11 years ago by Steffen Hoffmann

(In [12700]) AccountManagerPlugin: Introduce code for changing session IDs consistently, refs #10900, #10901 and #10902.

There are actually three predecessors to this code (in creation time order): RenameUsersScript, RenameTracUsersScript and RenameUserPlugin. While the scripts yield some hints on how to approach the task, the last one is the most complete in terms of a real API, but can't be used for having the viral GPL license attached, that would interfere and overpower the modified BSD, that we use with this plugin.

So this is neither fresh code nor copied verbatim but something in-between. I'm grateful and therefor grant every author of the aforementioned hacks my respect for going ahead and sharing their solution with us.

You're welcome to join and help improve my attempt, that aims at obsoleting all others by providing the best in Trac integration, flexibility, reliability and performance. Especially user ID changes in the Cc ticket field and corresponding change records are not supported yet.

comment:3 Changed 11 years ago by Steffen Hoffmann

(In [12701]) AccountManagerPlugin: Adding admin web-UI parts for new user ID change code, refs #10900, #10901 and #10902.

comment:4 Changed 11 years ago by Steffen Hoffmann

(In [12702]) AccountManagerPlugin: Support user ID replacement in Cc ticket field and its changes, refs #10900, #10901 and #10902.

comment:5 Changed 11 years ago by Steffen Hoffmann

(In [12706]) AccountManagerPlugin: Various improvements for user ID change code, refs #10900, #10901 and #10902.

This evolved mostly for adding real transaction error handling, catching common db-related exceptions and for providing a more i18n-friendly and more readable message on success - almost on the edge of my current db foo.

comment:6 Changed 11 years ago by Steffen Hoffmann

(In [12736]) AccountManagerPlugin: Add optional user ID changer components for other plugins, refs #10900, #10901, #10902, #10944 and #10945.

In addition to VotePlugin (supported by RenameTracUsersScript too) support for

is provided within this plugin.

With the publication of this code the requests for feedback are almost obsoleted, even more, because non of the pre-existing solutions provided the coverage and extensibility, that is offered now within this plugin.

comment:7 Changed 4 years ago by Ryan J Ollos

Cc: Ryan J Ollos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain obs.

Add Comment


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

 
Note: See TracTickets for help on using tickets.