Commit Graph

215 Commits

Author SHA1 Message Date
Jean-Philippe Lang
47f8339e47 Merged r16492 (#25526).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:12:45 +00:00
Jean-Philippe Lang
540237033e Merged r16341 (#25115).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 20:00:17 +00:00
Jean-Philippe Lang
cca51a8c51 Merged r16293 (#24875).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 17:42:54 +00:00
Jean-Philippe Lang
7ec2c27385 Merged r16116 (#22034).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-04 18:09:00 +00:00
Jean-Philippe Lang
5dd1fe1345 Merged r16059, r16060, r16064, r16072.
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-20 16:02:38 +00:00
Jean-Philippe Lang
6ebb700db2 Merged r15955 and r15956 (#24297).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-26 08:58:41 +00:00
Jean-Philippe Lang
87e36462d6 Merged r15855 (#23766).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 10:21:02 +00:00
Jean-Philippe Lang
7d6b3d344d Add support for attaching file to WIKI pages by REST API (#14830).
Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@15415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 06:29:52 +00:00
Jean-Philippe Lang
0e59482e90 Include private_notes property in xml/json Journals output (#20985).
Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@15414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 06:25:11 +00:00
Jean-Philippe Lang
60bb7565dd Include value and label of possible values in custom fields API (#22745).
git-svn-id: http://svn.redmine.org/redmine/trunk@15401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:44:53 +00:00
Jean-Philippe Lang
130424fc3e Support for deleting attachments via API (#14828).
Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@15332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-12 19:18:34 +00:00
Jean-Philippe Lang
223141a20b Support of default Active Record (I18n) transliteration paths (#22383).
Patch by Ivan Zabrovskiy.

git-svn-id: http://svn.redmine.org/redmine/trunk@15330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-12 18:54:28 +00:00
Jean-Philippe Lang
e1aa18b333 Handle search pagination with the REST API (#6277).
git-svn-id: http://svn.redmine.org/redmine/trunk@15264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 10:27:55 +00:00
Jean-Philippe Lang
7a81281583 Missing fixtures (#6277).
git-svn-id: http://svn.redmine.org/redmine/trunk@15263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:43:53 +00:00
Jean-Philippe Lang
5533a2b5f2 REST API for Search (#6277).
Patch by Akiko Takano and Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@15262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:42:35 +00:00
Jean-Philippe Lang
39a3ffd069 Total spent hours and estimated hours need to be get via REST (#21757).
Patch by Takenori TAKAKI.

git-svn-id: http://svn.redmine.org/redmine/trunk@15254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:05:12 +00:00
Jean-Philippe Lang
5d9b87de3a NameError: uninitialized constant Redmine::ApiTest::GroupsTest::MultiJson
git-svn-id: http://svn.redmine.org/redmine/trunk@15252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-17 19:57:59 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
aaeb0807bf Accept dots in JSONP callback (#13718).
git-svn-id: http://svn.redmine.org/redmine/trunk@15066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:08:06 +00:00
Jean-Philippe Lang
a196aaa2a9 Fixed that Issues API may disclose changesets that are not visible (#21136).
git-svn-id: http://svn.redmine.org/redmine/trunk@14794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-04 18:17:07 +00:00
Jean-Philippe Lang
e6112a9710 New custom fields of existing issues are not initialized with their default value (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 09:17:29 +00:00
Jean-Philippe Lang
fac0f7f38b Adds tests for default custom field value (#21074).
git-svn-id: http://svn.redmine.org/redmine/trunk@14768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 12:59:48 +00:00
Jean-Philippe Lang
c63da2c0a5 Use generated groups.
git-svn-id: http://svn.redmine.org/redmine/trunk@14710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:02:52 +00:00
Jean-Philippe Lang
d509341797 API: creating an issue with an invalid project_id should return 422 instead of 403 (#19276).
git-svn-id: http://svn.redmine.org/redmine/trunk@14141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 10:02:45 +00:00
Jean-Philippe Lang
6c5e5142df Don't include milliseconds in JSON API responses (#19354).
git-svn-id: http://svn.redmine.org/redmine/trunk@14101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 09:49:35 +00:00
Jean-Philippe Lang
242eb5db5d Fixed assertion (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 12:13:37 +00:00
Jean-Philippe Lang
1014ba195f Fixed assertion (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 11:40:01 +00:00
Jean-Philippe Lang
9dfe8fe03c Adds a test for setting multivalued custom fields with JSON (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 09:54:11 +00:00
Jean-Philippe Lang
5e1d042c40 Fixed that creating an issue without tracker_id attribute ignores custom field values (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 09:53:36 +00:00
Jean-Philippe Lang
95e5902b4c Adds a test for #19270.
git-svn-id: http://svn.redmine.org/redmine/trunk@14046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 07:31:01 +00:00
Jean-Philippe Lang
0b04de0a23 Send a better content type than application/octet-stream (#19131).
git-svn-id: http://svn.redmine.org/redmine/trunk@14034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-19 17:46:24 +00:00
Jean-Philippe Lang
177dd7bff1 Fixed that timestamps may not be formatted as expected in XML responses (#19065).
git-svn-id: http://svn.redmine.org/redmine/trunk@14015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-16 17:57:52 +00:00
Jean-Philippe Lang
b50fa8fec1 Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.
git-svn-id: http://svn.redmine.org/redmine/trunk@13942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 11:27:28 +00:00
Toshi MARUYAMA
0bc87002d2 add missing fixture to test/integration/api_test/groups_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 04:50:29 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
12890945e5 Allow attachment thumbnails from REST API (#18707).
git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:26:24 +00:00
Jean-Philippe Lang
e723081ff4 Use upload helper method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 14:14:36 +00:00
Jean-Philippe Lang
3fe8197d73 Use raw request content in tests to make sure that XML/JSON payload is properly parsed.
git-svn-id: http://svn.redmine.org/redmine/trunk@13792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 13:46:31 +00:00
Jean-Philippe Lang
9b082712a0 Adds tests for creating an issue with multiple uploads.
git-svn-id: http://svn.redmine.org/redmine/trunk@13791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 13:41:51 +00:00
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