Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-03-18T12:28:38ZRedmine
Redmine Redmine - Feature #40422 (New): Print name and email to request that was create through emailhttps://www.redmine.org/issues/404222024-03-18T12:28:38ZFilip Skřivánek
<p>We have introduced an enhancement to our email-based task creation functionality.</p>
<p>Traditionally, we have utilized the IMAP method for generating new tasks through emails, as detailed on the Redmine documentation page: <a class="external" href="https://www.redmine.org/projects/redmine/wiki/redminereceivingemails#Fetching-emails-from-an-IMAP-server">https://www.redmine.org/projects/redmine/wiki/redminereceivingemails#Fetching-emails-from-an-IMAP-server</a>.</p>
<p>Due to security considerations, we opted against using the parameter unknown_user="create" which would automatically create a new Redmine user if the email sender wasn't recognized. Instead, we chose the unknown_user="accept" setting. This approach, however, resulted in tasks that seemed to be created by an anonymous user, without indicating the email sender's identity.</p>
<p>To address this issue, we've added a novel parameter "insert_name_and_email_to_description". When set to 1, this parameter ensures that the sender's name and email address are included in the first line of the task description in the format <<<[name-from-header];[email-sender]>>> as illustrated in the attached screenshot.</p>
<p><img src="https://www.redmine.org/attachments/download/32085/Screenshot%202024-03-18%20at%2013.24.09.png" alt="" /></p>
<p>Below is an example of how we invoke the script with this new parameter:</p>
<pre><code class="shell syntaxhl">/opt/bitnami/ruby/bin/bundle <span class="nb">exec</span> /opt/bitnami/ruby/bin/rake redmine:email:receive_imap <span class="nv">RAILS_ENV</span><span class="o">=</span><span class="s2">"production"</span> <span class="nv">host</span><span class="o">=</span><span class="s2">"xxx"</span> <span class="nv">username</span><span class="o">=</span><span class="s2">"xxx"</span> <span class="nv">password</span><span class="o">=</span><span class="s2">"xxx"</span> <span class="nv">unknown_user</span><span class="o">=</span><span class="s2">"accept"</span> <span class="nv">no_permission_check</span><span class="o">=</span>1 <span class="nv">project</span><span class="o">=</span><span class="s2">"xxx"</span> <span class="nv">no_account_notice</span><span class="o">=</span>1 <span class="nv">insert_name_and_email_to_description</span><span class="o">=</span>1 <span class="nt">--trace</span>
</code></pre>
<p>It's important to note that the "insert_name_and_email_to_description" parameter is optional. If it's not set, or if its value is 0, the functionality reverts to its previous behavior.</p>
<p>I am also attaching a "patch" file detailing these modifications against the last commit on the master branch in our git repository.</p> Redmine - Feature #40421 (New): Not able to fetch email through o365 email IDhttps://www.redmine.org/issues/404212024-03-18T05:34:18ZVishal Patel
<p>Hi,</p>
<p>I have tried to fetch email through the o365 email id, but not able to do it. Is there any advanced configuration required? My email account is configured with the two-step authentication. We are using a work account.</p>
<p>Thanks,<br />Vishal Patel</p> Redmine - Feature #40415 (New): Document Journals APIhttps://www.redmine.org/issues/404152024-03-16T11:57:44ZHolger Just
<p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Updating journal notes via REST API (Closed)" href="https://www.redmine.org/issues/10171">#10171</a> added an API to update journal's notes. This should be documented in the Wiki, namely <a href="/projects/redmine/wiki/Rest_Journals?parent=Rest_api">Rest_Journals</a></p> Redmine - Defect #40413 (New): The issue list fiter "Watched by" only dereferences "watched by gr...https://www.redmine.org/issues/404132024-03-15T21:20:32ZFelix Schäfer
<p>When using the <code><< me >></code> value for the "Watched by" filter on the issue list, group memberships will be dereferenced and issues the user watches via groups will be show in the results (if the user has <code>view_issue_watchers</code> permission, see <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Issue list filter "Watched by: me" only shows issues watched via group for projects with the view... (New)" href="https://www.redmine.org/issues/40412">#40412</a>).</p>
<p>Group memberships however will not be considered for this filter when using named users for the value of the filter. Groups memberships should also be applied for named users.</p>
<p>Note: This also means that using this filter with <code><< me >></code> will produce different results for a user than when the user selects herself In the list.</p> Redmine - Defect #40412 (New): Issue list filter "Watched by: me" only shows issues watched via g...https://www.redmine.org/issues/404122024-03-15T21:16:52ZFelix Schäfer
<p>When using the "Watched by: me" filter on the issue list, the filtered list will show all issues the current user is directly watching. The filtered list will also show issues watched via a group membership, but only for issues in a project the user has the <code>view_issue_watchers</code> permission.</p> Redmine - Feature #40411 (New): The watch button/link should show if the issue is watched by grouphttps://www.redmine.org/issues/404112024-03-15T21:12:38ZFelix Schäfer
<p>When a user watches an issue because of a group membership and the user does not have the `view_issue_watchers` permission, the user cannot see that she is watching the issue.</p>
<p>Currently the button link shows:<br />- "Watch" when the user is not watching the issue or watching via a group<br />- "Unwatch" when the user is watching the issue</p>
<p>It would be possible to show a third state for the button/link:<br />- "Watch" when the user is not watching the issue<br />- "Watched by group" when the user is not watching the issue but is watching the issue via a group<br />- "Unwatch" when the user is watching the issue</p>
<p>The button/link would toggle between first and third state when the user is not also watching the issue via a group, and between second and third state when the user is also watching via a group.</p> Redmine - Defect #40410 (New): Watcher groups on new issue form get dereferenced on validation errorhttps://www.redmine.org/issues/404102024-03-15T21:04:35ZFelix Schäfer
<p>When creating a new issue, selecting a group as a watcher and causing a validation error (for example leave the subject blank), all users of the group will be selected in addition to the initially selected group.</p>
<p>This test shows the problem:</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index cce8ddc625..fb401c701d 100644
</span><span class="gd">--- a/test/functional/issues_controller_test.rb
</span><span class="gi">+++ b/test/functional/issues_controller_test.rb
</span><span class="p">@@ -4778,6 +4778,25 @@</span> class IssuesControllerTest < Redmine::ControllerTest
assert_select 'input[name=?][value="8"][checked=checked]', 'issue[watcher_user_ids][]'
end
+ def test_post_create_with_failure_should_not_dereference_group_watchers
<span class="gi">+ @request.session[:user_id] = 1
+ post(
+ :create,
+ :params => {
+ :project_id => 5,
+ :issue => {
+ :tracker_id => 1,
+ :watcher_user_ids => ['11']
+ }
+ }
+ )
+ assert_response :success
+
+ # The group's user was not explicitely selected
+ assert_select 'input[name=?][value="8"][checked=checked]', 'issue[watcher_user_ids][]', 0
+ assert_select 'input[name=?][value="11"][checked=checked]', 'issue[watcher_user_ids][]', 1
+ end
+
</span> def test_post_create_should_ignore_non_safe_attributes
@request.session[:user_id] = 2
assert_nothing_raised do
</code></pre>
<p>(Please note: The test above the one proposed in the diff uses the <code>:not(checked)</code> pseudo-selector, this however does not seem to work as expected)</p> Redmine - Defect #40403 (New): Subtasks of all levels are shown in the parent issuehttps://www.redmine.org/issues/404032024-03-14T20:51:05ZAndré Polykanine
<p>This thing is better shown by an example.<br />Given we have three issues: issue 1 which is a parent issue; issue 2, subtask of issue 1; and issue 3, subtask of issue 2.<br />In this situation, when I go to issue 1, I expect to see only issue 2 as its subtask, but I see two subtasks, issues 2 and 3. If I go to issue 2, everything is correct: I see issue 1 as parent and issue 3 as subtask.<br />It would be nice to separate direct subtasks from subtasks of other levels.</p> Redmine - Defect #40389 (Confirmed): Missing fixture: add :groups_users fixture to Redmine::ApiTe...https://www.redmine.org/issues/403892024-03-12T11:51:10ZVincent Robert
<p>Hello</p>
<p>The new test "GET /users.json with legacy filter params" in <code>Redmine::ApiTest::UsersTest</code> is failing if we run it alone.</p>
<p>We should add the fixture "groups_users" in the users_test.rb file.</p> Redmine - Defect #40362 (New): Autocomplete double hash keep system test failshttps://www.redmine.org/issues/403622024-03-07T16:40:16ZMassimo Rossello
<p>In latest versions of Redmine (5.0.8 and 5.1.2) the system test 'test_inline_autocomplete_for_issues_with_double_hash_keep_syntax' fails for no '.tribute-container' section is found</p> Redmine - Defect #40348 (New): Parent Task field not available in Import issues screenhttps://www.redmine.org/issues/403482024-03-05T21:55:39ZFrancisco Vega
<p>Hi,<br />I'm having troubles when importing issues. I make an import of 5 tasks. Then, I assign those task to several subtasks in a CSV file as Parent Tasks, basically to import all subtasks in this second step.<br />However, when importing, the field "Parent Task" doesn't appear in the list, so I can't make . Parent TaskField is active in the corresponding tracker. I test it in 2 different instances (4.2.2. and 5.1.2.), and they have the same problem. I can't find a configuration for this, is there someting that I'm missing? Many txs!</p>
<p>(sorry, my instance is in spanish. The field name in spanish for "Parent Task" is "Tarea Padre", and is not there)</p>
<p><img src="https://www.redmine.org/attachments/download/32053/clipboard-202403051849-2kdqp.png" alt="" /></p> Redmine - Defect #40347 (New): Mismatching main project and subprojecthttps://www.redmine.org/issues/403472024-03-05T19:23:50ZSirius Black
<p>I was trying to create new subprojects by first creating a new main project and then adding the subprojects to it. Initially, everything seemed to work fine. However, later on, I noticed that some of the newly created projects, along with their subprojects, were being placed under existing projects. Eventually, the projects tab became rearranged, and all of the projects were mismatched. It's important to mention that all the project settings are correctly aligned with their respective subprojects. Now I'm stuck and unable to reverse the process or proceed with it. I've also restarted my server, but the issues persist. Please help.</p> Redmine - Patch #40325 (New): Redmine Email Notification Issue - Help Needed for Modern Authentic...https://www.redmine.org/issues/403252024-02-28T11:59:45ZDarshan Faldu
<p>Hi,</p>
<p>We've recently configured Redmine for our organization, and while everything seems to be working smoothly, we're encountering an issue with email notifications.</p>
<p>We have configured the email delivery method to use SMTP, as shown below:</p>
<pre><code class="ruby syntaxhl"><span class="ss">email_delivery:
delivery_method: :smtp</span>
<span class="ss">smtp_settings:
address: </span><span class="n">smtp</span><span class="p">.</span><span class="nf">office365</span><span class="p">.</span><span class="nf">com</span>
<span class="ss">port: </span><span class="mi">587</span>
<span class="ss">domain: </span><span class="n">smtp</span><span class="p">.</span><span class="nf">office365</span><span class="p">.</span><span class="nf">com</span>
<span class="ss">authentication: :login</span>
<span class="ss">user_name: </span><span class="s2">"noreply@myorg.com"</span>
<span class="ss">password: </span><span class="s2">"my~p@ssw0rd"</span>
<span class="ss">enable_starttls_auto: </span><span class="kp">true</span>
</code></pre>
<p>However, when attempting to send a test email, we receive the following error:</p>
<blockquote>
<p>An error occurred while sending mail (535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [BM1PR01CA0164.INDPRD01.PROD.OUTLOOK.COM 2024-02-28T11:48:49.884Z 08DC38275E4F25C6])</p>
</blockquote>
<p>Our research suggests that Redmine may not fully support modern authentication methods by default, and Microsoft's deprecation of basic authentication for Office 365 further complicates this situation.</p>
<p>We would greatly appreciate your guidance on how to address this issue and ensure successful email notifications from Redmine.</p>
<p>Below are the Redmine installation information.</p>
<pre><code class="yaml syntaxhl"><span class="na">Environment</span><span class="pi">:</span>
<span class="s">Redmine version 5.0.3.stable</span>
<span class="s">Ruby version 2.6.10-p210 (2022-04-12) [x64-mingw32]</span>
<span class="s">Rails version 6.1.7</span>
<span class="s">Environment production</span>
<span class="s">Database adapter Mysql2</span>
<span class="s">Mailer queue ActiveJob::QueueAdapters::AsyncAdapter</span>
<span class="s">Mailer delivery smtp</span>
<span class="na">Redmine settings</span><span class="pi">:</span>
<span class="s">Redmine theme Default</span>
<span class="na">SCM</span><span class="pi">:</span>
<span class="s">Git 2.41.0</span>
<span class="s">Filesystem</span>
<span class="na">Redmine plugins</span><span class="pi">:</span>
<span class="s">no plugin installed</span>
</code></pre>
<p>Thank you for your time and assistance.</p> Redmine - Defect #40323 (New): Filter for tracker doesn't display choicehttps://www.redmine.org/issues/403232024-02-28T09:42:08ZEmmanuel REVY
<p>Hello,</p>
<p>I have an issue on Redmine 5.1.1, on the issues page, when I want to applicate filter, for example "Tracker", it doesn't display the list of tracker, so it's impossible de filter and applied.</p>
<p><img src="clipboard-202402281041-sdhdf.png" alt="" /></p>
<p>Here is my Redmine installation :</p>
<p>nvironment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Circle (includes JavaScript)<br />SCM:<br /> Git 2.39.2<br /> Filesystem <br />Redmine plugins:<br /> additionals 3.2.0-main<br /> redmine_agile 1.6.8<br /> redmine_checklists 3.1.23<br /> redmine_ckeditor 1.2.4<br /> redmine_contacts 4.4.0<br /> redmine_contacts_helpdesk 4.2.2<br /> redmine_issue_view_columns 2.0.3<br /> redmine_lightbox 1.0.2<br /> redmine_people 1.6.5<br /> redmine_reporter 2.0.4<br /> redmineup_tags 2.0.13</p>
<p>Regards.</p> Redmine - Defect #40310 (New): Open Wiki Syntax quick reference in a modalhttps://www.redmine.org/issues/403102024-02-25T23:18:54ZMarius BĂLTEANU
<p>Based on the work done in <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Jstoolbar help files should import images from the asset pipeline (Closed)" href="https://www.redmine.org/issues/40137">#40137</a>, I'm wondering if it is a good ideea to open the quick reference in a jQuery modal instead of the current implementation.</p>
<p>Current:<br /><img src="https://www.redmine.org/attachments/download/32027/Screenshot%202024-02-26%20at%2001.16.02.png" style="height:500px;border: 1px solid grey;" alt="" /></p>
<p>Modal:<br /><img src="https://www.redmine.org/attachments/download/32028/Screenshot%202024-02-26%20at%2001.17.23.png" style="height:500px;" alt="" /></p> Redmine - Defect #40303 (New): Design of the code block in the issue list block column is brokenhttps://www.redmine.org/issues/403032024-02-23T08:23:05ZYasu Saku
<p>I believe the following incorrect css is being applied to the code block in the issue list block column.</p>
<p><a class="external" href="https://www.redmine.org/projects/redmine/repository/svn/entry/branches/5.1-stable/public/stylesheets/application.css#L293">https://www.redmine.org/projects/redmine/repository/svn/entry/branches/5.1-stable/public/stylesheets/application.css#L293</a><br /><pre><code class="css syntaxhl"><span class="nt">table</span><span class="nc">.issues</span> <span class="nt">td</span><span class="nc">.block_column</span> <span class="nt">span</span> <span class="p">{</span><span class="nl">font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="p">;</span> <span class="nl">display</span><span class="p">:</span> <span class="nb">block</span><span class="p">;</span> <span class="nl">margin-bottom</span><span class="p">:</span> <span class="m">4px</span><span class="p">;}</span>
<span class="nt">table</span><span class="nc">.issues</span> <span class="nt">td</span><span class="nc">.block_column</span> <span class="nt">pre</span> <span class="p">{</span><span class="nl">white-space</span><span class="p">:</span><span class="nb">normal</span><span class="p">;}</span>
</code></pre></p>
<p>For example:<br /><a class="external" href="https://redmine.org/projects/redmine/issues?utf8=%E2%9C%93&set_filter=1&sort=id%3Adesc&f%5B%5D=issue_id&op%5Bissue_id%5D=%3D&v%5Bissue_id%5D%5B%5D=40014&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=updated_on&c%5B%5D=category&group_by=&c%5B%5D=description&t%5B%5D=">https://redmine.org/projects/redmine/issues?utf8=%E2%9C%93&set_filter=1&sort=id%3Adesc&f%5B%5D=issue_id&op%5Bissue_id%5D=%3D&v%5Bissue_id%5D%5B%5D=40014&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=updated_on&c%5B%5D=category&group_by=&c%5B%5D=description&t%5B%5D=</a><br /><img src="https://www.redmine.org/attachments/download/32026/clipboard-202402231722-kyavh.png" alt="" /></p> Redmine - Defect #40301 (New): Issue - New version: Error when create a version with custom field...https://www.redmine.org/issues/403012024-02-22T14:17:32ZMorris Penasso
<p>Following this path:<br />Open existing issue -> Edit -> Target Version -> Create new one with green button.</p>
<p>I have a "File" custom field that is not required but when i try to save version after enter the name, the system say me that the custom field is not valid.<br />I try to delete it and create another one but i obtain the same error ( only with "File" custom field ).</p>
<p>System informations:</p>
<p>Environment:<br /> Redmine version 5.1.0.stable<br /> Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production</p>
<p>SCM:<br /> Mercurial 6.1.1<br /> Git 2.34.1<br /> Filesystem <br />Redmine plugins:<br /> redmine_dmsf 3.1.3</p> Redmine - Feature #40299 (New): Subproject to inherit the wiki from projecthttps://www.redmine.org/issues/402992024-02-22T08:03:44ZAlexandre Camsonne
<p>Hello,</p>
<p>not sure if that was already requested,</p>
<p>but I was thinking it would be convenient that if a subproject does not have wiki module checked, it inherits from wiki of parent project so all subproject wiki could be consolidated in the parent wiki.</p>
<p>So far only solution I see is to make a table of links to subproject wiki in the parent project wiki manually which is not practical. Or if an link to the subproject wiki would be automatically created in the parent wiki that would work too but sounds more complicated</p> Redmine - Defect #40298 (Needs feedback): Regarding databasehttps://www.redmine.org/issues/402982024-02-22T06:19:47Zprasanna kothapalli
<p>Mysql database is not working</p> Redmine - Defect #40297 (New): Projects Quick Search includes Favorite Projects and Recently Used...https://www.redmine.org/issues/402972024-02-21T14:33:09ZChristian R
<p>Projects Quick Search includes Favorite Projects and Recently Used above search results. The real search results may appear on the very bottom of the results.</p> Redmine - Feature #40277 (New): Set day as non-working for purposes of Precedes and Following rel...https://www.redmine.org/issues/402772024-02-20T02:52:40ZDotan Cohen
<p>In my opinion Redmine would benefit from the ability to set a specific, non-recurring day as a non-work day. An example of such a day would be a national holiday. This would affect the scheduling of Precedes and Following relationships.</p> Redmine - Defect #40276 (New): Following issues dates do no update when non-working days are upda...https://www.redmine.org/issues/402762024-02-20T01:44:12ZDotan Cohen
<p>When updating the non-working days administrative option, extant issues set as "Following" do not have their start and due dates updated to reflect the change in non-working days.</p>
<p>To test:<br />0. Have the system configured as non-working days: Saturday, Sunday<br />1. Create an issue to be completed on Thursday.<br />2. Create an issue that Follows the previous issue, with 0 days' delay (which means that this issue will be done the next day, e.g. Friday)<br />3. Ensure that in fact, the new issue is correctly set to start and be due on Friday.<br />4. In `Administration -> Settings -> Issue tracking -> Non-working days` change the setting to Friday, Saturday.<br />5. Return to the "Following" issue.</p>
<p>Expected results:<br />The "Following" issue should have its start and due dates set to the next Sunday.</p>
<p>What actually happens:<br />The "Following" issues' start and due dates have not been updated.</p>
<p>Note that removing the Following relationship and putting it back does in fact set the correct start and due dates (e.g. to Sunday).</p>
<p>```<br />Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.2.3-p157 (2024-01-18) [x86_64-linux]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Subversion 1.14.2<br /> Mercurial 6.3.2<br /> Bazaar 3.3.2<br /> Git 2.39.2<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed<br />```</p> Redmine - Patch #40267 (New): Phone number as a link for textile formating texthttps://www.redmine.org/issues/402672024-02-19T17:09:32ZAnton Nekrasov
<p>Hello. The following syntax is not currently used to display phone as textile format links.<br />"+588882222":tel:+588882222</p> Redmine - Feature #40266 (New): Proposal to Include Direct Links to Attached Files in PDF Exports...https://www.redmine.org/issues/402662024-02-19T13:29:30ZYazan Al aeddin
<p>I propose implementing a patch to include direct links to attached files when exporting issues to PDF format. This enhancement will improve the accessibility and usability of exported PDF documents, allowing users to easily access attached files directly from the PDF.</p>
<p>I will provide a patch for the proposed enhancement along with relevant tests to ensure its functionality and reliability.<br />Thank you for considering this improvement.</p> Redmine - Defect #40249 (Needs feedback): Clear filter option is not working properlyhttps://www.redmine.org/issues/402492024-02-18T07:51:27Ztesting buddy
<p>while clicking clear filter button , status check box is not cleared</p> Redmine - Feature #40234 (New): Developer guide generating test datahttps://www.redmine.org/issues/402342024-02-14T13:07:20ZAleksandar Pavic
<p>I have created a wiki page which would be nice to be added to locked page:</p>
<p><a class="external" href="https://www.redmine.org/projects/redmine/wiki/Developer_Guide">https://www.redmine.org/projects/redmine/wiki/Developer_Guide</a></p>
<p>This is the page that I have created:<br /><a class="external" href="https://www.redmine.org/projects/redmine/wiki/Generating_demo_data">https://www.redmine.org/projects/redmine/wiki/Generating_demo_data</a></p> Redmine - Patch #40221 (New): Update wiki content related to how to create a custom themehttps://www.redmine.org/issues/402212024-02-10T10:31:36ZMarius BĂLTEANU
<p>After we finish the migration to Asset Pipeline, we need to update Wiki pages related to custom themese, for example: <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/HowTo_create_a_custom_Redmine_theme">HowTo_create_a_custom_Redmine_theme</a></p> Redmine - Defect #40215 (New): 422 Invalid form authenticity token.https://www.redmine.org/issues/402152024-02-08T17:20:47ZMemphis admin
<p>Error 422 Invalid form authenticity token is poping when accessing redmine from a different subnet.</p> 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 #40198 (New): Update html-pipeline to 3.0https://www.redmine.org/issues/401982024-02-06T07:05:04ZMarius BĂLTEANU
<p><a class="external" href="https://github.com/gjtorikian/html-pipeline/blob/main/CHANGELOG.md">https://github.com/gjtorikian/html-pipeline/blob/main/CHANGELOG.md</a></p> Redmine - Patch #40197 (New): Update commonmark to 1.0https://www.redmine.org/issues/401972024-02-06T07:04:34ZMarius BĂLTEANU
<p><a class="external" href="https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md">https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md</a></p> Redmine - Patch #40194 (New): Fix error in clear_disabled_fields method when IssuePriority is mis...https://www.redmine.org/issues/401942024-02-05T15:57:18ZYazan Al aeddin
<p>Hello</p>
<p>The clear_disabled_fields method in the Redmine codebase raises a NoMethodError exception when called,<br /> and the IssuePriority model is missing. This occurs due to an attempt to access the id attribute of IssuePriority without verifying its presence. The proposed fix ensures that the method gracefully handles the case where IssuePriority is missing by checking for its presence before accessing its attributes.<br />I propose this patch</p> Redmine - Defect #40189 (New): about packaging and distribution on fedorahttps://www.redmine.org/issues/401892024-02-03T04:04:57ZNeftali Yagua
<p>We would like to package redmine for the fedora distribution, however we hace not found information in the sources about the licenses with the distribution is allowed.</p> Redmine - Feature #40159 (New): Back date entries resttriction https://www.redmine.org/issues/401592024-01-31T07:32:30ZAmit Saxena
<p>I want configure start date/due date</p>
<p>But start date can be selected only 2 days back from current calander date</p>
<p>Is there any feature</p> Redmine - Feature #40149 (New): Drop deprecated Redcarpet based Markdown formatterhttps://www.redmine.org/issues/401492024-01-30T03:48:02ZGo MAEDA
<p>In Redmine 5.1, the Redcarpet-based Markdown formatter is deprecated and CommonMark Markdown is the default instead.</p>
<p>Since CommonMark Markdown has been used by users without any particular problems, I think we can discontinue the deprecated Redcarpet-based Markdown.</p> Redmine - Defect #40121 (New): InvalidCrossOriginRequest exception raised by automated pentests o...https://www.redmine.org/issues/401212024-01-24T11:58:52ZLiane Hampe
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>When an automated pentest or a malicous user requests for example:</p>
<pre>
https://<your-domain>.tld/projects/autocomplete.js
</pre>
<p>the following exception will be raised:</p>
<pre>
An ActionController::InvalidCrossOriginRequest occurred in projects#autocomplete:
Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.
</pre>
<p><strong>Note:</strong> Any other url containing *.js will raise this exception.</p>
<p>All currently supported versions of Redmine are affected.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<p>The solution is to rescue from ActionController::InvalidCrossOriginRequest.</p>
<p>The attached patch file fix_invalid_cross_origin_request_exception.patch gives an example how to do that. A test is also included.</p> Redmine - Feature #40103 (New): Allow to "watch" projects to get notificationshttps://www.redmine.org/issues/401032024-01-24T07:54:35ZJens Krämerjk@jkraemer.net
<p>As discussed in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: "For any event on my bookmarked projects" option not sending notifications for non-member bookmar... (Closed)" href="https://www.redmine.org/issues/39854">#39854</a>, having the option to "watch" projects would give users a straight forward way to subscribe to notifications about project activity, similar to watching an issue subscribes to notifications about activity regarding this issue.</p>
<p>This could potentially replace the current notification setting to be notified for a given list of selected projects in "My Account".</p> Redmine - Defect #40100 (New): User ordering by name is incorrect for french languagehttps://www.redmine.org/issues/401002024-01-23T14:33:10Zphilippe lhardy
<p>by example in user list to pick for ticket assignement users with accentuated characters don't follow natural french ordering.<br />It should normalize name with accentuated characters like éè to correponding non accenutated letter prior of ordering.<br />when the list is very long it can lead to the false impression that user is not registered.</p>
<p>in redmine : Claire < Clovis < Clément < Constantin < Cyril < Céline</p>
<p>while we would expect : Céline (Celine) < Claire < Clément (Clement) < Clovis < Constantin < Cyril</p> Redmine - Defect #40086 (Needs feedback): 500 Internal Server Error: undefined method `is_closed?'https://www.redmine.org/issues/400862024-01-20T13:47:59ZDaniel Drexlmaier
<p>Started GET "/issues/11925"</p>
<p>[3375]: ActionView::Template::Error (undefined method `is_closed?' for nil:NilClass):<br />[3375]: 1: <%= render :partial => 'action_menu' <span>><br />[3375]: 2:<br />[3375]: 3: <h2 class="inline-flex"><</span>= issue_heading(@issue) <span>></h2><br />[3375]: 4: <</span>= issue_status_type_badge(@issue.status) <span>><br />[3375]: 5: <</span> if @issue.is_private? <span>><br />[3375]: 6: <span class="badge badge-private private"><</span>= l(:field_is_private) <span>></span><br />[3375]: 7: <</span> end %></p> Redmine - Feature #40054 (New): Add Issue query option to include parent issue into search resultshttps://www.redmine.org/issues/400542024-01-12T20:17:09ZSebastian Paluch
<p>Issue query returns a list of issues that meets all filters. Often parent issues do not meet all the filters. As a result, query returns a flat list of issues without a way to show hierarchical structure.</p>
<p>So, please add a new query option (checkbox) to include all parents of all issues that meets the query filters.</p> Redmine - Defect #40011 (New): Email receiving problem closed issue is #39931 https://www.redmine.org/issues/400112024-01-07T20:59:55ZVugar Maharramov
<p>I'm sorry, but the following problem appeared. Everything is specified correctly in the configuration.yml file, the correct login and password were created specifically for this in the Active Directory (checked). Shown in the UGFzc3dvcmQ6 bug is the Base 64 encrypted word "Password". The fact is that in configuration.yml this parameter is indicated correctly as below (for confidentiality, some data has been changed). There are no screens between the Redmine and Postfix (there are no restrictions here either) servers; they are on the same subnet.</p>
<p>specific configuration options for production environment<br />that overrides the default ones<br />production:<br />email_delivery:<br />delivery_method: :smtp<br />smtp_settings:<br />address: My IP<br />port: 587<br />domain: x.com<br />authentication: :login<br />user_name: <a class="email" href="mailto:redmine@x.com">redmine@x.com</a><br />password: NAdsfjghsdk<br />enable_starttls_auto: true<br />I even wrote these parameters in the configuration.yml file<br />to view the logs it showed that there were no problems</p>
<p>openssl_verify_mode: none<br />logger: true</p>
<p>Even on the mail server side, everything is fine in the logs.</p>
<p>Based on the Postfix and Amavis logs you provided, it appears that emails from <a class="email" href="mailto:redmine@x.com">redmine@x.com</a> are actually being accepted and processed by your mail server.<br />DKIM Verification: There are records indicating that emails from <a class="email" href="mailto:redmine@x.com">redmine@x.com</a> pass DKIM (DomainKeys Identified Mail) verification. This is a good sign, since DKIM is an important part of sender authentication.</p>
<p>Amavis Processing: Amavis, a content filtering system for mail servers, processes messages and marks them as "CLEAN". This means that the emails do not contain viruses and are not considered spam.</p>
<p>Transfer to Postfix: Emails are successfully transferred back to Postfix for further processing and delivery.</p>
<p>Letter delivery: There are records of letters being queued for delivery and being successfully delivered. For example, lines with queued as 4SzMqV30PRz8JwW7 and status=sent (delivered via dovecot service) indicate that the delivery process is successful.</p>
<p>But the error still appears.</p>
<p>Please share your knowledge. Maybe I'm doing something wrong?<br /><img src="https://www.redmine.org/attachments/download/31765/clipboard-202401080054-7gvnj.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31766/clipboard-202401080054-l8uer.png" alt="" /></p> Redmine - Feature #39774 (New): Add logging for issue deletionhttps://www.redmine.org/issues/397742023-12-04T13:55:24ZGo MAEDA
<p>The attached patch introduces a new feature in the Issue model to log every issue deletion, enhancing audit trails.</p>
<p>My clients sometimes ask me to identify when and who deleted an issue, especially when deletions are accidental. For a single issue, you can pinpoint the responsible user by finding a line in the production.log that begins with "DELETE /issues/". From the following log, for instance, shows that "admin" deleted issue <code>#1</code> at 2023-12-04 21:30:11.</p>
<pre>
Started DELETE "/issues/1" for 127.0.0.1 at 2023-12-04 21:30:11 +0900
Processing by IssuesController#destroy as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ivRuWNmGQjuDdNNgG6EeQLCF5b82SF3lx8-AwC-ML7CZ39cktgG40TiwjsmfOk0Wexs3UQsFt-cjT7dGOHt3Lg", "ids"=>["1"], "todo"=>"destroy", "reassign_to_id"=>"", "commit"=>"Apply", "id"=>"1"}
Current user: admin (id=1)
Redirected to http://localhost:3000/projects/ecookbook/issues
Completed 302 Found in 31ms (ActiveRecord: 5.7ms | Allocations: 14032)
</pre>
<p>However, identifying deletions is not possible when multiple issues are involved. For example, if issue <code>#1</code> with subtask <code>#15</code> and <code>#16</code> is deleted, the log does not record the deletion of these subtasks. This lack of detailed logging poses a significant auditing problem.</p>
<p>To address this, the attached patch ensures that a "Deleted issue: ..." line is output to the production.log for each deleted issue, as shown below. This enhancement allows for comprehensive tracking of issue deletions.</p>
<pre>
Started DELETE "/issues/1" for 127.0.0.1 at 2023-12-04 21:45:17 +0900
Processing by IssuesController#destroy as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6hBpwCTeMt_ZpTAeq5zWyOlVMCi0Lxdv2n7SM7y0hKIrzgAIsxdNIqavoyNgpRIfQFOwqc6TLzBexEphZR2Ug", "ids"=>["1"], "todo"=>"destroy", "reassign_to_id"=>"", "commit"=>"Apply", "id"=>"1"}
Current user: admin (id=1)
Deleted issue: 'Feature request #15: Add a great feature' by Redmine Admin
Deleted issue: 'Bug #16: Serious bug that must be fixed ASAP' by Redmine Admin
Deleted issue: 'Bug #1: Cannot print recipes' by Redmine Admin
Redirected to http://localhost:3000/projects/ecookbook/issues
Completed 302 Found in 54ms (ActiveRecord: 10.1ms | Allocations: 32921)
</pre> Redmine - Defect #39758 (Confirmed): Some pages on https://www.redmine.org/plugins are returning ...https://www.redmine.org/issues/397582023-11-30T18:58:03ZLeonardo Colman
<p>When browsing through the [plugin list](<a class="external" href="https://www.redmine.org/plugins">https://www.redmine.org/plugins</a>) I noticed that some pages were throwing a 500 error, for example pages 9 and 10:</p>
<p><img src="https://www.redmine.org/attachments/download/31556/clipboard-202311301555-iberf.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31557/clipboard-202311301555-2ueja.png" alt="" /></p>
<p>Here I am, contacting my Redmine admins :)</p>
<p>I've written a small bash script to check all the pages that are returning 500:</p>
<pre>
#!/bin/bash
# Base URL
base_url="https://www.redmine.org/plugins?page="
# Loop from 1 to 112
for i in {1..112}
do
# Construct the full URL
full_url="${base_url}${i}"
# Perform the HTTP request and capture the status code
status_code=$(curl -o /dev/null -s -w "%{http_code}\n" "$full_url")
# Check if the status code is 500
if [ "$status_code" -eq 500 ]; then
echo "Page $i returned a 500 status code."
fi
done
</pre>
<p>When ran from my computer, these pages are returning 500:</p>
<p>Page 9 returned a 500 status code.<br />Page 10 returned a 500 status code.<br />Page 21 returned a 500 status code.<br />Page 25 returned a 500 status code.<br />Page 35 returned a 500 status code.<br />Page 65 returned a 500 status code.<br />Page 67 returned a 500 status code.<br />Page 87 returned a 500 status code.<br />Page 90 returned a 500 status code.<br />Page 98 returned a 500 status code.<br />Page 105 returned a 500 status code.<br />Page 112 returned a 500 status code.</p> Redmine - Feature #39530 (New): Feature to Group Custom Fields by Categoryhttps://www.redmine.org/issues/395302023-11-08T08:47:56Zphilippe lhardy
<p>Enhance custom fields with a category that will be used to group all custom fields within a single table/frame for a very same category at display.</p>
<p>Initial topic discussion for context of this request is there: <a class="message" href="https://www.redmine.org/boards/1/topics/69072">Feature to Group Custom Fields by Category</a>.</p> Redmine - Feature #39111 (Resolved): Enable Asset Pipeline Integration using Propshafthttps://www.redmine.org/issues/391112023-09-24T15:48:22ZTakashi Kato
<p>This patch enables the Asset Pipeline in Redmine, assuming you have upgraded to Rails 7(<a class="issue tracker-2 status-8 priority-4 priority-default" title="Feature: Migrate to Rails 7.1 (Reopened)" href="https://www.redmine.org/issues/36320">#36320</a>).</p>
<p>Until Rails 6.1, Sprockets was a prerequisite for using the Asset Pipeline. However, starting from Rails 7, <a href="https://github.com/rails/propshaft/" class="external">Propshaft</a> has been introduced as an alternative option.<br />While Propshaft offers fewer features compared to Sprockets, it boasts a smaller codebase and greater clarity in its operations (eliminating the need for a JavaScript runtime). Additionally, manifest files are no longer necessary during development.</p>
<p>Key benefits of using Propshaft include:</p>
<ul>
<li>The ability to append file digests to file names instead of Rails3 stytle cache-busting approach involving query strings at the end of assets (expected to enhance cache hit rates).</li>
<li>Support for tasks like copying plugin assets to the public directory each time Redmine starts.</li>
<li>Compatibility with Turbo, which is almost mandatory in Rails 7 and later. (Note that Rails 7 and later deprecate rails-ujs, the current Redmine dependency.)</li>
</ul>
<p>To address potential challenges associated with introducing Propshaft, we have extended its functionality in the following ways:</p>
<ul>
<li>We've made it possible for Propshaft to handle Redmine plugin and theme assets without requiring modification(If we use propshaft in default, we will need to modify the links to other assets in stylesheets.).</li>
<li>We've ensured that introducing Asset Pipeline does not necessitate rewriting existing stylesheets, thus avoiding major incompatibilities with Redmine themes.</li>
<li>In a production environment, rather than manually running the rails asset:precompile command before starting Rails, we now automatically check for asset updates and run precompilation as needed. (You can disable this automatic execution by setting config.assets.redmine_detect_update to false in <code>config/environments/production.rb</code>).</li>
</ul> Redmine - Feature #38853 (New): do not disclose login account names (public projects disclose som...https://www.redmine.org/issues/388532023-07-17T12:56:47ZThomas Meyer
<p>As <a class="message" href="https://www.redmine.org/boards/1/topics/67884">public project without public access to user info - do no...</a> did not get any reaction, I think it is worth submitting a ticket:</p>
<p>Following the <a class="message" href="https://www.redmine.org/boards/1/topics/51163">How to prohibit public access to user info</a> discussion:</p>
<p>We recently observed the fact that Redmine (at least until Remdmine 4.2) has the somewhat doubtable default setting that role 2 (anonymous) has the right to see all users and not only members of visible projects. I would say the latter would be a better default.</p>
<p>Furthermore, when there are public projects, all members of these projects are still visible to the public, together with their (login) account name, which is, in case of directory integration, their user name.</p>
<p>This clearly is an information that should not go to the public.</p>
<p>So I would suggest to</p>
<ul>
<li>not disclose redmine login account names to the public, even in public projects (this could probably be reached by adding a nick for public display)</li>
<li>provide an option to add noindex directives to search bots for user and group information</li>
</ul>
<p>Kind regards, Tom</p>
<blockquote>
<p>Environment:<br />Redmine version 5.0.5.stable<br />Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu]<br />Rails version 6.1.7.2<br />Environment production<br />Database adapter PostgreSQL<br />Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br />Mailer delivery smtp<br />Redmine settings:<br />Redmine theme Default<br />SCM:<br />Subversion 1.13.0<br />Mercurial 5.3.1<br />Cvs 1.12.13<br />Bazaar 3.0.2<br />Git 2.39.2<br />Filesystem<br />Redmine plugins:<br />no plugin installed</p>
</blockquote> Redmine - Defect #38636 (New): NoMethodError when creating/updating an issue if all issue priorit...https://www.redmine.org/issues/386362023-05-31T05:40:53ZGo MAEDA
<p>NoMethodError is raised when creating or updating an issue if all of the following conditions are met:</p>
<ul>
<li>All issue priorities are disabled</li>
<li>No default priority is set</li>
</ul>
<p>Error when creating an issue:<br /><pre>
NoMethodError (undefined method `id' for nil:NilClass):
app/models/issue.rb:2053:in `clear_disabled_fields'
app/controllers/issues_controller.rb:152:in `create'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre></p>
<p>Error when updating an issue:<br /><pre>
NoMethodError (undefined method `position' for nil:NilClass):
app/models/issue_priority.rb:63:in `high?'
app/models/issue.rb:1124:in `notified_users'
app/models/journal.rb:171:in `notified_users'
app/models/mailer.rb:134:in `deliver_issue_edit'
app/models/journal.rb:357:in `send_notification'
app/controllers/issues_controller.rb:652:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:207:in `update'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre></p> Redmine - Feature #38504 (New): Display pasted images in appropriate size on HiDPI displayshttps://www.redmine.org/issues/385042023-04-30T07:51:58ZGo MAEDA
<p>The attached patch improves the image paste feature to display images in appropriate size when you use HiDPI displays like Mac's Retina Display.</p>
<p>If you capture a screenshot on a HiDPI display and paste it into Redmine, the image will be displayed at twice the expected size. The image below is an example. Although the expected display size of the image is 400 x 240px, it is actually displayed at 800 x 480px. This is because the image was captured on a HiDPI display and its physical size is 800 x 480px. For me, this problem is really annoying.</p>
<p><img src="https://www.redmine.org/attachments/download/30395/clipboard-202304301538-efqbd.png" style="border: 1px solid grey;" alt="" /></p>
<p>After applying the patch, Redmine recognizes the pixel density of the current display when pasting an image and adds an "@2x" or "@3x" suffix to the filename (e.g. clipboard-****@2x.png) depending on the recognized value of the pixel density. With the suffix, pasted images are displayed in an appropriate size. Note that Redmine 3.4.0 and later can recognize suffixes such as "@2x" and "@3x" and adjust the display size of the image (<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Support high resolution images in formatted content (Closed)" href="https://www.redmine.org/issues/24922">#24922</a>).</p>
<p>I believe this change will improve the UX when using HiDPI displays by resolving the problem that images are displayed at more than twice the size.</p>
<p><strong>Before:</strong><br />The image in a forum post is displayed twice as large as expected.<br /><img src="https://www.redmine.org/attachments/download/30396/clipboard-202304301631-1wwtu.png" style="width: 460px;border: 1px solid grey;" alt="" /></p>
<p><strong>After:</strong><br />The image is displayed at the expected size due to the addition of the "@2x" suffix to the filename when pasting.<br /><img src="https://www.redmine.org/attachments/download/30397/clipboard-202304301632-bqnnp.png" style="width: 460px;border: 1px solid grey;" alt="" /></p> Redmine - Defect #38447 (New): Time Tracking max time per dayhttps://www.redmine.org/issues/384472023-04-13T09:16:52ZAbde Salem
<p>Hi.</p>
<p>I have set the max time per day at 8h for the Log time.</p>
<p>I have 2 log time to add for the same project / issue (0h48 and 7h12).</p>
<p>When I first add 0h48 then 7h12, I have a error message.</p>
<p>But when I first add 7h12 then 0h48, i don't have the error message.</p>
<p>Can you see please .</p>
<p>Thanks.</p> Redmine - Feature #38265 (New): When the user login is via 'autologin' cookiee, then the password...https://www.redmine.org/issues/382652023-02-13T06:32:27ZGaurav Bansal
<p>Hi All,</p>
<p>We have added the flow of insert into the tokens table, with autologin as the cookiee. The flow is working properly if the user settings are no change password after login, 2fa disabled. But if password change is set, or 2fa is enabled, then those flow get triggered as soon as we reirect after login. Ideally if the login is via autologin flow, then these should not get triggered. So either I am doing something wrong, or this can be added as a functionality, if this is something which makes sense to the core team members.</p> Redmine - Defect #38223 (Needs feedback): Send out mail with full name of commenterhttps://www.redmine.org/issues/382232023-01-30T04:37:45ZMartin Dürst
<p>The Ruby core team uses Redmine for issue tracking (see <a class="external" href="https://bugs.ruby-lang.org">https://bugs.ruby-lang.org</a>). The source for this Redmine instance is maintained at <a class="external" href="https://github.com/ruby/b.r-l.o/">https://github.com/ruby/b.r-l.o/</a>. Mails from this instance seem to only use the login name if there are non-ASCII characters in the full name. If the full name does not contain non-ASCII characters, then both the login name and the full name are given.</p>
<p>Analyzing the problem lead to the conclusion that this is a Redmine issue, not specific to bugs.ruby-lang.org. That's why I'm reporting it here. I'm not familiar with the internals of Redmine, but for example the 'mail' gem has no problem sending out mails with non-ASCII names.</p> Redmine - Defect #37871 (New): Notification e-mail not working on Redmine 5.0.2 and Microsoft Exc...https://www.redmine.org/issues/378712022-10-31T20:32:53ZAlvaro Olivera
<p>Hello community,</p>
<p>I am trying to get e-mail notifications work with Redmine 5.0.2.stable and Microsoft Exchange 2013 Mail Server.</p>
<p>I followed this instructions (<a class="external" href="https://www.redmine.org/projects/redmine/wiki/howto_configure_redmine_to_mail_to_ms_exchange_server">https://www.redmine.org/projects/redmine/wiki/howto_configure_redmine_to_mail_to_ms_exchange_server</a>) for the configuration and the main lines of my configuration.yml just looks like this:</p>
<pre>
production:
delivery_method: :smtp
smtp_settings:
address: mail.domain.com
port: 25
</pre>
<p>I needed a SMTP program so I installed sendmail first and got an SSL error. Then I uninstalled it and installed postfix instead but I got the same SSL error which is:</p>
<pre>
"An error occurred while sending mail (SSL_connect returned=1 errno=0 state=error: unexpected eof while reading)"
</pre>
<p>This error appears when I click on send test mail on the e-mail notification tab under the main configuration.</p>
<p>I checked both apache and redmine logs but I didn't find useful information to understand what's happening.</p>
<p>Could you please help me with this problem?</p>
<p>This is some of the information of my environment:</p>
<p>Operating System: Red Hat Enterprise Linux 9</p>
<p>Redmine Environment:<br /> Redmine version 5.0.2.stable<br /> Ruby version 3.0.4-p208 (2022-04-12) [x86_64-linux]<br /> Rails version 6.1.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Subversion 1.14.1<br /> Mercurial 6.1.4<br /> Git 2.31.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p>
<p>Output of:</p>
<pre>
ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
</pre>
<p>-> OpenSSL 3.0.1 14 Dec 2021</p>
<pre>
ruby -ropenssl -e 'puts OpenSSL::SSL::SSLContext::DEFAULT_PARAMS'
</pre>
<p>-> {:min_version=>769, :verify_mode=>1, :verify_hostname=>true, :options=>2147614800}</p> Redmine - Defect #37688 (New): Move to modern authentication(OAuth 2.0) from IMAP for receiving e...https://www.redmine.org/issues/376882022-09-19T17:14:18ZRaja Govindan
<p>Hello,</p>
<pre><code>Microsoft is going to disable IMAP authentication to read emails from Office365. I need to use modern authentication to read/receive emails.</code></pre>
<pre><code>Currently, I am using IMAP to receive email into Redmine.</code></pre>
<p>-- part of script below---<br />bundle exec rake <del>f Rakefile redmine:email:receive_imap host=outlook.office365.com<br />-------------------------</del></p>
<p>Could you please help me in providing script to use modern authentication instead of <abbr title="receive_imap">IMAP</abbr></p>
<p>Thanks <br />-/Raja G</p> Redmine - Feature #37363 (New): Add native support for OIDChttps://www.redmine.org/issues/373632022-06-28T07:14:47ZDaniel Jann
Considering that:
<ul>
<li>Support for OpenID has been dropped (see <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Drop OpenID support (Closed)" href="https://www.redmine.org/issues/35755">#35755</a>)</li>
<li>The <a href="https://www.redmine.org/plugins/redmine_openid_connect" class="external">only OIDC plugin</a> only supports version 3.4.x of redmine</li>
</ul>
<p>There is currently no way to implement SSO in current and future versions of redmine, other than creating a custom plugin, which certainly requires in-depth knowledge of ruby on rails, putting it out of reach of many.</p>
<p>I'm sure it would be useful to many of us redmine administrators to have redmine natively support OIDC.</p> Redmine - Feature #36320 (Reopened): Migrate to Rails 7.1https://www.redmine.org/issues/363202021-12-15T04:03:14ZGo MAEDARedmine - Defect #36245 (Resolved): ActiveSupport::Reloader.to_prepare not working in trunk 21287https://www.redmine.org/issues/362452021-11-25T08:00:50ZAlexander Meindl
<p>With <a class="changeset" title="Extract Redmine::PluginLoader from Redmine::Plugin (#32938). Patch by Takashi Kato." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21283">r21283</a> in trunk ActiveSupport::Reloader.to_prepare and Rails.configuration.to_prepare is not fired anymore.</p>
<p>ActiveSupport::Reloader.to_prepare is required for plugins (as an example), if some code should loaded after all plugins (other plugins) are loaded.</p>
<p>Maybe there is another possibility with Rails 6 or Zeitwerk for doing this, but imho ActiveSupport::Reloader.to_prepare should work within plugins, too. See <a class="external" href="https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots">https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots</a></p> Redmine - Feature #36162 (New): Add notification reason to the email instead of the default stati...https://www.redmine.org/issues/361622021-11-08T22:09:04ZMarius BĂLTEANU
<p>The default email footer setting is:</p>
<blockquote>
<p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://hostname/my/account">http://hostname/my/account</a></p>
</blockquote>
<p>This setting can be changed from Settings -> Notifications -> Email footer.</p>
This approach have several issues:
<ul>
<li>the text can be removed by an admin</li>
<li>the text is not translatable</li>
<li>the text is too generic and the user cannot understand why he received that notification</li>
</ul>
<p>My proposal is to replace this text with the real reason of why the user received the notification. In this phase, I propose the following reasons with the according translations:</p>
<table>
<tr>
<td> <strong>Reason</strong> </td>
<td> <strong>Message</strong> </td>
<td> <strong>Details</strong> </td>
</tr>
<tr>
<td> <code>INVOLVED</code> </td>
<td> You have received this notification because you are involved in. </td>
<td> user is either author, assignee or previous assignee </td>
</tr>
<tr>
<td> <code>MENTIONED</code> </td>
<td> You have received this notification because you have been mentioned in. </td>
<td> user in mentioned in that event </td>
</tr>
<tr>
<td> <code>SUBSCRIBED</code> </td>
<td> You have received this notification because you have subscribed to it. </td>
<td> user is subscribed to that event </td>
</tr>
<tr>
<td> <code>WATCHER</code> </td>
<td> You have received this notification because you are watching it. </td>
<td> user is a watcher </td>
</tr>
<tr>
<td> <code>ADMIN</code> </td>
<td> You have received this security notification because you are an administrator. </td>
<td> user is an admin and he received a security notification </td>
</tr>
</table>
<p>In the future, we can add even a more granular reason for the involved reason: author, assignee or previous assignee.</p>
<p>Also, I propose to always display the text "To change your notification preferences, please click here: %{link to my account}."</p>
<p>Below is an example from a security notification with both messages (first message is the new one; second message is the old one).<br /><img src="https://www.redmine.org/attachments/download/28373/sn.png" style="border: 1px solid grey;width: 30%;" alt="" /></p> Redmine - Defect #35734 (New): Comments are not shown correctly in Outlookmails when using nummer...https://www.redmine.org/issues/357342021-08-11T11:25:33ZPan Tau
<p>If your comment has the following structure</p>
<p>Intro:</p>
<ol>
<li>First number</li>
<li>Second number<br /><pre>
PRE-Block 1 Row 1
PRE-Block 1 Row 2
</pre></li>
<li>Third number<br /><pre>
PRE-Block 2 Row 1
</pre></li>
</ol>
<p>End</p>
<p><img src="https://www.redmine.org/attachments/download/27868/Structure.png" alt="" /></p>
<p>than the Email you receive in Outlook 2016 (for example) looks like this.</p>
<p><img src="https://www.redmine.org/attachments/download/27869/Outlookmail.png" alt="" /></p>
<p>How you can see rows were added and are nummbered in the PRE-Block.<br />So content and the numeration got worng.</p> Redmine - Defect #35732 (New): Clean up and reorder Redmine Wikihttps://www.redmine.org/issues/357322021-08-11T06:38:01ZC S
<p>The structure is getting more and more confused, especially in the area of the instructions in the individual languages there is no longer a clearly recognizable structure and there are increasing numbers of translations between the original (English).<br />Unfortunately, I do not have sufficient rights to rename or re-sort the pages ...</p> Redmine - Feature #34773 (New): Redmine should be able to understand ":30" or ":5" in the Estimat...https://www.redmine.org/issues/347732021-02-19T20:57:04ZRuben Kelevra
<p>I think the current validation is too strict, and redmine should only look for a number and ":" to be contained in the field.</p>
<p>A value of ":30" should be interpreted as 30 minutes and a value of ":5" as five minutes.</p>
<p>There's really no need to ask the users to enter a leading zero for validation purposes.</p> Redmine - Patch #34218 (New): Increase size of value field in settingshttps://www.redmine.org/issues/342182020-11-03T10:21:58ZAleksandar Pavic
<p>Size of value is text field which is around ~64kb.</p>
<p>In some cases like using some of plugins, errors like this might arise:</p>
<p><code>Mysql2::Error: Data too long for column 'value' at row 1: UPDATE settings SET value = '---\nprojects:\n 45:\n helpdesk_answer_from:</code></p>
<p>This patch increases size of text field to larger format.</p> Redmine - Defect #33829 (Reopened): Fix Atom feed for issues to correctly use the updated time fo...https://www.redmine.org/issues/338292020-08-08T07:38:16ZTatsuya Saitotwopackas@gmail.com
<p>There are <b>updated</b> tags in the Atom of issues list.<br />However, the <b>created on</b> is exported.</p>
<p>I have attached a patch to fix this.</p> Redmine - Feature #33784 (New): Updating Mercurial helper to work with Python3https://www.redmine.org/issues/337842020-07-29T14:26:55ZHarald Klimach
<p>As Mercurial is <a href="https://www.mercurial-scm.org/wiki/Python3" class="external">transitioning to Python 3</a>, I updated my Mercurial version now to make use of Python 3 and ran into trouble with the RedmineHelper. Mainly due the string handling, as the Mercurial API requires bytes objects instead of strings.</p>
<p>Here is a patch, that changes the helper to work with Mercurial on Python 3, though it is not compatible with Python2 then anymore. There probably are better ways to implement this, but it works for me in this form.</p>
<pre>
Index: lib/redmine/scm/adapters/mercurial/redminehelper.py
===================================================================
--- lib/redmine/scm/adapters/mercurial/redminehelper.py (revision 19937)
+++ lib/redmine/scm/adapters/mercurial/redminehelper.py (working copy)
@@ -45,14 +45,14 @@
</repository>
</rhmanifest>
"""
-import re, time, cgi, urllib
+import re, time, html, urllib
from mercurial import cmdutil, commands, node, error, hg, registrar
cmdtable = {}
command = registrar.command(cmdtable) if hasattr(registrar, 'command') else cmdutil.command(cmdtable)
-_x = cgi.escape
-_u = lambda s: cgi.escape(urllib.quote(s))
+_x = lambda s: html.escape(s.decode('utf-8')).encode('utf-8')
+_u = lambda s: html.escape(urllib.parse.quote(s)).encode('utf-8')
def _changectx(repo, rev):
if isinstance(rev, str):
@@ -70,10 +70,10 @@
except TypeError: # Mercurial < 1.1
return repo.changelog.count() - 1
tipctx = _changectx(repo, tiprev())
- ui.write('<tip revision="%d" node="%s"/>\n'
+ ui.write(b'<tip revision="%d" node="%s"/>\n'
% (tipctx.rev(), _x(node.hex(tipctx.node()))))
-_SPECIAL_TAGS = ('tip',)
+_SPECIAL_TAGS = (b'tip',)
def _tags(ui, repo):
# see mercurial/commands.py:tags
@@ -84,7 +84,7 @@
r = repo.changelog.rev(n)
except error.LookupError:
continue
- ui.write('<tag revision="%d" node="%s" name="%s"/>\n'
+ ui.write(b'<tag revision="%d" node="%s" name="%s"/>\n'
% (r, _x(node.hex(n)), _x(t)))
def _branches(ui, repo):
@@ -104,66 +104,67 @@
return repo.branchheads(branch)
def lookup(rev, n):
try:
- return repo.lookup(rev)
+ return repo.lookup(str(rev).encode('utf-8'))
except RuntimeError:
return n
for t, n, r in sorted(iterbranches(), key=lambda e: e[2], reverse=True):
if lookup(r, n) in branchheads(t):
- ui.write('<branch revision="%d" node="%s" name="%s"/>\n'
+ ui.write(b'<branch revision="%d" node="%s" name="%s"/>\n'
% (r, _x(node.hex(n)), _x(t)))
def _manifest(ui, repo, path, rev):
ctx = _changectx(repo, rev)
- ui.write('<manifest revision="%d" path="%s">\n'
+ ui.write(b'<manifest revision="%d" path="%s">\n'
% (ctx.rev(), _u(path)))
known = set()
- pathprefix = (path.rstrip('/') + '/').lstrip('/')
+ pathprefix = (path.decode('utf-8').rstrip('/') + '/').lstrip('/')
for f, n in sorted(ctx.manifest().iteritems(), key=lambda e: e[0]):
- if not f.startswith(pathprefix):
+ fstr = f.decode('utf-8')
+ if not fstr.startswith(pathprefix):
continue
- name = re.sub(r'/.*', '/', f[len(pathprefix):])
+ name = re.sub(r'/.*', '/', fstr[len(pathprefix):])
if name in known:
continue
known.add(name)
if name.endswith('/'):
- ui.write('<dir name="%s"/>\n'
- % _x(urllib.quote(name[:-1])))
+ ui.write(b'<dir name="%s"/>\n'
+ % _x(urllib.parse.quote(name[:-1]).encode('utf-8')))
else:
fctx = repo.filectx(f, fileid=n)
tm, tzoffset = fctx.date()
- ui.write('<file name="%s" revision="%d" node="%s" '
- 'time="%d" size="%d"/>\n'
+ ui.write(b'<file name="%s" revision="%d" node="%s" '
+ b'time="%d" size="%d"/>\n'
% (_u(name), fctx.rev(), _x(node.hex(fctx.node())),
tm, fctx.size(), ))
- ui.write('</manifest>\n')
+ ui.write(b'</manifest>\n')
-@command('rhannotate',
- [('r', 'rev', '', 'revision'),
- ('u', 'user', None, 'list the author (long with -v)'),
- ('n', 'number', None, 'list the revision number (default)'),
- ('c', 'changeset', None, 'list the changeset'),
+@command(b'rhannotate',
+ [(b'r', b'rev', b'', b'revision'),
+ (b'u', b'user', None, b'list the author (long with -v)'),
+ (b'n', b'number', None, b'list the revision number (default)'),
+ (b'c', b'changeset', None, b'list the changeset'),
],
- 'hg rhannotate [-r REV] [-u] [-n] [-c] FILE...')
+ b'hg rhannotate [-r REV] [-u] [-n] [-c] FILE...')
def rhannotate(ui, repo, *pats, **opts):
- rev = urllib.unquote_plus(opts.pop('rev', None))
+ rev = urllib.parse.unquote_plus(opts.pop('rev', None))
opts['rev'] = rev
- return commands.annotate(ui, repo, *map(urllib.unquote_plus, pats), **opts)
+ return commands.annotate(ui, repo, *map(urllib.parse.unquote_plus, pats), **opts)
-@command('rhcat',
- [('r', 'rev', '', 'revision')],
- 'hg rhcat ([-r REV] ...) FILE...')
+@command(b'rhcat',
+ [(b'r', b'rev', b'', b'revision')],
+ b'hg rhcat ([-r REV] ...) FILE...')
def rhcat(ui, repo, file1, *pats, **opts):
- rev = urllib.unquote_plus(opts.pop('rev', None))
+ rev = urllib.parse.unquote_plus(opts.pop('rev', None))
opts['rev'] = rev
- return commands.cat(ui, repo, urllib.unquote_plus(file1), *map(urllib.unquote_plus, pats), **opts)
+ return commands.cat(ui, repo, urllib.parse.unquote_plus(file1), *map(urllib.parse.unquote_plus, pats), **opts)
-@command('rhdiff',
- [('r', 'rev', [], 'revision'),
- ('c', 'change', '', 'change made by revision')],
- 'hg rhdiff ([-c REV] | [-r REV] ...) [FILE]...')
+@command(b'rhdiff',
+ [(b'r', b'rev', [], b'revision'),
+ (b'c', b'change', b'', b'change made by revision')],
+ b'hg rhdiff ([-c REV] | [-r REV] ...) [FILE]...')
def rhdiff(ui, repo, *pats, **opts):
"""diff repository (or selected files)"""
change = opts.pop('change', None)
@@ -171,34 +172,34 @@
base = _changectx(repo, change).parents()[0].rev()
opts['rev'] = [str(base), change]
opts['nodates'] = True
- return commands.diff(ui, repo, *map(urllib.unquote_plus, pats), **opts)
+ return commands.diff(ui, repo, *map(urllib.parse.unquote_plus, pats), **opts)
-@command('rhlog',
+@command(b'rhlog',
[
- ('r', 'rev', [], 'show the specified revision'),
- ('b', 'branch', [],
- 'show changesets within the given named branch'),
- ('l', 'limit', '',
- 'limit number of changes displayed'),
- ('d', 'date', '',
- 'show revisions matching date spec'),
- ('u', 'user', [],
- 'revisions committed by user'),
- ('', 'from', '',
- ''),
- ('', 'to', '',
- ''),
- ('', 'rhbranch', '',
- ''),
- ('', 'template', '',
- 'display with template')],
- 'hg rhlog [OPTION]... [FILE]')
+ (b'r', b'rev', [], b'show the specified revision'),
+ (b'b', b'branch', [],
+ b'show changesets within the given named branch'),
+ (b'l', b'limit', b'',
+ b'limit number of changes displayed'),
+ (b'd', b'date', b'',
+ b'show revisions matching date spec'),
+ (b'u', b'user', [],
+ b'revisions committed by user'),
+ (b'', b'from', b'',
+ b''),
+ (b'', b'to', b'',
+ b''),
+ (b'', b'rhbranch', b'',
+ b''),
+ (b'', b'template', b'',
+ b'display with template')],
+ b'hg rhlog [OPTION]... [FILE]')
def rhlog(ui, repo, *pats, **opts):
rev = opts.pop('rev')
bra0 = opts.pop('branch')
- from_rev = urllib.unquote_plus(opts.pop('from', None))
- to_rev = urllib.unquote_plus(opts.pop('to' , None))
- bra = urllib.unquote_plus(opts.pop('rhbranch', None))
+ from_rev = urllib.parse.unquote_plus(opts.pop('from', None))
+ to_rev = urllib.parse.unquote_plus(opts.pop('to' , None))
+ bra = urllib.parse.unquote_plus(opts.pop('rhbranch', None))
from_rev = from_rev.replace('"', '\\"')
to_rev = to_rev.replace('"', '\\"')
if hg.util.version() >= '1.6':
@@ -206,28 +207,30 @@
else:
opts['rev'] = ['%s:%s' % (from_rev, to_rev)]
opts['branch'] = [bra]
- return commands.log(ui, repo, *map(urllib.unquote_plus, pats), **opts)
+ return commands.log(ui, repo, *map(urllib.parse.unquote_plus, pats), **opts)
-@command('rhmanifest',
- [('r', 'rev', '', 'show the specified revision')],
- 'hg rhmanifest [-r REV] [PATH]')
-def rhmanifest(ui, repo, path='', **opts):
+@command(b'rhmanifest',
+ [(b'r', b'rev', b'', b'show the specified revision')],
+ b'hg rhmanifest [-r REV] [PATH]')
+def rhmanifest(ui, repo, path=b'', **opts):
"""output the sub-manifest of the specified directory"""
- ui.write('<?xml version="1.0"?>\n')
- ui.write('<rhmanifest>\n')
- ui.write('<repository root="%s">\n' % _u(repo.root))
+ ui.write(b'<?xml version="1.0"?>\n')
+ ui.write(b'<rhmanifest>\n')
+ ui.write(b'<repository root="%s">\n' % _u(repo.root))
try:
- _manifest(ui, repo, urllib.unquote_plus(path), urllib.unquote_plus(opts.get('rev')))
+ _manifest(ui, repo,
+ urllib.parse.unquote_plus(path.decode('utf-8')).encode('utf-8'),
+ urllib.parse.unquote_plus(opts.get('rev').decode('utf-8')).encode('utf-8'))
finally:
- ui.write('</repository>\n')
- ui.write('</rhmanifest>\n')
+ ui.write(b'</repository>\n')
+ ui.write(b'</rhmanifest>\n')
-@command('rhsummary',[], 'hg rhsummary')
+@command(b'rhsummary', [], b'hg rhsummary')
def rhsummary(ui, repo, **opts):
"""output the summary of the repository"""
- ui.write('<?xml version="1.0"?>\n')
- ui.write('<rhsummary>\n')
- ui.write('<repository root="%s">\n' % _u(repo.root))
+ ui.write(b'<?xml version="1.0"?>\n')
+ ui.write(b'<rhsummary>\n')
+ ui.write(b'<repository root="%s">\n' % _u(repo.root))
try:
_tip(ui, repo)
_tags(ui, repo)
@@ -234,6 +237,6 @@
_branches(ui, repo)
# TODO: bookmarks in core (Mercurial>=1.8)
finally:
- ui.write('</repository>\n')
- ui.write('</rhsummary>\n')
+ ui.write(b'</repository>\n')
+ ui.write(b'</rhsummary>\n')
</pre>
<p>It would be great, if Redmine could support Mercurial on Python 3. Maybe the <a href="https://www.mercurial-scm.org/repo/hg-committed/file/tip/mercurial/pycompat.py" class="external">mercurial.pycompat</a> module could be of help to create a patch that does not break backwards compatibility.</p> Redmine - Feature #33151 (New): Provide status for issue children via REST APIhttps://www.redmine.org/issues/331512020-03-15T14:09:56ZRasmus Eneman
<p>When the children to an issue is requested with `/issue/1.json?include=children` they are returned in the format:</p>
<pre>
{
children: Array<{
id: number
tracker: {
id: number
name: string
}
subject: string
}>,
...
}
</pre>
<p>It would be very nice if also the status where returned, like so:</p>
<pre>
{
children: Array<{
id: number
tracker: {
id: number
name: string
}
status: {
id: number
name: string
}
subject: string
}>,
...
}
</pre>
<p>When displaying an overview of a parent issue it's often very helpful to be able to show the status of all child issues.</p>
<p>This can be worked around by sending an extra request like `/issues.json?issue_id=2,3,4` for all child issues, but it feels wasteful and unnecessarily cumbersome for what I assume would be a quite common use case.</p> Redmine - Defect #32972 (New): UTF8 Symbols as Usernames get Truncatedhttps://www.redmine.org/issues/329722020-02-08T20:52:40Z
<p>i noticed my name was <code>easter egg</code> on this redmine and i wanted it as <code>easteregg</code> but was forced to set a last name, which i choose to set to @</p> Redmine - Feature #32706 (New): Creating new ticket via e-mail: use inline images also inlinehttps://www.redmine.org/issues/327062019-12-27T15:04:47ZRobert Röttger
<p>Hello,</p>
<p>when i send a email containing an image in the text (not in attachments) then it would be nice if it also is inside the text (inline) when the ticket will be created in redmine. its fine that the image file attached to the ticket to make it work. but it would be great if we can also display the image in the right position out of the box.</p>
<p>I found this: <a class="external" href="https://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails">https://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails</a></p>
<p>_Redmine tries to use the plain text part of the email to fill the description of the issue.<br />If a HTML-only email is received, HTML tags are removed from its body.</p>
<p>Email attachments are automatically attached to the issue, unless their size exceeds the maximum attachment size defined in the application settings._</p>
<p>this kind of answers my question why it is like this now. but i think this could be rethought. i think it could be easy to translate html image tags into redmine image shortcut.</p> Redmine - Defect #32246 (New): [Redmine API] functionality to export whole wikihttps://www.redmine.org/issues/322462019-10-13T20:01:22ZWurzel mann
<p>I'm trying to export my whole wiki via the Redmine API, but the export whole wiki function as seen in the bottom right-hand corner when sorting by index is not working.</p>
<p>It is possible to export single pages via the API, but not the whole wiki, but I'd be really great to be able to backup the wiki this way in an automated fashion.</p> Redmine - Feature #31756 (New): Add more values to done ratiohttps://www.redmine.org/issues/317562019-07-19T11:17:20ZEdgar Z
<p>Hello,</p>
<p>I have a problem with done ratio. I want to add more % values like 5%, 15% etc., because i have more than 11 statuses.<br />Is there any possibility to do this?</p>
<p>Best Regards,<br />Elliot</p> Redmine - Defect #31010 (Confirmed): The query visibility option "To me only" actually behaves as...https://www.redmine.org/issues/310102019-03-11T16:30:23ZYuuki NARA
<p>If you change the display range of a shared custom query created by another person to "Only me", only creator can be used instead of me.</p>
<p>When changing the Visibility of a custom query created by someone from "to these roles only" to "to me only" <br />It becomes available only to the custom query creator, not the one who is manipulating it.<br />It seems that display content is wrong and it leads to erroneous operation.</p>
<p>It may be better to change from "to me only" to "to author only".</p>
<p>Redmine3.4.6</p> Redmine - Patch #30919 (New): Group Issues Custom Fields - (Form like Issues)https://www.redmine.org/issues/309192019-02-25T16:02:48ZFrederico Camara
<p>This patch adds a new tab in the project settings. In this tab, you can reorder and group custom fields for each tracker.</p>
<p>Reordering and grouping custom fields makes them appear as this for this project only in vieweing an issue and editing an issue.</p>
<p>It was developed for Redmine 3.2. In Redmine 3.4~, you can make a custom field take the full width, which makes these go to the bottom of the issue page. I had to adapt it so that you can still reorder the half width custom fields separated from the full width custom fields.</p>
<p>If it sounds confusing, see the screenshots (sorry they are in portuguese).</p>
<p>To apply:</p>
<p>patch <del>p1 < GCF</del><your redmine version>.patch<br />touch tmp/restart.txt<br />RAILS_ENV=production bundle exec rake db:migrate</p>
<p>PDF and email formatting not implemented yet.</p> Redmine - Feature #29894 (New): View watchers on the issue listhttps://www.redmine.org/issues/298942018-11-02T04:46:42ZGo MAEDA
<p>Currently, you have to go to the detail page of an issue if you want to see the list of watchers.</p>
<p>I think it would be nice if Redmine shows watchers for each issue on the issues list. With this feature. This feature is a bit similar to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: View attachments on the issue list (Closed)" href="https://www.redmine.org/issues/25515">#25515</a>.</p> Redmine - Feature #29405 (New): Support header Content Security Policy https://www.redmine.org/issues/294052018-08-18T12:31:20ZLudovic Andrieux
<p>Hi,</p>
<p>According Google, this a basic Content Security Policy.<br /><pre>
Content-Security-Policy: default-src https:; script-src https: 'unsafe-inline'; style-src https: 'unsafe-inline'
</pre></p>
<p>Redmine crash with it because there is some call to eval in javascript in some pages.</p>
<p>Regards,<br />Ludovic</p> Redmine - Feature #28150 (New): Ability to choose Fields permissions for new issuehttps://www.redmine.org/issues/281502018-02-07T11:47:22ZAleksandar Pavic
<p>Fields permissions, are missing a setting, in a same way as status transmissions.</p>
<p>If you take a look at Status transitions, vs Fields permissions, you will see that Fields permissions are missing settings if user is author, <br />nd when user is assignee.</p>
<p>It is also missing a setting for field visibility for special status New issue, which is available for Status transitions.</p>
<p>Currently it means that author can change issue attributes, as long as issue is in same status.<br />But desired behaviour is to have author enter issue attributes only once, and later he can't change them, or anyone else from some<br />specific role, unless there are special settings if user is author or assignee...</p>
<p>Just like on Status transitions.</p> Redmine - Defect #27543 (New): Key/value-pair custom field type not available to all customisable...https://www.redmine.org/issues/275432017-11-16T10:53:10ZFelix Schäfer
<p>The key/value-pair custom field type is currently limited to the same customisable contents as User and Version custom fields. For the key/value-pair custom field type this limitation is not necessary as the key/value-pairs are not project dependant.</p>
<p>The following patch removes the limitation inherited from the <code>RecordList</code> in the <code>EnumerationFormat</code>.</p>
<pre><code class="diff syntaxhl"><span class="gd">--- a/lib/redmine/field_format.rb
</span><span class="gi">+++ b/lib/redmine/field_format.rb
</span><span class="p">@@ -723,6 +723,8 @@</span> module Redmine
end
class EnumerationFormat < RecordList
<span class="gi">+ self.customized_class_names = nil
+
</span> add 'enumeration'
self.form_partial = 'custom_fields/formats/enumeration'
</code></pre>
<p>Another possibility would be to move the limitation from the parent class <code>RecordList</code> to the child classes that need it (<code>UserFormat</code>, <code>VersionFormat</code>), but that would mean that other existing subclasses (e.g. from plugins) would need to be updated if they rely on this limitation.</p> Redmine - Patch #26104 (New): Quick jump to issue only if searching for issueshttps://www.redmine.org/issues/261042017-06-06T13:31:32ZHolger Just
<p>Previously, we would always jump to the issue if a user searches for a, number which exists as an issue ID, regardless where the user searches. That made it impossible to search for e.g. prefixes of phone numbers in wiki pages.</p>
<p>With the attached patch, we are only jumping to the matching issue if we are searching for issues. This results in a behavior change for the quick search box in the the wiki and other areas. Previously, we would also jump to an issue there. Now, we just search in the wiki for the number.</p>
<p>The quick search bar in issues as well as the global search for all objects is unaffected by this change.</p> Redmine - Feature #23307 (Resolved): Include auth_source field in User API responsehttps://www.redmine.org/issues/233072016-07-12T13:37:30ZRoger Mårtensson
<p>it would've been nice to be able to get which auth_source_id a given user has through the REST API. A nice complement to when creating user where it is possible to set the auth_source_id.</p> Redmine - Feature #23212 (New): Project tree size and counterhttps://www.redmine.org/issues/232122016-06-30T15:53:10ZDiego Gonzalez
<p>I work in a big company where we have implemented redmine and have generated many projects which in turn contain subprojects and within several requests.<br />It becomes difficult to work on the project overview for the amount that I count and at the same time, I do not have an indicator / counter to know that amount of subproyectosse include for each project.</p>
<p>There will be some plugin available that can meet my needs?</p>
<p>Thank you very much.</p> Redmine - Feature #22497 (New): Sorting and displaying users is different orderhttps://www.redmine.org/issues/224972016-04-14T07:10:43ZKrzysztof Wosinski
<p>I tried to sort users (mainly in watchers list) in a different order than the order of displaing them. While users are to be displayed in the 'firstname lastname' order, I wanted to sort them by their lastname ('lastname firstname'), for example: "John Doe, Ann Smith" instead of the default sorting for this type of display "Ann Smith, John Doe".<br />I changed the order the ':order' field in /models/user.rb but it seems that it affected nothing - the users are still ordered according to the setting in ':string' field.<br />What does the ':order' do then?</p>
<p>Environment:<br /> Redmine version 2.4.2.stable<br /> Ruby version 1.9.3-p484 <br /> Rails version 3.2.16</p> Redmine - Patch #20384 (New): Proposal: Workflow enhancementhttps://www.redmine.org/issues/203842015-07-21T13:20:05ZFrederico Camara
<p>I work at a large ICT public company in Brazil and we are using Redmine here.</p>
<p>At first it didn't become apparent that the workflow tools in Redmine would be limiting in any way. But as we start to build more complex workflows and reutilize roles and tracker names for different projects and teams, we noticed that a workflow being inherent to a specific role and tracker, was making us come with similar names and synonyms to roles and trackers so we could develop new workflows for a different areas in our company. Examples of this are: using lower and uppercase in names, adding numbers, using words in both genders (substantives in portuguese have gender inflexion). Ultimately it became an annoyance, as similar entries would populate various menus across Redmine.</p>
<p>Also, the closed state being inherent to a issue status, also made we duplicate entries, bacause in a workflow, some state would close the issue whereas in another workflow, the same state would not.</p>
<p>I still think workflows should still be inherent to roles and trackers, but projects could have diferent workflow sets to choose from, so that you could still have different projects using the same workflow and at the same time could have different projects using different workflows.</p>
<p>Also, the closed state should be inherent to the workflow being used.</p>
<p>For a first proposal, I would have another entry in the admin menu for a workspace, workflow set, or workflow space, or whatever the best term is in english. From there, workflows would be part of a workspace and in each project you would select the workspace to use. For migration purposes, all existing and new workflows and projects would be assigned to the default workspace. New subprojects should have selected the same workspace as the parent at creation. There is no inheritance of workspace between projects.</p>
<p>The main advantages are:</p>
<ul>
<li>fewer roles created;</li>
<li>fewer issue statuses created;</li>
<li>simpler migration between workflows;</li>
<li>more control over complex infrastructure;</li>
<li>very low impact on simpler infrastructure.</li>
</ul> Redmine - Feature #20310 (New): Ability to switch date format (from relative into absolute) in is...https://www.redmine.org/issues/203102015-07-14T10:26:32ZAntonio Kless
<p>On Issue page, if there are some notes, every note has its own title, like "Updated by <span>USERNAME</span> about 1 month ago".</p>
<p>If hover "about 1 month ago" with mouse, there is HTML title (hovering tooltip) with absolute date of this note.</p>
<p>I ask an option to turn relative-style "about 1 month ago" titles into absolute-style "2015-06-09 16:56" titles by default. So admin (or even user for himself) could switch between this two modes.</p>
<p>I'm sorry if there is already such functionality, but I didn't find it.</p> Redmine - Feature #18831 (New): Support Automatic Assigning of Issues on Status Changehttps://www.redmine.org/issues/188312015-01-13T21:04:53ZChris Bush
<p>I'd like the ability to update the "Assigned To" field to certain macros when an issue status is updated to certain statuses. For example, if I change the status to something like "Awaiting More Information," I'd like the Assigned To field to automatically be updated to the reporter (perhaps as a <<reporter>> macro, similar to <<me>>). This could be accomplished by adding a field to the Issue Statuses interface in administrative settings.</p> Redmine - Defect #14976 (New): authentication required configurablehttps://www.redmine.org/issues/149762013-09-24T11:59:03ZHuang Ruhua
<p>when authentication required option is checked, all url required logined. but i expect some url is accessible to anonymous users, like '/attachments/download/3029/picture431-1.png', or else these image can't be displayed in email</p> Redmine - Feature #14673 (New): Custom field width sizehttps://www.redmine.org/issues/146732013-08-12T17:00:49ZMichelle H
<p>I have a custom list, a field - with multiple values. As it has quite a bit of text, it cuts off the entire sentence when I want to create a new issue.</p>
<p>It would be awesome there was a way to change the width of the custom field.</p> Redmine - Feature #13244 (Reopened): Restrict log time for old dayshttps://www.redmine.org/issues/132442013-02-21T08:20:57ZPavel Potcheptsovektos.net@gmail.com
<p>For example any user have to log his spent time today or tomorrow.<br />If he try to log time for period more than yesterday - it should be not possible.<br />There are kind of users that sometimes log their time for period weeks ago and this is bad.<br />Is there any suggestion how to prevent such things.</p> Redmine - Feature #12579 (New): Ability to assign issues to multiple usershttps://www.redmine.org/issues/125792012-12-12T10:51:41ZBishoy Medhat
<p><ins><strong>Dear All:</strong></ins></p>
<p><ins>Kindly I need to make <strong>"Assignee"</strong> Combo box allow <strong>"Multi-Selection"</strong> because of:</ins></p>
<ul>
<li>Sometimes , Groups don't help me while assigning a specific issue to more than one member.<br />This happened in case where the assignees are not gathered in a group. (This happened frequently)<br />(<strong>Note that:</strong> There is an Infinite combination of users!!)<br />So , I need the <strong>"Assignee"</strong> field to be a <strong>List Box</strong> which allow <ins><strong>"Multi-Selection"</strong></ins>.</li>
</ul> Redmine - Feature #12521 (Reopened): Tracker can not be deleted - because issues of archived proj...https://www.redmine.org/issues/125212012-12-06T11:41:05ZWalter Seethaler
<p>Redmine: 1.3.3.stable.9519 (MySQL)<br />MySQL: 5.0.51a-24+lenny5<br />ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]<br />rails (2.3.14, 2.3.11)</p>
<p>As a feature, it is not possible to delete the Trackers, of existing issues.</p>
<p>But even after deletion of all related issues of a tracker (in all open and archived projects), it is (sometimes) not possible to delete trackers. This is because when a project is deleted, its issues stay in the database.</p>
<p>A look in the Database:<br />- when a project is deleted of table: projects<br />- it's assigned issues stay in table: issues<br />- eg. issue 2545 has a foreign key, pointing to project 12, which was deleted<br />- those tickets stay around forever and can not be delete from the UI</p>
<p>Thus, the Tracker of issue 2545, can never be deleted, because of the "zombie" ticket.</p>
<p>DB-Topics: on delete cascade, referential integrity constraint</p>
<p>In addition, when an adminitrator trys to accesses the ticket (/issues/2545), he gets the weird message: 403 - not enough rights. Weird, because an admin has all rights. A better message would help to find bugs faster, especially if this bugs also applies to: versions, documents and so on.</p>
<p>By the way. Redmine is great, thx for your work.</p> Redmine - Feature #11044 (New): Custom field types for time and datetimehttps://www.redmine.org/issues/110442012-05-29T15:01:55ZFlorian Schwab
<p>It would be nice to have time and datetime as a custom field type.</p> Redmine - Feature #9309 (New): Descriptions in Saved Querieshttps://www.redmine.org/issues/93092011-09-22T22:11:42ZAnonymous
<p>Especially for public queries, it would be really useful to provide a simple description field where one could describe what the query displays and what it's used for.</p> Redmine - Feature #8155 (New): Editable related issueshttps://www.redmine.org/issues/81552011-04-14T20:01:21ZAlcides Silveira Costa
<p>Hello,</p>
<p>every time I add a wrong relationship on the related issues section, I have to delete the relationship and add it again, with the correct relationship. There's no option to edit the already created relationship (by edit button, context menu, etc).</p>
<p>It would be nice to have such a feature on the next releases.</p> Redmine - Feature #7867 (Reopened): Author group filteringhttps://www.redmine.org/issues/78672011-03-15T11:34:25ZAlex Belyaev
<p>Is it possible to add group of auther for filtering of tasks?</p> Redmine - Feature #5830 (New): Replace famfamfam icons with the fugue sethttps://www.redmine.org/issues/58302010-07-07T11:36:16ZFelix Schäfer
<p>The fugue set (<a href="http://code.google.com/p/fugue-icons-src/" class="external">google code project</a>, <a href="http://fugue-icons-src.googlecode.com/svn/trunk/all-preview.png" class="external">preview</a>) seems to be a lot more complete than the famfamfam set. I was looking at famfamfam for an activity icon for a plugin, but couldn't find something that really satisfied me, fugue offers more choice, but I don't want to mix them.</p>
<p>Is someone really badly attached to famfamfam, or is it thinkable to replace the icon set?</p> Redmine - Feature #5098 (New): Custom SQL Querieshttps://www.redmine.org/issues/50982010-03-16T22:07:16ZPascal Schoenhardt
<p>Hi everyone,</p>
<p>Redmine's query interface is great, but sometimes there are queries that aren't possible using just the query builder. It would be cool if one had the option of either using the query builder <strong>or</strong> typing in SQL manually. The custom query would have to return only the set of issue IDs, which Redmine could then use to fetch all additional information it needs to properly display the result set in the usual way.</p>
<p>It would probably be possible to support the regular query builder on top of the custom query. For example, the custom query is used internally to create a view, and then the query builder is applied to the view, rather than the issues table.</p>
<p>Just a thought. It would certainly add a lot of flexibility for power-users, and they wouldn't have to constantly pester you for specific filter-related features.</p> Redmine - Feature #4687 (New): Add copy project permissionhttps://www.redmine.org/issues/46872010-01-28T23:48:20ZNick Fitzgerald
<p>With the ability to copy projects, it would be nice to be able to grant permissions to do so. Currently only Redmine administrators can copy projects. If this permission is added a Copy project link could be added on the Overview tab next to the Add subject link.</p> Redmine - Patch #4635 (New): Filter by Role clausehttps://www.redmine.org/issues/46352010-01-22T15:06:23ZDmitry Chernyak
<p>We are using the roles like "Project manager" and "Tracker manager" who must to assign issues to project's actors and to control the execution flow.</p>
<p>We have in common about 100 projects and one user can have different roles in different projects.</p>
<p>And there is the problem for project manager to find "All unassigned issues in all managed projects".</p>
<p>So this patch introduces a new filter clause "Role" which means "the role of the logged user in the project".</p> Redmine - Feature #3956 (New): Login by Emailhttps://www.redmine.org/issues/39562009-10-01T13:16:06ZBenson M
<p>I was looking at a <a href="http://www.phpbb.com/community/viewtopic.php?f=69&t=636415#p3527055" class="external">phpBB MOD</a> and thought this is something good any site with user authentication could use.<br />It lets you login with your email address, and disallows people registering new usernames that match the emails of previously registered users.</p> Redmine - Patch #3195 (New): issue's start date could be the latest due date of predecessorshttps://www.redmine.org/issues/31952009-04-17T04:54:20ZSanghyuk Suh
<p>currently, the start date of a issue must be later than the latest due date of predecessors.<br />it means i cannot continue working in the same day.</p>
<p>i have made a patch for fix it.</p> Redmine - Feature #1459 (New): Global Holidays calendarhttps://www.redmine.org/issues/14592008-06-16T08:17:45ZAndrés Escudero Apesteguía
<p>A global Holidays calendar should be desirable in order to plan a project.</p> Redmine - Defect #1389 (New): Support "x-*" language codes by removing length limithttps://www.redmine.org/issues/13892008-06-05T18:02:58ZArthaey Angosii
<p>Forcing language codes to be <= 5 characters does not allow for "x-*" codes, which can be arbitrarily long:</p>
<blockquote>
<p>"The most widely used standard for identifying languages in Internet documents (such as in HTTP headers or HTML metadata or in the XML lang attribute) is <a href="http://www.ietf.org/rfc/rfc4646.txt" class="external">RFC 4646</a> (formerly RFC 3066). In that standard, a three-letter identifier is interpreted as being a code from the <a href="http://www.loc.gov/standards/iso639-2/" class="external">ISO 639-2</a> standard. RFC 4646 offers an extension mechanism of tags beginning with x- to handle custom codes for languages not covered in the standard." <em>(Source: <a class="external" href="http://www.ethnologue.com/codes/">http://www.ethnologue.com/codes/</a>)</em></p>
</blockquote>
<p>There are also "i-*" codes for grandfathered codes. See also the <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" class="external">w3c HTML4 spec for the <code>lang</code> attribute</a> and <a href="http://www.ietf.org/rfc/rfc1766.txt" class="external">RFC 17666</a>.</p> Redmine - Feature #1266 (New): Feature: Allow setting multiple target-milestoneshttps://www.redmine.org/issues/12662008-05-20T17:01:47ZSepp _
<p>this is needed when we discover a bug and it needs to be fixed in the stable branch and in the development-branch....<br />It is difficult and not very much the desired resultto copy each issue for each milestone...</p>
<p>I think, the issue could internally be seen as "several issues"...., like #1234m1 for milestone 1??<br />When it gets fixed for milestone <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a>, i'd like to set milestone one as fixed. If i search all tickets for milestone 2,<br />this issue should still show up and should not be seen as fixed. Maybe it would be nice to see it 95% fixed, so i know, that you just have tu merge the code and test it....</p>
<p>what do you think?</p> Redmine - Feature #1151 (New): Open Links in New-Windowhttps://www.redmine.org/issues/11512008-05-01T09:14:36ZMarco Tralles
<p>actualy each detetected link in ticet-descriptions or other texts will open in the same window and so the open redmine gets lost. by creating xhtml-sites it's not allowed to use the target-tag - i know - but you can use this kind of javascript-pendant i use also for WAI-compatible sites:</p>
<p><code><a href="http://www.any-target-domain.tld" onclick="window.open(this.href); return false;" title="external link">www.any-target-domain.tld</a></code></p>
<p>it would be helpfull if this behavior will be added to redmine.</p>