summaryrefslogtreecommitdiffstats
path: root/test/integration/api_test
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-0129-29/+29
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21606 to 5.0-stable (#37157). Marius Balteanu2022-05-281-0/+18
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21615 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for PUT API to journals (#10171).Go MAEDA2022-03-231-0/+95
| | | | | | | Patch by Mizuki ISHIKAWA . git-svn-id: https://svn.redmine.org/redmine/trunk@21496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Member.find_or_new with ActiveRecord's find_or_initialize_by (#36730).Go MAEDA2022-03-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21456 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update API test to use token based authentication when twofa is enabled for ↵Marius Balteanu2022-02-251-2/+7
| | | | | | user (#35001). git-svn-id: http://svn.redmine.org/redmine/trunk@21441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable API authentication with username and password when two-factor ↵Marius Balteanu2022-02-241-0/+9
| | | | | | | | | authentication is enabled for the user (#35001). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21436 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix WikiContentVersion API returns 500 if author is nil (#36494).Marius Balteanu2022-02-181-0/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for #34766.Marius Balteanu2022-01-301-0/+7
| | | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21393 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include avatar URL in Users API (#36303).Go MAEDA2022-01-211-2/+12
| | | | | | | Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0228-28/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* You can configure default project queries in the following places (#35795):Marius Balteanu2021-11-151-1/+14
| | | | | | | * App-level: Administration > Projects > Default query (Projects list defaults section) * User-level: My account > Default project query git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add information about whether an issue is open or closed to Issues API ↵Go MAEDA2021-10-021-2/+14
| | | | | | | | | response (#15855). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* File upload fails when run with uWSGI (#35715).Go MAEDA2021-08-141-0/+25
| | | | | | | Contributed by Pavel Rosický and Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API to close/reopen projects (#35507).Go MAEDA2021-07-091-0/+17
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add enabled core fields to /trackers API response (#35505).Go MAEDA2021-07-061-0/+6
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add total estimated hours, spent hours, total spent hours for issues to ↵Go MAEDA2021-06-271-0/+28
| | | | | | | | | issue list API (#34857). Patch by Felix Schäfer and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21051 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API to archive/unarchive projects (#35420).Go MAEDA2021-06-241-0/+17
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21044 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Uploading a big file fails with NoMemoryError (#33752).Go MAEDA2021-05-111-0/+22
| | | | | | | Patch by Karel Pičman and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20993 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include new statuses allowed by workflow in Issues REST API (#24976).Go MAEDA2021-04-191-0/+22
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix undefined method 'split' when issue_to_id is numeric (#35039).Go MAEDA2021-04-121-1/+22
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20932 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use media_type to get the MIME type of the request (#29914).Go MAEDA2021-04-011-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20890 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for r20852 (#22008).Go MAEDA2021-03-261-0/+107
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20853 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Associated Revision API (#22008).Go MAEDA2021-03-261-0/+5
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20852 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-2527-27/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Projects API should not return invisible trackers (#30121).Go MAEDA2021-02-231-0/+27
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20753 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix passing a wrong parameter to assert_select in API test for 'GET ↵Go MAEDA2020-12-311-1/+1
| | | | | | | | | /users/:id' (#34492). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20700 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Users API should return twofa_scheme only for administrators (#34242).Go MAEDA2020-12-231-1/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include two-factor authentication scheme in users API response (#34242).Go MAEDA2020-12-231-1/+19
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/issues_test.rbToshi MARUYAMA2020-12-031-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20551 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/projects_test.rbToshi MARUYAMA2020-12-031-11/+44
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20550 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/api_test.rbToshi MARUYAMA2020-12-021-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20544 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/attachments_test.rbToshi MARUYAMA2020-12-021-6/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20543 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/time_entries_test.rbToshi MARUYAMA2020-11-291-7/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20515 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/memberships_test.rbToshi MARUYAMA2020-11-291-17/+26
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/wiki_pages_test.rbToshi MARUYAMA2020-11-291-14/+63
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20507 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of test/integration/api_test/issues_test.rbToshi MARUYAMA2020-09-121-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20023 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/groups_test.rbToshi MARUYAMA2020-08-091-6/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19967 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/issue_relations_test.rbToshi MARUYAMA2020-08-071-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19956 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to test/integration/api_test/projects_test.rbToshi MARUYAMA2020-08-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to test/integration/api_test/memberships_test.rbToshi MARUYAMA2020-08-071-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine::ApiTest::UsersTest fails if config.time_zone is set (#33592, #33787).Go MAEDA2020-08-021-2/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19942 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include updated_on and passwd_changed_on columns in API response (#33592).Go MAEDA2020-07-281-2/+25
| | | | | | | Patch by vzvu 3k6k and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@19940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of test/integration/api_test/attachments_test.rbToshi MARUYAMA2020-07-191-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to Redmine::ApiTest::ProjectsTest (#33700).Go MAEDA2020-07-091-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19877 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating an issue via REST API causes internal server error if invalid ↵Go MAEDA2020-05-141-0/+28
| | | | | | | | | project id is specified (#33417). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds option to include issue custom fields in projects#show API response ↵Go MAEDA2020-04-211-0/+8
| | | | | | | | | (#33301). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@19714 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating time tracking entry for other user through rest API fails with 403 ↵Jean-Philippe Lang2020-04-051-0/+34
| | | | | | (#32774). git-svn-id: http://svn.redmine.org/redmine/trunk@19676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r19669 and r19670 (#32774).Jean-Philippe Lang2020-04-051-38/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating time tracking entry for other user through rest API fails with 403 ↵Jean-Philippe Lang2020-04-051-3/+20
| | | | | | (#32774). git-svn-id: http://svn.redmine.org/redmine/trunk@19670 e93f8b46-1217-0410-a6f0-8f06a7374b81