Commit Graph

96 Commits

Author SHA1 Message Date
Jean-Philippe Lang 2e3bf71e9a Removed #generate_with_protected helper methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:45:13 +00:00
Jean-Philippe Lang 67f90df175 Additional test for memberships API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-19 08:18:27 +00:00
Jean-Philippe Lang dc50edae5e Adds a template for API error messages so that it does not depend on AR::Errors serialization.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 15:16:50 +00:00
Jean-Philippe Lang 1b923819e8 Removed some generate! calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:29:52 +00:00
Jean-Philippe Lang 888287c602 Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 15:23:20 +00:00
Jean-Philippe Lang 10a37f4b6b Rails 3.1 compatibility.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 15:20:28 +00:00
Jean-Philippe Lang 7e347069d5 Better message for file size validation error.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:10 +00:00
Jean-Philippe Lang 77626ef6fb Adds support for adding attachments to issues through the REST API (#8171).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:01:16 +00:00
Jean-Philippe Lang cdcf813fa7 Adds membership ids to /users/:id API response.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 16:32:50 +00:00
Jean-Philippe Lang 6f1d553cff Typo
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 11:33:39 +00:00
Jean-Philippe Lang be246de161 Adds a simple API for listing roles (#9725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 10:06:32 +00:00
Jean-Philippe Lang c5665276b7 REST API for project memberships (#7420).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 09:47:10 +00:00
Jean-Philippe Lang ddc3814d45 Fixes assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 20:08:05 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang 11725be278 Makes Version REST API accept due_date attribute (#10013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 09:39:29 +00:00
Jean-Philippe Lang 81cf6b2343 Allows project to be changed from the regular issue update action (#4769, #9803).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 12:34:52 +00:00
Jean-Philippe Lang 6b5f75bb1d Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 20:09:53 +00:00
Jean-Philippe Lang 131f258f5f Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:59:52 +00:00
Jean-Philippe Lang 395fe0d777 Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:49:51 +00:00
Jean-Philippe Lang 606ca39d10 Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 19:44:37 +00:00
Toshi MARUYAMA 260bc487aa code layout clean up test/integration/api_test/users_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-23 10:08:28 +00:00
Jean-Philippe Lang ad25e3807d Make sure that tests restore the attachments path to the tmp dir so that fixture files don't get deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 17:52:47 +00:00
Toshi MARUYAMA be29227c12 reset Attachment.storage_path at the end of attachment tests
Attachment files are deleted when database data were deleted.
So, other tests fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Jean-Philippe Lang 34c73c7573 REST API for issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang 30556f8cbf Makes issue categories available in project REST API (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Jean-Philippe Lang 248b725875 Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang 053adaef52 Adds API response to /trackers to get the list of all available trackers (#7181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang 1341dd564b Prevent projects tests from deleting fixture files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 16:28:06 +00:00
Etienne Massip a84f877099 Added 2 tests about passing custom field filter to /issues.xml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-05 22:03:19 +00:00
Toshi MARUYAMA 233bdd7779 Rails3: replace "all" fixtures at test/integration/api_test/token_authentication_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:58:07 +00:00
Toshi MARUYAMA c9bd3394d0 Rails3: replace "all" fixtures at test/integration/api_test/http_basic_login_with_api_token_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:57:35 +00:00
Toshi MARUYAMA 250d4db29d Rails3: replace "all" fixtures at test/integration/api_test/http_basic_login_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:56:55 +00:00
Toshi MARUYAMA fa11b8babe Rails3: replace "all" fixtures at test/integration/api_test/disabled_rest_api_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:56:27 +00:00
Toshi MARUYAMA eff37ebd12 Rails3: replace "all" fixtures at test/integration/api_test/queries_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 00:16:49 +00:00
Toshi MARUYAMA 2fef102a99 Rails3: replace "all" fixtures at test/integration/api_test/versions_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 00:16:11 +00:00
Toshi MARUYAMA a66b509005 Rails3: replace "all" fixtures at test/integration/api_test/news_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:58:43 +00:00
Toshi MARUYAMA 45aaef4556 Rails3: replace "all" fixtures at test/integration/api_test/attachments_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:58:17 +00:00
Toshi MARUYAMA 3f85c47003 Rails3: replace "all" fixtures at test/integration/api_test/issue_relations_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:57:01 +00:00
Toshi MARUYAMA ff90cae5d3 Rails3: replace "all" fixtures at test/integration/api_test/time_entries_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 23:56:16 +00:00
Toshi MARUYAMA d51cc908fe remove trailing white-spaces from test/integration/api_test/issues_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:49:30 +00:00
Toshi MARUYAMA 51e2d89608 remove trailing white-spaces from test/integration/api_test/queries_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:16:38 +00:00
Toshi MARUYAMA ca7804bcb4 remove trailing white-spaces from test/integration/api_test/time_entries_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:16:04 +00:00
Toshi MARUYAMA 9e69cab15d remove trailing white-spaces from test/integration/api_test/users_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:15:39 +00:00
Toshi MARUYAMA e103d11178 remove trailing white-spaces from test/integration/api_test/issue_relations_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 23:01:28 +00:00
Toshi MARUYAMA 4c7ae6da39 remove trailing white-spaces from test/integration/api_test/versions_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 06:48:10 +00:00
Toshi MARUYAMA bc15b437de remove trailing white-spaces from test/integration/api_test/http_basic_login_with_api_token_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:58 +00:00
Toshi MARUYAMA 50f7af6b93 remove trailing white-spaces from test/integration/api_test/news_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:37 +00:00
Toshi MARUYAMA 1762486c23 remove trailing white-spaces from test/integration/api_test/projects_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:03:14 +00:00
Toshi MARUYAMA a53f979bc6 remove trailing white-spaces from test/integration/api_test/token_authentication_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 10:02:53 +00:00
Toshi MARUYAMA e2b4742ceb remove trailing white-spaces from test/integration/api_test/http_basic_login_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 08:47:04 +00:00