Commit Graph

374 Commits

Author SHA1 Message Date
Go MAEDA
ec3527102d Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-15 05:51:14 +00:00
Go MAEDA
6369d139dd Uploading a big file fails with NoMemoryError (#33752).
Patch by Karel Pičman and Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-11 05:35:19 +00:00
Go MAEDA
9055e5dfe5 Include new statuses allowed by workflow in Issues REST API (#24976).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-19 09:04:24 +00:00
Go MAEDA
5b95f064e0 Fix undefined method 'split' when issue_to_id is numeric (#35039).
Patch by  Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-12 09:20:02 +00:00
Go MAEDA
9e27972181 Use media_type to get the MIME type of the request (#29914).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:06:45 +00:00
Go MAEDA
184eece3e5 Test for r20852 (#22008).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 04:52:39 +00:00
Go MAEDA
a4ee2963fb Associated Revision API (#22008).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 04:37:14 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
e1cfdc38c9 Projects API should not return invisible trackers (#30121).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-23 03:17:29 +00:00
Go MAEDA
2ee2b34987 Fix passing a wrong parameter to assert_select in API test for 'GET /users/:id' (#34492).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-31 00:44:39 +00:00
Go MAEDA
988a36babc Users API should return twofa_scheme only for administrators (#34242).
git-svn-id: http://svn.redmine.org/redmine/trunk@20687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-23 03:47:45 +00:00
Go MAEDA
5eb4b6af79 Include two-factor authentication scheme in users API response (#34242).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-23 02:58:49 +00:00
Toshi MARUYAMA
061a68e466 fix source indent of test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:19:17 +00:00
Toshi MARUYAMA
ae967251ec fix source indent of test/integration/api_test/projects_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:19:09 +00:00
Toshi MARUYAMA
22173ce0e6 fix source indent of test/integration/api_test/api_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:32:02 +00:00
Toshi MARUYAMA
5ada843638 fix source indent of test/integration/api_test/attachments_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 13:31:54 +00:00
Toshi MARUYAMA
92f87076f1 fix source indent of test/integration/api_test/time_entries_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:48:23 +00:00
Toshi MARUYAMA
17b77d3ab8 fix source indent of test/integration/api_test/memberships_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:47:53 +00:00
Toshi MARUYAMA
7dcc124d31 fix source indent of test/integration/api_test/wiki_pages_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:47:22 +00:00
Toshi MARUYAMA
1f6496c882 remove spaces inside {} of test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-12 12:57:58 +00:00
Toshi MARUYAMA
81020f9d7d fix source indent of test/integration/api_test/groups_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-09 15:57:04 +00:00
Toshi MARUYAMA
9f8c788654 fix source indent of test/integration/api_test/issue_relations_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:43:48 +00:00
Toshi MARUYAMA
d8733f7fe4 add space after comma to test/integration/api_test/projects_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:42:59 +00:00
Toshi MARUYAMA
4ed0f0c345 add space after comma to test/integration/api_test/memberships_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-07 12:42:51 +00:00
Go MAEDA
094a7cbd9e Redmine::ApiTest::UsersTest fails if config.time_zone is set (#33592, #33787).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-02 05:26:26 +00:00
Go MAEDA
36c6426a23 Include updated_on and passwd_changed_on columns in API response (#33592).
Patch by vzvu 3k6k and Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@19940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-28 15:11:39 +00:00
Toshi MARUYAMA
c28724bb68 fix source indent of test/integration/api_test/attachments_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-19 14:06:17 +00:00
Go MAEDA
4d3086ef1f Add missing fixture to Redmine::ApiTest::ProjectsTest (#33700).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 23:34:31 +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
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
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
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
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
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
f37ed77665 Use #media_type instead of #content_type to test the MIME type of a response (#32886).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-27 03:54:25 +00:00
Go MAEDA
b64d980e39 Update request_store gem to 1.4 (#31911).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-15 11:44:55 +00:00
Toshi MARUYAMA
4afc813534 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:55 +00:00
Toshi MARUYAMA
c6b1f52eb5 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/issue_categories_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:05:09 +00:00
Toshi MARUYAMA
9c2d1533b7 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/api_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 16:04:53 +00:00
Toshi MARUYAMA
7c95ae9899 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/issues_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:22 +00:00
Toshi MARUYAMA
b0da68b784 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/versions_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:10:09 +00:00
Toshi MARUYAMA
1d7e0d54db cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/time_entries_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:09:57 +00:00
Toshi MARUYAMA
4e148710cb cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/custom_fields_attribute_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 09:18:09 +00:00
Toshi MARUYAMA
46e25379ff cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/news_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:19:49 +00:00
Toshi MARUYAMA
9034729175 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/my_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:19:38 +00:00
Toshi MARUYAMA
72cb102740 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/users_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 12:34:40 +00:00
Toshi MARUYAMA
6cc77bd4a1 cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/files_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 06:27:01 +00:00