Modify

Opened 17 months ago

Last modified 17 months ago

#10900 new task

Adoption request - move user rename function to AccountManagerPlugin

Reported by: hasienda Owned by: langec
Priority: high Component: RenameUsersScript
Severity: normal Keywords: adoption rename user
Cc: rjollos Trac Release: 0.11

Description

A single pending ticket from 29-Jun-2011 suggests, that this script is not too buggy, but probably unmaintained as of today.

I'm interested in bringing user rename function into AccountManagerPlugin, because I feel, that this would fit there very well. Actually I already promised to do that work last year, but meanwhile got distracted by other development work.

I the original author still around? I'd like to especially agree about license and possible cooperation on the issue. 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 (6)

comment:1 Changed 17 months ago by hasienda

See #10901 and #10902 as related requests.

comment:2 Changed 17 months ago by hasienda

(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 17 months ago by hasienda

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

comment:4 Changed 17 months ago by hasienda

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

comment:5 Changed 17 months ago by hasienda

(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 17 months ago by hasienda

(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.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.