summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
Commit message (Collapse)AuthorAgeFilesLines
...
* code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in ↵Toshi MARUYAMA2019-10-141-2/+0
| | | | | | test/integration/api_test/my_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18652 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in ↵Toshi MARUYAMA2019-10-141-3/+0
| | | | | | test/integration/api_test/attachments_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18651 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/IndentHeredoc in ↵Toshi MARUYAMA2019-10-141-30/+30
| | | | | | test/integration/api_test/files_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/IndentHeredoc and ↵Toshi MARUYAMA2019-10-141-8/+6
| | | | | | 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
* Code cleanup: RuboCop: Fix Performance/Count and Performance/Detect.Go MAEDA2019-10-021-1/+1
| | | | | | | 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
* code cleanup: rubocop: fix Layout/IndentHeredoc in ↵Toshi MARUYAMA2019-09-301-12/+9
| | | | | | test/integration/api_test/issues_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in ↵Toshi MARUYAMA2019-09-301-25/+21
| | | | | | test/integration/api_test/issues_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18561 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in ↵Toshi MARUYAMA2019-09-301-4/+0
| | | | | | test/integration/api_test/issues_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ClosingHeredocIndentation in ↵Toshi MARUYAMA2019-09-251-35/+31
| | | | | | test/integration/api_test/issues_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18538 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes not to call set_tmp_attachments_directory twice after each test (#32094).Go MAEDA2019-09-201-3/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18484 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture (#13468).Go MAEDA2019-09-121-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18455 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that Redmine::ApiTest::NewsTest fails when config.time_zone is set (#13468).Go MAEDA2019-09-111-2/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18445 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for updating news (#13468).Go MAEDA2019-09-091-0/+112
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for deleting news (#13468).Go MAEDA2019-09-091-0/+20
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18442 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for retrieving news (#13468).Go MAEDA2019-09-091-1/+56
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for creating news (#13468).Go MAEDA2019-09-091-0/+148
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add inherit_members to projects API response (#32002).Go MAEDA2019-09-051-3/+15
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18431 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to Redmine::ApiTest::VersionsTest (#31965).Go MAEDA2019-08-281-1/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Layout/TrailingBlankLinesGo MAEDA2019-08-141-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support "active" attribute in Enumerations REST API (#31559).Go MAEDA2019-06-301-1/+7
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18325 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enables API access to /my/account for updating user account data (#31399).Go MAEDA2019-06-161-0/+106
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ApiTest fails if config.time_zone is set (#31388).Go MAEDA2019-06-082-6/+6
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test (#31506).Go MAEDA2019-06-062-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-2526-26/+26
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for r18091 (#26237).Go MAEDA2019-04-281-1/+19
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use HTTP status code 403 instead of 401 when REST API is disabled (#30086).Go MAEDA2019-04-101-6/+6
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-211-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decode hexadecimal-encoded literals in order to be frozen string literals ↵Go MAEDA2019-03-191-1/+1
| | | | | | | | | friendly (#31004). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-1625-25/+25
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a description for trackers (#442).Jean-Philippe Lang2019-03-151-0/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Searching for issue number with REST API redirects to issue HTML page (#29055).Jean-Philippe Lang2019-03-151-0/+5
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-1526-0/+52
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ajax Request Returns 200 but an error event is fired instead of success ↵Go MAEDA2019-02-0512-37/+37
| | | | | | | | | (#30073). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display user logins on profiles (#26127).Go MAEDA2018-12-121-8/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that the following tests fail randomly due to uninitialized User.current ↵Go MAEDA2018-11-031-0/+4
| | | | | | | | | | | | | | | (#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
* Add assignable, issues_visibility, time_entries_visibility and ↵Go MAEDA2018-09-231-0/+5
| | | | | | | | | 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
* Expose the Admin flag on the users api to admin users (#29459).Go MAEDA2018-09-201-0/+12
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* /users API accepts boolean strings for generate_password field (#28686).Go MAEDA2018-05-061-0/+16
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix element order (#26769)Toshi MARUYAMA2017-08-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add category_id to REST issue creation tests (#26769)Toshi MARUYAMA2017-08-281-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a few tests.Jean-Philippe Lang2017-07-311-0/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update remaining copyrights.Toshi MARUYAMA2017-07-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-2525-25/+25
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Rails 5 syntax for integration tests.Jean-Philippe Lang2017-06-0118-271/+449
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #25526.Jean-Philippe Lang2017-04-051-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to test/integration/api_test/api_test.rbToshi MARUYAMA2017-03-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16426 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API: option to get the project activities for time entries (#7506).Jean-Philippe Lang2017-03-031-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add attachment information to issues.xml in REST API (#12181).Jean-Philippe Lang2017-03-031-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16360 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes uploading of empty files (#25115).Jean-Philippe Lang2017-02-281-0/+19
| | | | | | | | | | | | | | - prevents creation of attachment records without existing diskfile and empty digest - adds test case to check file upload API response - also removes the file size check in ActsAsAttachable which still prevented attachment of zero size attachments to containers but only for clients without Javascript (where save_attachments is called with the actual file upload). Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81