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> 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 #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> 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> Project Settings - Feature #2131 (In Progress): Redmine 2 / Rails 3 compatibilityhttp://projects.andriylesyuk.com/issues/21312012-12-09T17:26:01ZMarcus Ilgner
<p>Just tried to install the redmine-settings plugin into a Redmine 2 installation because I’m using it in one of my plugins.<br />Unfortunately, it isn’t compatible anymore since a few things changed with Rails 3.</p>
<p>I fiddled around with it for a bit and got so far to come up with this diff to at least avoid throwing exceptions. But still I had to add a manually-defined route for my settings page in my plugin and the view doesn’t show up anymore after the upgrade.</p>
<pre>
-require 'dispatcher'
-RAILS_DEFAULT_LOGGER.info 'Starting Project Settings Hook Plugin for Redmine'
+::Rails.logger.info 'Starting Project Settings Hook Plugin for Redmine'
-Dispatcher.to_prepare :project_settings_hook_plugin do
+Rails.configuration.to_prepare do
</pre>
<p>Do you have any plans to support Redmine 2 or should I roll my own settings hook?</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> 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> Red-Andy - Feature #1725 (Deferred): Stick footer to the bottom of a pagehttp://projects.andriylesyuk.com/issues/17252011-05-04T17:21:36ZAndriy Lesyuks-andy@andriylesyuk.com
Some links on the subject:
<ul>
<li><a class="external" href="http://www.cssstickyfooter.com/using-sticky-footer-code.html">http://www.cssstickyfooter.com/using-sticky-footer-code.html</a></li>
</ul> 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>