Jean-Philippe Lang
|
c0800b330c
|
Error when adding user to group where he is already assigned (#18665).
git-svn-id: http://svn.redmine.org/redmine/trunk@13785 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-21 20:15:24 +00:00 |
|
Jean-Philippe Lang
|
2a6692248b
|
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-21 12:39:48 +00:00 |
|
Jean-Philippe Lang
|
89da75623d
|
Adds a test for invalid enumeration class parameter.
git-svn-id: http://svn.redmine.org/redmine/trunk@13708 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-05 08:18:14 +00:00 |
|
Jean-Philippe Lang
|
5222650d95
|
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-03 20:21:03 +00:00 |
|
Jean-Philippe Lang
|
d22029083c
|
Pull up #setup and #teardown in API tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13679 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-30 15:10:56 +00:00 |
|
Jean-Philippe Lang
|
372b24627b
|
Test API authentification once.
git-svn-id: http://svn.redmine.org/redmine/trunk@13675 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-30 14:11:56 +00:00 |
|
Jean-Philippe Lang
|
4989c9f6a8
|
Removed some test contexts.
git-svn-id: http://svn.redmine.org/redmine/trunk@13646 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-23 20:25:46 +00:00 |
|
Jean-Philippe Lang
|
f3e573b5f8
|
Replaced remaining #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-22 09:38:21 +00:00 |
|
Jean-Philippe Lang
|
d72e1f95ba
|
Renamed #test_watchers to #test_issue_watchers.
git-svn-id: http://svn.redmine.org/redmine/trunk@13607 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-16 11:02:04 +00:00 |
|
Jean-Philippe Lang
|
dd2a0554c6
|
Adds API routing tests for time entries.
git-svn-id: http://svn.redmine.org/redmine/trunk@13606 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-16 11:00:29 +00:00 |
|
Jean-Philippe Lang
|
d550238894
|
Removed API tests for routes that are not implemented.
git-svn-id: http://svn.redmine.org/redmine/trunk@13605 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-16 10:58:15 +00:00 |
|
Jean-Philippe Lang
|
eae9c9ab2b
|
Isolates all API routing tests to a specific test case.
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-16 10:54:33 +00:00 |
|
Jean-Philippe Lang
|
2d1866d966
|
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-22 17:37:16 +00:00 |
|
Jean-Philippe Lang
|
8b678837a3
|
Adds a test for adding a group membership with the REST API (#17904).
git-svn-id: http://svn.redmine.org/redmine/trunk@13426 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-04 09:46:50 +00:00 |
|
Jean-Philippe Lang
|
7e7ac5340a
|
Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976).
git-svn-id: http://svn.redmine.org/redmine/trunk@13417 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-28 14:51:08 +00:00 |
|
Jean-Philippe Lang
|
d30367d46b
|
Issue API: include is_private attribute in xml/json output (#10914).
Patch by Shivam Daryanani.
git-svn-id: http://svn.redmine.org/redmine/trunk@13395 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-13 11:22:49 +00:00 |
|
Jean-Baptiste Barth
|
63cb3680c1
|
Include enabled modules in projects API (#17602).
Contributed by Jan Schulz-Hofen <jan@plan.io>
git-svn-id: http://svn.redmine.org/redmine/trunk@13363 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-09-06 03:17:51 +00:00 |
|
Jean-Baptiste Barth
|
772418461f
|
Add project is_public to GET /projects/:id and /projects API response (#17628).
Contributed by Michael Esemplare <michael.esemplare@gmail.com>
git-svn-id: http://svn.redmine.org/redmine/trunk@13339 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-08-15 09:57:00 +00:00 |
|
Jean-Philippe Lang
|
9fdd0862f7
|
Missing type=array attributes in custom fields API (#16739).
git-svn-id: http://svn.redmine.org/redmine/trunk@13109 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-04-26 07:56:00 +00:00 |
|
Toshi MARUYAMA
|
c6f71f727b
|
explicitly set encoding UTF-8 (#16107)
Default Ruby source file encoding changed in Ruby 2.0.0.
https://bugs.ruby-lang.org/issues/6679
git-svn-id: http://svn.redmine.org/redmine/trunk@12918 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-02-22 15:55:35 +00:00 |
|
Toshi MARUYAMA
|
ad8c02ca82
|
add "assert_response 401" to tests (#16107)
git-svn-id: http://svn.redmine.org/redmine/trunk@12917 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-02-22 15:55:20 +00:00 |
|
Jean-Philippe Lang
|
8405d57516
|
Strip invalid UTF-8 bytes in User#find_by_login (#16107).
git-svn-id: http://svn.redmine.org/redmine/trunk@12916 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-02-22 12:50:56 +00:00 |
|
Jean-Philippe Lang
|
58ff842d34
|
Trigger basic HTTP authentication only when Basic authorization header is present (#16107).
git-svn-id: http://svn.redmine.org/redmine/trunk@12915 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-02-22 12:09:58 +00:00 |
|
Toshi MARUYAMA
|
35cc911192
|
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-29 22:45:39 +00:00 |
|
Jean-Philippe Lang
|
5faa1a4e6e
|
REST API: Integer custom field validation fails when using non-string values (#15929).
git-svn-id: http://svn.redmine.org/redmine/trunk@12704 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-25 12:08:22 +00:00 |
|
Jean-Philippe Lang
|
9ad2ca61da
|
Fixed: cannot retrieve members for closed projects through the REST API (#15848).
git-svn-id: http://svn.redmine.org/redmine/trunk@12650 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-11 11:47:26 +00:00 |
|
Jean-Philippe Lang
|
de19424ea5
|
Adds project status to GET /projects/:id and GET /projects API response (#15815).
git-svn-id: http://svn.redmine.org/redmine/trunk@12649 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-11 11:33:47 +00:00 |
|
Toshi MARUYAMA
|
9420d7e345
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::VersionsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12611 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 12:24:19 +00:00 |
|
Toshi MARUYAMA
|
ea9b40ab4d
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::VersionsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12608 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 11:25:25 +00:00 |
|
Toshi MARUYAMA
|
c538543583
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::UsersTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12607 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 11:24:59 +00:00 |
|
Toshi MARUYAMA
|
7f93cc74b4
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::TimeEntriesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12606 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 11:24:34 +00:00 |
|
Toshi MARUYAMA
|
505483f224
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::ProjectsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12605 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 11:24:00 +00:00 |
|
Toshi MARUYAMA
|
1c938cd1d3
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::IssuesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12598 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 08:38:59 +00:00 |
|
Toshi MARUYAMA
|
b6d6325198
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::IssueRelationsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12597 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 08:38:36 +00:00 |
|
Toshi MARUYAMA
|
3480d46ff3
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::IssueCategoriesTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12596 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 08:38:09 +00:00 |
|
Toshi MARUYAMA
|
c020578820
|
Rails4: replace deprecated Relation#first with finder options at ApiTest::AttachmentsTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12595 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-10 08:37:33 +00:00 |
|
Jean-Philippe Lang
|
a4d3da988a
|
Allow filtering with timestamp (#8842).
git-svn-id: http://svn.redmine.org/redmine/trunk@12477 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-03 15:54:49 +00:00 |
|
Jean-Philippe Lang
|
5c0078c63a
|
Fixed that non-GET API requests respond with 422 (#15427).
git-svn-id: http://svn.redmine.org/redmine/trunk@12311 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-11-22 22:57:30 +00:00 |
|
Jean-Philippe Lang
|
71b43ea1c7
|
Wiki Pages REST API with version returns wrong comments (#15235).
Patch by Yukinari TOYOTA.
git-svn-id: http://svn.redmine.org/redmine/trunk@12245 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-11-09 07:42:54 +00:00 |
|
Jean-Philippe Lang
|
886284b33f
|
REST API: custom fields definition (#11159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12165 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-09-29 10:08:30 +00:00 |
|
Jean-Philippe Lang
|
f9ddb562d5
|
Cleanup of finders with :conditions option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-06-12 19:13:25 +00:00 |
|
Jean-Philippe Lang
|
8f7b69f77e
|
Removed some shoulda context.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11863 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-18 08:57:27 +00:00 |
|
Jean-Philippe Lang
|
0d4bb7558f
|
Removed some shoulda context.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11862 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-18 08:27:53 +00:00 |
|
Jean-Baptiste Barth
|
ec4dbbced5
|
Add status to /users/:id API for admins (#13948).
Patch by Kambiz Darabi
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11790 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-05 08:19:17 +00:00 |
|
Jean-Philippe Lang
|
5a3b903733
|
Fixed: Unable to set custom fields for versions using the REST API (#13850).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11760 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-05-01 15:57:31 +00:00 |
|
Jean-Philippe Lang
|
80807a8c49
|
Add user's API key to /users/current.format (#8529).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11518 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-03-01 16:32:30 +00:00 |
|
Jean-Philippe Lang
|
504116bfca
|
Add login to /users/:id API for current user (#13155).
Patch by Jérôme Bataille.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11437 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-18 17:24:54 +00:00 |
|
Jean-Philippe Lang
|
dbe7d6fbfb
|
Removed unused fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11352 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-11 20:14:26 +00:00 |
|
Jean-Philippe Lang
|
a0158eff96
|
Add/remove issue watchers via the REST API (#6727).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11290 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-30 20:51:21 +00:00 |
|
Jean-Philippe Lang
|
9f127793be
|
Make JSONP support optional and disabled by default (#12992).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11272 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-26 18:37:09 +00:00 |
|