Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2018-07-19T08:38:33ZProjects
Redmine ISSUE-id - Bug #ISSUE-17 (Under Verification): SVN integration: Commit with new issue-id does not...http://projects.andriylesyuk.com/issues/ISSUE-172018-07-19T08:38:33Zdaniel wieselwind
<p>Committiong a revision with refers #ISSUE-1234 does not work. The revision is not linked to the issue.</p> 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> WikiNG - Bug #2329 (Under Verification): Mentions visibilityhttp://projects.andriylesyuk.com/issues/23292014-09-12T14:05:06ZRobert Roth
<p>Redmine setup:<br />Project A and B are not public projects, with several common members. Members of only one project can click the links of users involved in both projects, and in their activity they will see the mentions from the issues on the other projects, along with subject, project nam and other sensitive info. Mentions on objects belonging to a projwct whuch is not visible to the current usr should be hidden from activity streams.</p> 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> 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 #2290 (Under Verification): Various improvements to pluginhttp://projects.andriylesyuk.com/issues/22902014-05-06T12:12:14ZElektritter Messinger
<p>Hi, I did some improvements to this plugin which make handling for enduser a lot better I think and are in use in our installations.</p>
<p>In result this are 10 patches, I just append them here. Numbering is in order of apply (patch -p 1 < filename.patch)</p>
<p>Inside each patch is the commit description what this patch does:</p>
<ol>
<li>hide the new repository button when it is disabled</li>
<li>the button “create repository” is displayed only once and below the form as all other buttons, too.</li>
<li>removed the login inputs for subversion repository 'cause them only are created local</li>
<li>set extension ".git” for new git repositories if extension is enabled</li>
<li>display orginal svn form if subversion creator isn’t enabled. Belongs to patch 3</li>
<li>a better default repository name for git creator</li>
<li>some improvements to the creation and add button</li>
<li>remove create button from inside form, belongs to some patches before</li>
<li>Special repository name input if allow_add_local == false. This means, it has now a more intelligent mask so no wrong repository names could entered</li>
<li>display the clone/checkout url in top of a repository view so user without access to settings page can copy it easly</li>
</ol>
<p>Hope, this patches helps you and your nice plugin.</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> 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>