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
Go MAEDA
23cae559bc
Add estimated hours and spent hours to Versions API ( #32242 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-31 02:15:10 +00:00
Toshi MARUYAMA
a66fe49e0b
code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/my_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:14:00 +00:00
Toshi MARUYAMA
276674ce39
code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/attachments_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:49 +00:00
Toshi MARUYAMA
762d015e15
code cleanup: rubocop: fix Layout/IndentHeredoc in test/integration/api_test/files_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:38 +00:00
Toshi MARUYAMA
b9d215c656
code cleanup: rubocop: fix Layout/IndentHeredoc and Layout/IndentationConsistency in test/integration/api_test/custom_fields_attribute_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 11:13:25 +00:00
Go MAEDA
545a050ba3
Code cleanup: RuboCop: Fix Performance/Count and Performance/Detect.
...
This change corrects newly detected offenses after updating rubocop-performance to 1.5.0 in r18579.
git-svn-id: http://svn.redmine.org/redmine/trunk@18580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-02 00:53:11 +00:00
Toshi MARUYAMA
b3955c935e
code cleanup: rubocop: fix Layout/IndentHeredoc in test/integration/api_test/issues_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 10:59:01 +00:00
Toshi MARUYAMA
9237457518
code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in test/integration/api_test/issues_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 10:58:50 +00:00
Toshi MARUYAMA
b5b2f499f5
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/integration/api_test/issues_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 02:44:21 +00:00
Toshi MARUYAMA
ea3c11bf32
code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in test/integration/api_test/issues_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 17:55:26 +00:00
Go MAEDA
1e53dd7e11
Fixes not to call set_tmp_attachments_directory twice after each test ( #32094 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-20 01:31:13 +00:00
Go MAEDA
cab9053067
Add missing fixture ( #13468 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-12 12:51:23 +00:00
Go MAEDA
6b6895fc42
Fix that Redmine::ApiTest::NewsTest fails when config.time_zone is set ( #13468 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-11 01:53:00 +00:00
Go MAEDA
89739876d1
REST API for updating news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 09:03:41 +00:00
Go MAEDA
780e64a100
REST API for deleting news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:57:29 +00:00
Go MAEDA
3ca75647df
REST API for retrieving news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:55:43 +00:00
Go MAEDA
c22469838d
REST API for creating news ( #13468 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 08:52:13 +00:00
Go MAEDA
2782d4b9f9
Add inherit_members to projects API response ( #32002 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-05 04:08:30 +00:00
Go MAEDA
cd3c133eb2
Add missing fixtures to Redmine::ApiTest::VersionsTest ( #31965 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-28 04:35:19 +00:00
Go MAEDA
31e8e736f3
Code cleanup: RuboCop: Layout/TrailingBlankLines
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 03:02:20 +00:00
Go MAEDA
5c9447fd63
Support "active" attribute in Enumerations REST API ( #31559 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-30 05:57:52 +00:00
Go MAEDA
9cdd8bf039
Enables API access to /my/account for updating user account data ( #31399 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-16 09:34:49 +00:00
Go MAEDA
299f7a40b7
ApiTest fails if config.time_zone is set ( #31388 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-08 06:44:20 +00:00
Go MAEDA
adebf4da1d
Remove trailing whitespaces from test ( #31506 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
2a80dbfb76
Test for r18091 ( #26237 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-28 14:28:47 +00:00
Go MAEDA
6ef0a4c4cc
Use HTTP status code 403 instead of 401 when REST API is disabled ( #30086 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-10 02:51:28 +00:00
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly ( #31004 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-19 15:43:55 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Jean-Philippe Lang
84f322b2af
Add a description for trackers ( #442 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:38:56 +00:00
Jean-Philippe Lang
fa8984f36a
Searching for issue number with REST API redirects to issue HTML page ( #29055 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 07:28:25 +00:00