Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2015-03-12T12:36:31ZProjects
Redmine Sidebar Content - Patch #2363 (Under Verification): Sidebar Redmine 3.0.0http://projects.andriylesyuk.com/issues/23632015-03-12T12:36:31ZAdrian Antonana
<p>When migrating to Redmine 3.0.0-stable (GIT), the <code>rake db:migrate RAILS_ENV=production</code> command was throwing following error:</p>
<pre>
An error occurred while loading the routes definition of sidebar plugin (/opt/redmine/redmine/plugins/sidebar/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action".
</pre>
<p>Subsituting the “match” strings with “get”, as suggested by the error message, seems to solve the issue. Patch attached.</p> Extended Fields - Patch #2328 (Under Verification): Make the Project type custom fields sortable ...http://projects.andriylesyuk.com/issues/23282014-08-26T10:14:32ZOlivier Houdas
<p>In Issue lists, it might be useful to sort on custom fields added by Extended fields.<br />As you may have noticed, custom fields of new types added by Extended fields are not clickable for sorting in the Issue lists.</p>
<p>I suggest to add some code to make the column title clickable for sorting on it, on columns for custom fields of Project type.</p>
<p>The patch to do so is attached to this issue. It was tested on CentOS, Ruby 2.0 and Redmine 2.5.2.</p> Hooks Manager - Translation #2316 (New): French translationhttp://projects.andriylesyuk.com/issues/23162014-06-21T21:12:15ZFabien Crespel
<p>Here is a French translation of Hooks Manager 1.0.1</p> Like Button - Translation #2312 (New): Add Korean translation filehttp://projects.andriylesyuk.com/issues/23122014-06-10T07:50:12ZKi Won Kimxyz37@naver.com
<p>Thanks</p> Sidebar Content - Translation #2310 (New): Change Korean translation file commenthttp://projects.andriylesyuk.com/issues/23102014-06-10T02:04:52ZKi Won Kimxyz37@naver.com
<p>Change my test redmine site address in ko.yml.<br />Thanks.</p> Meta - Translation #2309 (New): Update korean translation to 0.2.3http://projects.andriylesyuk.com/issues/23092014-06-10T01:59:27ZKi Won Kimxyz37@naver.com
<p>Thanks</p> Extended Fields - Translation #2308 (New): Add Korean translation file commenthttp://projects.andriylesyuk.com/issues/23082014-06-10T01:53:26ZKi Won Kimxyz37@naver.com
<p>translation version 0.2.3<br />Thanks.</p> Download Button - Translation #2307 (Under Verification): Change Korean translation file commenthttp://projects.andriylesyuk.com/issues/23072014-06-10T01:47:25ZKi Won Kimxyz37@naver.com
<p>Change my test redmine site address in ko.yml.<br />Thanks.</p> Author Box - Translation #2305 (New): Change Korean translation file commenthttp://projects.andriylesyuk.com/issues/23052014-06-10T01:40:23ZKi Won Kimxyz37@naver.com
<p>Change my test redmine site address in ko.yml.<br />Thanks.</p> SCM Creator (+Github) - Patch #2278 (Deferred): Disable "Save repository" button on new repositorieshttp://projects.andriylesyuk.com/issues/22782014-01-23T07:54:07ZElektritter Messinger
<p>Hi,</p>
<p>a lot of our users were confused when the “Save repository” button is enabled on creating a new repository getting error message or a non function repository entry.</p>
<p>So I made a small patch which disables the “Save repository” button</p>
<ol>
<li>when it is a new repository entry</li>
<li><code>allow_add_local</code> is False</li>
</ol>
<p>It made the form much cleaner to them and lowered the questions for help a lot <span class="wiking smiley smiley-smiley" title=":)"></span></p> Hooks Manager - Translation #2266 (Incomplete): Spanish translationhttp://projects.andriylesyuk.com/issues/22662013-11-21T20:11:26ZTxinto Vaz
<p>Hi, I am playing with the hooks, and see that the spanish translation corresponds to the “Google Ad Sense” era.</p>
<p>I am preparing a translation for this plugin. To not be very bad translator, I will need to play a little with it before sending it to you.</p> Download Button - Patch #2257 (New): Support for multiple downloadshttp://projects.andriylesyuk.com/issues/22572013-10-15T17:00:26ZMartin Corino
<p>We needed support for download selection of multiple version attachments as we have platform specific downloads for some products.<br />For this I created the attached patch (against trunk version).<br />For us the current patch suffices but I think for general application the 'multiple download’ support could best be made optional configurable through the settings. Also it might be nice if a regexp could be specified by which to select the presented downloads from the list of attachments of a Version.<br />Anyway, do what you want with it <span class="wiking smiley smiley-wink" title=";-)"></span></p>
<p>Btw, I did not take ChiliProject support into account as we don’t use that, sorry.</p> 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> Project Alias - Patch #1985 (Deferred): Redmine.pm for Git supporting project-aliaseshttp://projects.andriylesyuk.com/issues/19852012-02-23T12:09:11ZDavid Rahusen
<p>Hey there,</p>
<p>I’ve been fiddling around to get Redmine.pm handling project-aliases. I finally made it! But if the identifier has been changed, the old identifier needs to be present as an alias!!! Otherwise the SCM directory will be finally unreachable.</p>
<p>However, I’m really NOT familiar with perl/mod_perl. Therefore, usage is on own risk, I cannot guarantee for anything!</p>
The attached diff is the diff of my Redmine.pm to the original extra/svn/Redmine.pm as originally delivered by Redmine, including the following patches/modifications:
<ul>
<li>Support for Git: “0001-Redmine.pm-update-patch-4905-to-Redmine-1.3.0-fixed.patch” ( <a href="http://www.redmine.org/issues/4905" class="external">Redmine #4905</a> )</li>
<li>Minor modification for LDAP-Authentication via the login credentials that shall be authentificated.</li>
<li>Support for project-alias: Redirects to the “real SCM-directory” if an alias is used or identifier has been changed.</li>
</ul>
The modifications for project aliases are like this:
<ul>
<li>The sql query retrieves permissions for the project, specified by project-identifier OR project-id corresponding to the alias wihtin table project_aliases.</li>
<li>Checks if directory named like the project-identifier specified by the URL exists.
<ul>
<li>If yes, proceed as usual.</li>
<li>If not, check if directory named like the real project-identifier retrieved from database exists.
<ul>
<li>If yes, redirect to corrected URL.</li>
<li>If not, check if directory named like any alias exists.
<ul>
<li>If yes, redirect to the corrected URL.</li>
<li>If not, go on. The SCM will announce an error.</li>
</ul></li>
</ul></li>
</ul></li>
</ul>
Open issues:
<ul>
<li>Line 473-475: The location of the repositories should be retrieved from Apache config or environment variables. Any ideas?</li>
<li>The script should be double checked at all! In my environment it works fully satisfying for me, for others maybe not.</li>
</ul> 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>