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> OpenID Fix - Bug #2362 (Incomplete): Redmine 3 Compatibiltyhttp://projects.andriylesyuk.com/issues/23622015-03-10T14:27:44ZHarold Simpson
<p>Plugin is not compatible with Redmine 3 (rails 4.2)</p>
<p>I have made a quick patch : <a class="external" href="https://github.com/harold-s/harold-s/blob/master/patch_openid_fix_for_redmine3">https://github.com/harold-s/harold-s/blob/master/patch_openid_fix_for_redmine3</a></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> Download Button - Bug #2216 (New): Missing partial download/sidebarhttp://projects.andriylesyuk.com/issues/22162013-09-01T11:19:16ZRoman M
<p>Hi,<br />I use latest Redmine 2.3.x from their SVN repository and latest version of “download-button” from <a class="external" href="http://svn.s-andy.com/download-button">http://svn.s-andy.com/download-button</a></p>
<p>I tested in development mode on Ubuntu.</p>
<p>Here is that I see in log on accessing of any path on localhost, even <a class="external" href="http://localhost:3001/">http://localhost:3001/</a><br /><pre><code>
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.8ms)
Completed 500 Internal Server Error in 1018ms
ActionView::Template::Error (Missing partial download/sidebar with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:
* "/mnt/disk/Devel/RoR/redmine-2.3/app/views"
):
47: <div id="main-menu">
48: <%= render_main_menu(@project) %>
49: </div>
50: <% end %>
51: </div>
52:
53: <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
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/helpers/application_helper.rb:1161:in `view_layouts_base_sidebar_hook_response'
app/helpers/application_helper.rb:1157:in `sidebar_content?'
app/views/layouts/base.html.erb:50:in `_app_views_layouts_base_html_erb__872624873_94244800'
app/controllers/application_controller.rb:397:in `block (2 levels) in render_error'
app/controllers/application_controller.rb:395:in `render_error'
app/controllers/application_controller.rb:383:in `render_404'
</code></pre></p>
<p>Do I miss something in installation?</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> 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> Projects - Improvement #2021 (Incomplete): Spam protecthttp://projects.andriylesyuk.com/issues/20212012-04-07T10:39:59ZAndriy Lesyuks-andy@andriylesyuk.com
<p>I continue getting spam posts like:</p>
<pre>
Thanks for your marvelous posting! I actually enjoyed reading it, you will be a great author.I will ensure that I bookmark your blog and will come back in the foreseeable future. I want to encourage that you continue your great job, have a nice weekend! myFASHION-TRENDSCOM
</pre>
<p>Where “myFASHION-TRENDSCOM” is a link...</p>
<p>There should be some way to protect site against such messages... It looks to be some bot... Need more information about it.</p> Role Shift - Feature #1983 (Open): Default shiftshttp://projects.andriylesyuk.com/issues/19832012-02-19T12:59:00ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Saying you have 3 proprietary and 50 open source projects. The easiest way is to allow <em>Anonymous</em> and <em>Non members</em> to access projects and shift these roles for proprietary ones... But <ins>this method is not recommended</ins> - <ins>basic roles should always be more strict than their shifts</ins> <em>(for a case something goes wrong and the plugin stops to work)</em>! So looks like one is better to define shifts for 50 projects... It’s approximately 100 shifts... And similar shifts should be defined for each new open source project!..</p>
<p>So to avoid this the idea is to define global default shifts which get automatically created when a new project is registered. In this case for proprietary projects you will just need to remove these shifts...</p> Role Shift - Feature #1982 (Open): Redmine.pm patch wanted http://projects.andriylesyuk.com/issues/19822012-02-19T12:54:51ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Without such patch Redmine.pm will ignore role shifts...</p> Projects - Support #1910 (Open): Users verificationhttp://projects.andriylesyuk.com/issues/19102011-12-08T10:02:26ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Seems it’s time to think about verifying OpenID users on login... Saw several spam comments from OpenID users...</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> Projects - Feature #1747 (Open): Some kind of site usage pluginhttp://projects.andriylesyuk.com/issues/17472011-05-12T14:06:17ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Want per project statistics...</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> CD-Index - Feature #1722 (Open): Separate common code into libraryhttp://projects.andriylesyuk.com/issues/17222011-05-03T21:08:49ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Currently source files are compiled into <code>*.o</code> files and then into <code>cdfind</code>, <code>cdindex</code> etc. If a new tool is added the same should be done for it. It’s not good for development for CD-Index. The corresponding code should be moved to e.g. <code>libcdindex</code> library.</p> Orangutan - Feature #1638 (Open): Orangutan bug reportinghttp://projects.andriylesyuk.com/issues/16382011-02-09T18:52:05ZAndriy Lesyuks-andy@andriylesyuk.com
<p>I’m thinking about how people are going to report bugs for Orangutan... Get URL, go for it, register or report anonymously? Too complicated! Most people will just ignore bugs...</p>
<p>How can I make Orangutan bug reporting easier?</p>
<p>The solution which came to my mind:</p>
<p>Orangutan can support special issue creation feature - when some special request is specified instead of local issue Orangutan creates “remote” issue for Orangutan website (which should use Redmine). He can even post this issue remotely using REST API. Of course, for bug reporting Orangutan should use issue creating contexts (maybe just in special mode). And, of course, trackers, categories etc should be taken from Orangutan website (can be hardcoded).</p>