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> 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> WikiNG - Bug #2436 (Incomplete): Autocomplete debounce does not work as expectedhttp://projects.andriylesyuk.com/issues/24362018-01-01T21:47:44ZAndriy Lesyuks-andy@andriylesyuk.com
<p>To optimize load of <code>/mentions/autocomplete</code> I set the <code>debounce</code> option of <a href="https://github.com/yuku-t/jquery-textcomplete" class="external">jQuery textcomplete</a> to 500 ms. This should have made the autocomplete function be called with the delay.</p>
<p>In practice, however, with this option set the autocomplete function sometimes is not getting called at all, ever. Usually, this happens, when I put just <code>@</code> or <code>user:</code>, i.e., a user link without any term (without a part of login, name or identifier). If, however, I add any character and then remove it (i.e., get the same <code>@</code> or <code>user:</code> in result), the autocompletion gets executed.</p>
<p>If I remove the <code>debounce</code> option, everything works as expected. This makes me think, that the problem is in how jQuery textcomplete handles the debounce.</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 - 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> Project Settings - Feature #2131 (In Progress): Redmine 2 / Rails 3 compatibilityhttp://projects.andriylesyuk.com/issues/21312012-12-09T17:26:01ZMarcus Ilgner
<p>Just tried to install the redmine-settings plugin into a Redmine 2 installation because I’m using it in one of my plugins.<br />Unfortunately, it isn’t compatible anymore since a few things changed with Rails 3.</p>
<p>I fiddled around with it for a bit and got so far to come up with this diff to at least avoid throwing exceptions. But still I had to add a manually-defined route for my settings page in my plugin and the view doesn’t show up anymore after the upgrade.</p>
<pre>
-require 'dispatcher'
-RAILS_DEFAULT_LOGGER.info 'Starting Project Settings Hook Plugin for Redmine'
+::Rails.logger.info 'Starting Project Settings Hook Plugin for Redmine'
-Dispatcher.to_prepare :project_settings_hook_plugin do
+Rails.configuration.to_prepare do
</pre>
<p>Do you have any plans to support Redmine 2 or should I roll my own settings hook?</p> Extended Fields - Bug #2098 (In Progress): Failure in XLS Export (undefined method `find_custom_f...http://projects.andriylesyuk.com/issues/20982012-09-07T13:54:16ZTib Onu
<p>I’m getting the error below when trying to export the list of issues using the XLS Export plugin. This only happens with projects having custom fields. I tried with Extended Fields 0.1.0 as well as with the latest SVN snapshot (0.1.1 from Sep 7, 2012) - both with the same result.</p>
<p><ins>Environment</ins></p>
<p>ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]</p>
<pre>
*** LOCAL GEMS ***
actionmailer (2.3.14, 2.3.11)
actionpack (2.3.14, 2.3.11)
activemodel (3.0.9)
activerecord (2.3.14, 2.3.11)
activeresource (2.3.14, 2.3.11)
activesupport (3.0.9, 2.3.14, 2.3.11)
builder (2.1.2)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (0.2.6)
fastercsv (1.5.4)
fastthread (1.0.7)
i18n (0.5.0, 0.4.2)
mysql (2.8.1)
mysql2 (0.2.7)
net-ldap (0.3.1)
passenger (3.0.7)
rack (1.2.3, 1.1.3, 1.1.2, 1.1.0)
rack-test (0.5.7)
rails (2.3.14)
rake (0.9.2.2, 0.8.7)
ruby-ole (1.2.11.4)
ruby-openid (2.1.8)
rubyzip (0.9.9)
spreadsheet (0.7.3)
tzinfo (0.3.33)
</pre>
<p>Redmine 1.4.1.stable.9617</p>
<p>Extended fields 0.1.0 or latest from SVN 0.1.1 (Sep 7, 2012)<br />Issues XLS export 0.2.1</p>
<p><ins>Error trace</ins><br /><pre>
Processing XlsExportController#export_current (for 10.11.31.114 at 2012-09-07 09:26:02) [GET]
Parameters: {"action"=>"export_current", "controller"=>"xls_export", "project_id"=>"myprojectname"}
NoMethodError (undefined method `find_custom_field_template' for #<XlsExportController:0xb593c140>):
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:116:in `export_to_string'
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:50:in `export_current'
passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) helper-scripts/passenger-spawn-server:99
</pre></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> 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>