Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-02-07T02:35:13ZRedmine
Redmine Redmine - Patch #40202 (New): Add LICENSE.txt in the root directoryhttps://www.redmine.org/issues/402022024-02-07T02:35:13ZGo MAEDA
<p>Currently, the COPYING file which describes the license of Redmine is placed under the doc directory. This placement might not be immediately obvious to people.</p>
<p>I propose the addition of a short license file, named LICENSE.txt, to the root directory. This file briefly states that Redmine is licensed under the GNU General Public License version 2 (GPLv2) and the full license text can be found in the doc directory.</p>
<p>This approach has several benefits:</p>
<ol>
<li>It makes it easier for people to find and understand the licensing information at a glance</li>
<li>GitHub will automatically detect the presence of the LICENSE.txt file and display a link to it in the repository's sidebar</li>
<li>It aligns with the common practice among open-source projects to include licensing information in the root directory</li>
</ol> Redmine - Patch #39895 (New): Add hook call in edit issue formhttps://www.redmine.org/issues/398952023-12-21T03:04:54ZAllan C
<p>In Time Spent module, there is a hook call to view_timelog_edit_form_bottom.</p>
<p>In Issue module, when edit issue, there is a section to input time spent but no hook call to view_timelog_edit_form_bottom.</p>
<p>A pull request has been created to add in the hook call and can be viewed <a href="https://github.com/redmine/redmine/pull/148" class="external">here</a>.</p>
<p>Appreciate if the PR can be reviewed. Thanks.</p> Redmine - Patch #38792 (New): Allow removing some watchers via bulk edit context menuhttps://www.redmine.org/issues/387922023-06-28T16:37:33Zsalman mp
<p>It's needed sometimes to remove some watchers in bulk edit.<br />This patch added this feature, but does not contains related tests!</p> Redmine - Patch #38732 (New): Adjusting elements position on Issue Edit Viewhttps://www.redmine.org/issues/387322023-06-16T10:29:09ZYasu Saku
<p>Currentry, elements are not same position on Issue Show View and Issue Edit View.<br />I think it will confuse people who are new to Redmine.<br />So, I propose this patch.</p>
<p><a class="thumbnail" title="adjusting_elements_position_on_issue_edit_view.png" href="https://www.redmine.org/attachments/30655"><img alt="adjusting_elements_position_on_issue_edit_view.png" src="https://www.redmine.org/attachments/thumbnail/30655/300" /></a></p>
<p>Note: You can easily apply similar content as this patch using jQuery.<br /><pre><code class="javascript syntaxhl"><span class="nx">$</span><span class="p">(</span><span class="dl">"</span><span class="s2">#parent_issue</span><span class="dl">"</span><span class="p">).</span><span class="nx">insertAfter</span><span class="p">(</span><span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#issue_project_id</span><span class="dl">'</span><span class="p">).</span><span class="nx">parent</span><span class="p">()).</span><span class="nx">css</span><span class="p">({</span><span class="na">float</span><span class="p">:</span> <span class="dl">"</span><span class="s2">right</span><span class="dl">"</span><span class="p">});</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#issue_description_and_toolbar</span><span class="dl">'</span><span class="p">).</span><span class="nx">parent</span><span class="p">().</span><span class="nx">insertAfter</span><span class="p">(</span><span class="dl">'</span><span class="s1">#attributes</span><span class="dl">'</span><span class="p">);</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#issue_done_ratio</span><span class="dl">'</span><span class="p">).</span><span class="nx">parent</span><span class="p">().</span><span class="nx">insertAfter</span><span class="p">(</span><span class="dl">'</span><span class="s1">#due_date_area</span><span class="dl">'</span><span class="p">);</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1"><hr></span><span class="dl">'</span><span class="p">).</span><span class="nx">insertAfter</span><span class="p">(</span><span class="dl">'</span><span class="s1">#attributes</span><span class="dl">'</span><span class="p">);</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1"><hr></span><span class="dl">'</span><span class="p">).</span><span class="nx">insertAfter</span><span class="p">(</span><span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#issue_subject</span><span class="dl">'</span><span class="p">).</span><span class="nx">parent</span><span class="p">());</span>
</code></pre></p> Redmine - Patch #38652 (New): Actual translation of Syntax Wiki Bulgarienhttps://www.redmine.org/issues/386522023-06-02T09:45:52ZC S
<p>Source: <a class="external" href="https://www.redmine.org/boards/2/topics/68465?r=68506#message-68506">https://www.redmine.org/boards/2/topics/68465?r=68506#message-68506</a></p> Redmine - Patch #38614 (New): add email handling by subjecthttps://www.redmine.org/issues/386142023-05-26T14:55:47ZAisha Tammy
<p>This change allows the email handler to find issues by subject and adds an option for this to be enabled (disabled by default as SQL full text search might be more expensive than needed).</p>
<p>I needed this as I am trying to use redmine for the openbsd project mailing lists, so I made redmine subscribe to that list and now redmine will add/update issues by looking at mails on this mailing list.</p> Redmine - Patch #38505 (New): Add an index into table custom_values on value columnhttps://www.redmine.org/issues/385052023-04-30T12:43:35Zsalman mp
<p>In my case (due to some custom fields on issues) querying issues was very time consuming.<br />This problem is almost solved by adding some index to the <code>custom_values</code> table on column <code>value</code>.</p> Redmine - Patch #38278 (New): Basename of repository and Branch/Tags in Changeset Descriptionhttps://www.redmine.org/issues/382782023-02-16T16:47:21ZNiklaus Giger
<p>Our development team uses branches pretty thoroughly.<br />Therefore we are running for a few years a patched version for redmine which improves the display of a revision in order to ease the review of patches.</p>
<ul>
<li>Show basename of associated repository (often our issues require changes in several repositories)</li>
<li>Show a link to the associated revision</li>
<li>Show a link to the associated diff</li>
</ul>
<p>I invested 2 hours to add a test for the attached patch, but was not successfull. If anybody gives me a hint about howto proceed, I am willing to invest some more time, as it is always a good idea to test the changes.</p>
<p>Running `RAILS_ENV=test bundle exec rake test:scm:functionals` results in `159 runs, 844 assertions, 26 failures, 0 errors, 0 skips`, but is about the same as running the master branch.</p>
<p>A similar issue was raised in <a class="external" href="https://www.redmine.org/issues/5386">https://www.redmine.org/issues/5386</a>, but I never got any reponse to my patches supplied there.</p> Redmine - Patch #37600 (New): Cache attachments and thumbnails in web browsershttps://www.redmine.org/issues/376002022-08-24T03:15:55ZGo MAEDA
<p>The attached patch adds "max-age" value to "Cache-Control" filed in response headers of <code>AttachmentController#download</code> and <code>AttachmentController#thumbnail</code> in order to reduce the number of requests to a Redmine server and speed up page loading especially when an issue or a Wiki page has dozens of inline images and thumbnails.</p>
<p>Before:<br /><pre>
Cache-Control: private
</pre></p>
<p>After:<br /><pre>
Cache-Control: max-age=86400, private
</pre></p>
<p>In my observation, some users attach about 100 or more images to an issue. Even if they access the issue again shortly after it was accessed, their browser sends many GET requests to <code>AttachmentController#download</code> and <code>AttachmentController#thumbnail</code> to revalidate their local cache. Each of those requests that receive "304 Not Modified" consumes a few tens of milliseconds of server time.</p>
<p>By adding "max-age: 86400" to "Cache-Control" header field, web browsers will cache images and thumbnails and will not make revalidate requests for 24 hours, which improves page loading speed and reduces server load.</p>
<p>In Redmine, the content of attachments and thumbnails with the same URL is immutable. So there is no need to frequently revalidate the local cache and it is safe to keep the cache for some time.</p>
<p>It is safe to keep caches of attachments and thumbnails for some time because the content of attachments and thumbnails with the same URL is immutable in Redmine. And there is no need to frequently revalidate the local cache.</p> Redmine - Patch #37486 (New): Add JavaScript unit tests.https://www.redmine.org/issues/374862022-07-23T01:49:55ZTakashi Kato
<p>Currently, Redmine does not have JavaScript unit tests; I propose to add lightweight unit tests in a Node.js environment.</p>
<p>Prerequisite environment: Node.js 16 or later, yarn 1.22</p>
<p>Tools to deploy for unit testing: mocha, chai, jsdom</p>
<p>This patch does not require all Redmine developers, including plugins and themes, to install Node.js. This patch uses Node.js only for JavaScript unit tests (like when adding stylelint).</p>
<p>Applying this patch and running yarn install will install the necessary tools for testing.</p>
<p>As a first example of adding tests, I added tests to context_menu.js and refactored them.</p>
<p>As a prerequisite for testing, I convert JavaScript to ES modules. (<a class="external" href="https://javascript.info/modules-intro">https://javascript.info/modules-intro</a>)</p>
<ul>
<li>ES modules do not use global namespaces by default. There is no longer a need to fear duplicate function names; context_menu.js prefixed all functions "ContextMenu" to avoid function names conflict, but that practice is no longer necessary.</li>
<li>Modularizing the scripts will delay processing, waiting until the HTML document is fully ready, which should speed up HTML processing as we move forward.</li>
<li>It would be impractical to es-modularize all of application.js at once, as there is a lot of JavaScript tightly coupled to html (using onclick, link_to_function, etc.). We need to consider other ways to improve.</li>
</ul>
<p>This patch also contains fix <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Fix the unintentional selection of rows with the context menu (Closed)" href="https://www.redmine.org/issues/37481">#37481</a>.</p>
<p>The patch can be applied to <a class="changeset" title="Open Help in a separate tab (#1069). Contributed by Vijay Kiran." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21737">r21737</a></p> Redmine - Patch #35769 (New): Add a Revision (Changeset) API end-point with support for inclusion...https://www.redmine.org/issues/357692021-08-16T23:22:41ZJan Catrysse
<p>This is a small patch to add an API call to get details about a revision and the linked issues.<br />It should be reviewed by someone with some more experience.</p>
<p>EDIT: app/controllers/repositories_controller.rb<br />ADD: app/views/repositories/revision.rsb</p>
<p>USE: <a class="external" href="https://www.redminexxx.org/projects/{project_name}/repository/{repository_name}/revisions/{revison_name}.json">https://www.redminexxx.org/projects/{project_name}/repository/{repository_name}/revisions/{revison_name}.json</a></p> Redmine - Patch #34654 (New): Accounting for the closing date of the issue when calculating the o...https://www.redmine.org/issues/346542021-01-29T08:14:40ZStan Efremov
<p>When calculating the overdue for issues, the closing date of the issues is not taken into account, despite the availability of relevant information. An overdue issue remains overdue even after it is closed.</p>
<p>Environment:<br /> Redmine version 4.0.4.stable<br /> Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]<br /> Rails version 5.2.3<br /> Environment test<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::InlineAdapter<br /> Mailer delivery test\nSCM:<br /> Subversion 1.9.7<br /> Git 2.17.1<br /> Filesystem <br />Redmine plugins: no plugin installed</p> Redmine - Patch #33938 (New): Add missing fixtures to IssueNestedSetTesthttps://www.redmine.org/issues/339382020-09-01T03:04:56ZYuichi HARADA
<p>Sometimes IssueNestedSetTest fails.</p>
<pre>
$ RAILS_ENV=test bundle exec rake db:migrate:reset
$ RAILS_ENV=test bundle exec rake test
Run options: --seed 43474
# Running:
............F
Failure:
IssueNestedSetTest#test_destroy_should_destroy_children [./test/unit/issue_nested_set_test.rb:225]:
"JournalDetail.count" didn't change by -1.
Expected: 7
Actual: 6
bin/rails test test/unit/issue_nested_set_test.rb:216
.........F
Failure:
IssueNestedSetTest#test_destroy_child_issue_with_children [./test/unit/issue_nested_set_test.rb:270]:
"JournalDetail.count" didn't change by -1.
Expected: 7
Actual: 6
bin/rails test test/unit/issue_nested_set_test.rb:262
........
Finished in 410.935528s, 12.2404 runs/s, 56.5588 assertions/s.
5030 runs, 23242 assertions, 2 failures, 0 errors, 3 skips
You have skipped tests. Run with --verbose for details.
$
<pre></pre> Redmine - Patch #33431 (New): Better performance for Time entries without issue and activity filtershttps://www.redmine.org/issues/334312020-05-11T11:47:56ZAlexander Meindl
<p>At the moment all time entry queries join issue and activities. If there is a large number of time entries and issues, this is a big performance issue.</p>
<p>Some of our customers have more than 500.000 time entries and even more issues. A query without a time filter requires minutes. With this attached patch this improves it to some seconds.</p>
<p>Issue and activity joins are only add, if they are required.</p>
<p>It would be great, to get this in Redmine.</p> Redmine - Patch #32847 (New): Ability to add custom css classes to body taghttps://www.redmine.org/issues/328472020-01-21T09:44:45ZAleksandar Pavic
<p>This ability is important for plugin developers to avoid unnecessary use of deface gem.</p>
<p>If it's going to be implemented, also wiki page for plugin developers should<br />be updated, accordingly.</p> Redmine - Patch #32548 (New): Add new hook in projects/settings/_issues.html.erb for custom fieldshttps://www.redmine.org/issues/325482019-12-03T19:02:50ZJérôme BATAILLE
<p>This would be very helpful to add new features from plugins related to custom fields.</p>
<p>Thanks a lot to take in accout this very small patch<br /><pre><code class="ruby syntaxhl"> <span class="o"><</span><span class="sx">% unless </span><span class="vi">@issue_custom_fields</span><span class="p">.</span><span class="nf">empty?</span> <span class="sx">%>
<fieldset class="box tabular" id="project_issue_custom_fields"></span><span class="o"><</span><span class="n">legend</span><span class="o">><</span><span class="sx">%= toggle_checkboxes_link('#project_issue_custom_fields input[type=</span><span class="n">checkbox</span><span class="p">]</span><span class="ss">:enabled</span><span class="s1">') %><%=l(:label_custom_field_plural)%></legend>
<% @issue_custom_fields.each do |custom_field| %>
<label class="floating">
<%= check_box_tag '</span><span class="n">project</span><span class="p">[</span><span class="n">issue_custom_field_ids</span><span class="p">][]</span><span class="s1">', custom_field.id, (@project.all_issue_custom_fields.include? custom_field),
:disabled => (custom_field.is_for_all? ? "disabled" : nil),
:id => nil %>
<%= custom_field_name_tag(custom_field) %>
</label>
<% end %>
<%= hidden_field_tag '</span><span class="n">project</span><span class="p">[</span><span class="n">issue_custom_field_ids</span><span class="p">][]</span><span class="s1">', '</span><span class="err">'</span> <span class="o">%></span>
<span class="o"><</span><span class="sr">/fieldset>
<%
# The new hook
-%>
<%= call_hook(:view_project_settings_issues_custom_fields, { :issue_custom_fields => @issue_custom_fields, :project => @project }) %>
<% end %>
</span></code></pre></p> Redmine - Patch #32522 (New): Add Project.find_by_name to target_projecthttps://www.redmine.org/issues/325222019-11-27T12:35:23ZKeks Keksov
<p>Consider issue <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Bug in project name when create issue by email (Closed)" href="https://www.redmine.org/issues/6694">#6694</a>, fix is trivial. Think about all those reporters who struggle to memorizing all that ID stuff.</p>
<p>File app/models/mail_handler.rb<br />Line 410</p>
<p>target = get_project_from_receiver_addresses<br />target ||= Project.find_by_identifier(get_keyword(:project))<br />target ||= Project.find_by_name(get_keyword(:project)) # just one new line</p> Redmine - Patch #32461 (New): Allow Redmine:MyPage to be overriden in pluginshttps://www.redmine.org/issues/324612019-11-12T23:16:34ZJérôme BATAILLE
<p>Hi,</p>
<p>In the UserPreference model, Redmine:MyPage is required like this :<br /><pre><code class="ruby syntaxhl"><span class="nb">require</span> <span class="s1">'redmine/my_page'</span>
</code></pre></p>
<p>It will be very helpful to be able to override methods of this module , for that require_dependency is necessary, if not overrides are not taken in account.<br /><pre><code class="ruby syntaxhl"><span class="n">require_dependency</span> <span class="s1">'redmine/my_page'</span>
</code></pre></p>
<p>This blocks a plugin I try to publish : <a class="external" href="http://www.redmine.org/issues/31224">http://www.redmine.org/issues/31224</a></p>
<p>Thanks a lot.</p> Redmine - Patch #32370 (New): Action menu on issues details should not flip with the history orderhttps://www.redmine.org/issues/323702019-10-30T05:05:10ZBernhard Rohloff
<p>By now, when one choose <code>reverse chronological order</code> to display the history of an issue the action menu flips to the top between the issue and the history. Since the action menu isn't related to the history it's not expected by the user. It also causes occasional rendering problems for some users (<a class="external" href="http://www.redmine.org/boards/1/topics/57345">http://www.redmine.org/boards/1/topics/57345</a>), too. The action menu should always stay on the bottom of the view.</p> Redmine - Patch #32017 (New): A much happier blue palette for the header (#header + #top-menu)https://www.redmine.org/issues/320172019-09-04T17:11:15ZAnonymous
<p>This patch also makes search bar + project selector "camouflage" a bit until clicked.<br /><img src="https://www.redmine.org/attachments/download/23772/newheader.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/23773/focusedsearchbar.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/23774/focusedselector.png" alt="" /></p> Redmine - Patch #31987 (New): Add rake task which synchronize all revisions in repositories relat...https://www.redmine.org/issues/319872019-08-31T05:53:13ZKuniharu AKAHANE
<p>Hi, there.</p>
<p>Thank you JPL and all who contributed to improving Redmine such an excellent software.</p>
<p>I wrote a rake task patch changesets.rake .<br />This rake task synchronize all revisions in repositories which related with all active projects.<br />It is useful when some user mistake to write commit-comment for repository.</p>
<ul>
<li>Use Case
<ol>
<li>Refs # <- forgot to write issue_id and/or comment.</li>
<li>Refs #xxxxx <- wrong issue_id</li>
<li> <- forgot to write commit</li>
</ol></li>
</ul>
<p>I know Redmine has a feature to add a reference between issue and commit on web pages.<br />But it does not cover all case, and a bunch of mistakes by a thousand of users on a hundred repositories.<br />Also when i disconnect and reconnect between active project and repository, those additional reference above will be lost.</p>
<p>Even i fix wrong comments on repository, but it will not sync to redmine repository tab and issue reference.<br />So, i think it would be nice if i have a synchronize rake task.</p>
<p>( <a class="user active" href="https://www.redmine.org/users/58128">Kouhei Sutou</a> assisted me for writing this patch. Thanks <a class="user active" href="https://www.redmine.org/users/58128">Kouhei Sutou</a>. )</p> Redmine - Patch #31283 (New): Assign ticket comment by subaddresshttps://www.redmine.org/issues/312832019-04-30T15:36:17ZRoland Tapken
<p>I've created a patch that allows to not only create new tickets by subaddressing (like project_from_subaddress) but also to append comments to a ticket by using the ticket id as subaddress. The patch applies to Redmine 3.4.</p>
<p>This allows to forward related mails to '<a class="email" href="mailto:foobar+1234@example.org">foobar+1234@example.org</a>' without having to change the mail's subject or message id.</p>
<p>Additionally, I added a new configuration option that let Redmine add a 'Reply-To: <a class="email" href="mailto:foobar+1234@example.org">foobar+1234@example.org</a>' header field, if enabled. Of course, the server need to have support for subaddressing, otherwise those mails would be rejected. Maybe this could be clarified with an additional description.</p>
<p>The patch doesn't include test cases since I currently don't have the time to setup a complete build environment but changed the code directly in the live system.</p> Redmine - Patch #31151 (New): Add AppServer to Technical Information pagehttps://www.redmine.org/issues/311512019-04-05T12:49:52ZVincent Robert
<p>Hello</p>
<p>The Information page shows some useful data about the current environment. But one important information is missing: the app server.<br />So here is a patch which adds this information to the list.</p>
<p>Thank you</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
</span><span class="gd">--- a/app/controllers/admin_controller.rb
</span><span class="gi">+++ b/app/controllers/admin_controller.rb
</span><span class="p">@@ -77,5 +77,6 @@</span> class AdminController < ApplicationController
[:text_rmagick_available, Object.const_defined?(:Magick)],
[:text_convert_available, Redmine::Thumbnail.convert_available?]
]
<span class="gi">+ @request = request
</span> end
end
diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb
<span class="gd">--- a/app/views/admin/info.html.erb
</span><span class="gi">+++ b/app/views/admin/info.html.erb
</span><span class="p">@@ -12,7 +12,7 @@</span>
</table>
<br />
<div class="box">
<span class="gd">-&lt;pre&gt;&lt;%= Redmine::Info.environment %&gt;&lt;/pre&gt;
</span><span class="gi">+&lt;pre&gt;&lt;%= Redmine::Info.environment(@request) %&gt;&lt;/pre&gt;
</span> &lt;/div&gt;
&lt;% html_title(l(:label_information_plural)) -%&gt;
diff --git a/lib/redmine/info.rb b/lib/redmine/info.rb
<span class="gd">--- a/lib/redmine/info.rb
</span><span class="gi">+++ b/lib/redmine/info.rb
</span><span class="p">@@ -6,17 +6,17 @@</span> module Redmine
def help_url; 'https://www.redmine.org/guide' end
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
- def environment
<span class="gi">+ def environment(request = nil)
</span> s = "Environment:\n"
<span class="gd">- s &lt;&lt; [
- ["Redmine version", Redmine::VERSION],
- ["Ruby version", "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"],
- ["Rails version", Rails::VERSION::STRING],
- ["Environment", Rails.env],
- ["Database adapter", ActiveRecord::Base.connection.adapter_name],
- ["Mailer queue", ActionMailer::DeliveryJob.queue_adapter.class.name],
- ["Mailer delivery", ActionMailer::Base.delivery_method]
- ].map {|info| " %-30s %s" % info}.join("\n") + "\n"
</span><span class="gi">+ environment_data = [["Redmine version", Redmine::VERSION],
+ ["Ruby version", "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"],
+ ["Rails version", Rails::VERSION::STRING],
+ ["Environment", Rails.env],
+ ["Database adapter", ActiveRecord::Base.connection.adapter_name],
+ ["Mailer queue", ActionMailer::DeliveryJob.queue_adapter.class.name],
+ ["Mailer delivery", ActionMailer::Base.delivery_method]]
+ environment_data &lt;&lt; ["App server", request.get_header("SERVER_SOFTWARE")] if request.present?
+ s &lt;&lt; environment_data.map {|info| " %-30s %s" % info}.join("\n") + "\n"
</span>
s &lt;&lt; "SCM:\n"
Redmine::Scm::Base.all.each do |scm|
</code></pre> Redmine - Patch #29892 (New): API Query. Retrieve specified columnshttps://www.redmine.org/issues/298922018-11-01T14:35:10ZVlad Dalv
<p>How API-Query results can show fields specified in query, like do not display project, or display last_comment field?</p> Redmine - Patch #29738 (New): Add last_updated_by feature in issues index apihttps://www.redmine.org/issues/297382018-10-06T12:49:34ZKeita Kariya
<p>Related with [<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Last updated by colum in issue list (Closed)" href="https://www.redmine.org/issues/6375">#6375</a> Last updated by column in issue list]. This feature is very useful. <br />This patch just adds this feature to issue's index api.</p>
<p>/issues.xml returns like following.<br /><last_updated_by id="1" name="foo bar"/></p>
<p>Tested with version 3.4.3. <br />Version 3.4.3 and trunk revision 17570, the target files were the same.</p> Redmine - Patch #29594 (New): Add view hook to insert content between issue details associated ch...https://www.redmine.org/issues/295942018-09-12T08:09:32ZTim Fischbach
<p>I created a plugin that renders links to associated Github/GitLab merge requests. To insert the box above the associated changesets section, a new view hook is needed.</p>
<p>Patch is attached.</p> Redmine - Patch #29185 (New): Add my_page to the application menuhttps://www.redmine.org/issues/291852018-07-04T08:30:09ZMizuki ISHIKAWA
This patch makes the following two changes
<ul>
<li>Add my page to application menu</li>
<li>Change to display application menu on my page screen</li>
</ul>
<p>This patch makes it easier to move from My Page to issues and activities.<br /><img src="https://www.redmine.org/attachments/download/21023/my_page.png" alt="" /></p> Redmine - Patch #29184 (New): Add home to the application menuhttps://www.redmine.org/issues/291842018-07-04T08:16:46ZMizuki ISHIKAWA
<p>This patch makes the following two changes<br />・Add home to application menu<br />・Change to display application menu on home screen</p>
<p>By applying this change you can check issues and activities as soon as you login.</p>
<p><img src="https://www.redmine.org/attachments/download/21022/home.png" alt="" /></p> Redmine - Patch #28861 (New): Add a date item to the context menuhttps://www.redmine.org/issues/288612018-05-23T08:23:51ZMizuki ISHIKAWA
<p>The context menu is very convenient because you can change the information without making a screen transition.<br />I would like to change the date information by context menu.</p>
<p>By applying this patch you can open a modal to change the date.</p>
<table>
<tr>
<td><img src="https://www.redmine.org/attachments/download/20748/screenshot1.png" alt="" /></td>
<td><img src="https://www.redmine.org/attachments/download/20747/screenshot2.png" alt="" /></td>
</tr>
</table> Redmine - Patch #28771 (New): Allow adding multiple entities when performing multiple searches in...https://www.redmine.org/issues/287712018-05-14T22:26:25ZMarius BĂLTEANU
<p>This ticket is related to <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Adding Watchers UX Is Not Clean (New)" href="https://www.redmine.org/issues/17071">#17071</a> and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Edit Watchers List Loses Checked Watchers When Performing Multiple Searches (Closed)" href="https://www.redmine.org/issues/17579">#17579</a>.</p>
<p>In <a href="https://zitec.com" class="external">Zitec</a>, we are trying to find a clean UI/UX solution to allow users to add multiple entities when performing multiple searches in modals like Add Watchers, Add members, Add projects. The current issues are very well explained in the related tickets.</p>
<p>We came up with 3 proposals:</p>
<p>1. <strong>add_to_bottom.jpg</strong> which display the selected entities (users for example) under the search results section:<br /> <img src="https://www.redmine.org/attachments/download/20662/add_to_bottom.jpg" style="width: 50%;border: 1px solid #ccc;" alt="" /></p>
<p>2. <strong>add_to_right_with_checkbox.jpg</strong> which display the selected entities to the right of the search results</p>
<p><img src="https://www.redmine.org/attachments/download/20663/add_to_right_with_checkbox.jpg" style="width: 50%;border: 1px solid #ccc;" alt="" /></p>
<p>3. <strong>add_to_right_with_x.jpg</strong> same as 2, but an "X" icon is used to remove the selected entities.</p>
<p><img src="https://www.redmine.org/attachments/download/20664/add_to_right_with_x.jpg" style="width: 50%;border: 1px solid #ccc;" alt="" /></p>
<p>Personally, I like the 3rd solution. Any feedback is welcome.</p> Redmine - Patch #28025 (New): Access project jump box with hotkeyhttps://www.redmine.org/issues/280252018-01-19T15:43:36ZBernhard Rohloff
<p>Accesskeys are a very convenient though quite unknown feature of Redmine.<br />This patch adds an additional accesskey ('j' for "jump") to the project jump box in the header section.<br />With this hotkey you are able to switch between projects very fast and without the need of touching the mouse.</p> Redmine - Patch #26439 (New): Plugin load order defined by plugin checkshttps://www.redmine.org/issues/264392017-07-14T13:36:40ZTiago Gonçalvestgoncalves@microio.pt
<p>This patch allows for a plugin to delay loading until a set of requirements is met. This could be because I need for other plugin to be loaded first.</p>
<p>The ideia is to to have each plugin check at the top of init.rb for it's requirements and if they are not met to raise Redmine::Plugin::PluginDeferLoadError. This will signal the plugin load logic to try loading this plugin later.</p>
<p>The algorithm prevents infinite looping (by direct or indirect circular dependencies) by loading plugins by iterations. In each iteration amount of plugins to load must be lower.</p>
<p>The most common check made by plugins can be simplified by using at the top of the init.rb this line:</p>
<pre><code class="ruby syntaxhl"><span class="no">Redmine</span><span class="o">::</span><span class="no">Plugin</span><span class="p">.</span><span class="nf">requires_plugin</span><span class="p">(</span><span class="s1">'redmine_plugin_name'</span><span class="p">)</span>
</code></pre>
<p>Regards</p> Redmine - Patch #25154 (New): Allow non-administrator users to copy certain projectshttps://www.redmine.org/issues/251542017-02-22T13:33:24ZNick Vanpraet
<p>Currently only administrators can copy projects, which is not ideal because Project Managers should be able to create, edit and copy projects but not have full access to everything else. The copying is important, because certain projects are used as templates and are only ever copied to speed everything up.</p>
<p>Attached is a patch which removes the :copy from the require_admin before_filter and instead adds its own method to determine copy access. This method essentially checks if the user can edit the project, and if so grants access to copy. The patch also adds a button to copy a project to the contextual links area when viewing a project if the current user can edit the project.</p>
<p>Button:<br /><img src="https://www.redmine.org/attachments/download/17790/new-copy-button.png" alt="" /></p>
<p>I realize this patch is incomplete (I don't use translatable labels for the button and I should ideally create a new permission instead of using "edit") but this is as far as my current knowledge can take me. In the mean time I hope this patch is a good jumping off point for either other developers or core developers to use for further improvements.</p> Redmine - Patch #24837 (Needs feedback): Bulk update issues with authorhttps://www.redmine.org/issues/248372017-01-16T07:55:14ZMarcin Świątkiewicz
<p>It would be nice, to add option to bulk update many different issues with option 'assigned to author'.<br />Below is my diff with this feature.</p> Redmine - Patch #24435 (New): Add `view_account_contextual` and `view_account_list_buttons` hookshttps://www.redmine.org/issues/244352016-11-23T11:40:03ZArthur Andersen
<p>This patch adds two view hooks:</p>
<ul>
<li>`view_account_contextual`</li>
<li>`view_account_list_buttons`</li>
</ul>
<p>to be able to let plugins add user specific links to the user profile and the userlist in the admin interface.</p> Redmine - Patch #24072 (New): Added formatting for email notificationshttps://www.redmine.org/issues/240722016-10-14T19:10:49ZBryan Settles
<p>This is meant to allow email notifications to show due date, and separate the issues that are past due from the ones that are due in the next (custom amount) of days</p> Redmine - Patch #24051 (Resolved): As a non-admin user using API, I want to be able to filter use...https://www.redmine.org/issues/240512016-10-11T18:36:15ZAnonymous
<p>We created an Odoo -> Redmine connector for uploading time spent from Redmine to HR tools in Odoo (<a class="external" href="https://github.com/savoirfairelinux/connector-redmine/tree/ddufresne_port_to_8_0">https://github.com/savoirfairelinux/connector-redmine/tree/ddufresne_port_to_8_0</a>).</p>
<p>When we call that function from a superuser API key, all works well, but when it is normal user API key, it does return a forbidden exception :</p>
<pre>
redmine_api.user.filter(name="SOMEUSERNAME")
</pre>
<p>I think that to reinforce security by not giving superuser Redmine API key to Odoo would be interesting.</p>
<p>That would be possible by allowing standard Redmine users to use API to filter users by their username instead of throwing an exception.</p> Redmine - Patch #23498 (New): Add plugin view hook for wiki context menuhttps://www.redmine.org/issues/234982016-08-02T16:50:53ZTom Smyth
<p>I believe subject is self explanatory.</p> Redmine - Patch #21101 (New): Add go-to action schemahttps://www.redmine.org/issues/211012015-10-29T15:33:02ZAn Phan
<p>This is to add a <a href="https://developers.google.com/gmail/markup/reference/go-to-action" class="external">go-to action schema</a> that should enable a "View issue" button in Gmail (similar to that in Github emails).</p> Redmine - Patch #20888 (New): Add a button in the textile formatting toolbar to convert tabulated...https://www.redmine.org/issues/208882015-10-01T10:09:29ZOlivier Houdas
<p>When pasting from Google sheets or Microsoft Excel or Open Office ODS into the Description or Notes area of issues, the values are automatically converted to text, and cell limits to tabulations, in Firefox, Internet Explorer, or Chrome.</p>
<p>Based on this observation, a Table button in the Textile toolbar which would replace tabulations with pipes and add pipes at lines start and ends would be very useful.</p>
<p>Attached is a patch for Redmine 3.1.1 which adds this feature.</p>
<p>The patch includes the tooltip text only for English and French, other languages require to be updated.</p>
<p><img src="https://www.redmine.org/attachments/download/14330/TextileTableButton-1.png" alt="" /></p>
<p><img src="https://www.redmine.org/attachments/download/14331/TextileTableButton-2.png" alt="" /></p> Redmine - Patch #20287 (New): Administration: Using grids instead of tableshttps://www.redmine.org/issues/202872015-07-10T20:09:37ZFrederico Camara
<p>We are a brazillian government agency and we've been using Redmine to control ExpressoBr (groupware) tickets.</p>
<p>Some time ago, it became difficult to manage the workflow status transitions. In a complex workflow, the table becomes so large it would scroll horizontally and vertically away from the first line and column. Zooming out and filters helped somehow, mainly if the status transition would be nearer the top left. The most recently created statuses would be too far right and down for zoom to help.</p>
<p>This patch transforms the administration tables into grids, so the first row and first column are always visible, like in a worksheet. Also, I got rid of the button that selected the whole line or column, because it became completely useless in a large grid, but I think it is easy to put it back.</p>
Redmine has 5 pages with tables in administration:
<ul>
<li>Roles and Permissions > Permission Report</li>
<li>Trackers > Summary</li>
<li>Workflow > Summary</li>
<li>Workflow > Status transitions</li>
<li>Workflow > Field permissions</li>
</ul>
<p>The grid itself is something like a table, it has four parts: A floating first cell, a first line stuck to the top of the grid, a first row stuck to the left, a body that on scroll, repositions the first row and first line using javascript. The other javascript resizes the width of columns in the grid.</p> Redmine - Patch #20063 (New): Add "issue#<number>" syntax for issue linkshttps://www.redmine.org/issues/200632015-06-10T09:50:46ZOlivier Houdas
<p>For most Redmine items (news, documents, wiki articles...), the link displays the title as the link's text, and follows the syntax: news#<number>, document#<number>, etc.</p>
<p>For issues, the only syntax is simply #<number>, and shows the issue number as the link's text.</p>
<p>This patch adds the syntax issue#<number>, and will display the bug title followed by the bug status as the link text.<br />The patch does not remove anything, it only adds a new syntax.</p> Redmine - Patch #19108 (New): Ability to limit search to last week/month/yearhttps://www.redmine.org/issues/191082015-02-14T10:53:16ZPierre Pretorius
<p><strong>Problem</strong></p>
<p>Redmine search doesn't support or use full text searching features of mysql, postgres, lucene or elasticsearch, etc. which means it unfortunately doesn't scale well. The <code>like %keyword%</code> query basically does a table scan which can easily take 10+ seconds on a medium database with decent hardware (Amazon EC c3.large - high CPU instance).</p>
<p>We tried the <a href="https://github.com/Undev/redmine_elasticsearch" class="external">elastic search plugin</a> (it's still in early beta) for Redmine but it gave unreliable results and turned out to degrade our user confidence in the search.</p>
<p><strong>Solution</strong></p>
<p>After looking at what other ticketing/issue/case management solutions do, I see many of them include a "past week/month/year" in their search and it usually has a default value of past year or month.</p>
<p>This patch adds a dropdown to select last week/month/year/all time on the search screen and defaults to last year as shown in attached screen shot. I was able to use existing translations except for the newly added "label_last_year". I followed the conventions of the rest of your code base as far as possible. The patch was generated on your 2.6 stable branch.</p> Redmine - Patch #18778 (New): Add new alias for issue note links ('comment')https://www.redmine.org/issues/187782015-01-08T05:41:20ZKatsuya HIDAKA
<p>This patch adds an new redmine link <code>"#123#comment-1"</code> as an alias for issue note link <code>"#123#note-1"</code>. I think easy to understand better "comment" than "note" in some cases.</p> Redmine - Patch #18209 (New): Add e-mail notification option: Tracker updatedhttps://www.redmine.org/issues/182092014-10-27T14:24:16ZMartin Cizek
<p>The "global" email notifications settings (Administration -> Settings -> Email notifications) currently allow to specify the following issue updates to be watched by users who have chosen to watch "any events on...":<br /><pre>
[ ] Issue updated
[x] Note added
[x] Status updated
[x] Assignee updated
[x] Priority updated
</pre><br />We suggest to add "Tracker updated", as we consider it a substantial event for certain people (e.g. a customer willing to know whenever a Bug is changed to a Feature, but don't want to be spammed by issue reassignments). The new 'Issue updated' action notifications would be:<br /><pre>
[ ] Issue updated
[x] Note added
[x] Status updated
[x] Assignee updated
[x] Priority updated
[x] Tracker updated
</pre></p>
<p>This update would be especially beneficial for <a href="http://www.redmine.org/plugins/event_notifications" class="external">Event notifications</a> plugin users, who are able to set these standard notification options also per-user and per-project.</p>
<p>The patch against current trunk (<a class="changeset" title="Latvian translation updated by Jānis Elmeris (#18182)" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/13520">r13520</a>) is attached; if there is anything we should improve, please let us know.</p>
<p>P.S. I've noticed this feature is similar to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Option to send email on "Assignee updated" (Closed)" href="https://www.redmine.org/issues/16362">#16362</a>, where assignee change was added.</p>
<p>(thanks to Sandra Tatarevicova, sponsored by Orchitech Solutions)</p> Redmine - Patch #18059 (Resolved): Activity when issue change assigned to.https://www.redmine.org/issues/180592014-10-10T11:59:15ZMarcin Świątkiewicz
<p>Hi. There is patch to change activity for project. It's will shows you when issue status was changed, assigned_to was changed, and when status and assigned_to was changed together.</p>
<p>I wrote test for this and everything works fine.</p>
<p>See files.</p> Redmine - Patch #17900 (New): Allow change value of the time_entry object via controller_issues_e...https://www.redmine.org/issues/179002014-09-17T14:34:49ZTieu-Philippe Khim
<p>At the moment we could not made some modification on time_entry from <code>controller_issues_edit_before_save</code> hook.<br />Because the object created is push in <code>time_entries</code> attribute, so a plugin using the <code>controller_issues_edit_before_save</code> hook could not access to the latest entry and change the value if needed.</p>
<p>The attached patch make that possible.</p> Redmine - Patch #16069 (New): Allow configuration of API limit instead of hardcoding at 100https://www.redmine.org/issues/160692014-02-10T22:27:54ZDomingo Galdos
<p>The below tested patch makes the previously harcoded limit of 100 items in a RESTful API response configurable in the Administration GUI. The default value is still 100. This is based on 2.4.1.stable.</p>
<p>This is quite useful since it is nice and simple to just get the full response in a single page rather than having to traverse pagination, and a limit of a bit more than 100 is still very performant for many sites -- the limit beyond which performance starts to degrade really depends on the particular site's usage, so should be controllable by the local administrator.</p>
<pre><code class="diff syntaxhl"><span class="gh">Index: app/controllers/application_controller.rb
===================================================================
</span><span class="gd">--- app/controllers/application_controller.rb (.../trunk/app) (revision 13385)
</span><span class="gi">+++ app/controllers/application_controller.rb (.../branches/code-8112/app) (revision 13389)
</span><span class="p">@@ -519,8 +519,8 @@</span>
limit = options[:limit].to_i
if limit < 1
limit = 25
<span class="gd">- elsif limit > 100
- limit = 100
</span><span class="gi">+ elsif limit > Setting.api_limit.to_i
+ limit = Setting.api_limit.to_i
</span> end
if offset.nil? && options[:page].present?
offset = (options[:page].to_i - 1) * limit
<span class="gh">Index: app/views/settings/_general.html.erb
===================================================================
</span><span class="gd">--- app/views/settings/_general.html.erb (.../trunk/app) (revision 13385)
</span><span class="gi">+++ app/views/settings/_general.html.erb (.../branches/code-8112/app) (revision 13389)
</span><span class="p">@@ -24,6 +24,8 @@</span>
<p><%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %></p>
+<p><%= setting_text_field :api_limit, :size => 6 %></p>
<span class="gi">+
</span> <p><%= setting_text_field :feeds_limit, :size => 6 %></p>
<p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
<span class="gh">Index: config/settings.yml
===================================================================
</span><span class="gd">--- config/settings.yml (revision 13387)
</span><span class="gi">+++ config/settings.yml (revision 13389)
</span><span class="p">@@ -73,6 +73,9 @@</span>
default: localhost:3000
protocol:
default: http
<span class="gi">+api_limit:
+ format: int
+ default: 100
</span> feeds_limit:
format: int
default: 15
<span class="gh">Index: config/locales/en.yml
===================================================================
</span><span class="gd">--- config/locales/en.yml (revision 13387)
</span><span class="gi">+++ config/locales/en.yml (revision 13389)
</span><span class="p">@@ -352,6 +352,7 @@</span>
setting_host_name: Host name and path
setting_text_formatting: Text formatting
setting_wiki_compression: Wiki history compression
<span class="gi">+ setting_api_limit: Maximum number of items returned in a JSON/XML API response
</span> setting_feeds_limit: Maximum number of items in Atom feeds
setting_default_projects_public: New projects are public by default
setting_autofetch_changesets: Fetch commits automatically
</code></pre> Redmine - Patch #16045 (New): Add "Previous Assignee" entry when changing issue assigneehttps://www.redmine.org/issues/160452014-02-06T17:45:05ZGurvan Le Dromaguet
<p>Intention : assign ticket back to previous assignee easily, without scrolling down the list until I found it.</p>
<p>attached proposed implementation as svn patch. It needs to run "db:migrate"</p>
<p>Missing in the implementation:<br />- previous assignee in contextual menu<br />- maybe reusing changes done in <a class="changeset" title="Fixed that previous assignee is not notified on issue update (#15714)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/12419">r12419</a></p>
<p>Works good and very popular in my firm.</p> Redmine - Patch #15234 (New): A popup message after session timeouthttps://www.redmine.org/issues/152342013-10-31T16:30:12ZKarel Pičman
<p>When the session timeout is set and a user leaves an unsaved form for a while so their session expires and clicks on the <em>Save</em> button, they is redirected to the login page and all unsaved data from the form just being edited are lost.</p>
<p>The same frustrating situation can happend when you write a long wiki page.</p>
<p>The flash message on the login page does't help to recover lost data.</p>
<p>I thing that the user should be warn before data are lost.</p>
<p>Please take into account the attached simple patch that add a Javascript popup message with the warning text about session expiration.</p> Redmine - Patch #14735 (New): Allow negative time entrieshttps://www.redmine.org/issues/147352013-08-21T12:23:13ZJérôme BATAILLERedmine - Patch #13665 (New): atom available on wiki page footerhttps://www.redmine.org/issues/136652013-04-02T15:29:21ZMarcin Krol
<p>Normally atom syndication is not available at Wiki page footer (only PDF|TXT|HTML pages to save), this patch adds this functionality to recent stable version:</p>
<p>Environment:<br /> Redmine version 2.3.0.stable<br /> Ruby version 1.9.3 (i686-linux)<br /> Rails version 3.2.13<br /> Environment production<br /> Database adapter PostgreSQL<br />Redmine plugins:<br /> redmine_wiki_extensions 0.6.2</p> Redmine - Patch #13359 (New): Better List-Id to help aid Gmail filteringhttps://www.redmine.org/issues/133592013-03-05T15:12:49ZJimmy Engelbrecht
<p>This gives the possibility to filer mail-updates from different project into different folders.</p>
<pre>
--- ./redmine-2.1.6/app/models/mailer.rb 2013-01-09 17:34:07.000000000 +0100
+++ /opt/redmine-2.1.6/app/models/mailer.rb 2013-03-05 15:33:38.438398984 +0100
@@ -386,7 +386,7 @@
'X-Auto-Response-Suppress' => 'OOF',
'Auto-Submitted' => 'auto-generated',
'From' => Setting.mail_from,
- 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>"
+ 'List-Id' => "<#{@issue.project.identifier}.#{Setting.host_name}>"
# Removes the author from the recipients and cc
# if he doesn't want to receive notifications about what he does
</pre>
<p>The resulting List-Id could look like this:</p>
<pre>
List-Id: <cantemo-ab.vvv.cantemo.com>
</pre> Redmine - Patch #13068 (New): Allow plugins to generate test coverage reports on MRI 1.9https://www.redmine.org/issues/130682013-02-03T16:12:15ZHarry Garrood
<p>The attached patch adds a rake task redmine:plugins:coverage, which uses SimpleCov to generate plugin test coverage reports.</p> Redmine - Patch #12983 (New): "Only for things I watch or I'm involved in" sends notifications on...https://www.redmine.org/issues/129832013-01-25T14:05:20ZFelix Schäfer
<p>The e-mail notifications setting "Only for things I watch or I'm involved in" currently only sends notifications for issue updates. This has confused some of our (Plan.io) users because they didn't receive notifications for other things than issues they'd watch.</p>
<p>Patch is upcoming.</p> Redmine - Patch #12813 (New): Allow replies to original issue e-mail to add issue noteshttps://www.redmine.org/issues/128132013-01-11T15:04:13Zmark burdett
<p>When an issue is submitted to Redmine via e-mail, and a carbon-copied recipient replies to the original e-mail, the subject will not include the issue number. This reply (and future replies) result in the creation of additional new issues.</p>
<p>This patch allows the mail handler to lookup the issue by subject, and add the reply as a note on the original issue. If no matching issue is found, it falls back to adding a new issue.</p> Redmine - Patch #12746 (New): Add include=journals support to issues REST apihttps://www.redmine.org/issues/127462013-01-05T11:05:46ZDerek Slone-Zhen
<p>To see what has changed on an issue it seems necessary to obtain the history of journal objects that are associated with the issue. I was trying to do this through the REST API and discovered that I could get the journals for a SINGLE issue by adding "include=journals" as a query argument, but that it appeared to be ignored when used on the issues index. I coded my way around this client side by requesting each issue individually to get around this, but it seemed inefficient. So, attached is a patch that will add this functionality into <code>app/views/issues/index.api.rsb</code>.</p>
<p>This was made against svn+ssh://rubyforge.org/var/svn/redmine/trunk@11110</p>
<p>This is my first Open Source contribution and my first venture into Ruby and Rails - I'm open to polite coaching if required!</p> Redmine - Patch #12338 (New): Allow MailHandler to submit to a specific issuehttps://www.redmine.org/issues/123382012-11-09T18:15:30ZChris Wilson
<p>We modified our mail server and Redmine so that we could send email to <a class="email" href="mailto:redmine-issue-NNNN@example.com">redmine-issue-NNNN@example.com</a> and it would be appended to that ticket number.</p>
<p>I'd like to see this feature rolled into Redmine so that it doesn't get broken by future upgrades. I think it's minor and easy and has no security implications.</p>
<p>On our mail server, we modified <code>rdm_mailhandler.rb</code> to add a <code>--number</code> option, that would be added to the <code>issue_attributes</code>:</p>
<pre>
chris@one-mail(exim)$ sudo diff -u /etc/exim/redmine/rdm-mailhandler.rb{.orig,}
--- /etc/exim/redmine/rdm-mailhandler.rb.orig 2012-11-09 18:09:58.000000000 +0000
+++ /etc/exim/redmine/rdm-mailhandler.rb 2012-11-09 17:33:51.000000000 +0000
@@ -87,6 +87,7 @@
[ '--project', '-p', GetoptLong::REQUIRED_ARGUMENT ],
[ '--status', '-s', GetoptLong::REQUIRED_ARGUMENT ],
[ '--tracker', '-t', GetoptLong::REQUIRED_ARGUMENT ],
+ [ '--number', '-n', GetoptLong::REQUIRED_ARGUMENT ],
[ '--category', GetoptLong::REQUIRED_ARGUMENT ],
[ '--priority', GetoptLong::REQUIRED_ARGUMENT ],
[ '--allow-override', '-o', GetoptLong::REQUIRED_ARGUMENT ],
@@ -106,7 +107,7 @@
self.verbose = true
when '--version'
puts VERSION; exit
- when '--project', '--status', '--tracker', '--category', '--priority'
+ when '--project', '--status', '--tracker', '--category', '--priority', '--number'
self.issue_attributes[opt.gsub(%r{^\-\-}, '')] = arg.dup
when '--allow-override'
self.allow_override = arg.dup
</pre>
<p>And on the Redmine server, we added some code to allow this flag to set the issue number to append to, in preference to the headers of the message itself:</p>
<pre>
chris@lap-x201:~/Dropbox/patches$ cat redmine_mail_handler.patch
--- app/models/mail_handler.rb.orig 2012-11-09 18:11:43.000000000 +0000
+++ app/models/mail_handler.rb 2012-11-09 17:56:48.000000000 +0000
@@ -86,7 +86,9 @@
def dispatch
headers = [email.in_reply_to, email.references].flatten.compact
- if headers.detect {|h| h.to_s =~ MESSAGE_ID_RE}
+ if @@handler_options[:issue].has_key?(:number)
+ receive_issue_reply(@@handler_options[:issue][:number])
+ elsif headers.detect {|h| h.to_s =~ MESSAGE_ID_RE}
klass, object_id = $1, $2.to_i
method_name = "receive_#{klass}_reply"
if self.class.private_instance_methods.collect(&:to_s).include?(method_name)
</pre>
<p>Patches attached. I hope you will accept them.</p> Redmine - Patch #11500 (New): Add --unknown-user=register to create inactive usershttps://www.redmine.org/issues/115002012-07-24T12:54:54ZAlex Shulgin
<p>This patch adds a new value for the <code>--unknown-user</code> option of the mail handler script.</p>
<p>When given, it will behave similar to <code>--unknown-user=create</code>, but the user account will not be automatically activated. Depending on the site configuration, either token activation or manual activation by administrator will be required. The purpose is to help keep spam level low on public projects.</p>
<p>The change is a bit involved as it required moving the registration logic from accounts controller to the User model.</p> Redmine - Patch #10869 (New): Add Full PDF output to issue summary listhttps://www.redmine.org/issues/108692012-05-10T02:45:32ZCarl Nygard
<p>The PDF output is very useful for providing information to outside stakeholders without requiring access to Redmine itself. This is very useful for progress reports and meetings. However, there is no way to output a set of issues with full details. Currently you only get the summary list, which just shows the Subject etc., or an individual PDF for an individual issue's full comment history.</p>
<p>This patch provides an additional 'Full PDF' option to the main issues summary page, which will output the issue summaries, followed by the detail for each of the issues selected.</p>
<p>This will obey current filters and only show what has been selected.</p>
<p>In order to implement this, some of the PDF export code was reorganized a bit to allow better re-use of the individual issue output functionality. Also, a new function was added to dispatch to the actual pdf generation function, depending on whether a normal summary or a full output was selected.</p> Redmine - Patch #10767 (New): Adding completed ratio support to log messageshttps://www.redmine.org/issues/107672012-04-25T09:44:09ZAngelo Compagnucci
<p>Hi,</p>
<p>This patch enables adding completed ratio to issues via commit messages, the syntax is like</p>
<p>ref #12345 @1h20m 50%</p>
<p>Patch modifies only app/models/changeset.rb</p> Redmine - Patch #10509 (New): Add view_groups_form hookhttps://www.redmine.org/issues/105092012-03-21T13:53:30ZMax Haventon
<p>Useful hook for plugins that extend groups.</p> Redmine - Patch #10456 (New): Add view_roles_form_upper_box hookhttps://www.redmine.org/issues/104562012-03-15T17:03:43ZMax Haventon
<p>Useful hook for plugins that extend roles.</p> Redmine - Patch #9731 (New): Automate Mercurial Repository Creationhttps://www.redmine.org/issues/97312011-12-06T12:30:26ZAndré Felipe Dias
<p>Based on <a class="external" href="http://www.redmine.org/projects/redmine/wiki/HowToInstallRedmineOnUbuntuServer#Automate-Repository-Creation">http://www.redmine.org/projects/redmine/wiki/HowToInstallRedmineOnUbuntuServer#Automate-Repository-Creation</a></p>
<p>I'd like to suggest a small patch to enable Mercurial Repository automatic creation.</p>
<p>The patch was created by Mercurial from the repository cloned from <a class="external" href="https://bitbucket.org/redmine/redmine-all">https://bitbucket.org/redmine/redmine-all</a></p> Redmine - Patch #9317 (New): Admin users should be always authorized when no context is givenhttps://www.redmine.org/issues/93172011-09-25T08:52:02ZAlex Shulgin
<p>In a situation where <code>@project</code> might or might not be set by filters before the call to <code>authorize</code> you would need to check for that and either call <code>authorize</code> or <code>authorize_global</code> (otherwise admin user will get '403 You are not authorized to access this page', which is ridiculous).</p>
<p>With this patch applied, a plain <code>before_filter :authorize</code> may be used instead.</p> Redmine - Patch #8934 (New): Add support for annotate with subversion when username contain spacehttps://www.redmine.org/issues/89342011-07-28T11:46:46ZYaacov Akiba Slama
<p>When username contains space(s), annotate doesn't work for subversion because it uses the "<code>blame</code>" subcommand which returns the file given prefixed by the revision number and the author separated by spaces. So any parsing based on that will break if author can contain spaces.</p>
<p>The attached patch uses the same subcommand but with the additional <code>--xml</code> option in order to obtain a full xml instead of space separated fields.<br />The drawback is that the lines themselves are not returned by svn when <code>--xml</code> is used. Consequently, one needs to call both <code>blame --xml</code> and <code>cat</code> subcommands to have both the metadata and the content.</p>
<p>The included patch can be used on top on 1.2 and 1.2.1 (at least).</p> Redmine - Patch #8757 (New): Add hook for bulk edit post-save statehttps://www.redmine.org/issues/87572011-07-06T21:40:53ZRamesh Nair
<p>There is a hook which gets invoked just after an individual issue gets updated, which allows for plugins to perform any post-save actions. There ought to be a similar hook for when a number of issues have been updated via the bulk-editing process. I've patched the core code to enable such a hook - `controller_issues_bulk_edit_after_save`.</p>
<p>Patch available at <a class="external" href="https://github.com/7citylearning/redmine/commit/f88c6ca01e89246b5bcd62fa26cc651ee33ba212">https://github.com/7citylearning/redmine/commit/f88c6ca01e89246b5bcd62fa26cc651ee33ba212</a></p> Redmine - Patch #8451 (New): API:REST patch for the Net::Redmine::API::REST Perl Modulehttps://www.redmine.org/issues/84512011-05-27T12:46:41ZChristophe Nowicki
<p>Hi,</p>
<p>I worked with Stephane Schoorens on the Net::Redmine::API::REST Perl module :</p>
<p><a class="external" href="https://github.com/sschoorens/Net--Redmine--API--REST">https://github.com/sschoorens/Net--Redmine--API--REST</a></p>
<p>In order to make the Redmine API::REST working, we made a couple of changes on Redmine version 1.1.2 :</p>
<ul>
<li>Make the /issue_statuses.(xml|json) url available ;
<ul>
<li>return an array of issue statuses (new, resolved, ...) ;</li>
</ul>
</li>
<li>Make the /trackers.(xml|json) url available ;
<ul>
<li>return an array of trackers (defect, patch, ...);</li>
</ul>
</li>
<li>Make the /issue_categories.(xml|json) url available ;
<ul>
<li>return an array of issue categories (REST API,News,...);</li>
</ul>
</li>
<li>Make the /enumerations.(xml|json) url available ;
<ul>
<li>return an array of enumerations (DocumentCategory, IssuePriority, ...);</li>
</ul></li>
</ul>
<p>This patch was made on Redmine 1.1.2 and is working on our production server and does apply smoothly on the trunk (revision 5937).</p>
<p>Theses four urls are <strong>mandatory</strong> for the Net::Redmine::API::REST.</p>
<p>Best Regards,</p> Redmine - Patch #8196 (New): Adding a project param to perl auth modulehttps://www.redmine.org/issues/81962011-04-20T08:48:41ZDiego Suárez García
<p>Hello,</p>
<p>In my job we use Redmine and recently we had the need for authenticating the access to a test domain, based on which users have access to the related project. I created a small patch to the Redmine.pm module, that adds a new optional apache directive (RedmineDbProject), so you can link a VirtualHost to a specific project and ask for credentials on user access. That way, only the users included in that project can see that VirtualHost contents.</p>
<p>I felt somebody else might have the same needs. The directive is optional and the behaviour is transparent if it's not included in the conf file, therefore I think it can make it to the core.</p>
<p>The revision is 5506 (last change on Redmine.pm on 5232), and it's the trunk version.</p>
<p>Best Regards,</p>
<p>Diego Suárez García.</p> Redmine - Patch #7664 (New): Allowing plugins to add an option for the default gravatarhttps://www.redmine.org/issues/76642011-02-20T08:06:59ZYuki Sonoda
<p>Now redmine administrator can set the default gravatar for users which has no gravatar. I would like to use my own default gravatar.</p>
<p>The attached patch allows plugins to add an option for the default gravatar. <a class="external" href="https://github.com/yugui/redmine_fox_gravatar">https://github.com/yugui/redmine_fox_gravatar</a> is an example plugin that uses this feature.</p> Redmine - Patch #6722 (New): Add a summary to projectshttps://www.redmine.org/issues/67222010-10-21T19:47:13ZHolger Just
<p>There are two places where projects are displayed in mass: <code>/projects</code> and the project's admin. On both places, part of the description is displayed. This is suboptimal as the view gets really messy if you include some more verbose status information into the description.</p>
<p>Thus I propose adding a short summary to the project which is displayed in these locations. It would make the view much clearer and more usable because of better content.</p>
<p>The attached patch introduces this.</p> Redmine - Patch #6475 (New): Add an option to set the project name from apache when authenticatin...https://www.redmine.org/issues/64752010-09-23T12:08:16ZSergio Talens-Oliag
<p>I have some repositories that are configured with <code>SVNPath</code> instead<br />of <code>SVNParentPath</code> (I'm doing it to be able to use additional<br />authentication methods them, see issue <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Added FLAG to Redmine.pm to AllowAlternateAuth methods on apache (New)" href="https://www.redmine.org/issues/6414">#6414</a>).</p>
<p>With the current <code>Redmine.pm</code> code (1.0.1) the authentication against<br />Redmine fails because the <code>project_id</code> is not guessed as it should<br />(the apache <code>Location</code> points to the repository, not to it's parent<br />path).</p>
<p>To solve the problem I've patched <code>Redmine.pm</code> to allow the use of a<br />new option that adjusts the <code>project_id</code> to use; if the option is set<br />the get_project_identifier function returns that name instead of<br />calculating it from the URI and the apache location).</p>
<p>The attached patch is against an export of the redmine-1.0.1 tag.</p> Redmine - Patch #6450 (New): Allow localized date input and correctly transform for custom date f...https://www.redmine.org/issues/64502010-09-21T01:13:39ZStuart Cianos
<p>Patch allows users to manipulate custom date fields using their local format.</p>
<ul>
<li>Adds a library routine to the I18n extensions. The routine provides for the parsing of a user entered date into a Date object.</li>
<li>The custom value model has been upated to correctly account for the user's date setting (if available). If not, defaults to YYYY-MM-DD.</li>
</ul>
<p>This allows users to enter their dates in their localized format (as defined by setting.date_format), and have it correctly transformed to YYYY-MM-DD. If the localized setting is not available, falls back to YYYY-MM-DD for input.</p>
<p>This partially fixes defect <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Date input fields don't respect date format settings (New)" href="https://www.redmine.org/issues/668">#668</a> as it applies to custom fields. This was a major pain point for our users, so hopefully will solve a lot of problems experienced elsewhere.</p> Redmine - Patch #6414 (New): Added FLAG to Redmine.pm to AllowAlternateAuth methods on apachehttps://www.redmine.org/issues/64142010-09-16T11:23:00ZSergio Talens-Oliag
<p>I want to use <code>Redmine.pm</code> to authenticate users when accessing<br />subversion, but I also want to be able to authenticate non-Redmine<br />users.</p>
<p>To be able to do it I've added an additional flag to the <code>Redmine.pm</code><br />module to allow the use of multiple authentication methods.</p>
<p>The name of the flag (<code>RedmineAllowAlternateAuth</code>) has been taken from<br />the variable used on the <code>Apache2::AuthNetLDAP</code> and <code>Apache2::AuthenNIS</code><br />modules that is used for the same purpose.</p>
<p>The attached patch is against an export of the <code>redmine-1.0.1</code> tag.</p> Redmine - Patch #6177 (New): "bignum too big to convert into `long'" in migrate_from_trac.rakehttps://www.redmine.org/issues/61772010-08-19T14:43:16ZJonas Pfenniger
<p>When importing from a sqlite3 trac database, I have tons of those issues, which the patch fixes.</p>
<p>Maybe this only happens for people using sqlite3 so the patch may need some cleanup but at least it's there.</p>
<p>diff was generated with `diff -u` on the redmine-1.0.0 release (but the file didn't change since 0.9)</p> Redmine - Patch #5838 (New): add call to :view_repositories_show_contextual hook in app/views/rep...https://www.redmine.org/issues/58382010-07-08T10:41:39Zchantra .
<p>This hook is called in quite a few places, but in order to get my <a href="http://redmine.debuntu.org/projects/gitrevision-download/wiki" class="external">Git Revision Download</a> working properly, I needed to override <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/views/repositories/revision.rhtml">source:trunk/app/views/repositories/revision.rhtml</a></p>
<p>see:</p>
<p><a class="external" href="http://redmine.debuntu.org/projects/gitrevision-download/repository/revisions/master/changes/app/views/repositories/revision.rhtml">http://redmine.debuntu.org/projects/gitrevision-download/repository/revisions/master/changes/app/views/repositories/revision.rhtml</a></p>
<p>I would appreciate to have this hook called from <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/views/repositories/revision.rhtml">source:trunk/app/views/repositories/revision.rhtml</a> as this would prevent overriding customized redmine UI.</p>
<p>It is somehow a follow up on <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Hook for repository page (Closed)" href="https://www.redmine.org/issues/2073">#2073</a><br />Tks</p> Redmine - Patch #5535 (New): Assigned to issuelist filter: added <nobody> valuehttps://www.redmine.org/issues/55352010-05-16T19:15:24ZRadek Antoniuk
<p>the filter in the issue list should list <nobody> as well, to make it possible to filter out issues that are assigned to user X OR not assigned at all</p> Redmine - Patch #5530 (New): Additional hooks on top of the issue new/edit/bulk edit viewshttps://www.redmine.org/issues/55302010-05-14T15:12:38ZHolger Just
<p>This patch adds hooks on top of the new, edit and bulk edit view of issues.</p>
<p>It could be used to add some introductory text there (similar to the one on redmine.org)</p> Redmine - Patch #5119 (New): "User group" custom fieldhttps://www.redmine.org/issues/51192010-03-18T16:19:41ZFri Flaj
<p>This patch adds a "user group" custom field that will allow selecting one the the existing user groups tied to the active project.</p> Redmine - Patch #4705 (New): Allow selection of up to five fields in timelog reporthttps://www.redmine.org/issues/47052010-02-01T12:27:10ZFrédéric Moulins
<p>It is useful if you want to match the detailed view (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Custom fields should become addable to Spent Time list/report (Closed)" href="https://www.redmine.org/issues/1766">#1766</a>), or, like me, if you use custom fields in time entries.</p>
<p>For example, you can create a report like "Member, Custom Field, Project, Issue or Activity".</p> Redmine - Patch #4571 (New): Allow labels for Redmine linkshttps://www.redmine.org/issues/45712010-01-13T14:40:45ZAndy Fowler
<p>Allow wiki syntax like:<br /><pre>
"some important ticket":#34
and
"this big commit":r123
</pre></p>
<p>Added via attached patch (against <a class="changeset" title="Set a white list of issue attributes that can be mass-assigned from controllers." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3308">r3308</a>) (and at <a class="external" href="http://github.com/andyfowler/redmine/commit/bcc4dbca53629a61ea9551d62c6c6b7d8d44247f">http://github.com/andyfowler/redmine/commit/bcc4dbca53629a61ea9551d62c6c6b7d8d44247f</a>). I also sent a pull request to Eric Davis. Not sure what the best way was to submit this.</p> Redmine - Patch #4277 (New): Add "hide prefixed projectname from issuesubject on issuelist" settinghttps://www.redmine.org/issues/42772009-11-24T00:54:39ZMischa The Evil
<p>This issue is extracted from <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Better display of subprojects activiry and tickets. (Closed)" href="https://www.redmine.org/issues/3100">#3100</a> and it's relatives. The patch adds a new system-wide, issue-tracking setting (<code>hide_prefixed_projectname_from_issuesubject_on_issuelist</code>) which provides the administrator an option to hide the subproject name (which is prefixed in front of the issue descriptions on mainproject issue lists) completely.<br />Such a setting can be useful if the site is configured to display the <code>project</code>-column be default.</p>
<p>The default setting is equal to as it is currently(the projectnames are shown prefixed to the descriptions).</p> Redmine - Patch #4262 (New): Bazaar: correct renames handling, other improvementshttps://www.redmine.org/issues/42622009-11-21T23:43:56ZIvan Korotkov
<p>This patch fixes some problems with Bazaar adapter, namely:</p>
<ul>
<li>Renames shown correctly (past behaviour was: show as modified);</li>
<li>History doesn't stop on first entry rename (uses internal object ids to retrieve changes);</li>
<li>Last revision the entry was changed in displayed correctly (past behaviour was: sort alphabetically, i.e. if object was changed in 2, 9, 13, then 9 would be shown);</li>
<li>Field tags changed a little to make it clear to user that he can either enter local path to branch repo or <code>http://</code> URL).</li>
<li>Bazaar adapter uses <code>change.revision</code> to store internal object ids which are pretty long, not revision number. So when viewing <code>repository/revisions/:id</code>, these long ids are shown <strong>after</strong> diff link, not before it (more convenient for bazaar, doesn't change anything for other SCMs).</li>
</ul>
<p>Patch created against <a class="changeset" title="Changes misleading scopes on Enumeration." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3083">r3083</a>.</p> Redmine - Patch #4071 (New): Accept more input when replying to a ticket using e-mailhttps://www.redmine.org/issues/40712009-10-21T14:18:43ZOxan -
<p>Currently, you can only set the status field when you reply at a ticket using e-mail. This patch adds the possibility to change the priority, category, tracker, target version, done ratio, project and custom fields, with respecting the allow_override setting.</p>
<p>You can delete the target version field with setting it to 'none'. The target version is named Target and the done ratio is named Done.</p>
<p>Example mail:<br /><pre>Here your comment
Target: 0.9
Done: 50
Tracker: Defect
Priority: Low</pre></p>
<p>Diff is made against 0.8.6, but should work for trunk too.</p> Redmine - Patch #3827 (New): Allow (SVN) repository browsing in Redmine.pmhttps://www.redmine.org/issues/38272009-09-06T00:12:06ZStefan Rubner
<p>Currently, you cannot enable repository browsing (SVNListParentPath ...) when using Redmine.pm to grant/deny access to the various SVN repositories. The reason for that is that there obviously is no project_id for the svn root directory and thus, access is denied.<br />I fixed that by changing the function is_public_project in Redmine.pm like this:</p>
<pre>
sub is_public_project {
my $project_id = shift;
my $r = shift;
my $ret = 0;
if ($project_id) {
my $dbh = connect_database($r);
my $sth = $dbh->prepare(
"SELECT * FROM projects WHERE projects.identifier=? and projects.is_public=true;"
);
$sth->execute($project_id);
$ret = $sth->fetchrow_array ? 1 : 0;
$sth->finish();
$dbh->disconnect();
} else {
$ret = 1;
}
$ret;
}
<pre>
This will allow access if the project_id is empty, and use the normal access checks otherwise. I don't know whether this will have side effects on other types of repositories like git, bzr, etc.
This patch should work for the curent stable version as well as for the current trunk.</pre> Redmine - Patch #3754 (New): add some additional URL paths to robots.txthttps://www.redmine.org/issues/37542009-08-18T17:40:50Zmark burdett
<p>My apache logs show that some redmine URLs are being heavily indexed by robots, and it seems like it would be best to have them blocked by robots.txt:<br />/issues<br />/projects/*/time_entries<br />/projects/N/wiki/* (where N is the numeric project id)<br />/repositories/annotate/*<br />/repositories/browse/*<br />/repositories/changes/*<br />/repositories/diff/*<br />/repositories/entry/*</p> Redmine - Patch #3358 (New): Advanced LDAP authenticationhttps://www.redmine.org/issues/33582009-05-13T19:24:44ZDaniel Marczisovszky
<p>This patch adds the following new features to LDAP authentication:</p>
<ul>
<li>using dereferencing aliases on search</li>
<li>ability to select protocol LDAPv2 or LDAPv3</li>
<li>connect using STARTTLS</li>
<li>selecting server certificate validation level</li>
<li>user-definable custom search filter</li>
<li>bind as current user instead of admin account, see Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: LDAP - authenticate as user (Closed)" href="https://www.redmine.org/issues/1913">#1913</a></li>
<li>searching is sub-tree by default, in future GUI option may be added to configure this</li>
</ul>
<p>If custom search filter is used, <code>$login</code> is replaced with the username. For example, to search for users with objectClass posixAccount, use this filter string: @(&(uid=$login)(objectClass=posixAccount))</p>
<p>Note that this patch uses Ruby/LDAP instead of Net::LDAP, so this should be installed, for example on Debian, use <code>apt-get install libldap-ruby1.8</code></p>
<p>After applying this patch, run <code>rake db:migrate RAILS_ENV="production"</code>, as auth_sources table is modified in the database. (filter, dereference, starttls, require_cert and protocol_version columns are added)</p> Redmine - Patch #3117 (New): Add the possibility to select the comment field to /timelog/reporthttps://www.redmine.org/issues/31172009-04-03T13:53:28ZNicolas Maeder
<p>Sometimes, I need to see the comments in the report, so I added <strong>comment</strong> to the list of additional details</p>
<p>URL for details report: <code>/timelog/report</code></p> Redmine - Patch #2696 (New): Add subcategory to categoryhttps://www.redmine.org/issues/26962009-02-07T22:40:44ZRob Elsner
<p>This patch contains 2 migrations to add a column to issues and a table called issue_subcategories. This will allow users to have Categories, and a subcategory grouping below that.</p>
<p>I have tried to add the necessary parts for English, and use similar names for category.</p>
<p>This was diff'd against svn trunk revision 2399.</p> Redmine - Patch #2106 (New): Ability to choose period in 'Spent time' and count of watched issues...https://www.redmine.org/issues/21062008-10-29T16:47:50ZAleksei Gusev
<p>This patch add ability to choose period in 'Spent time' and count of watched issues on 'My page'.</p>
<p>Please, include it if you think this feature is useful for your. Thanks!</p> Redmine - Patch #1783 (New): automatic repository creationhttps://www.redmine.org/issues/17832008-08-13T14:42:52Zpietro abate
<p>Hello everybody. This is my first patch. Be nice. I'm a ruby, rails and redmine newbie.</p>
<p>The patch attached (generated from git following [1]) adds the ability for the <br />project manager to decide weather to specify an external repository, or to<br />have one automatically created for him/her on the hosting site.</p>
<p>I've added a new script repomangen that works exactly as repoman, but ideally<br />for all kind of scm.</p>
<p>In the process I think I've also found a bug in app/controllers/sys_controller.rb<br />but since I'm not really sure that it's really a bug I'm bundling everything together.</p>
<p>I think this patch still needs some love, but I'd love to see it upstream, or at least<br />for testing, in John Goerzen git repo.</p>
<p>Comments are welcome.</p>
<p>[1]http://www.redmine.org/wiki/1/RedmineGitTracking</p> Redmine - Patch #1764 (New): Add session_config option-stubs to environment-confighttps://www.redmine.org/issues/17642008-08-11T01:56:41ZMischa The Evil
<p>This is a multi-branch (trunk and stable-0.7.3) patch which simply adds two session-related configuration-directive stubs to <em>./config/environment.rb</em>.</p>
The given stubs are for:
<ul>
<li><code>session_key</code></li>
<li><code>session_path</code></li>
</ul>
<p>I created (and provide) this patch due to the fact that one of both directives is required to run multiple Redmine (or other apps which use the same session-names as Redmine) deployments on the <strong>same domain</strong> (though <strong>seperate installs</strong> under several <strong>different sub-URI's</strong>) without suffering from <em>session-mangling</em>.<br />Both directives aren't documented (sufficiently) imho at the Redmine website or the Redmine Code-base. That is the reason why I'd propose to add something like provided with this patch. If it is not taken into the project I would propose to add an entry to the Redmine FAQ about these issues. I am volunteering already... :-)</p>
I already found some related issues and threads:
<ul>
<li><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Append suffix to cookie name (Closed)" href="https://www.redmine.org/issues/540">#540</a></li>
<li><a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: login problem with 2 redmine installation on the same server (Closed)" href="https://www.redmine.org/issues/1041">#1041</a></li>
<li><a class="external" href="http://www.redmine.org/boards/2/topics/show/150#message-163">http://www.redmine.org/boards/2/topics/show/150#message-163</a></li>
</ul>
<p>Both issues contain comments which faulty "documents" the session_key directive. This faultyness is due to the fact that rake will crash if the session_key directive is used in <em>./config/enviroment.rb</em> as commented in both issues probably caused by the rake-scripts which aren't accepting Rails 2.1 syntaxis.<br />The mentioned forum-thread gives to correct syntaxis though it is mixed with another config-directive in some another case.</p>
<p><strong>Beware</strong>: This patch only adds config-stubs which solves the session-mangling behaviour in the given environment. It does not fix any related problems with the so-called autologin-cookie. I created a sepereate specific issue for that (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Autologin-cookie should be configurable (Closed)" href="https://www.redmine.org/issues/1763">#1763</a>).<br />See also <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Append suffix to cookie name (Closed)" href="https://www.redmine.org/issues/540">#540</a> and partly <a class="issue tracker-2 status-1 priority-3 priority-lowest" title="Feature: option to set secure flag on session and autologin cookie (New)" href="https://www.redmine.org/issues/982">#982</a> regarding the problems with the autologin-cookie.</p> Redmine - Patch #1616 (New): Allow email to create and reply to forum messageshttps://www.redmine.org/issues/16162008-07-10T00:37:03ZJoshua Hoover
<a name="Summary"></a>
<h2 >Summary<a href="#Summary" class="wiki-anchor">¶</a></h2>
<p>This is a patch for <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Add mailing lists (New)" href="https://www.redmine.org/issues/277">#277</a> that provides the ability to send messages to forums via email. This gives Redmine a mailing list like capability by utilizing the work done in <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Allow email to create issue or add comment (Closed)" href="https://www.redmine.org/issues/1110">#1110</a> (Allow email to create issue or add comment), which has been available since <a class="changeset" title="IMAP: fetch unseen messages only." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1572">r1572</a>. By enabling this functionality users can create new and reply to existing forum messages that will be sent out via email to all those who are <em>watching</em> that forum.</p>
<a name="Configuration"></a>
<h2 >Configuration<a href="#Configuration" class="wiki-anchor">¶</a></h2>
<p>There are two areas of configuration for this feature. One is how you get emails into Redmine and the other is an optional configuration to set a different <em>emission email address</em> specifically for forum emails.</p>
<a name="Receiving-Forum-Message-Emails-for-Redmine-Processing"></a>
<h3 >Receiving Forum Message Emails for Redmine Processing<a href="#Receiving-Forum-Message-Emails-for-Redmine-Processing" class="wiki-anchor">¶</a></h3>
<p>In order to receive emails into Redmine the documentation found <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails">here</a> should be used. This documentation covers specific settings for creating issues within Redmine. The only issue attribute that applies to this patch is the project attribute. If you set the project attribute. I have done my functional testing using the IMAP setup. The rake command looks something like this:</p>
<pre>
rake redmine:email:receive_imap host=imap.domain.com port=XXX ssl=true username=username@domain.com password=password_here RAILS_ENV=_production_
</pre>
<p>Using the IMAP setup, you must schedule the rake command to run on a regular basis using cron or another job scheduling mechanism.</p>
<a name="Forum-Emission-Email-Address"></a>
<h3 >Forum Emission Email Address<a href="#Forum-Emission-Email-Address" class="wiki-anchor">¶</a></h3>
<p>If you want to use a different <em>reply-to</em> email address for forum messages than you use for other emails sent from Redmine, then you'll need to do the following:</p>
<ol>
<li>Login to your Redmine instance as an Administrator</li>
<li>Click the <em>Administration</em> link at the top of the page</li>
<li>Click on the <em>Settings</em> link</li>
<li>Click on the <em>Email Notifications</em> tab</li>
<li>Enter the email address for forum emails in the <em>Forum emission email address</em> field
<ul>
<li>This email address should go to the email account receiving forum emails (configured above in the <em>Receiving Forum Message Emails for Redmine Processing</em> section)</li>
</ul>
</li>
<li>Click the <em>Save</em> button</li>
</ol>
<a name="User-Documentation"></a>
<h2 >User Documentation<a href="#User-Documentation" class="wiki-anchor">¶</a></h2>
<p>The following describes how to make use of the email to forum functionality.</p>
<a name="How-to-Create-a-New-Forum-Message-via-Email"></a>
<h3 >How to Create a New Forum Message via Email<a href="#How-to-Create-a-New-Forum-Message-via-Email" class="wiki-anchor">¶</a></h3>
<p>In order to create a new forum message, you simply address an email to the email address specified in either the Adminitration->Settings->Email Notifications <em>Forum emission email address</em> field (if populated) or the <em>Emission email address</em> (if the the <em>Forum emission email address</em> field is not populated). The subject of the email should be in the format of:</p>
<p>[Project Name - Forum Name] Forum message subject goes here</p>
<p>The format of the email body is not important. The script that processes the forum emails is setup to determine the project and forum names based on the email subject.</p>
<a name="How-to-Reply-to-a-Forum-Message-via-Email"></a>
<h3 >How to Reply to a Forum Message via Email<a href="#How-to-Reply-to-a-Forum-Message-via-Email" class="wiki-anchor">¶</a></h3>
<p>This is pretty simple. When you receive an email of a forum message you simply reply to the message and write your reply in the body of the email. One important thing to note is that you <strong>SHOULD NOT</strong> change the subject line if you want the email to be recognized as a reply to an existing forum message. The script that processes the forum emails is setup to determine the original forum message being replied to by the portion of the subject that follows the square brackets.</p>
<a name="Receive-Forum-Message-Emails-in-Your-Email-Inbox"></a>
<h3 >Receive Forum Message Emails in Your Email Inbox<a href="#Receive-Forum-Message-Emails-in-Your-Email-Inbox" class="wiki-anchor">¶</a></h3>
<p>In case it's not clear how you receive forum messages, I'm adding that info here. The best way to subscribe to receive emails for a particular forum is to:</p>
<ol>
<li>Click on the <em>Forums</em> tab in Redmine</li>
<li>Click on the name of the forum you want to subscribe to</li>
<li>Click on the <em>Watch</em> link so that the star icon turns yellow</li>
</ol>
<p>You can also subscribe to all forums (and all other Redmine email notifications) by clicking on the <em>My account</em> link in the upper right hand of the page and then select <em>For any event on all my projects</em> from the drop down menu under the <em>Email notifications</em> section.</p> Redmine - Patch #1568 (New): Added Support for htpasswd authenticationhttps://www.redmine.org/issues/15682008-07-03T12:32:24ZRobert Shell
<p>In moving from trac wanted to keep same htpasswd based authorization so passwords in sync with subversion. To do this have added new AuthSource and forms to support this.</p>
Key Changes
<ul>
<li>Added AuthSourceFile</li>
<li>Modified User to pass password to auth_source for update</li>
<li>Added passwd and passwd? methods to add/update users and passwords in auth_source</li>
<li>Change auth_sources views to support multiple subtypes</li>
</ul> Redmine - Patch #1382 (New): Add a global notification cc https://www.redmine.org/issues/13822008-06-05T07:27:21ZJames Turnbull
<p>We cc'ed all notifications to a mailing list when we were using Trac and I wanted to add the same functionality to Redmine. Attached is a patch that adds a global cc to all notifications and adds a setting, mail_cc, to the Email Notifications settings panel.</p> Redmine - Patch #691 (New): Add column totals to Issus Summary Reporthttps://www.redmine.org/issues/6912008-02-19T00:07:41ZDavid Petersen
<p>The Issue Summary Reports (simple and detailed) has row totals but does not have column totals. Both row and column totals are needed to be able to pull all the information that is needed.</p>
<p>Patch file adds the column totals.</p> Redmine - Patch #684 (New): Add journal count on issues listhttps://www.redmine.org/issues/6842008-02-18T08:26:59Zjinwoo lee
<p>I think that viewing journal count is better than nothing.<br />Because it is easy to understand issues's activity.<br />so I make this patch.</p> Redmine - Patch #244 (New): auto wiki previewhttps://www.redmine.org/issues/2442007-12-28T06:46:00ZYoshiomi Kurisu
<p>This patch makes wiki page preview automatic.<br />Passing 1 sec after last key input ,getting preview HTML from server and show the HTML right side of input area.</p> Redmine - Patch #239 (New): Adds two blocks for my/page and fixes a report bughttps://www.redmine.org/issues/2392007-12-07T11:11:00ZRocco Stanzione
<p>This fixes a report query filter bug where assigned_to="me", and adds two new blocks for my/page, for a manager's<br />dashboard - issues due in the next week and past due issues.</p> Redmine - Patch #212 (New): Assign To limited by workflowhttps://www.redmine.org/issues/2122007-03-21T03:53:00ZAmedeo Amedeo
<p>First of all, thanks for this great product!</p>
<p>I had the problem of showing only the list of users involved in the new issue status rather than the whole list, so<br />I have applied this little change. Probably could have be done in a better way :)</p>
<pre><code class="diff syntaxhl"><span class="gh">Index: issues_controller.rb
===================================================================
</span><span class="gd">--- issues_controller.rb (revision 359)
</span><span class="gi">+++ issues_controller.rb (working copy)
</span><span class="p">@@ -105,7 +105,8 @@</span>
flash[:notice] = l(:notice_locking_conflict)
end
end
<span class="gd">- @assignable_to = @project.members.find(:all, :include => :user).collect{ |m| m.user }
</span><span class="gi">+ # @assignable_to = @project.members.find(:all, :include => :user).collect{ |m| m.user }
+ @assignable_to = Workflow.find(:all, :conditions => ["old_status_id = ?", @new_status]).collect {|w| w.role}.collect {|r| r.members}.flatten.collect {|m| m.user}.uniq
</span> end
def destroy
</code></pre>