summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
Commit message (Collapse)AuthorAgeFilesLines
* Merged r17949 to 4.0-stable (#29055).Jean-Philippe Lang2019-03-151-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17950 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
* Issues API does not respect time_entries_visibility (#24875).Jean-Philippe Lang2017-01-291-0/+33
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16293 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that project settings should show locked members (#22034).Jean-Philippe Lang2016-12-311-14/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Files REST API (#19116).Jean-Philippe Lang2016-12-212-0/+120
| | | | | | Patch by Lucile Quirion and Jake Kemme. git-svn-id: http://svn.redmine.org/redmine/trunk@16109 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use assert_equal nil.Jean-Philippe Lang2016-12-121-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use assert_nil instead of assert_equal.Jean-Philippe Lang2016-12-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16060 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enforce issue assignee validation (#23921).Jean-Philippe Lang2016-12-101-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for #24297.Jean-Philippe Lang2016-11-181-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15956 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure.Jean-Philippe Lang2016-10-041-5/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a routing test for deleting attachment via the API.Jean-Philippe Lang2016-10-012-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15862 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for updating attachments over REST API (#22356).Jean-Philippe Lang2016-10-012-0/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Let the API accept project identifier for creating issues (#23766).Jean-Philippe Lang2016-10-011-0/+10
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Return attachment id in api response to attachment upload (#23566).Jean-Philippe Lang2016-08-301-0/+3
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15762 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use render :text => "".Jean-Philippe Lang2016-07-211-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #assert_template and #assigns in integration tests.Jean-Philippe Lang2016-07-215-24/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tests for #22754.Jean-Philippe Lang2016-06-041-0/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for attaching file to WIKI pages by REST API (#14830).Jean-Philippe Lang2016-05-161-0/+19
| | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include private_notes property in xml/json Journals output (#20985).Jean-Philippe Lang2016-05-161-1/+8
| | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include value and label of possible values in custom fields API (#22745).Jean-Philippe Lang2016-05-081-0/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15401 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for deleting attachments via API (#14828).Jean-Philippe Lang2016-04-121-0/+18
| | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15332 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support of default Active Record (I18n) transliteration paths (#22383).Jean-Philippe Lang2016-04-121-1/+1
| | | | | | Patch by Ivan Zabrovskiy. git-svn-id: http://svn.redmine.org/redmine/trunk@15330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle search pagination with the REST API (#6277).Jean-Philippe Lang2016-03-191-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing fixtures (#6277).Jean-Philippe Lang2016-03-191-2/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15263 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for Search (#6277).Jean-Philippe Lang2016-03-191-0/+68
| | | | | | Patch by Akiko Takano and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Total spent hours and estimated hours need to be get via REST (#21757).Jean-Philippe Lang2016-03-191-0/+64
| | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* NameError: uninitialized constant Redmine::ApiTest::GroupsTest::MultiJsonJean-Philippe Lang2016-03-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-1324-24/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Accept dots in JSONP callback (#13718).Jean-Philippe Lang2016-01-161-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Issues API may disclose changesets that are not visible (#21136).Jean-Philippe Lang2015-11-041-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14794 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New custom fields of existing issues are not initialized with their default ↵Jean-Philippe Lang2015-10-311-2/+2
| | | | | | value (#21074). git-svn-id: http://svn.redmine.org/redmine/trunk@14773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for default custom field value (#21074).Jean-Philippe Lang2015-10-301-0/+78
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use generated groups.Jean-Philippe Lang2015-10-201-14/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API: creating an issue with an invalid project_id should return 422 instead ↵Jean-Philippe Lang2015-03-201-0/+5
| | | | | | of 403 (#19276). git-svn-id: http://svn.redmine.org/redmine/trunk@14141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't include milliseconds in JSON API responses (#19354).Jean-Philippe Lang2015-03-151-1/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14101 e93f8b46-1217-0410-a6f0-8f06a7374b81