ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Increase username length limit from 30 to 60 (Feature #928)


Added by Paweł O at 2012-03-12 02:21 pm. Updated at 2012-03-25 07:44 am.


Status:Closed Start date:2012-03-12
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:User accounts
Target version:3.1.0
Remote issue URL: Affected version:3.0.0

Description

We use LDAP authorization and our logins consist of email adresses in form of

As result, we faced problem with registering new users within Redmine.

Could you please increase username lenght limit to 60 or more?

I think that helpful information is that similiar issue has been resolved in Redmine and can be found here


Associated revisions

Revision e6ec8ab3
Added by Felix Schäfer at 2012-03-25 09:40 am

Remove length limits on some user fields #928

History

Updated by Paweł O at 2012-03-12 02:21 pm

  • Target version set to 3.1.0

Updated by Felix Schäfer at 2012-03-20 09:23 pm

I don't see the need to limit the length of the login field other than to the length of the field in the DB, nor do I see it for the e-mail addresses, and would remove both completely.

Holger, Eric, any objections?

Updated by Holger Just at 2012-03-20 09:23 pm

@Felix: +1

Updated by Felix Schäfer at 2012-03-20 10:47 pm

Pull request at https://github.com/chiliproject/chiliproject/pull/166

I skimmed through the associated views and tests for limited text fields or tests for the validation but didn't find any, the mail_handler and trac migration script get their limits from the "DB" directly so this should be good too.

  • Status changed from Open to Ready for review

Updated by Felix Schäfer at 2012-03-20 10:52 pm

Honestly I'm tempted to remove the limits on the first and last names too, I'll update the pull request tomorrow evening accordingly unless someone objects to it.

Updated by Felix Schäfer at 2012-03-25 07:44 am

e6ec8ab removes the length limits on the login, mail, firstname and lastname fields. This will probably cause in the UI at one point or the other, but we should deal with those later.

  • Status changed from Ready for review to Closed

Also available in: Atom PDF