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-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> Extended Fields - Support #2344 (Open): Installation failure: uninitialized constant ExtendedFiel...http://projects.andriylesyuk.com/issues/23442014-10-30T15:35:06ZSergey B
<p>Plugin Extended Fields failed to install.</p>
<p>Redmine 2.5.1-2 Bitnami Stack Windows x86<br />MySQL database</p>
<pre>
C:\>use_redmine.bat
C:\prog32\redmine>cd apps\redmine\htdocs
C:\prog32\redmine\apps\redmine\htdocs>bundle install
rake aborted!
uninitialized constant ExtendedFieldsHelper
C:/prog32/redmine/apps/redmine/htdocs/plugins/extended-fields/init.rb:44:in `block in <top (required)>'
C:/prog32/redmine/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
</pre>
<p>Detailed trace is in <a class="attachment" href="http://projects.andriylesyuk.com/attachments/download/628/trace.txt">trace.txt</a>.</p> WikiNG - Bug #2329 (Under Verification): Mentions visibilityhttp://projects.andriylesyuk.com/issues/23292014-09-12T14:05:06ZRobert Roth
<p>Redmine setup:<br />Project A and B are not public projects, with several common members. Members of only one project can click the links of users involved in both projects, and in their activity they will see the mentions from the issues on the other projects, along with subject, project nam and other sensitive info. Mentions on objects belonging to a projwct whuch is not visible to the current usr should be hidden from activity streams.</p> RedWord - Support #2298 (In Progress): Theme review by WordPress reviewershttp://projects.andriylesyuk.com/issues/22982014-05-30T09:43:49ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Before the theme enters the WordPress theme registry it must be reviewed and accepted by WordPress theme reviewers.</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> 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> Extended Fields - Bug #2155 (Incomplete): Wiki text field donot work well when using chinese as c...http://projects.andriylesyuk.com/issues/21552013-02-28T06:41:41ZJianrong SUN
<p>Change chinese to english will be fine.</p>
<p>I’m using redmine 2.2.3, ruby-1.9.3</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> 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> 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> 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> Contact Form - Support #1828 (Deferred): Incorrect from/reply to address used in sent emailhttp://projects.andriylesyuk.com/issues/18282011-08-20T07:32:24ZRon Klinkien
<p>I have install redmine-contact with following log:<br /><pre>
# rake db:migrate_plugins RAILS_ENV=production
(in /usr/local/lib/redmine-1.2)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating extended_profile...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine-google-analytics-plugin...
Migrating redmine-openid-selector...
Migrating redmine_checkout...
Migrating redmine_ckeditor...
Migrating redmine_contact...
== AddContactFormPref: migrating =============================================
-- add_column(:user_preferences, :contact_form, :boolean, {:default=>false})
-> 0.0392s
== AddContactFormPref: migrated (0.0397s) ====================================
Migrating redmine_jchat...
Migrating redmine_local_avatars...
Migrating redmine_repository...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating sidebar...
</pre></p>
<p>If you fill in contact form and send it, the recipient is always the default project emmission address (which is ok I guess since this is Redmines default), but the reply-to field is not used/filled.<br />I would expect the user’s email address here if he is logged in, and the reply to: field contents if he/she is not logged in.</p>
<p>I see that some reply-to field code is in app/models/email.rb, but maybe redmines mailer code doesn’t use it, needs a patch?</p> Projects - Feature #1716 (In Progress): Orangutan video/chat demohttp://projects.andriylesyuk.com/issues/17162011-05-02T09:47:24ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Earlier I had a demo video showing Orangutan in action...</p>
<p>The video was not actually made from the real chat. It was a JavaScript code simulating chat in browser window. Something like this can be done here instead of video. Such demo can have “sections” - users can choose what they want to see (e.g. “Time tracking”, “Issue modifications”, “Notifications” etc). Of course the JavaScript demo should support “stop”, “pause” functions. This will solve the issue that the video is too long (users will choose what they want to see).</p>
<p>Another problem with the video is that it did not show problems. Orangutan is not so smart as it seems to be from the video... So it would be great to show some funny misunderstandings (between a user and the monkey). Users even will be able to send logs with such misunderstandings (so the JavaScript demo should work with real logs).</p> Orangutan - Improvement #936 (In Progress): Documentationhttp://projects.andriylesyuk.com/issues/9362010-09-30T12:33:25ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Orangutan sources should include documentation...</p>
The documents which should be included:
<ul>
<li>Syntax description, usage</li>
<li>Context development tutorial</li>
<li>Installation (does not exist yet)</li>
</ul>