Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2018-01-05T20:50:07ZProjects
Redmine Red-Andy - Support #2439 (In Progress): Text color in add menu (+) is too darkhttp://projects.andriylesyuk.com/issues/24392018-01-05T20:50:07ZIvan Cenov
<p>Hi,</p>
<p>The color of the menu items in red-andy theme is too dark. Is possible to make the color the same as in the menu tabs?</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/667/red-andy.PNG" alt="" /></p> 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> Contact Form - Support #2391 (In Progress): Redmine 3.1 support?http://projects.andriylesyuk.com/issues/23912015-08-28T20:11:40ZEric Hall
<p>Installation of 0.1.1 on Ubuntu 14.04.3/ruby-2.2.3/redmine-3.1.0 fails during rake db:migrate:plugins with:<br />wrong number of arguments (2 for 1)/isis/redmine/.rvm/gems/ruby-2.2.3/gems/activerecord-4.2.3/lib/active_record/relation.rb:327:in `update_all’</p>
<p>Any assistance appreciated. Thanks.</p> Hooks Manager - Bug #2384 (In Progress): Redmine v3?http://projects.andriylesyuk.com/issues/23842015-06-14T14:42:20ZChristopher Caruk
<p>Hello,</p>
<p>Will you be releasing a version of 'Hooks Manager’ that’s comparable with Redmine 3.0?</p>
<p>I’m seeing this error:</p>
An error occurred while loading the routes definition of hooks_manager plugin (/home/app/htdocs/projects/plugins/hooks_manager/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.<br />If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.<br />If you want to expose your action to GET, use `get` in the router:<br /> Instead of: match “controller#action” <br /> Do: get "controller#action".
<ul>
<li>/etc/rc.local failed with status 1</li>
</ul>
<p>Thanks<br />Chris</p> Project Alias - Bug #2378 (In Progress): Compatibility to Redmine 3.0.1http://projects.andriylesyuk.com/issues/23782015-04-15T09:16:41ZMarc M
<p>internal error with redmine 3.0.1 while try to access a project.</p>
<p>Log:<br /><pre>
Started GET "/projects/redmine" for 192.168.0.25 at 2015-04-15 11:05:17 +0200
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"redmine"}
Current user: mm (id=3)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)
ArgumentError (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?):
app/models/project.rb:292:in `find'
app/controllers/application_controller.rb:293:in `find_project'
</pre></p> Extended Fields - Feature #2365 (In Progress): Adding Redmine 3.0 supporthttp://projects.andriylesyuk.com/issues/23652015-03-18T20:05:39ZКонстантин КубушаExtended Fields - Bug #2359 (In Progress): Extended fields plugin breaks PDF exporthttp://projects.andriylesyuk.com/issues/23592015-01-29T07:50:52ZSergey B
<p>PDF export of issue list doesn’t work after installation of extended fields plugin.</p>
<a name="Environment-info"></a>
<h3 >Environment info<a href="#Environment-info" class="wiki-anchor">¶</a></h3>
<pre>
Environment:
Redmine version 2.5.1.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.0
Filesystem
Redmine plugins:
extended_fields 0.2.3
redmine_all_files 0.0.3
redmine_codebutton 0.0.1
redmine_screenshot_paste 2.1.0
redmine_tags 2.1.0
sidebar_hide 0.0.7
</pre>
<a name="Logs"></a>
<h3 >Logs<a href="#Logs" class="wiki-anchor">¶</a></h3>
<pre>
NoMethodError (undefined method `find_custom_field_template' for #<IssuesController:0x3704490>):
lib/redmine/export/pdf.rb:302:in `block in calc_col_width'
app/helpers/issues_helper.rb:29:in `block in issue_list'
app/helpers/issues_helper.rb:25:in `each'
app/helpers/issues_helper.rb:25:in `issue_list'
lib/redmine/export/pdf.rb:300:in `calc_col_width'
lib/redmine/export/pdf.rb:428:in `issues_to_pdf'
app/controllers/issues_controller.rb:93:in `block (2 levels) in index'
app/controllers/issues_controller.rb:86:in `index'
</pre> Extended Fields - Bug #2318 (In Progress): Issues as pdfhttp://projects.andriylesyuk.com/issues/23182014-06-25T13:18:24ZMarc M
<p>500 internal error page when I want to view/export an issue as pdf<br />It only appears when the extendes fields plugin is installed and only on issues.</p>
<p>Log:<br /><pre>
Started GET "/issues/2012.pdf" for xx.xxx.xxx.xxx at 2014-06-25 14:43:36 +0200
Processing by IssuesController#show as PDF
Parameters: {"id"=>"2012"}
Current user: xx (id=3)
Completed 500 Internal Server Error in 140.6ms
NoMethodError (undefined method `find_custom_field_template' for #<IssuesController:0x007fc27cc2c978>):
lib/redmine/export/pdf.rb:576:in `block in issue_to_pdf'
lib/redmine/export/pdf.rb:575:in `each'
lib/redmine/export/pdf.rb:575:in `each_with_index'
lib/redmine/export/pdf.rb:575:in `issue_to_pdf'
app/controllers/issues_controller.rb:133:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in `show'
</pre></p>
<p>Redmine 2.5.1.stable.13182<br />Extended fields 0.2.3</p> Hooks Manager - Bug #2295 (Reopened): view_layouts_base_html_head hook not workinghttp://projects.andriylesyuk.com/issues/22952014-05-24T15:25:36ZFabien Crespel
<p>Hello,</p>
<p>It appears the <code>view_layouts_base_html_head</code> hook isn’t working, because it’s already used by the Hook Manager plugin itself to register its stylesheet.<br />See the attached patch for a simple fix (tested against Hook Manager 1.0.0 running on Redmine 2.5.1).</p>
<p>Thanks for making this plugin. <span class="wiking smiley smiley-smiley" title=":-)"></span></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> Extended Fields - Feature #2227 (In Progress): Altering form elements for custom fieldshttp://projects.andriylesyuk.com/issues/22272013-09-16T13:41:59ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Custom field templates let you change the rendering style of <ins>values</ins> for custom fields and only! And it would be cool to be also able to change the style of form elements for <ins>input</ins> of custom field values!</p>
<hr />
<p>Let me show an example:</p>
<p>Saying we have a “Rating” custom field, which should get values from 1 to 5. For such custom field we will probably choose the “Text” type and regular expression <code>^[1-5]$</code>...</p>
<p>Right now we can use five stars to render values of such custom fields! For this we just define the <code>string/rating</code> template.</p>
<p>But we would also want to use these five stars to let users choose the rating! This would be much better than a text field, which requires digits from 1 to 5!..</p>
<hr />
<p>Replacing form elements for custom fields can be problematic though... But still it should be possible to “attach” JavaScript to such elements! And using JavaScript we can do what we need!</p> Extended Fields - Bug #2155 (Incomplete): Wiki text field donot work well when using chinese as c...http://projects.andriylesyuk.com/issues/21552013-02-28T06:41:41ZJianrong SUN
<p>Change chinese to english will be fine.</p>
<p>I’m using redmine 2.2.3, ruby-1.9.3</p> Projects - Bug #1989 (In Progress): Кирилиця в рекламіhttp://projects.andriylesyuk.com/issues/19892012-02-26T11:33:21ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Чомусь в рекламі кирилиця заміняється знаками запитання...</p>
<p><em>P.S. Можливо баг в плагіні Advertising...</em></p> WikiNG - Bug #1980 (Open): Problem running plugin in development modehttp://projects.andriylesyuk.com/issues/19802012-02-19T10:44:05ZOleg Kandaurov
<p>I am using redmine 1.3.0 with WikiNG 0.0.1b. It works well in production environment with following settings:<br /><pre>
config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_mailer.raise_delivery_errors = false
config.action_mailer.logger = nil
</pre></p>
<p>But when I switch server to development environment it loads page successfully only once. I see following error:<br /><pre>
NameError in Projects#index
Showing app/views/layouts/base.html.erb where line #13 raised:
undefined local variable or method `heads_for_theme' for #<ActionView::Base:0xb6026ff0>
Extracted source (around line #13):
10: <%= stylesheet_link_tag 'application', :media => 'all' %>
11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12: <%= javascript_heads %>
13: <%= heads_for_theme %>
14: <!--[if IE 6]>
15: <style type="text/css">
16: * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
</pre></p>
<pre>
/home/f0y/workspace-ruby/redmine-1.3.0/app/views/layouts/base.html.erb:13:in `_run_erb_app47views47layouts47base46html46erb'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `send'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/base.rb:352:in `_render_with_layout'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_view/base.rb:262:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:1252:in `render_for_file'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:936:in `render_without_benchmark'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:1328:in `default_render'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:1334:in `perform_action_without_filters'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/flash.rb:151:in `perform_action'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/head.rb:9:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/methodoverride.rb:24:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:99:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/lock.rb:11:in `synchronize'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in `run'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/urlmap.rb:47:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/urlmap.rb:41:in `each'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/urlmap.rb:41:in `call'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/content_length.rb:13:in `call'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/handler/webrick.rb:48:in `service'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/webrick/server.rb:82:in `start'
/home/f0y/.rvm/gems/ruby-1.8.7-p358@redmine-debian/gems/rack-1.1.1/lib/rack/handler/webrick.rb:14:in `run'
/home/f0y/workspace-ruby/redmine-1.3.0/vendor/rails/railties/lib/commands/server.rb:111
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/home/f0y/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
script/server:3
</pre>
<p>Configuration of development environment:<br /><pre>
config.cache_classes = false
config.whiny_nils = true
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false
config.action_mailer.raise_delivery_errors = false
</pre></p>
<p>A reason of the error is caching but I’m not sure.</p> Projects - Feature #1868 (Reopened): Author in Google search resultshttp://projects.andriylesyuk.com/issues/18682011-10-12T08:14:32ZAndriy Lesyuks-andy@andriylesyuk.com
<p>So I decided to play with the author “box” in Google search results...</p>
<p>Added invisible link to my empty Google profile... For now the author is not shown.</p>