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
Toshi MARUYAMA
3ba5415d56
add missing fixtures
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 15:03:14 +00:00
Toshi MARUYAMA
e10b3fe305
add missing fixtures
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 13:32:36 +00:00
Toshi MARUYAMA
693badf5ff
add missing fixture to TimeEntryReportsControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 11:51:10 +00:00
Toshi MARUYAMA
84abe25b57
add missing fixture to test/unit/journal_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 11:47:39 +00:00
Jean-Philippe Lang
cb8639a7b2
Don't change Setting.default_language in Mailer tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:40:44 +00:00
Jean-Philippe Lang
ad0937e446
Don't change Setting.default_language in tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:34:02 +00:00
Jean-Philippe Lang
4730ef894f
Fixed that group is not displayed when the first group is a boolean custom field group with "No" value ( #18896 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:36:59 +00:00
Jean-Philippe Lang
0cde1fccbc
Fixed that boolean custom field groups have same label for blank and false values ( #18894 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:23:11 +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
Toshi MARUYAMA
caa02e6537
add missing fixture
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 04:41:49 +00:00
Toshi MARUYAMA
75b5ff5e75
pin order at RepositoryCvsTest#test_entries_rev3
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 04:03:01 +00:00
Jean-Philippe Lang
e3ee940745
Set proper default language.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 23:14:48 +00:00
Jean-Philippe Lang
c9dd7dbe15
Set proper locale.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 20:43:04 +00:00
Toshi MARUYAMA
eacd619f5f
add missing fixtures
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 18:11:19 +00:00
Toshi MARUYAMA
98683d0097
fix tests ( #13120 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 18:00:38 +00:00
Toshi MARUYAMA
403fb37d1c
fix assertion order at RepositoryCvsTest#test_entries_rev3
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:59 +00:00
Toshi MARUYAMA
ae2dee14ef
add tests to RepositoryCvsTest#test_entries_rev3
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:50 +00:00
Jean-Philippe Lang
9915962356
Make sure that #scm_iconv returns a string with the target encoding ( #14534 ).
...
filechanges.find_by_revision_and_path fails with SQLite if arguments are not UTF-8 encoded.
git-svn-id: http://svn.redmine.org/redmine/trunk@13902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:16:23 +00:00
Toshi MARUYAMA
4dfc0f04ad
add missing fixture to Redmine::Hook::ManagerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 14:05:27 +00:00
Jean-Philippe Lang
886b9c14d0
Fixed that Redmine::Activity::Fetcher should consider activity provider permission option if given ( #18832 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 09:07:42 +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
3ea8b70697
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:55:37 +00:00
Jean-Philippe Lang
471df16f9c
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:55:17 +00:00
Jean-Philippe Lang
193bb9362d
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:54:38 +00:00
Jean-Philippe Lang
a3a8fee8ad
Send password reset email to the email used in lost password form ( #4244 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:51:29 +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
Toshi MARUYAMA
7f29c2fd88
IssuesControllerTest: make encoding tests independent of ordering ( #18856 )
...
Contributed by Antonio Terceiro.
git-svn-id: http://svn.redmine.org/redmine/trunk@13885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-16 04:57:10 +00:00
Toshi MARUYAMA
e7346625f0
fix UsersControllerTest failure randomly
...
<pre>
1) Error:
UsersControllerTest#test_show:
ActionView::Template::Error: undefined method `name' for nil:NilClass
app/models/issue.rb:53:in `block in <class:Issue>'
lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `call'
lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `event_title'
app/views/users/show.html.erb:57:in `block (2 levels) in _app_views_users_show_html_erb___2965700471773239267_46119700'
app/views/users/show.html.erb:53:in `each'
app/views/users/show.html.erb:53:in `block in _app_views_users_show_html_erb___2965700471773239267_46119700'
app/views/users/show.html.erb:50:in `each'
app/views/users/show.html.erb:50:in `_app_views_users_show_html_erb___2965700471773239267_46119700'
app/controllers/users_controller.rb:75:in `block (2 levels) in show'
app/controllers/users_controller.rb:71:in `show'
test/functional/users_controller_test.rb:76:in `test_show'
</pre>
This can be reproduced with following change.
<pre>
fixtures :users, :projects, :members, :member_roles, :roles,
:custom_fields, :custom_values, :groups_users,
- :auth_sources
+ :auth_sources,
+ :enabled_modules,
+ :issues, :issue_statuses
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-15 16:31:01 +00:00
Toshi MARUYAMA
a609c702c3
add missing fixture to SearchControllerTest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-15 13:38:44 +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