Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2016-10-29T20:06:32ZProjects
Redmine ISSUE-id - Bug #ISSUE-12 (Deferred): No route matches error for journals#newhttp://projects.andriylesyuk.com/issues/ISSUE-122016-10-29T20:06:32ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Before Rails 4 it was possible to override name routes in <code>config/routes.rb</code>. But, in Rails 4 this is no longer possible, see <a class="source" href="http://projects.andriylesyuk.com/projects/issue-id/repository/revisions/21/entry/config/routes.rb#L12">source:config/routes.rb@21#L12</a>.</p>
<p>For Rails 4.1 it was possible to override the path helper method by including a custom module as follows:</p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="constant">Rails</span>.application.routes.url_helpers.send(<span class="symbol">:include</span>, <span class="constant">IssueRouterHelper</span>)
</span></code></pre>
<p>But, in Rails 4.2 this does not work as well. Redmine gives the error:</p>
<pre>
No route matches {:action⇒“new”, :controller⇒“journals”, :id⇒#<Issue id: 273, ..., project_key: “ADMIN”, issue_number: 8>} missing required keys: [:id]
</pre>
<p>I tried different methods including something like (found such on StackOverflow):</p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="constant">Rails</span>.application.routes.named_routes.url_helpers_module.send(<span class="symbol">:include</span>, <span class="constant">IssueRouterHelper</span>)
</span></code></pre>
<p>But, no luck.</p>
<p>Currently, this is fixed by overriding <code>app/views/issues/show.html.erb</code> (see <a class="changeset" title="Fix #quoted_issue_path by overriding issues/show.html.erb (#ISSUE-8, #ISSUE-12)" href="http://projects.andriylesyuk.com/projects/issue-id/repository/revisions/23">r23</a>), but this is not a good workaround. A better one should be found! <em>I assume, Rails 4.3+ should have a fix for this.</em></p> 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> 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> 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> Extended Fields - Support #2161 (In Progress): Internal error On New Issues tabhttp://projects.andriylesyuk.com/issues/21612013-03-06T17:23:48ZChristi Cummings
<p>Currently cannot input any new issues with this plugin<br />below is what the log reads.</p>
<pre>
Completed 200 OK in 1172ms (Views: 937.4ms | ActiveRecord: 78.1ms)
Started GET "/redmine/custom_fields/new?type=IssueCustomField" for 127.0.0.1 at 2013-03-06 11:04:51 -0600
Processing by CustomFieldsController#new as HTML
Parameters: {"type"=>"IssueCustomField"}
Current user: christi (id=1)
Rendered plugins/extended_fields/app/views/custom_fields/_extended.html.erb (15.6ms)
Rendered custom_fields/_form.html.erb (31.2ms)
Rendered custom_fields/new.html.erb within layouts/admin (46.9ms)
Completed 500 Internal Server Error in 47ms
ActionView::Template::Error (undefined method `hint' for #<IssueCustomField:0x2995020>):
21:
22: <% end %>
23:
24: <p><%= form.text_field(:hint, :size => 50) %></p>
25:
26: <!-- Rails 3 + jQuery -->
27: <% unless defined? observe_field %>
lib/redmine/views/labelled_form_builder.rb:31:in `text_field'
lib/redmine/hook.rb:111:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/views/custom_fields/_form.html.erb:29:in `_app_views_custom_fields__form_html_erb___723482694_23243244'
app/views/custom_fields/new.html.erb:6:in `block in _app_views_custom_fields_new_html_erb___727831247_21869232'
app/helpers/application_helper.rb:990:in `labelled_form_for'
app/views/custom_fields/new.html.erb:5:in `_app_views_custom_fields_new_html_erb___727831247_21869232'
</pre> Red-Andy - Bug #2151 (Deferred): Conflict with sidebar_hide pluginhttp://projects.andriylesyuk.com/issues/21512013-02-11T15:01:41ZIvan Cenov
<p>I installed recently <a href="https://github.com/ries-tech/sidebar_hide" class="external">sidebar_hide</a> plugin and noticed a little visual conflict with red-andy theme. I tested with other themes and did not saw such conflict, so I decided to create issue here. Here is the conflict:<br /><img src="http://projects.andriylesyuk.com/attachments/download/403/sidebar_hide.PNG" alt="" /><br />The left side of the sidebar is cut off (where the handle resides). If you feel that this is not red-andy problem, please ignore the issue.<br />sidebar_hide is version 0.0.2.</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> Contact Form - Support #1828 (Deferred): Incorrect from/reply to address used in sent emailhttp://projects.andriylesyuk.com/issues/18282011-08-20T07:32:24ZRon Klinkien
<p>I have install redmine-contact with following log:<br /><pre>
# rake db:migrate_plugins RAILS_ENV=production
(in /usr/local/lib/redmine-1.2)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating extended_profile...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine-google-analytics-plugin...
Migrating redmine-openid-selector...
Migrating redmine_checkout...
Migrating redmine_ckeditor...
Migrating redmine_contact...
== AddContactFormPref: migrating =============================================
-- add_column(:user_preferences, :contact_form, :boolean, {:default=>false})
-> 0.0392s
== AddContactFormPref: migrated (0.0397s) ====================================
Migrating redmine_jchat...
Migrating redmine_local_avatars...
Migrating redmine_repository...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating sidebar...
</pre></p>
<p>If you fill in contact form and send it, the recipient is always the default project emmission address (which is ok I guess since this is Redmines default), but the reply-to field is not used/filled.<br />I would expect the user’s email address here if he is logged in, and the reply to: field contents if he/she is not logged in.</p>
<p>I see that some reply-to field code is in app/models/email.rb, but maybe redmines mailer code doesn’t use it, needs a patch?</p> Red-Andy - Feature #1725 (Deferred): Stick footer to the bottom of a pagehttp://projects.andriylesyuk.com/issues/17252011-05-04T17:21:36ZAndriy Lesyuks-andy@andriylesyuk.com
Some links on the subject:
<ul>
<li><a class="external" href="http://www.cssstickyfooter.com/using-sticky-footer-code.html">http://www.cssstickyfooter.com/using-sticky-footer-code.html</a></li>
</ul>