I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Patch #2341

Underscore support for Redmine

Added by Ingvarr Zhmakin about 10 years ago. Updated over 6 years ago.

Status:
Under Verification
Priority:
Normal
Assignee:
Target version:
Start date:
15 Oct 2014
Due date:
% Done:

0%

Redmine version:
External issue:

Description

Simple patch fixing the issue, but dropping the compatibility with old redmine:

===================================================================
--- project_alias.rb    (revision 19)
+++ project_alias.rb    (working copy)
@@ -4,7 +4,7 @@
     if defined? ChiliProject
         IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/
     else
-        IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-]*$/
+        IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/
     end

     validates_presence_of :project, :alias

History

#1 Updated by Ingvarr Zhmakin about 10 years ago

Sorry. Forgotten preformat.

===================================================================
--- project_alias.rb    (revision 19)
+++ project_alias.rb    (working copy)
@@ -4,7 +4,7 @@
     if defined? ChiliProject
         IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/
     else
-        IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-]*$/
+        IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/
     end

     validates_presence_of :project, :alias

#2 Updated by Andriy Lesyuk about 8 years ago

  • Description updated (diff)

#3 Updated by Andriy Lesyuk about 8 years ago

  • Status changed from New to Under Verification
  • Target version set to 0.1.1

Also available in: Atom PDF

Terms of use | Privacy policy