Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2018-01-01T21:47:44ZProjects
Redmine 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-14 (Open): Escaping #ISSUE-id Textile rule does not workhttp://projects.andriylesyuk.com/issues/ISSUE-142017-12-02T21:46:29ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Escaping ISSUE-id’s special Textile syntax rule does not work, if multiple IDs are specified in one line. For example:</p>
<pre>
!#ISSUE-1, !#ISSUE-2 and !#ISSUE-3
</pre>
<p>Demo: <img src="#ISSUE-1," alt="" /><a class="issue tracker-9 status-5 priority-5 priority-default closed" title="Bulgarian translation (Closed)" href="http://projects.andriylesyuk.com/issues/ISSUE-2">#ISSUE-2</a> and #ISSUE-3</p>
<p>This happens because Redmine treats <code>!#ISSUE-1, !</code> as an image. Therefore, <code>parse_redmine_links_with_issue_id</code> gets the following <code>text</code>:</p>
<pre>
Demo: <img src="#ISSUE-1," alt="" />#ISSUE-2 and !#ISSUE-3
</pre>
<p>The same applies to legacy IDs:</p>
<p>Demo: <img src="#1," alt="" /><a class="issue tracker-2 status-5 priority-5 priority-default closed" title="User needs some way to see available activities (Closed)" href="http://projects.andriylesyuk.com/issues/2">#2</a> and <a class="issue tracker-7 status-5 priority-4 priority-low2 closed" title="Create more bug related contexts (Closed)" href="http://projects.andriylesyuk.com/issues/3">#3</a></p>
<p>So, it’s not a problem in the plugin, but in the Redmine core.</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> RedWord - Bug #2368 (Open): Next and prev links for multi-page articleshttp://projects.andriylesyuk.com/issues/23682015-04-02T17:27:19ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Accordingly to Google <code>rel="prev"</code> and <code>rel="next"</code> links of the multi-page article should point to the previous and next pages of the article:<br /><a class="external" href="https://support.google.com/webmasters/answer/1663744">https://support.google.com/webmasters/answer/1663744</a></p>
<p>However, WordPress seems to use “neighbor” articles for these links, what can potentially cause issues.</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 #2350 (Under Verification): Extended Field Values that are nil produce an e...http://projects.andriylesyuk.com/issues/23502014-11-14T03:38:17ZIvo Steinmann
<p>If an extended field is not used by a tracker but is enabled in the issue overview, then an error is produced because the value of that field is nil</p>
<p>I appended a possible patch as file</p> Extended Fields - Bug #2348 (Open): Buggy implementation at _list.html.erbhttp://projects.andriylesyuk.com/issues/23482014-11-10T22:35:50ZDariusz Kowalski
<p>I found that you have rewritten _list.html.erb</p>
<p>At original file was:</p>
<p><%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %></p>
<p>You have changed it to:</p>
<p><% inline_columns.each do |column| <span>><br /><%= content_tag 'td’, column_content(column, issue), :class ⇒ column.respond_to?(:css_classes) ? column.css_classes : column.name unless column.nil?%><br /> <</span> end %></p>
<p>now, when other plugin add new field as HTML, your code change it to HTML entries and HTML code is visible directly (it is not rendered as supposed)</p>
<p>Because of that I had problems with it at redmine_tags plugin. Issue is here: <a class="external" href="https://github.com/ixti/redmine_tags/issues/93">https://github.com/ixti/redmine_tags/issues/93</a></p>
<p>It would be nice if you can correct this issue.</p> SCM Creator (+Github) - Bug #2325 (Incomplete): Cannot add existing github repohttp://projects.andriylesyuk.com/issues/23252014-08-13T12:56:42ZMikalai Turyshau
<p>Hello! i’m trying to add my github repo to project.<br />but get different errors like a “500 internal error”? but no error messages in apache log<br />I’ve also tried start rails directly via <br /><em>rails s -e production</em><br />and get the next error</p>
<p><em>NoMethodError (undefined method `[]' for nil:NilClass):<br /> app/controllers/repositories_controller.rb:55:in `create’</em></p>
<p>could you please help me?</p>
<p><strong>My environment:</strong><br />redmine configured via apache phusion passenger and mod_fastcgi<br /><em>script/about <br />sh: darcs: command not found<br />sh: hg: command not found<br />sh: cvs: command not found<br />sh: bzr: command not found<br />Environment:<br /> Redmine version 2.5.2.stable<br /> Ruby version 1.9.3-p547 (2014-05-14) [x86_64-linux]<br /> Rails version 3.2.19<br /> Environment production<br /> Database adapter PostgreSQL<br />SCM:<br /> Subversion 1.6.11<br /> Git 1.7.1<br /> Filesystem <br /> Github 1.7.1<br />Redmine plugins:<br /> redmine_scm 0.5.0b</em></p>
<p>plugin installed succesfully, db migrated.<br /><strong>scm.yml</strong><br /><em>production:<br /> deny_delete: false<br /> auto_create: false<br /> force_repository: false<br /> max_repos: 5<br /> only_creator: false<br /> allow_add_local: true<br /> allow_pickup: false<br /> git:<br /> path: /var/www/git<br /> git: git<br /> options:<br /> url: <a class="external" href="http://redmine.mrsoul.tk">http://redmine.mrsoul.tk</a><br /> update_server_info: true<br /> git_ext: false<br /> github:<br /> path: /var/www/github<br />development:</em></p>
<p><strong>redmine.conf</strong><br /><VirtualHost *:80><br /> ServerName redmine.mrsoul.tk
# !!! Be sure to point DocumentRoot to 'public'!<br /> DocumentRoot /var/www/redmine/public<br /> ErrorLog logs/redmine_error_log<br /> <Directory /var/www/redmine/public>
# This relaxes Apache security settings.<br /> Options Indexes ExecCGI FollowSymLinks -MultiViews<br /> Order allow,deny<br /> Allow from all<br /> AllowOverride all<br /> </Directory><br /></VirtualHost></p>
<p><strong>passenger.conf</strong></p>
<p><em>LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.3-p547/gems/passenger-4.0.48/buildout/apache2/mod_passenger.so<br /> <IfModule mod_passenger.c><br /> PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p547/gems/passenger-4.0.48<br /> PassengerDefaultRuby /usr/local/rvm/gems/ruby-1.9.3-p547/wrappers/ruby<br /> PassengerDefaultUser apache<br /> </IfModule></em></p>
<p>owner of next folders is apach:apache<br />/var/www/redmine<br />/var/www/git<br />/var/www/github</p> Download Button - Bug #2313 (Open): Emails include the Download "button" with relative linkhttp://projects.andriylesyuk.com/issues/23132014-06-10T08:54:09ZAndriy Lesyuks-andy@andriylesyuk.com
<p>If the Download button is included into the email message, it gets rendered with two issues:</p>
<ul>
<li>The style is not loaded and it looks just as a link.</li>
<li>The generated link is relative and, therefore, is useless.</li>
</ul> Contact Form - Bug #2260 (Incomplete): Conflicting with redmine_ckeditor plugin using previewhttp://projects.andriylesyuk.com/issues/22602013-10-30T09:56:32ZVyacheslav K
<p>It seems that it’s not compatible with redmine_ckeditor plugin.<br />When using “preview” it returns nothing, but only 403 forbidden error.</p> Red-Andy - Bug #2151 (Deferred): Conflict with sidebar_hide pluginhttp://projects.andriylesyuk.com/issues/21512013-02-11T15:01:41ZIvan Cenov
<p>I installed recently <a href="https://github.com/ries-tech/sidebar_hide" class="external">sidebar_hide</a> plugin and noticed a little visual conflict with red-andy theme. I tested with other themes and did not saw such conflict, so I decided to create issue here. Here is the conflict:<br /><img src="http://projects.andriylesyuk.com/attachments/download/403/sidebar_hide.PNG" alt="" /><br />The left side of the sidebar is cut off (where the handle resides). If you feel that this is not red-andy problem, please ignore the issue.<br />sidebar_hide is version 0.0.2.</p> SCM Creator (+Github) - Bug #2084 (Incomplete): ActionView::Template::Error (syntax error on line...http://projects.andriylesyuk.com/issues/20842012-07-02T06:04:00ZRob Landry
<p>I have decided to use my webhost for redmine vice my home pc. I have done a fresh install of redmine 2.0.3. Following installation instruction i installed redmine_scm 0.4.1.</p>
<p>Upon creating a new project I am getting a 500 error. Looking at my production log this is what i see:</p>
<pre>Started GET "/projects/new" for 74.76.105.241 at Sun Jul 01 23:58:29 -0600 2012
Processing by ProjectsController#new as HTML
Rendered plugins/redmine_scm/app/views/projects/_scm.html.erb (2.2ms)
Rendered projects/_form.html.erb (329.9ms)
Rendered projects/new.html.erb within layouts/base (332.2ms)
Completed 500 Internal Server Error in 349ms
ActionView::Template::Error (syntax error on line 33, col 12: `'):
1: <% if ScmConfig['force_repository'] %>
2: <script type="text/javascript">
3: //<![CDATA[
4: Event.observe(window, 'load', function() {
lib/redmine/hook.rb:111:in `send'
lib/redmine/hook.rb:111:in `view_projects_form'
lib/redmine/hook.rb:61:in `send'
lib/redmine/hook.rb:61:in `call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61: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/projects/_form.html.erb:23:in `_app_views_projects__form_html_erb__1330010327_69983346472560'
app/views/projects/new.html.erb:4:in `_app_views_projects_new_html_erb__1556954071_69983346550480'
app/helpers/application_helper.rb:950:in `labelled_form_for'
app/views/projects/new.html.erb:3:in `_app_views_projects_new_html_erb__1556954071_69983346550480'</pre>
<p>I know in fact that this version of scm works great on my home pc. The only differences i can think of between the 2 servers is that the problematic one has ruby 1.8.7.</p>
<p>Please Advise.</p> SCM Creator (+Github) - Bug #1763 (Open): "Create repository" button hiding is too restrictivehttp://projects.andriylesyuk.com/issues/17632011-05-30T16:28:09ZJean-Sébastien Bourjsb@zenexity.com
<ul>
<li>Create a project without automatic repository creation</li>
<li>Add it a repository through ulterior configuration, with an “invalid” location (from the plugin’s point of view), eg. by not respecting the format (subdirs... <span class="wiking smiley smiley-wink" title=";-)"></span>) (click on “save” instead of “create repo”)</li>
<li>Fix the location to make it respect the format</li>
<li>Location is OK, doesn’t exist; the “create repo” button doesn’t show up though</li>
</ul>
<p>Maybe you should only rely on repository location respecting format, and really being accessible, to hide button (and not on the only fact that location is configured)?</p> TOC - Bug #1735 (Incomplete): Broken in new DokuWiki?http://projects.andriylesyuk.com/issues/17352011-05-04T22:31:12ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Some user added the following text to the <a href="http://www.dokuwiki.org/plugin:toc" class="external">plugin Wiki page</a>:</p>
<blockquote>
<ul>
<li>There is currently no way to disable the default location of the TOC without also disabling THIS one. In other words: You have 2 TOCs or none.</li>
</ul>
</blockquote>
<p>Perhaps this happens due to new version of DokuWiki... Did not test yet. Please confirm if you can.</p> Orangutan::Redmine - Bug #1680 (Open): Cancelling Comment contexthttp://projects.andriylesyuk.com/issues/16802011-03-03T22:46:11ZAndriy Lesyuks-andy@andriylesyuk.com
Steps to reproduce:
<ol>
<li>Type: Comment on #<ID></li>
<li>Type, e.g.: 23 (Number context)</li>
<li>“Cancel” does not cancel Comment context</li>
</ol>