Commit Graph

623 Commits

Author SHA1 Message Date
Jean-Philippe Lang
009b383a37 Adds a test for #23346.
git-svn-id: http://svn.redmine.org/redmine/trunk@15776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 17:08:21 +00:00
Jean-Philippe Lang
baaa15ebdd Return attachment id in api response to attachment upload (#23566).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 21:15:13 +00:00
Jean-Philippe Lang
8b107b6058 Don't use render :text => "".
git-svn-id: http://svn.redmine.org/redmine/trunk@15731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 20:49:14 +00:00
Jean-Philippe Lang
e1da6de36f Removes calls to #assert_template and #assigns in integration tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 17:50:00 +00:00
Jean-Philippe Lang
d2f7e31951 Use .distinct instead of .uniq.
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15:13 +00:00
Jean-Philippe Lang
03dbf8abb8 Remove special behaviour for listing issue time entries, use a filter for that.
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
b2044e6dfc Don't generate urls with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 19:18:12 +00:00
Jean-Philippe Lang
fc6ee69490 Don't generate sort links with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:58:43 +00:00
Jean-Philippe Lang
5d31eb2495 Don't generate pagination links with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:47:49 +00:00
Jean-Philippe Lang
681740d5be Tests for #22754.
git-svn-id: http://svn.redmine.org/redmine/trunk@15443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-04 07:41:05 +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
bda78a4679 Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-22 17:47:11 +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
6bb1ea8ae8 Use regular edit/update actions and named routes for JournalsController.
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 04:39:56 +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
cb0866f313 Render issue attributes using divs instead of a table for responsiveness (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 11:50:36 +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
9a3b8e0b1e Moved tracker_id param.
git-svn-id: http://svn.redmine.org/redmine/trunk@14772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 19:45:32 +00:00
Jean-Philippe Lang
21421917fc Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@14771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 19:44:33 +00:00
Jean-Philippe Lang
cb3072acee Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@14770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-30 19:38:17 +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
2f51dc11cf Adds Enumeration custom field format (#21060).
Similar to List format but stores possible values as records.

git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +00:00
Jean-Philippe Lang
4cd22dcc55 Keep track of valid user sessions (#21058).
git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-24 10:15:22 +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
486a4dfbc8 Named routed for RSS/API keys (#20997).
git-svn-id: http://svn.redmine.org/redmine/trunk@14677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-15 18:45:09 +00:00
Jean-Philippe Lang
16cc9ec06a Activate sudo mode after password based login (#20589).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-01 17:07:06 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
670340e543 The test email action should only be accessible with POST (#20203).
git-svn-id: http://svn.redmine.org/redmine/trunk@14389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:09:00 +00:00
Jean-Philippe Lang
1e674c903e Fixed test error (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-20 10:57:01 +00:00
Jean-Philippe Lang
278468c0c8 Adds a UI test (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 20:42:33 +00:00
Jean-Philippe Lang
4229fafc8f Tests that submitted data is present in the sudo form (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 20:25:55 +00:00
Jean-Philippe Lang
c2fca37999 Don't use SudoMode.disable! to skip API requests (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 19:51:24 +00:00
Jean-Philippe Lang
fe9eec19c5 Renamed sudo mode test.
git-svn-id: http://svn.redmine.org/redmine/trunk@14337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 19:43:21 +00:00
Jean-Philippe Lang
e12322dac3 Adds a configuration setting to enable sudo mode, disabled by default (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 19:42:49 +00:00
Jean-Philippe Lang
ef91a50cc2 Changed /my/show_api_key route to /my/api_key (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 18:43:36 +00:00
Jean-Philippe Lang
d6f389658b Require password re-entry for sensitive actions (#19851).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 18:41:10 +00:00
Jean-Philippe Lang
95f7471e9c Adds a form to manually submit an email to the mail handler.
Use GET /mail_handler?key= to get the form.

git-svn-id: http://svn.redmine.org/redmine/trunk@14314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:47:22 +00:00
Jean-Philippe Lang
216a153421 Update activities list when changing project/issue id on the time entry form (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 08:38:35 +00:00
Jean-Philippe Lang
51f7060aa8 Add the ability to expire passwords after a configurable number of days (#19458).
Patch by Holger Just and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 10:26:55 +00:00
Toshi MARUYAMA
a30984df2e Spanish Panama translation added by Leonel Iturralde (#19489)
git-svn-id: http://svn.redmine.org/redmine/trunk@14193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-24 06:47:22 +00:00