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
Jean-Philippe Lang
a18c719fcc
Fixed: Custom field is rendered, even if its value is empty (for multiple) ( #18654 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 13:03:52 +00:00
Jean-Philippe Lang
a77d884157
Fixed: Redmine::FieldFormat::IntFormat does not accept "real" Integer values ( #18781 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 11:06:27 +00:00
Jean-Philippe Lang
50ab0728a8
Time dependend failures in UI tests ( #18789 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:24:19 +00:00
Jean-Philippe Lang
b236be138d
Fixed errors in UI tests ( #18782 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:20:50 +00:00
Jean-Philippe Lang
0ed895388b
Option to search open issues only ( #10734 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:09:34 +00:00
Jean-Philippe Lang
576a13e99d
Option to search attachment filenames and description ( #4383 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-09 21:06:09 +00:00
Toshi MARUYAMA
e2e9d7185e
replace tab to space at test/test_helper.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-08 06:20:32 +00:00
Jean-Philippe Lang
fd4a911304
Fixed that project copy triggers a 500 error if project validation fails.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:29:50 +00:00
Jean-Philippe Lang
5d2eea1489
Cleans up parent project assignment in ProjectsController.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:19:57 +00:00
Jean-Philippe Lang
daef6a8037
Insert children issues to respect same order as ids.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 20:26:21 +00:00
Jean-Philippe Lang
1a851318fd
Replaces awesome_nested_set gem with a simple and more robust implementation of nested sets.
...
The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set.
git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 20:19:49 +00:00
Jean-Philippe Lang
bfdd9f7c29
The descendant count in the issues delete confirmation message is wrong if issues share some descendants.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-30 11:24:00 +00:00
Jean-Philippe Lang
3fcd683e6b
Force UTF-8 encoding of language names.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:38:52 +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
31a60c252e
Set en locale in test ( #18679 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:24:46 +00:00
Jean-Philippe Lang
93690ee830
Send the content type as parameter when uploading a file.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:07:13 +00:00
Jean-Philippe Lang
64763bece3
Attachment content type not set when uploading attachment ( #18667 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:02:38 +00:00