Commit Graph

4552 Commits

Author SHA1 Message Date
Jean-Philippe Lang
11e8dc263f When create by copying the issue, status can not be changed to default (#19553).
git-svn-id: http://svn.redmine.org/redmine/trunk@14158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:09:11 +00:00
Jean-Philippe Lang
5cd29b1a6b Fixed that 2 repositories can be created with blank/nil identifier (#19400).
git-svn-id: http://svn.redmine.org/redmine/trunk@14156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 06:27:54 +00:00
Jean-Philippe Lang
ab4916b01a Fixed test failures (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 10:05:11 +00:00
Jean-Philippe Lang
1448f1731f Fixed that the bulk edit form shows additional custom fields (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 09:26:18 +00:00
Jean-Philippe Lang
ea099fb771 Don't render the issue form if issue.project is nil (#19276).
git-svn-id: http://svn.redmine.org/redmine/trunk@14146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 16:27:09 +00:00
Jean-Philippe Lang
e9caae140d Don't allow 2 repositories with blank identifier (#19400).
git-svn-id: http://svn.redmine.org/redmine/trunk@14142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 10:20:57 +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
84c8ca6fef Fixed that custom fields with hidden/read-only combination may be displayed on issue form (#19297).
git-svn-id: http://svn.redmine.org/redmine/trunk@14137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 09:17:54 +00:00
Jean-Philippe Lang
ed2a3a2244 Make sure that settings are unserialized as UTF-8 encoded strings (#19305).
git-svn-id: http://svn.redmine.org/redmine/trunk@14112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 14:38:46 +00:00
Jean-Philippe Lang
5c43b4860e Restored project name as version prefix when different (#19348).
git-svn-id: http://svn.redmine.org/redmine/trunk@14108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 14:05:29 +00:00
Jean-Philippe Lang
e920e951e7 Don't run test if Redcarpet is not available (#19313).
git-svn-id: http://svn.redmine.org/redmine/trunk@14106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 10:09:17 +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
104615cb6f Incorrect links generated in emails if host setup uses other port (#19323).
git-svn-id: http://svn.redmine.org/redmine/trunk@14081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:52:48 +00:00
Jean-Philippe Lang
5da48d9293 Attached inline images with non-ascii file name can not be seen when text formatting is Makdown (#19313).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:39:24 +00:00
Jean-Philippe Lang
1aea5ccfd4 CustomField#possible_values may raise undefined method `force_encoding' error (#19316).
git-svn-id: http://svn.redmine.org/redmine/trunk@14079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:25:20 +00:00
Jean-Philippe Lang
6e356071dd Fixed that spent time on my page does not include entries without issue (#19320).
git-svn-id: http://svn.redmine.org/redmine/trunk@14071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-10 19:42:45 +00:00
Jean-Philippe Lang
e429d93945 Fixed that #require_login should respond for other request types (#19325).
git-svn-id: http://svn.redmine.org/redmine/trunk@14069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-10 18:19:51 +00:00
Jean-Philippe Lang
7c9f3b5b43 Reverts r14067 that triggers "can't modify frozen String" errors (#19305).
git-svn-id: http://svn.redmine.org/redmine/trunk@14068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-08 17:41:43 +00:00
Jean-Philippe Lang
a5b18b631c Make sure that strings of serialized settings are UTF-8 encoded (#19305).
git-svn-id: http://svn.redmine.org/redmine/trunk@14067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-08 16:28:19 +00:00
Jean-Philippe Lang
76a4668f52 Fixed rendering of multivalued custom fields in the issue history (#19225).
git-svn-id: http://svn.redmine.org/redmine/trunk@14054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-08 09:07:20 +00:00
Jean-Philippe Lang
730bba8130 Fixed undefined method `compact!' error when additional_user_ids is empty (#19253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 16:21:59 +00:00
Jean-Philippe Lang
9ea438720f Fixed that non-default identifier-less git repositories are undeletable (#19260).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 16:02:56 +00:00
Jean-Philippe Lang
3789a8539e Missing notification if previous assignee was a group (#19197).
git-svn-id: http://svn.redmine.org/redmine/trunk@14049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 08:20:18 +00:00
Jean-Philippe Lang
f821eaf722 Adds the date format for ambiguous dates (#19243).
git-svn-id: http://svn.redmine.org/redmine/trunk@14048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 08:12:08 +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
8667505e23 Don't validate custom fields that are not editable (#19193).
git-svn-id: http://svn.redmine.org/redmine/trunk@14045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-01 13:23:52 +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
8ad326f160 Adds a test for #6579.
git-svn-id: http://svn.redmine.org/redmine/trunk@14028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-18 14:20:47 +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
aa46a21637 Changed assertion to see what issues contains (#19106).
git-svn-id: http://svn.redmine.org/redmine/trunk@14005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 11:35:19 +00:00
Jean-Philippe Lang
3642626052 Fixed Stack level too deep error when calling #find_name_by_reflection for missing record.
git-svn-id: http://svn.redmine.org/redmine/trunk@14002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:57:22 +00:00
Jean-Philippe Lang
3da7b1bc28 Implements /issues/new form for creating issues outside a project (#1003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:03:51 +00:00
Jean-Philippe Lang
a328224771 Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:00:22 +00:00
Jean-Philippe Lang
c3b91d6f04 Fixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@13992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:01:20 +00:00
Jean-Philippe Lang
af5872b7d4 Support for accent insensitive search with PostgreSQL (#18801).
If the unaccent extension is installed, the search engine will use it in order to do accent insensitive search.

git-svn-id: http://svn.redmine.org/redmine/trunk@13989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:13:57 +00:00
Jean-Philippe Lang
c3c7d9a4d2 Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 12:07:00 +00:00
Jean-Philippe Lang
01f673be08 Removed :move_issues permission (#18855).
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +00:00
Jean-Philippe Lang
92cdae4919 Fixed assertion (#18918).
git-svn-id: http://svn.redmine.org/redmine/trunk@13980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:39:23 +00:00
Jean-Philippe Lang
4a6b784d14 Don't use current user locale to format dates (#19039).
git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:34:48 +00:00
Jean-Philippe Lang
41e1758b00 Renamed test (#18983).
git-svn-id: http://svn.redmine.org/redmine/trunk@13967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 08:25:31 +00:00
Jean-Philippe Lang
8119dcb0f5 Fixed wrong test (#18983).
Issue was not assigned to the version and assert_equal 1, ActionMailer::Base.deliveries.size was passing because of the issue creation notification.

git-svn-id: http://svn.redmine.org/redmine/trunk@13966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 08:24:58 +00:00
Jean-Philippe Lang
e94920a5ff Allow filtering of Redmine Reminders by Version (#18983).
Patch by Merul Patel.

git-svn-id: http://svn.redmine.org/redmine/trunk@13964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:56:58 +00:00
Jean-Philippe Lang
d347fd4d39 link_to in Redmine::Hook::ViewListener omits relative url root (#19024).
git-svn-id: http://svn.redmine.org/redmine/trunk@13960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:32:25 +00:00
Jean-Philippe Lang
e11f77a4b0 Show long text custom field changes as a diff (#15236).
git-svn-id: http://svn.redmine.org/redmine/trunk@13954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-31 10:42:41 +00:00
Toshi MARUYAMA
9c10014a9a add missing fixture to FilesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 10:44:40 +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