Toshi MARUYAMA
9c10014a9a
add missing fixture to FilesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13948 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
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
9 years ago
Toshi MARUYAMA
e10b3fe305
add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Toshi MARUYAMA
693badf5ff
add missing fixture to TimeEntryReportsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13930 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Toshi MARUYAMA
98683d0097
fix tests (#13120)
git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
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
9 years ago
Jean-Philippe Lang
193bb9362d
Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13889 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Toshi MARUYAMA
a609c702c3
add missing fixture to SearchControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13881 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Jean-Philippe Lang
7ac9072270
Subclasses may not be loaded when running the test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
2a6692248b
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
8ed791d690
Use DOM assertion instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13779 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
f86d4940e1
Removed that quote in a fixture subject.
git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Toshi MARUYAMA
8ec62e9507
add missing fixtures to SearchControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13751 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
07b44a4662
Droped legacy behaviour that allows a user to edit a few attributes of an issue without the edit_issues permission if a status transition is allowed (#15988).
Now that we can control permission on each field, this behaviour is no longer needed. The edit_issues permission is now required, which is consistent with the current requirements for bulk edition.
git-svn-id: http://svn.redmine.org/redmine/trunk@13746 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
95f58c69d2
Misc tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13745 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
3b4f6038ff
Adds a test for editing a registered user.
git-svn-id: http://svn.redmine.org/redmine/trunk@13742 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
2fe806a4a4
Rewrites search engine to properly paginate results (#18631).
Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only.
git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
0b1b46ae2c
Revert r13736, test fails with mysql.
git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
7bc3cf94cb
Adds a test for search with limited results.
git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
95810125bf
Don't create a journal when creating an issue with attachments.
git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
2462a8581d
Don't create a journal when creating an issue.
git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
ca71cf3800
Adds methods for loading and adding settings.
git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
c084ef509f
Adds a few functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
7c1445f19a
Tab "New Issue" should not be displayed if a project has no trackers (#18571).
git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
8323bc98f5
Adds tests for searching private or archived projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
c7653df32b
Adds tests for invalid parameters.
git-svn-id: http://svn.redmine.org/redmine/trunk@13707 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
50b12518a1
Adds a test for when link_copied_issue setting is set to "never".
git-svn-id: http://svn.redmine.org/redmine/trunk@13705 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
a942c1c25e
Removed unimplemented JournalsController#edit html response and added some tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13704 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
5222650d95
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
430c8fd904
Set notified events as expected.
git-svn-id: http://svn.redmine.org/redmine/trunk@13683 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Toshi MARUYAMA
5492062557
add missing fixtures to test/functional/projects_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13671 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
30d65829b8
Configurable behavour for linking issues on copy (#18500).
git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
288c014aa7
Edit attachments after upload (#1326).
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
86d8acb344
Fixed "First argument in form cannot contain nil or be empty" error (#18275).
git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
552926772a
Error raised on project settings after project wiki is deleted (#18429).
git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
e0a034164f
Move wiki page to other project (#5450).
git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
f3e573b5f8
Replaced remaining #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago
Jean-Philippe Lang
36d487fe50
Replaced some #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 years ago