User CSV import plugin v0.0.1

Added by hiroyuki SHIRAKAWA over 10 years ago

I make Redmine CSV User Import Plugin.

Inspired and Forked by

Thank you so much!

Features

Just listed below,

  • User data import by CSV file
  • Locale resource for English, and Japanese

Install

  • Install "fastercsv" gem module
gem install fastercsv
  • Extract this plugin to your Redmine directory
redmine/vender/plugins/
  • Restart your Redmine

Usage

  • Set up your user CSV file
  • Row separation code is LF only!
  • e.g.
login,password,lastname,firstname,mail,admin
"a4","aa","john","doe","hoge@example.com",0
"a6","aa2","larry","wall","hoge2@example.com",1

Tested Version

Rails -> 2.1.2
Redmine -> 0.8.4

Thank you.

Replies (9)

RE: User CSV import plugin v0.0.1 - Added by Dave Abrahams almost 9 years ago

This plugin was very broken for me, causing Redmine to "Internal Error." However, fixes available in the fork at https://github.com/leovitch/redmine_importer solved the problem and I successfully imported some pretty heavy issues.

RE: User CSV import plugin v0.0.1 - Added by hiroyuki SHIRAKAWA over 8 years ago

Hi!

I update for Redmine 1.1.0.
http://www.redmine.org/plugins/user_import_plugin

And I uploaded to github.
https://github.com/shrkw/redmine_user_import

I will manage this plugin at that site.

RE: User CSV import plugin v0.0.1 - Added by Andrea Menchetti over 8 years ago

I have an Italian translation 'it.yml' as follows.
Can you add columns like choosed 'language' (default is English but
I need Italian) and 'autentication' (not internal but by domain in LDAP)
for massive insert for users of Microsoft Active Directory?

it.yml Magnifier - it.yml (908 Bytes)

RE: User CSV import plugin v0.0.1 - Added by Andrea Menchetti over 8 years ago

Like this:

login,password,lastname,firstname,mail,language,authentication,admin
"a4","aa1","wally","michael","","Italiano","domain.local",0
"a6","aa2","hodgson","bill","","Italiano","domain.local",1
etc...

Thanks for your job.

Andrea Menchetti wrote:

I have an Italian translation 'it.yml' as follows.
Can you add columns like choosed 'language' (default is English but
I need Italian) and 'autentication' (not internal but by domain in LDAP)
for massive insert for users of Microsoft Active Directory?

RE: User CSV import plugin v0.0.1 - Added by hiroyuki SHIRAKAWA over 8 years ago

Thank you for your response!
I took in your Italian translation file.

And I will work to add column 'language'.
However, for 'autentication' column for Microsoft Active Directory, I will consider the way to archive it.

RE: User CSV import plugin v0.0.1 - Added by Andrea Menchetti over 8 years ago

This is the most correct version for 'it.yml'

Andrea.

it.yml Magnifier - it.yml (991 Bytes)

RE: User CSV import plugin v0.0.1 - Added by BUG HUNTER over 8 years ago

what about permissions - as I see there are no permissions stored with this csv files?
what would be needed to also store permissions?

RE: User CSV import plugin v0.0.1 - Added by yz li over 1 year ago

Hi!Hi! I want to import my users to a default project and give them role

the CSV is like this:
login password lastname firstname mail admin project role
NO.21 111 john doe 0 default manager
NO.22 111 larry wall 0 default reporter

how could make it possible?Would you mind give me some advice,thank you very much !

(1-9/9)