Commit Graph

5950 Commits

Author SHA1 Message Date
Toshi MARUYAMA
040b473e55 use "assert_not" instead of "refute" at MailHandlerTest#test_add_issue_with_private_keyword
git-svn-id: http://svn.redmine.org/redmine/trunk@19806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-03 16:11:04 +00:00
Toshi MARUYAMA
6d2cc2fbd7 add parentheses to nested method call in MailHandlerTest#test_safe_receive_should_rescue_exceptions_and_return_false
git-svn-id: http://svn.redmine.org/redmine/trunk@19805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-03 16:08:47 +00:00
Go MAEDA
c34b10a2f0 Add fixtures for UserImportTest (#33102).
git-svn-id: http://svn.redmine.org/redmine/trunk@19802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-02 14:29:52 +00:00
Go MAEDA
cb0161dc0e Show Roadmap tab when subprojects have defined versions (#7956).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 08:58:26 +00:00
Go MAEDA
ebf5d219c9 Import user accounts from CSV file (#33102).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@19799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-30 04:53:24 +00:00
Toshi MARUYAMA
807fd7a9e9 gantt: add parameter to GanttsControllerTest#test_gantt_should_export_to_pdf to show dates
git-svn-id: http://svn.redmine.org/redmine/trunk@19794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:57:35 +00:00
Toshi MARUYAMA
85fdc36656 gantt: add parameter to GanttsControllerTest#test_gantt_should_export_to_png to show dates
git-svn-id: http://svn.redmine.org/redmine/trunk@19793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:57:24 +00:00
Toshi MARUYAMA
92b7427c49 fix source indent of GanttsControllerTest#test_gantt_should_export_to_png
git-svn-id: http://svn.redmine.org/redmine/trunk@19792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:57:15 +00:00
Toshi MARUYAMA
5ed4e3c0ea fix source indent of GanttsControllerTest#test_gantt_should_export_to_pdf
git-svn-id: http://svn.redmine.org/redmine/trunk@19791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:57:05 +00:00
Toshi MARUYAMA
7d97cd4d5c shorten log line at GanttsControllerTest#test_gantt_should_work
git-svn-id: http://svn.redmine.org/redmine/trunk@19790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:56:46 +00:00
Toshi MARUYAMA
407f83a775 fix source indent of GanttsControllerTest#test_gantt_should_work
git-svn-id: http://svn.redmine.org/redmine/trunk@19789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-27 01:56:36 +00:00
Toshi MARUYAMA
dd35671202 add test of upload filename with plus (#11568)
git-svn-id: http://svn.redmine.org/redmine/trunk@19786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-19 08:23:03 +00:00
Go MAEDA
87fe91ae52 Add missing "icon" class to items with "icon-checked" class in the context menu (#33437).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-15 04:49:41 +00:00
Go MAEDA
ca2bde9fbf Updating an issue via REST API causes internal server error if invalid project id is specified (#33417).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-14 14:33:07 +00:00
Go MAEDA
2eb7d4fd35 Fix a RuboCop offense Layout/TrailingWhitespace due to r19766 (#27790).
git-svn-id: http://svn.redmine.org/redmine/trunk@19768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-09 03:19:04 +00:00
Toshi MARUYAMA
6404ee5714 scm: mercurial: add double quote branch and tag name to test repository (#27790)
git-svn-id: http://svn.redmine.org/redmine/trunk@19766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 13:08:40 +00:00
Toshi MARUYAMA
07d14ce721 scm: mercurial: refactor MercurialAdapterTest#test_branches for easy adding new branch to test repository
git-svn-id: http://svn.redmine.org/redmine/trunk@19764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:37 +00:00
Toshi MARUYAMA
dc8b695f9e do not use redundant .to_s in RepositoriesMercurialControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:27 +00:00
Toshi MARUYAMA
688c613054 fix source indents of RepositoriesMercurialControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:18 +00:00
Toshi MARUYAMA
14f0215dbf fix source indents of MercurialAdapterTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 12:25:08 +00:00
Go MAEDA
4fd0e739db Fix that totals of custom fields may not be sorted as configured (#33281).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 04:30:24 +00:00
Go MAEDA
43cc93755a Support issue relations when importing issues (#28198).
Patch by Gregor Schmidt and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-06 00:37:56 +00:00
Toshi MARUYAMA
92fdcc1ce4 remove git format patch footer (#33357)
git-svn-id: http://svn.redmine.org/redmine/trunk@19752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-05 11:56:05 +00:00
Toshi MARUYAMA
ff41de6f8e add git format patch to UnifiedDiffTest (#33357)
git-svn-id: http://svn.redmine.org/redmine/trunk@19751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-05 11:55:54 +00:00
Go MAEDA
fd1d89827e Redirect to index page instead of edit page after creating a new custom field (#32783).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-04 00:46:50 +00:00
Go MAEDA
e9e0c538da Use more efficient "exists?" instead of "first" in tests when checking the existence of rows (#33367).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-03 00:44:08 +00:00
Go MAEDA
835b533889 Include updated_on and passwd_changed_on columns when exporting users to CSV (#33347).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-02 03:03:00 +00:00
Go MAEDA
b6a3c2a341 Add missing fixtures to VersionsHelperTest (#33376).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-01 04:26:26 +00:00
Go MAEDA
94c62816a5 Allowed/Disallowed email domains settings to restrict users' email addresses (#3369).
Patch by Yuichi HARADA and Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-30 09:00:06 +00:00
Toshi MARUYAMA
d94226dd4c add test to UnifiedDiffTest to keep similar git footer line (#33357)
git-svn-id: http://svn.redmine.org/redmine/trunk@19734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-30 02:07:17 +00:00
Go MAEDA
8374ae8513 Fix test failures due to r19731 (#33296).
git-svn-id: http://svn.redmine.org/redmine/trunk@19733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-29 07:43:04 +00:00
Go MAEDA
953fce3c95 Fix time entry user is shown twice in the User drop-down (#33341).
Patch by Thomas Löber and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-27 06:19:26 +00:00
Go MAEDA
6e232ad13e Show open/closed badge on issue page (#33254).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-23 10:13:10 +00:00
Go MAEDA
f19c291b59 Show groups in members box on project overview page (#33174).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-22 14:52:58 +00:00
Go MAEDA
adb899e1b9 Adds option to include issue custom fields in projects#show API response (#33301).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-21 08:55:33 +00:00
Toshi MARUYAMA
0421636cd7 add Redmine::Database.sqlite? as with postgresql? and postgresql?
git-svn-id: http://svn.redmine.org/redmine/trunk@19711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 02:06:57 +00:00
Toshi MARUYAMA
ea5da4d1be remove duplicate mysql? and postgresql? logic
git-svn-id: http://svn.redmine.org/redmine/trunk@19710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 02:06:45 +00:00
Toshi MARUYAMA
3711da2529 use CGI.unescapeHTML instead of CGI::unescapeHTML in test/test_helper.rb as with previous revision
git-svn-id: http://svn.redmine.org/redmine/trunk@19709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 02:06:35 +00:00
Toshi MARUYAMA
56af84bf3c use same "Redmine::Database.mysql?" as with r19706 in test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-20 02:06:24 +00:00
Go MAEDA
0e9c9fbe93 Fix a RuboCop offense Style/ColonMethodCall due to r19699 (#24030).
git-svn-id: http://svn.redmine.org/redmine/trunk@19706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-18 04:59:51 +00:00
Go MAEDA
a9a3d71e63 Test for r19702 (#33273).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-15 14:15:24 +00:00
Toshi MARUYAMA
6d6f765e03 scm: git: replace test repository text file content meaningfully (#24030)
git-svn-id: http://svn.redmine.org/redmine/trunk@19701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 12:04:58 +00:00
Toshi MARUYAMA
7ac8a8695c fix source indent of previous commit (#24030)
git-svn-id: http://svn.redmine.org/redmine/trunk@19700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:47:03 +00:00
Toshi MARUYAMA
f6f136871a scm: git: add test of UTF-8 Emoji committer and comments (#24030)
git-svn-id: http://svn.redmine.org/redmine/trunk@19699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:20:52 +00:00
Toshi MARUYAMA
6cdd161ba1 scm: git: add new test repository which has UTF-8 Emoji committer and comments (#24030)
git-svn-id: http://svn.redmine.org/redmine/trunk@19698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:20:41 +00:00
Toshi MARUYAMA
ea7ea68189 scm: subversion: use NUM_REV at RepositorySubversionTest#test_next_nil for easy test repository update
git-svn-id: http://svn.redmine.org/redmine/trunk@19697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 05:40:20 +00:00
Go MAEDA
a14697df68 Unify CSS classes for custom fields in issue#show, issue#edit and issue#bulk_edit (#32471).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-11 09:00:34 +00:00
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