Commit Graph

5953 Commits

Author SHA1 Message Date
Go MAEDA
ea54e1acdb Fix that bulk download raises Errno::EACCES on Windows (#7056).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 07:58:01 +00:00
Jean-Philippe Lang
192263b856 Don't use User.current in TimeEntryImport model but #user instead (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 19:28:37 +00:00
Jean-Philippe Lang
99df2c5c58 Creating time tracking entry for other user through rest API fails with 403 (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 18:39:05 +00:00
Jean-Philippe Lang
d955672a7d Reverted r19669 and r19670 (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 17:29:53 +00:00
Jean-Philippe Lang
3fcaff3670 Creating time tracking entry for other user through rest API fails with 403 (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:28:06 +00:00
Jean-Philippe Lang
ba27fe1b4e Creating time tracking entry for other user through rest API fails with 403 (#32774).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 14:23:40 +00:00
Jean-Philippe Lang
9b5cccff39 ##123 syntax for linking to issues: Title cannot be distinguished from following text (#32765).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 10:51:46 +00:00
Jean-Philippe Lang
ace151c14c Fixed assertion broken by r19654 (#3800).
git-svn-id: http://svn.redmine.org/redmine/trunk@19662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 10:14:55 +00:00
Jean-Philippe Lang
3079cef213 Adds a test for r19660 (#32793).
git-svn-id: http://svn.redmine.org/redmine/trunk@19661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 10:00:40 +00:00
Jean-Philippe Lang
d6734e6239 Fix sort does not work with group by datetime columns (#33110).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 09:43:03 +00:00
Jean-Philippe Lang
9fcfeb1b36 Editing time entries should show the time entry user (#3800).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:29:15 +00:00
Jean-Philippe Lang
2b122d2b65 Reorder and rename test added in r19651 (#32973).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:22:39 +00:00
Jean-Philippe Lang
e91dbcb5a7 Editing a time entry for a locked user changes the user to the current user (#32973).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:21:25 +00:00
Jean-Philippe Lang
214ec3e806 Time entries csv export should check issue visibility (#33075).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 07:39:29 +00:00
Go MAEDA
aa4d0c6bda Support custom fields when exporting users to CSV (#33126).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-04 01:42:16 +00:00
Go MAEDA
6e781f6479 Fix that "Successful deletion" notice is not displayed after deleting some types of content (#33116).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-04 00:43:28 +00:00
Go MAEDA
a24834fa77 Skip thumbnail tests if ImageMagick convert command is not available (#33226).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 08:04:15 +00:00
Go MAEDA
c5ec830b68 Remove duplicate keys from sort criteria (#32737).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-02 06:22:23 +00:00
Go MAEDA
c7806ccbdf Fix issues and spent time CSV export does not include custom fields with "Full width layout" enabled (#33169).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-01 16:20:10 +00:00
Go MAEDA
e04fb3e78b Display avatar on add watchar dialog (#32976).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@19626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-31 09:30:47 +00:00
Go MAEDA
d449409ab9 Unable to edit user or group that has custom fields with text formatting enabled (#33183).
Patch by Go MAEDA and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-24 12:56:35 +00:00
Go MAEDA
1473996f92 Export to PDF fails when subject of parent task is included in issue list (#33103).
Patch by Marius BALTEANU and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-24 12:16:06 +00:00
Go MAEDA
4a7bc593af Display bulk_download_max_size in human-readable representation (#7056).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-23 05:52:40 +00:00
Toshi MARUYAMA
12318cff4d scm: mercurial: add test of author and message which have control character (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:35:09 +00:00
Toshi MARUYAMA
8de1d87e70 scm: mercurial: update test repository (#23055)
git-svn-id: http://svn.redmine.org/redmine/trunk@19607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:34:59 +00:00
Toshi MARUYAMA
28f91a7332 scm: mercurial: refactor MercurialAdapterTest#test_branches for easy adding new branch to test repository
git-svn-id: http://svn.redmine.org/redmine/trunk@19605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-22 16:15:14 +00:00
Go MAEDA
ab47fb8ae0 Download all attachments at once (#7056).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-21 05:59:31 +00:00
Go MAEDA
67212d1d00 Test for r19588 (#33085).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 02:31:13 +00:00
Go MAEDA
348df5f978 Show default assignee and default version in projects API (#33113).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-17 08:59:21 +00:00
Go MAEDA
af36d450e4 Reverts r19569 (#33071).
404 error after deleting an attachment.


git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-14 03:49:44 +00:00
Go MAEDA
5917137d12 Show warning and the reason when the issue cannot be closed or reopen because of open subtask(s), blocking issue(s) or closed parent issue (#31589).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:50:47 +00:00
Go MAEDA
463e8163fc Require sudo mode for actions to delete contents (#33071).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-10 03:26:23 +00:00
Go MAEDA
a8ed1c7c5f Add a link to the issues list in a reminder email (#33099).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-07 08:20:26 +00:00
Go MAEDA
7a97dba9ab Fix that IssuesControllerTest occasionally fails (#33100, #4511).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@19562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-05 12:48:47 +00:00
Go MAEDA
db2118fd82 Projects filter "Subproject of" does not work when the given value is "My projects" or "My bookmarks" (#33083).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-04 08:26:34 +00:00
Go MAEDA
555a2d3116 Fix missing subject and tracker name in CSV export of time (#33052).
Patch by Kevin Fischer and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-04 07:10:07 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
b9b841b23f Updating custom fields does not trigger update to "updated_on" field in the customized object (#5354).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 06:42:00 +00:00
Go MAEDA
700ad847da Add "Assign to me" shortcut to issue edit form (#29285).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 06:13:24 +00:00
Go MAEDA
6b0afdc9ca "Role" dropdown in Workflow page is unexpectedly expanded when selecting "all" (#33059).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 04:59:48 +00:00
Go MAEDA
2253032ebc Newline between list items break a list (#32971).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 04:21:53 +00:00
Toshi MARUYAMA
c6ed9070e7 scm: git: add test to browse non UTF-8 directory (#25846)
git-svn-id: http://svn.redmine.org/redmine/trunk@19534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-27 16:27:52 +00:00
Go MAEDA
6095186e97 Include attachments in news post notifications (#33002).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-24 03:19:00 +00:00
Go MAEDA
f739dafaa4 Add a missing fixture to IssuesControllerTest (#4511, #33036).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-21 03:57:58 +00:00
Go MAEDA
efbfc76161 Auto select fields mapping in import based on the internal field name (ex: estimared_hours, fixed_version, spent_on) or field label (Estimated hours, Version, Date) (#22913).
* mappings are case insensitive
* a field is auto mapped only if there is no mapping setting present for that field
* "Current user" default value for User field when the user has permission to log time for other users is override by the auto mapped column

Patch by Haihan Ji, Yuichi HARADA, and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 14:52:02 +00:00
Go MAEDA
4d341f0f14 Use 'user' as internal field instead of user_id because the column accepts also user login as value, not only the id (#22913).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-19 14:31:39 +00:00
Go MAEDA
6f603f285f Fix that CSS selector in test_index_should_show_warning_when_no_workflow_is_defined is too specific (#32927).
Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@19521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-18 02:06:51 +00:00
Go MAEDA
777704249f Fix logging time via a commit message for project specific activities (#29838).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 13:33:22 +00:00
Go MAEDA
39c979b341 Reverts r19510 that breaks IssueTest#test_closed_on_should_be_set_when_closing_an_open_issue (#5354).
git-svn-id: http://svn.redmine.org/redmine/trunk@19511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:56:03 +00:00
Go MAEDA
89c4e16807 Updating custom fields does not trigger update to "updated_on" field in the customized object (#5354).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 04:06:25 +00:00