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> RedWord - Improvement #2243 (New): Show unapproved comments for adminshttp://projects.andriylesyuk.com/issues/22432013-10-06T12:26:34ZAndriy Lesyuks-andy@andriylesyuk.com
<p>The theme is capable of showing unapproved, spam and trashed comments <em>(like Redmine shows private notes)</em>. But such comments are not returned by the comment query.</p>
<p>So, the comment query should be altered to include unapproved comments for admins.</p>
<p><em>The style of such comments should also be changed to use the Redmine private notes style by default.</em></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> TOC - Bug #2149 (New): New dokuwiki default template (from angua) make problemhttp://projects.andriylesyuk.com/issues/21492013-02-05T01:21:55ZErial Krale
<p>New dokuwiki default template make problem.</p>
<p>~<sub>TOC</sub>~ function is good work, but style is something wrong...</p>
<p>It apear in right side, always.</p>
<p>For example,</p>
<p>in old template<br />[[<a class="external" href="http://nex32.net/dokuwiki/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC">http://nex32.net/dokuwiki/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC</a>]]</p>
<p>good work. I love it.</p>
<p>but in new template<br />[[<a class="external" href="http://nex32.net/dokutest/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC">http://nex32.net/dokutest/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC</a>]]<br />bad... I don’t set it right side. just place ~<sub>TOC</sub>~.</p>
<p>I think...new template change toc style ID... it apears dw__toc...</p>
<p>Please check it.</p>
<p>Thanks.</p> Projects - Enhancement #2080 (New): Turkish translationhttp://projects.andriylesyuk.com/issues/20802012-06-29T19:47:38ZIsmail SEZEN
<p>Turkish translation for andriylesyuk plugin <span class="wiking smiley smiley-smiley" title=":)"></span></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> 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> 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>