Jean-Philippe Lang
3f46dfdee9
Compatibility with ruby1.8 ( #19305 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 19:56: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
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
b5bf65e834
Ignore auto reply messages from Exchange server ( #19322 ).
...
Patch by Sebastian Paluch.
git-svn-id: http://svn.redmine.org/redmine/trunk@14082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:53:55 +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
840881c76a
Use named routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-10 18:22:53 +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
07795cfed5
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-08 09:12:18 +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
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
dbe05a000a
Use named routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-25 13:54:34 +00:00
Jean-Philippe Lang
b778c51e90
Removed unneeded #h calls in views.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +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
2a7795ab52
Escape flash messages ( #19117 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-17 17:47:36 +00:00
Jean-Philippe Lang
3ef00ddb58
Check plugins updates using https ( #17722 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-15 16:53:39 +00:00
Jean-Philippe Lang
76e7025f07
Workaround for timestamps rounding issues with Rails4.2 and mysql5.7 that may kill user session after password is changed ( #17460 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-15 09:09:35 +00:00
Jean-Philippe Lang
ae4eb47881
Adds custom fields to documents ( #7249 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 10:44:59 +00:00
Jean-Philippe Lang
1c078a7081
Use query with custom select for faster rendering of the project drop-down ( #19102 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 10:12:26 +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
efbbabe620
Don't include unused helper modules.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:13:09 +00:00
Jean-Philippe Lang
8534fc04a0
Updated code comments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:09:06 +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
b17883a2df
IssuesController#edit as XML is not implemented.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:02:54 +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
37aa016740
Added Issue#attributes_editable?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 19:30:15 +00:00
Jean-Philippe Lang
9548d39a15
Moved users list diplayed as available watchers on the new issue form to an helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 17:32:26 +00:00
Jean-Philippe Lang
2b124f1e61
Don't call #upcase on nil.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:24:19 +00:00
Jean-Philippe Lang
db9bf8cd73
Fixed filtering on date custom field with SQLServer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 16:23:16 +00:00
Jean-Philippe Lang
6aaaac2373
Fixed an error in IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order with SQLServer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:35:12 +00:00
Jean-Philippe Lang
aeb6dbc306
Links to completed versions on the roadmap page might lead to a "403 not authorized page" ( #19030 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:06:31 +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
b4c75f8806
Adds a specific string for blank values ( #18918 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:37:27 +00:00
Jean-Philippe Lang
3519083dbe
Extract grouping logic to an helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:39:39 +00:00
Jean-Philippe Lang
4bbd3d81fd
TimeEntry acts_as_activity_provider scope should joins(:project) ( #18818 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:10:57 +00:00
Jean-Philippe Lang
f7cfaf06ad
Sort helper undefined to_a for string ( #18817 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:08:54 +00:00
Jean-Philippe Lang
86a329eb8b
Respect cross-project subtask setting on issue bulk edit form ( #18711 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 09:06:49 +00:00
Jean-Philippe Lang
3bd2b43a2f
Raise an error if version is not found ( #18983 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 08:12:06 +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
756eaeffb4
Make search results per page configurable ( #19005 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:44:44 +00:00