Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2019-02-08T12:15:55ZProjects
Redmine Extended Fields - Bug #2447 (New): Support Redmine 4.0 NoMethodError: undefined method `attr_prot...http://projects.andriylesyuk.com/issues/24472019-02-08T12:15:55ZMarc M
<p>After the upgrade to redmine 4.0, we can not execute “bundle exec rake db:migrate RAILS_ENV=production” <br />NoMethodError: undefined method `attr_protected’ for #<Class:0x0000000950d030></p>
<p>Log:<br /><pre>
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NoMethodError: undefined method `attr_protected' for #<Class:0x0000000950d030>
Did you mean? attr_reader
/var/lib/gems/2.3.0/gems/activerecord-5.2.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/usr/share/test_redmine/plugins/wiking/app/models/wiki_macro.rb:14:in `<class:WikiMacro>'
/usr/share/test_redmine/plugins/wiking/app/models/wiki_macro.rb:3:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in `block in require_or_load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in `block in load_interlock'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in `loading'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in `load_interlock'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in `require_or_load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:510:in `load_missing_constant'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:195:in `const_missing'
/usr/share/test_redmine/plugins/wiking/init.rb:101:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/usr/share/test_redmine/lib/redmine/plugin.rb:173:in `block in load'
/usr/share/test_redmine/lib/redmine/plugin.rb:164:in `each'
/usr/share/test_redmine/lib/redmine/plugin.rb:164:in `load'
/usr/share/test_redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in `block in load_config_initializer'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in `instrument'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in `load_config_initializer'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `block in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `tsort_each_child'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
/usr/share/test_redmine/config/environment.rb:16:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:in `require_environment!'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
</pre></p> SCM Creator (+Github) - Patch #2446 (New): Supports redmine 3.4http://projects.andriylesyuk.com/issues/24462018-11-26T08:37:50Zmizuki ishikawa
<p>The current plugin raises an exception in redmine 3.4.<br /><img src="http://projects.andriylesyuk.com/attachments/download/672/error.png" style="width: 70%;border: 1px solid #ccc;" alt="" /></p>
<p>I wrote a patch to support redmine 3.4.<br />Applying this patch makes it unavailable unless the version is greater than 3.4.<br />Development repository( <a class="external" href="https://github.com/farend/scm-creator">https://github.com/farend/scm-creator</a> )</p>
<p>I think that there are many people who want to use this plugin in redmine 3.4.<br />I hope to be able to use this plugin with redmine 3.4.</p> Contact Form - Feature #2442 (New): Put sender's email into Fromhttp://projects.andriylesyuk.com/issues/24422018-05-17T09:56:37ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Right now, the plugin puts sender’s email into the Reply-To header and the From header uses the Redmine’s emission email address. As a result, when I click Reply some email clients (such as Thunderbird) do not fill the To address of the replying email (so I need to do this manually each time).</p>
<p>So, I wonder, if the plugin should user the From header instead?</p> Projects - Improvement #2431 (New): Fix location of known_hosts for www-datahttp://projects.andriylesyuk.com/issues/24312017-12-01T15:14:05ZAndriy Lesyuks-andy@andriylesyuk.com
<p>To mirror code onto GitHub, I call <code>git</code> under the <code>www-data</code> user. Git, in turn, is using SSH, which needs to store <code>known_hosts</code> file somewhere. Currently, it’s stored in <code>www-data</code>'s “home” directory <code>/var/www</code>, what is not very secure (probably - no, it’s not accessible via web, but).</p>
<p>Git 2.3+ supports the special environmental variable <code>GIT_SSH_COMMAND</code>, that allows to specify parameters for SSH. This variable can be used to specify a different location for the <code>known_hosts</code> file as follows: <code>ssh -o UserKnownHostsFile=/path/to/file</code>. However, I’m using Debian jessie for now, in which Git is of the version 2.1.</p>
<p>I create this ticket to remind me about the need to fix this, after I upgrade my server.</p> CD-Index - Feature #2425 (New): Content rating data for images and videoshttp://projects.andriylesyuk.com/issues/24252017-10-13T11:30:24ZAndriy Lesyuks-andy@andriylesyuk.com
<p>CDP and CDV databases should be extended to include a byte (for each entry) describing, whether the content has any age limits. Thus, its value can be just the minimum age. In such case adult content (“NC-17”) would be 17, <code>0xFF</code> (255) would mean “no limits” (an analogue of “G”) and <code>0x00</code> (0) would mean “no value”.</p> CD-Index - Feature #2424 (New): Option to skip thumbnail(s)http://projects.andriylesyuk.com/issues/24242017-10-13T11:28:25ZAndriy Lesyuks-andy@andriylesyuk.com
<p>For some media it may be needed to skip all thumbnails. In this case, the following command line option can be used:</p>
<p><code>$ cdindex --skip-all-thumbs "Media name"</code></p>
<p>In other cases it may be needed to skip thumbnails only for some entries (e.g., I had situations, when ffmpeg’s libswscale crashed on a video file). In this case, the following option can be used (multiple times, if needed):</p>
<p><code>$ cdindex --skip-thumb Failing.avi "Media name"</code></p> Subscription - Bug #2422 (New): User is not removed from project_subscribers table when user is d...http://projects.andriylesyuk.com/issues/24222017-04-04T14:17:44ZCheyenne Wills
<p>Ran into an internal Redmine error after deleting a user from Redmine. The project_subscribers table still had a record for the deleted user.</p>
<p>I’m using the latest checkout level from the repository.</p>
<pre>NoMethodError (undefined method `allowed_to?' for nil:NilClass):
plugins/subscription/lib/issue_subscription_patch.rb:23:in `block in notified_users_with_subscribers'
plugins/subscription/lib/issue_subscription_patch.rb:21:in `notified_users_with_subscribers'
app/models/mailer.rb:62:in `deliver_issue_add'
app/models/issue.rb:1696:in `send_notification'
app/models/issue.rb:210:in `create_or_update'
app/controllers/issues_controller.rb:140:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>Manually deleting the offending entry from the project_subscribers table corrected the error.</p> SCM Creator (+Github) - Bug #2421 (New): The access to Git is based on projects identifier.http://projects.andriylesyuk.com/issues/24212017-03-31T09:08:22ZSven Mayer
<p>The access to Gits is based on projects identifier. When the projects identifier and the git repository name is not the same, the member access will fail. Somehow the access rules are based on a string comparison not on the projects number.</p>
<p>Thus, I can create two different gits but never access both because always one GIT has a different name then the project name. If the GIT access rules are based on the project ID’s and the links to the repository and then their name this would be possible.</p>
<p>Furthermore, its super confusing that I can not just rename a GIT repo and fix the database entry in the table “repositorys”. In order to to so I also need to rename the projects identifier.</p> SCM Creator (+Github) - Bug #2420 (New): Creating a Github repository failshttp://projects.andriylesyuk.com/issues/24202017-03-08T02:19:42ZMike Hagedon
<p>When I enable Github in the SCM Creator settings, the plugin seems to crash on a sudo-requiring action. I have sudo mode turned off. Any ideas on how to fix this, or at least get more of a stack trace?</p>
<pre>
Started POST "/projects/mike-test-project/repositories" for 150.135.113.198 at 2017-03-07 19:03:26 -0700
Processing by RepositoriesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HjSSjhkzR8crX0fcph2dTQk9u+UEIvJqJNMeI9vBuYb/1KMhSSS9Q75ADx/NzVYTwYJjkw4jn0XCmCNtisg/Eg==", "repository_scm"=>"Github", "repository"=>{"is_default"=>"0", "identifier"=>"mike6", "url"=>"https://github.com/michaelhagedon/mike6.git", "login"=>""}, "commit"=>"Create new repository", "operation"=>"add", "ignore"=>"", "project_id"=>"mike-test-project"}
Current user: mhagedon (id=3)
Creating reporitory: mike6.git
Completed 500 Internal Server Error in 1538ms (ActiveRecord: 1.5ms)
TypeError (no implicit conversion of Array into String):
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>SCM Creator <a class="changeset" title="Added URL to repository view (fixes #2122 and #2390)" href="http://projects.andriylesyuk.com/projects/scm-creator/repository/revisions/147">r147</a>, Redmine 3.1.3, Ruby 2.2.1</p> Projects - Feature #2416 (New): Starred issueshttp://projects.andriylesyuk.com/issues/24162016-11-06T22:21:29ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Sometimes I want to mark issues, that I want to work on on high priority. It’s not enough to remember them, as I can have no time to start working on them during months. So, obviously, it’s not possible to remember their numbers.</p>
<p>In this case, it would be great to have the possibility to “star” such issue.</p>
<p>I was thinking about implementing something like this using special custom fields (and already started to do something), but then I realized, that this should be a separate plugin. Thus, custom fields won’t allow me to have the “Starred issues” block on “My page”.</p>
Other requirements/ideas:
<ul>
<li>The star should be in the right top corner of the issue page (below “Previous"/“Next” links).</li>
<li>The star should be displayed in the issue list, i.e., it should be supported by the issue query.</li>
</ul> Projects - Support #2400 (New): Redmine < 3.x clean uphttp://projects.andriylesyuk.com/issues/24002015-10-02T23:49:25ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Currently, plugins come with code even for Redmine 1.4 <span class="wiking smiley smiley-exclamation" title="(!)"></span>. This should be cleaned up.</p> Projects - Support #2399 (New): ChiliProject cleanuphttp://projects.andriylesyuk.com/issues/23992015-10-02T23:48:15ZAndriy Lesyuks-andy@andriylesyuk.com
<p>The code for ChiliProject is to be cleaned up. As ChiliProject is dead.</p>
<p>Also, custom fields and related information should be removed for each project.</p> SCM Creator (+Github) - Feature #2389 (New): Reporter,non members and anonymous have too much acc...http://projects.andriylesyuk.com/issues/23892015-08-13T20:10:33ZJim McAleer
<p>By default the reporters, non members and anonymous have Browse repository and View changesets. I believe that way too much access. Yes I know I can change it and have done so. Just thought it would be a good idea so that done at initial install.</p> WikiNG - Support #2377 (New): Custom macros work, but icon macros do nothttp://projects.andriylesyuk.com/issues/23772015-04-11T15:17:27ZRob Spearman
<p>I have two identical Redmine 2.5.3 installations on one server, but for two different groups of users with different content.</p>
<p>On both sites the custom wiki macros work fine. On one the icon macros like <span class="wiking smiley smiley-success" title="(v)"></span> and <span class="wiking smiley smiley-exclamation" title="(!)"></span> work, but these do not work on the other (they just show up as the macro text).</p>
<p>Any idea how to debug what the issue is?</p>
<p>Thanks!</p> SCM Creator (+Github) - Bug #2356 (New): Repositories not removed from file systemhttp://projects.andriylesyuk.com/issues/23562015-01-09T18:49:43ZLluís -
<p>I just added some debugging prints and realized that “delete_repository” in “lib/creator/scm_creator.rb” is never called, leaving lots of repositories behind in the filesystem.</p>
<p>I’m using redmine 2.5.1.</p>