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> 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> 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 #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> 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> Extended Fields - Bug #2242 (Incomplete): Message "invalid statement: STR_TO_DATE" when using MS SQLhttp://projects.andriylesyuk.com/issues/22422013-10-04T16:10:29ZOlivier Houdas
<p>I activate Extended Fields 0.2.2 on Redmine 2.3.3.<br />Our installation of Redmine is on CentOS, uses MS SQL server 2008 and Ruby on rails 2.0.0-p247</p>
<p>When I click on the Calendar tab of a project, I get an internal error, with the following indication in the log:</p>
<pre><code>ActiveRecord::StatementInvalid (TinyTds::Error: 'STR_TO_DATE' is not a recognized built-in function name.: EXEC sp_executesql N'SELECT [custom_values].[id] AS t0_r0, [custom_values].[customized_type] AS t0_r1, [custom_values].[customized_id] AS t0_r2, [custom_values].[custom_field_id] AS t0_r3, [custom_values].[value] AS t0_r4, [custom_fields].[id] AS t1_r0, [custom_fields].[type] AS t1_r1, [custom_fields].[name] AS t1_r2, [custom_fields].[field_format] AS t1_r3, [custom_fields].[possible_values] AS t1_r4, [custom_fields].[regexp] AS t1_r5, [custom_fields].[min_length] AS t1_r6, [custom_fields].[max_length] AS t1_r7, [custom_fields].[is_required] AS t1_r8, [custom_fields].[is_for_all] AS t1_r9, [custom_fields].[is_filter] AS t1_r10, [custom_fields].[position] AS t1_r11, [custom_fields].[searchable] AS t1_r12, [custom_fields].[default_value] AS t1_r13, [custom_fields].[editable] AS t1_r14, [custom_fields].[visible] AS t1_r15, [custom_fields].[multiple] AS t1_r16, [custom_fields].[is_for_new] AS t1_r17, [custom_fields].[hint] AS t1_r18 FROM [custom_values] LEFT OUTER JOIN [custom_fields] ON [custom_fields].[id] = [custom_values].[custom_field_id] WHERE (custom_fields.field_format = N''date'' AND custom_values.customized_type = N''Issue'' AND custom_values.customized_id IN (NULL) AND STR_TO_DATE(custom_values.value, ''%Y-%m-%d'') BETWEEN ''09-30-2013'' AND ''11-03-2013'')')</code></pre>
<p>Removing the calls to STR_TO_DATE() in /lib/extended_calendars_controller_patch.rb fixes the internal error issue (but it might of course cause other issues, this is not a fix, just a check that the issue lies there and only there).</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> 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> 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> WikiNG - Bug #1931 (Deferred): it seems conflict with the redmine ckeditorhttp://projects.andriylesyuk.com/issues/19312012-01-05T04:54:41ZSteven Wong
<p>it seems conflict withe the redmine ckeditor.</p>
<p>i write a wiki and use the wiking code ,but not supply.</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> Orangutan::Redmine - Bug #1613 (Open): Guarantee that a notification will come to end userhttp://projects.andriylesyuk.com/issues/16132011-02-02T18:31:15ZAndriy Lesyuks-andy@andriylesyuk.com
Right now Orangutan notifies users about changes made to issues etc. But... There are several problems here:
<ol>
<li>If Orangutan crashes it won’t notify about changes made until crash (if he have not yet) – that is Orangutan should save the “pool” of notifications somewhere;</li>
<li>It does not take into account user’s Redmine notification settings (see <a class="issue tracker-6 status-7 priority-4 priority-low2" title="Respect user&#39;s Redmine notifications settings (Open)" href="http://projects.andriylesyuk.com/issues/1029">#1029</a>);</li>
<li>It does not send everything in a pool to a user – it sends only notifications less than 5 days old.</li>
</ol>
<p>I’m not sure about the last. Are you interested in getting notifications older than 5 days?!..</p>
<p>If this should be done better I guess to inform users about older notifications this way:<br /><pre>
Orangutan: ... <Actual notification 1> ...
Orangutan: ... <Actual notification 2> ...
Orangutan: ...
Orangutan: ... <Actual notification <N>> ...
Orangutan: There are 10 older notifications... Whould you like to check them?
User: Yes
Orangutan: ... <Old notification 1> ...
Orangutan: ...
</pre></p>