Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2015-03-12T12:36:31ZProjects
Redmine Sidebar Content - Patch #2363 (Under Verification): Sidebar Redmine 3.0.0http://projects.andriylesyuk.com/issues/23632015-03-12T12:36:31ZAdrian Antonana
<p>When migrating to Redmine 3.0.0-stable (GIT), the <code>rake db:migrate RAILS_ENV=production</code> command was throwing following error:</p>
<pre>
An error occurred while loading the routes definition of sidebar plugin (/opt/redmine/redmine/plugins/sidebar/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action".
</pre>
<p>Subsituting the “match” strings with “get”, as suggested by the error message, seems to solve the issue. Patch attached.</p> Extended Fields - Bug #2350 (Under Verification): Extended Field Values that are nil produce an e...http://projects.andriylesyuk.com/issues/23502014-11-14T03:38:17ZIvo Steinmann
<p>If an extended field is not used by a tracker but is enabled in the issue overview, then an error is produced because the value of that field is nil</p>
<p>I appended a possible patch as file</p> Project Alias - Patch #2341 (Under Verification): Underscore support for Redminehttp://projects.andriylesyuk.com/issues/23412014-10-15T21:42:58ZIngvarr Zhmakin
<p>Simple patch fixing the issue, but dropping the compatibility with old redmine:</p>
<pre>
===================================================================
--- 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
</pre> Extended Fields - Patch #2328 (Under Verification): Make the Project type custom fields sortable ...http://projects.andriylesyuk.com/issues/23282014-08-26T10:14:32ZOlivier Houdas
<p>In Issue lists, it might be useful to sort on custom fields added by Extended fields.<br />As you may have noticed, custom fields of new types added by Extended fields are not clickable for sorting in the Issue lists.</p>
<p>I suggest to add some code to make the column title clickable for sorting on it, on columns for custom fields of Project type.</p>
<p>The patch to do so is attached to this issue. It was tested on CentOS, Ruby 2.0 and Redmine 2.5.2.</p> WikiNG - Bug #2322 (Deferred): Viewing user pages does not work after renamehttp://projects.andriylesyuk.com/issues/23222014-07-28T10:11:29ZKrishna MS
<p>Hi,</p>
<p>I am using the latest version of your plugin. Redmine version is 2.4.3.</p>
<p>If i have a username msk and if i click on <a class="external" href="http://redmine-ip/users/msk">http://redmine-ip/users/msk</a>, it shows the users’ page.<br />However if i rename the username to krishna.ms and if i click on <a class="external" href="http://redmine-ip/users/krishna.ms">http://redmine-ip/users/krishna.ms</a> the page goes blank.</p>
<p>But <a class="external" href="http://redmine-ip/users/124">http://redmine-ip/users/124</a> where 124 is the userid of krishna.ms, it works.</p>
<p>Rename to krishna also works, but any userid which has a . between first name and last name.</p>
<p>Is there a way to make it work for the new user name.</p>
<p>Thanks,<br />Krishna M S</p>
<p>FYI, i tested it in Redmine 2.5.2 too and the problem is there.</p> Extended Fields - Bug #2320 (Under Verification): Internal error when opening issues tabhttp://projects.andriylesyuk.com/issues/23202014-06-26T04:30:02ZNaoki Tamura
<ul>
<li>In the following cases, Internal error occurred in issues tab.
<ul>
<li>enviroment:Extended Fields plugin v0.2.1, ruby v1.9.3 , Redmine v2.2.2</li>
<li>Add a custom Field whose format is <em><strong>Project</strong></em> .</li>
<li>Add a custom Field whose format is Text.</li>
<li>Click Redmine Issues tab –> Internal error</li>
</ul></li>
</ul>
<p>get error log:<br /><pre>
ActionView::Template::Error (comparison of Array with Array failed):
20: </td>
21: <td class="add-filter">
22: <%= label_tag('add_filter_select', l(:label_filter_add)) %>
23: <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
24: </td>
25: </tr>
26: </table>
app/helpers/queries_helper.rb:27:in `sort'
app/helpers/queries_helper.rb:27:in `filters_options'
app/helpers/queries_helper.rb:22:in `filters_options_for_select'
app/views/queries/_filters.html.erb:23:in `_app_views_queries__filters_html_erb___7312794_37643472
'
app/views/issues/index.html.erb:18:in `block in _app_views_issues_index_html_erb__1038509231_37556
724'
app/views/issues/index.html.erb:11:in `_app_views_issues_index_html_erb__1038509231_37556724'
app/controllers/issues_controller.rb:83:in `block (2 levels) in index'
app/controllers/issues_controller.rb:82:in `index'
</pre></p>
<p>I think that a cause is “lib/extended_custom_query_patch.rb” line 35.<br /><a class="source" href="http://projects.andriylesyuk.com/projects/extended-fields/repository/entry/lib/extended_custom_query_patch.rb#L35">source:lib/extended_custom_query_patch.rb#L35</a></p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="instance-variable">@available_filters</span>[filter_id] = options.merge({ <span class="symbol">:name</span> => filter_name, <span class="symbol">:format</span> => field.field_format }) <span class="keyword">if</span> options
</span></code></pre>
<p>Above, a variable <code>field</code> is not added to <code>options</code>.<br />In Redmine model/query.add_custom_field_filter(field, assoc=nil) method, a variable <code>field</code> is added to <code>options</code>.<br /><pre><code class="ruby syntaxhl"><span class="CodeRay"> add_available_filter filter_id, options.merge({
<span class="symbol">:name</span> => filter_name,
<span class="symbol">:format</span> => field.field_format,
<span class="symbol">:field</span> => field
})
</span></code><br /></pre></p>
<p>What do you think of it?</p> Download Button - Translation #2307 (Under Verification): Change Korean translation file commenthttp://projects.andriylesyuk.com/issues/23072014-06-10T01:47:25ZKi Won Kimxyz37@naver.com
<p>Change my test redmine site address in ko.yml.<br />Thanks.</p> SCM Creator (+Github) - Patch #2278 (Deferred): Disable "Save repository" button on new repositorieshttp://projects.andriylesyuk.com/issues/22782014-01-23T07:54:07ZElektritter Messinger
<p>Hi,</p>
<p>a lot of our users were confused when the “Save repository” button is enabled on creating a new repository getting error message or a non function repository entry.</p>
<p>So I made a small patch which disables the “Save repository” button</p>
<ol>
<li>when it is a new repository entry</li>
<li><code>allow_add_local</code> is False</li>
</ol>
<p>It made the form much cleaner to them and lowered the questions for help a lot <span class="wiking smiley smiley-smiley" title=":)"></span></p> ISSUE-id - Support #ISSUE-1 (Deferred): Need a function to display issue idhttp://projects.andriylesyuk.com/issues/ISSUE-12013-09-03T14:20:15ZAndriy Lesyuks-andy@andriylesyuk.com
<p>The ISSUE-id plugin adds the <code>issue_id</code> function, which is used to generate the featured id. Also the <code>to_param</code> function is used by Redmine to put the correct ID into links etc. The plugin also patches a <ins>lot</ins> of other native Redmine functions to replace native Redmine issue id with the featured one.</p>
<p>This could be <ins>much easier</ins>, if Redmine came with a special function for displaying issue ids, which could be named, e.g., <code>display_id</code>! So when the plugin is released I need to make such suggestion to Redmine guys...</p> Extended Fields - Support #2221 (Deferred): Need a fix for _list.html.erbhttp://projects.andriylesyuk.com/issues/22212013-09-03T14:15:07ZAndriy Lesyuks-andy@andriylesyuk.com
<p>I just found (that is, remembered) that the only reason the Extended Fields comes with the pre-patched <code>_list.html.erb</code> is that the <code>group</code> variable is not translated into string. This could be fixed in the core Redmine and can potentially lead to other bugs in third-party systems and Redmine itself.</p>
<p>So, I need to check this again and file a fix request to Redmine.</p> OpenID Fix - Patch #2024 (Under Verification): Associate existing accounts by emailhttp://projects.andriylesyuk.com/issues/20242012-04-18T10:05:31ZRuben Silva
<p>Hi there, I was struggling with OpenId account association until I realize that is just not implemented at all. So after this: <a class="external" href="http://stackoverflow.com/questions/8806865/redmine-openid-usage">http://stackoverflow.com/questions/8806865/redmine-openid-usage</a> where @mppfiles bring openId fix to my knowledge I went a little deeper I edit the code so now it checks if the email returned by openID is an existing user email and if so associates the identity_url permanently.</p>
<p>Patch attached.</p> Project Alias - Patch #1985 (Deferred): Redmine.pm for Git supporting project-aliaseshttp://projects.andriylesyuk.com/issues/19852012-02-23T12:09:11ZDavid Rahusen
<p>Hey there,</p>
<p>I’ve been fiddling around to get Redmine.pm handling project-aliases. I finally made it! But if the identifier has been changed, the old identifier needs to be present as an alias!!! Otherwise the SCM directory will be finally unreachable.</p>
<p>However, I’m really NOT familiar with perl/mod_perl. Therefore, usage is on own risk, I cannot guarantee for anything!</p>
The attached diff is the diff of my Redmine.pm to the original extra/svn/Redmine.pm as originally delivered by Redmine, including the following patches/modifications:
<ul>
<li>Support for Git: “0001-Redmine.pm-update-patch-4905-to-Redmine-1.3.0-fixed.patch” ( <a href="http://www.redmine.org/issues/4905" class="external">Redmine #4905</a> )</li>
<li>Minor modification for LDAP-Authentication via the login credentials that shall be authentificated.</li>
<li>Support for project-alias: Redirects to the “real SCM-directory” if an alias is used or identifier has been changed.</li>
</ul>
The modifications for project aliases are like this:
<ul>
<li>The sql query retrieves permissions for the project, specified by project-identifier OR project-id corresponding to the alias wihtin table project_aliases.</li>
<li>Checks if directory named like the project-identifier specified by the URL exists.
<ul>
<li>If yes, proceed as usual.</li>
<li>If not, check if directory named like the real project-identifier retrieved from database exists.
<ul>
<li>If yes, redirect to corrected URL.</li>
<li>If not, check if directory named like any alias exists.
<ul>
<li>If yes, redirect to the corrected URL.</li>
<li>If not, go on. The SCM will announce an error.</li>
</ul></li>
</ul></li>
</ul></li>
</ul>
Open issues:
<ul>
<li>Line 473-475: The location of the repositories should be retrieved from Apache config or environment variables. Any ideas?</li>
<li>The script should be double checked at all! In my environment it works fully satisfying for me, for others maybe not.</li>
</ul> Author Box - Feature #1943 (Deferred): Author box layout change planhttp://projects.andriylesyuk.com/issues/19432012-01-14T15:08:41ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Current Author box style does not allow using it with many authors... Ok, it does! But there can be issues... Besides what if many authors are to be shown? Or even roles <em>(see <a class="issue tracker-2 status-7 priority-5 priority-default" title="Show multiple/all roles (Open)" href="http://projects.andriylesyuk.com/issues/1842">#1842</a>)</em>?..</p>
<p>So I think about changing the layout... Maybe I will allow switching to new layout (or back) in plugin configuration... Not sure for now!</p>
<p>Check a mock up:</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/288/author-box-change.png" title="Mock up of the change" alt="Mock up of the change" /></p>
<p>What are your thoughts?..</p> WikiNG - Bug #1931 (Deferred): it seems conflict with the redmine ckeditorhttp://projects.andriylesyuk.com/issues/19312012-01-05T04:54:41ZSteven Wong
<p>it seems conflict withe the redmine ckeditor.</p>
<p>i write a wiki and use the wiking code ,but not supply.</p> SCM Creator (+Github) - Support #1878 (Deferred): Don't create bare GIt repositoryhttp://projects.andriylesyuk.com/issues/18782011-10-21T07:43:02ZJames Ang
<p>Generally when we cloned a “normal” git repository, the entire folder is under git control and the git information are keep in <code>.git</code> folder within it.</p>
<p>Can SCM be modify such that it create the folder as like a normal git repository?</p>
<p>ProjA<br />-→ <code>.git</code><br />-→ directoryA<br />-→ directoryB<br />-→ files</p>
<p>This allows the same folder to be serve from gitweb and use as the actual repository and not just a bare information header.</p>