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
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
29063283da
Ajax Request Returns 200 but an error event is fired instead of success ( #30073 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-05 08:33:29 +00:00
Go MAEDA
039580b73d
Display user logins on profiles ( #26127 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 00:10:09 +00:00
Go MAEDA
46b028b1b8
Fix that the following tests fail randomly due to uninitialized User.current ( #29853 ):
...
* AttachmentsVisibilityTest#test_attachment_should_be_visible
*
Redmine::AttachmentFieldFormatTest#test_should_accept_a_hash_with_upload_on_create
*
Redmine::AttachmentFieldFormatTest#test_should_replace_attachment_on_update
Patch by Gilad Shanan.
git-svn-id: http://svn.redmine.org/redmine/trunk@17616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-11-03 07:15:00 +00:00
Go MAEDA
55ee0b8f7f
Add assignable, issues_visibility, time_entries_visibility and users_visibility to Roles API response ( #28191 ).
...
Patch by Alex Stanev.
git-svn-id: http://svn.redmine.org/redmine/trunk@17498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 00:17:11 +00:00
Go MAEDA
0d29d3208d
Expose the Admin flag on the users api to admin users ( #29459 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@17496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-20 14:54:38 +00:00
Go MAEDA
43d9bea7c5
/users API accepts boolean strings for generate_password field ( #28686 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-06 08:31:23 +00:00
Toshi MARUYAMA
aa5e49c37b
fix element order ( #26769 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-28 04:20:55 +00:00
Toshi MARUYAMA
7cb8ce8e40
add category_id to REST issue creation tests ( #26769 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-28 04:15:55 +00:00
Jean-Philippe Lang
09e55e3e3a
Adds a few tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-31 16:44:06 +00:00
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Toshi MARUYAMA
d73f437f06
Update remaining copyrights.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 07:08:12 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
966f238da4
Use Rails 5 syntax for integration tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 18:17:27 +00:00
Jean-Philippe Lang
73dc7256c6
Adds a test for #25526 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:10:16 +00:00
Toshi MARUYAMA
749e260980
add missing fixtures to test/integration/api_test/api_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-21 11:29:56 +00:00
Jean-Philippe Lang
ba788c336d
REST API: option to get the project activities for time entries ( #7506 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 19:12:51 +00:00
Jean-Philippe Lang
331c1f674d
Add attachment information to issues.xml in REST API ( #12181 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:18:58 +00:00